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

InvokedScriptedProcessor does not support scripted processor that extends AbstractProcessor

    XMLWordPrintableJSON

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

              Unassigned Unassigned
              frett27 Patrice Freydiere
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m