MikeThomsen commented on a change in pull request #4297:
URL: https://github.com/apache/nifi/pull/4297#discussion_r430081528



##########
File path: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/HandleHttpRequest.java
##########
@@ -321,6 +326,24 @@
         return Collections.singleton(REL_SUCCESS);
     }
 
+    @Override
+    protected Collection<ValidationResult> customValidate(final 
ValidationContext validationContext) {
+        final List<ValidationResult> results = new ArrayList<>();
+
+        final Long port = 
validationContext.getProperty(PORT).evaluateAttributeExpressions().asLong();

Review comment:
       Why are you doing this? Is the `addValidator` call not validating items 
from the variable registry?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to