You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by jo...@apache.org on 2018/01/09 04:53:16 UTC

nifi git commit: NIFI-4697 This closes #2381. clarified some PostHTTP documentation

Repository: nifi
Updated Branches:
  refs/heads/master 182e2c6e9 -> 6e7544bd3


NIFI-4697 This closes #2381. clarified some PostHTTP documentation

Signed-off-by: joewitt <jo...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/6e7544bd
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/6e7544bd
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/6e7544bd

Branch: refs/heads/master
Commit: 6e7544bd3786fa829fedf1e284488e6756664f2c
Parents: 182e2c6
Author: Mike Moser <mo...@apache.org>
Authored: Fri Jan 5 21:13:05 2018 +0000
Committer: joewitt <jo...@apache.org>
Committed: Mon Jan 8 21:47:27 2018 -0700

----------------------------------------------------------------------
 .../java/org/apache/nifi/processors/standard/PostHTTP.java    | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/6e7544bd/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PostHTTP.java
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PostHTTP.java b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PostHTTP.java
index afdfc01..d5344fa 100644
--- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PostHTTP.java
+++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PostHTTP.java
@@ -127,7 +127,8 @@ import java.util.regex.Pattern;
 @SupportsBatching
 @InputRequirement(Requirement.INPUT_REQUIRED)
 @Tags({"http", "https", "remote", "copy", "archive"})
-@CapabilityDescription("Performs an HTTP Post with the content of the FlowFile")
+@CapabilityDescription("Performs an HTTP Post with the content of the FlowFile. "
+    + "Uses a connection pool with max number of connections equal to its Concurrent Tasks configuration.")
 public class PostHTTP extends AbstractProcessor {
 
     public static final String CONTENT_TYPE_HEADER = "Content-Type";
@@ -151,8 +152,8 @@ public class PostHTTP extends AbstractProcessor {
 
     public static final PropertyDescriptor URL = new PropertyDescriptor.Builder()
             .name("URL")
-            .description("The URL to POST to. The first part of the URL must be static. However, the path of the URL may be defined using the Attribute Expression Language. "
-                    + "For example, https://${hostname} is not valid, but https://1.1.1.1:8080/files/${nf.file.name} is valid.")
+            .description("The URL to POST to. The URL may be defined using the Attribute Expression Language. "
+                    + "A separate connection pool will be created for each unique host:port combination.")
             .required(true)
             .addValidator(StandardValidators.createRegexMatchingValidator(Pattern.compile("https?\\://.*")))
             .addValidator(StandardValidators.URL_VALIDATOR)