Github user alopresto commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/3020#discussion_r219714033
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/PostHTTP.java
 ---
    @@ -183,26 +183,30 @@
                 .description("How long to wait when attempting to connect to 
the remote server before giving up")
                 .required(true)
                 .defaultValue("30 sec")
    +            
.expressionLanguageSupported(ExpressionLanguageScope.VARIABLE_REGISTRY)
                 .addValidator(StandardValidators.TIME_PERIOD_VALIDATOR)
                 .build();
         public static final PropertyDescriptor DATA_TIMEOUT = new 
PropertyDescriptor.Builder()
                 .name("Data Timeout")
                 .description("How long to wait between receiving segments of 
data from the remote server before giving up and discarding the partial file")
                 .required(true)
                 .defaultValue("30 sec")
    +            
.expressionLanguageSupported(ExpressionLanguageScope.VARIABLE_REGISTRY)
                 .addValidator(StandardValidators.TIME_PERIOD_VALIDATOR)
                 .build();
         public static final PropertyDescriptor USERNAME = new 
PropertyDescriptor.Builder()
                 .name("Username")
                 .description("Username required to access the URL")
                 .required(false)
    +            
.expressionLanguageSupported(ExpressionLanguageScope.VARIABLE_REGISTRY)
                 .addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
                 .build();
         public static final PropertyDescriptor PASSWORD = new 
PropertyDescriptor.Builder()
                 .name("Password")
                 .description("Password required to access the URL")
                 .required(false)
                 .sensitive(true)
    +            
.expressionLanguageSupported(ExpressionLanguageScope.VARIABLE_REGISTRY)
    --- End diff --
    
    See comment about `password` above. 


---

Reply via email to