You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Andrew Grande (JIRA)" <ji...@apache.org> on 2017/05/25 19:53:04 UTC

[jira] [Created] (NIFI-3982) Scripting - include additional util, helper and extension classes in the namespace

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)