mirror of https://github.com/apache/nifi.git
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 <ijokarumawak@apache.org>
This commit is contained in:
parent
6df112e4b1
commit
9f23ec360a
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue