Repository: nifi Updated Branches: refs/heads/master e84f9a241 -> e89512e74
NIFI-4161: Adding expression evaluation to AWS PROXY_HOST and PROXY_HOST_PORT property usage Signed-off-by: Pierre Villard <[email protected]> This closes #1990. Project: http://git-wip-us.apache.org/repos/asf/nifi/repo Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/e89512e7 Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/e89512e7 Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/e89512e7 Branch: refs/heads/master Commit: e89512e7449e8cda4a4793368339b61b8c4283fe Parents: e84f9a2 Author: kwydler <[email protected]> Authored: Thu Jul 6 20:41:10 2017 -0400 Committer: Pierre Villard <[email protected]> Committed: Fri Jul 7 13:28:33 2017 +0200 ---------------------------------------------------------------------- .../org/apache/nifi/processors/aws/AbstractAWSProcessor.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/nifi/blob/e89512e7/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/AbstractAWSProcessor.java ---------------------------------------------------------------------- diff --git a/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/AbstractAWSProcessor.java b/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/AbstractAWSProcessor.java index 8a0d984..5d244c0 100644 --- a/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/AbstractAWSProcessor.java +++ b/nifi-nar-bundles/nifi-aws-bundle/nifi-aws-processors/src/main/java/org/apache/nifi/processors/aws/AbstractAWSProcessor.java @@ -191,9 +191,9 @@ public abstract class AbstractAWSProcessor<ClientType extends AmazonWebServiceCl } if (context.getProperty(PROXY_HOST).isSet()) { - String proxyHost = context.getProperty(PROXY_HOST).getValue(); + String proxyHost = context.getProperty(PROXY_HOST).evaluateAttributeExpressions().getValue(); config.setProxyHost(proxyHost); - Integer proxyPort = context.getProperty(PROXY_HOST_PORT).asInteger(); + Integer proxyPort = context.getProperty(PROXY_HOST_PORT).evaluateAttributeExpressions().asInteger(); config.setProxyPort(proxyPort); }
