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

nifi git commit: NIFI-5456: AWS clients now work with private link endpoints (VPC)

Repository: nifi
Updated Branches:
  refs/heads/master 3efcd45e9 -> 4f0e2f556


NIFI-5456: AWS clients now work with private link endpoints (VPC)

Signed-off-by: Pierre Villard <pi...@gmail.com>

This closes #2968.


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

Branch: refs/heads/master
Commit: 4f0e2f5562eef793f2d0df3d314e186332f8d207
Parents: 3efcd45
Author: zenfenan <si...@gmail.com>
Authored: Sun Aug 26 19:06:45 2018 +0530
Committer: Pierre Villard <pi...@gmail.com>
Committed: Wed Sep 5 15:04:29 2018 +0200

----------------------------------------------------------------------
 .../java/org/apache/nifi/processors/aws/AbstractAWSProcessor.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/4f0e2f55/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-abstract-processors/src/main/java/org/apache/nifi/processors/aws/AbstractAWSProcessor.java
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-abstract-processors/src/main/java/org/apache/nifi/processors/aws/AbstractAWSProcessor.java b/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-abstract-processors/src/main/java/org/apache/nifi/processors/aws/AbstractAWSProcessor.java
index d3867b0..00f443f 100644
--- a/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-abstract-processors/src/main/java/org/apache/nifi/processors/aws/AbstractAWSProcessor.java
+++ b/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-abstract-processors/src/main/java/org/apache/nifi/processors/aws/AbstractAWSProcessor.java
@@ -286,7 +286,7 @@ public abstract class AbstractAWSProcessor<ClientType extends AmazonWebServiceCl
             final String urlstr = StringUtils.trimToEmpty(context.getProperty(ENDPOINT_OVERRIDE).evaluateAttributeExpressions().getValue());
             if (!urlstr.isEmpty()) {
                 getLogger().info("Overriding endpoint with {}", new Object[]{urlstr});
-                this.client.setEndpoint(urlstr);
+                this.client.setEndpoint(urlstr, this.client.getServiceName(), this.region.getName());
             }
         }
     }