nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Reeves (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NIFI-2152) ExecuteScript throws Exception when Using NiFi Expression in ScriptPath
Date Thu, 30 Jun 2016 12:11:10 GMT
Christopher Reeves created NIFI-2152:
----------------------------------------

             Summary: ExecuteScript throws Exception when Using NiFi Expression in ScriptPath
                 Key: NIFI-2152
                 URL: https://issues.apache.org/jira/browse/NIFI-2152
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 0.6.1
            Reporter: Christopher Reeves


The ExecuteScript Processor throws in an Exception in the "setup" method when using a NiFi
Expression for the script Path argument. Ideally, the script 
would be read in the onTrigger Method of the processor to allow for setting the desired script
on a dynamic basis.

A RouteAttributeProcessor can be used as a workaround to point to many ExecuteScript processor.
However, depending on the number of scripts required, this can lead to a cluttered flow configuration
which can be difficult to follow and much more difficult to maintain.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message