Andrew Grande created NIFI-3982:
-----------------------------------

             Summary: Scripting - include additional util, helper and extension 
classes in the namespace
                 Key: NIFI-3982
                 URL: https://issues.apache.org/jira/browse/NIFI-3982
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Extensions
    Affects Versions: 1.2.0
            Reporter: Andrew Grande
            Priority: Minor


When messing with InvokeScriptedProcessor one doesn't have to import NiFi 
framework classes (they are injected into the script's namespace). However, 
there are lots of utility modules which aren't imported. E.g. I had to 
explicitly add the import statement in my script for the following:

*import org.apache.nifi.flowfile.attributes.CoreAttributes*

This class is in nifi-commons -> nifi-utils



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to