Repository: nifi
Updated Branches:
  refs/heads/master 6df112e4b -> 9f23ec360


NIFI-3931 - Added EL to properties in SFTP transfer

The properties are already evaluated against EL. Also added an
integration test that is failing without the change.

This closes #1968.

Signed-off-by: Koji Kawamura <[email protected]>


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

Branch: refs/heads/master
Commit: 9f23ec360acd2bf4d949f08b3eb0cea3decc5263
Parents: 6df112e
Author: Pierre Villard <[email protected]>
Authored: Sun Jul 2 15:24:17 2017 +0200
Committer: Koji Kawamura <[email protected]>
Committed: Thu Aug 17 08:20:30 2017 +0900

----------------------------------------------------------------------
 .../org/apache/nifi/processors/standard/util/SFTPTransfer.java     | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/9f23ec36/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java
----------------------------------------------------------------------
diff --git 
a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java
 
b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java
index bc31ba9..0f287b4 100644
--- 
a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java
+++ 
b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/util/SFTPTransfer.java
@@ -63,6 +63,7 @@ public class SFTPTransfer implements FileTransfer {
         .description("Password for the private key")
         .required(false)
         .addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
+        .expressionLanguageSupported(true)
         .sensitive(true)
         .build();
     public static final PropertyDescriptor HOST_KEY_FILE = new 
PropertyDescriptor.Builder()
@@ -82,6 +83,7 @@ public class SFTPTransfer implements FileTransfer {
         .name("Port")
         .description("The port that the remote system is listening on for file 
transfers")
         .addValidator(StandardValidators.PORT_VALIDATOR)
+        .expressionLanguageSupported(true)
         .required(true)
         .defaultValue("22")
         .build();

Reply via email to