kaHaleMaKai commented on a change in pull request #3543: NIFI-6388 Add dynamic 
relationships to the ExecuteScript processor.
URL: https://github.com/apache/nifi/pull/3543#discussion_r298681254
 
 

 ##########
 File path: 
nifi-nar-bundles/nifi-scripting-bundle/nifi-scripting-processors/src/main/java/org/apache/nifi/processors/script/ExecuteScript.java
 ##########
 @@ -264,4 +343,16 @@ public void onTrigger(ProcessContext context, 
ProcessSessionFactory sessionFacto
     public void stop() {
         scriptingComponentHelper.stop();
     }
+
+    private static class RelationshipInvalidator implements Validator {
+        @Override
+        public ValidationResult validate(String subject, String input, 
ValidationContext validationContext) {
+            return new ValidationResult.Builder()
+                    .subject(subject)
+                    .input(input)
+                    .explanation("invalid dyn. relationship specified")
 
 Review comment:
   fixed in 0b13c41acfe3f354db8dd739d929188ddb625a6a

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to