Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-4367

InvokedScriptedProcessor does not support scripted processor that extends AbstractProcessor

    Details

      Description

      InvokeScriptedProcessor pass his ValidationContext to the inner script, validate call

      InvokeScriptedProcessor Line 465 : final Collection<ValidationResult> instanceResults = instance.validate(context);

      The problem is that the invokedscript pass the ScriptFile PropertyDescriptor that is validated, if the script derived from the AbstractConfigurableComponent, (because the AbstractConfigurableComponent validate all the context properties).

      The context should be refined to remove the InvokeScriptedProcessor Properties.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                frett27 Patrice Freydiere
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: