From 6e7544bd3786fa829fedf1e284488e6756664f2c Mon Sep 17 00:00:00 2001 From: Mike Moser Date: Fri, 5 Jan 2018 21:13:05 +0000 Subject: [PATCH] NIFI-4697 This closes #2381. clarified some PostHTTP documentation Signed-off-by: joewitt --- .../java/org/apache/nifi/processors/standard/PostHTTP.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 afdfc015c0..d5344fa856 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)