[ 
https://issues.apache.org/jira/browse/NIFI-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15608414#comment-15608414
 ] 

ASF GitHub Bot commented on NIFI-1458:
--------------------------------------

Github user mattyb149 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/1045#discussion_r85117619
  
    --- Diff: 
nifi-nar-bundles/nifi-scripting-bundle/nifi-scripting-processors/src/main/java/org/apache/nifi/processors/script/ExecuteScript.java
 ---
    @@ -116,30 +139,29 @@ protected PropertyDescriptor 
getSupportedDynamicPropertyDescriptor(final String
          */
         @OnScheduled
         public void setup(final ProcessContext context) {
    -        scriptEngineName = context.getProperty(SCRIPT_ENGINE).getValue();
    -        scriptPath = 
context.getProperty(SCRIPT_FILE).evaluateAttributeExpressions().getValue();
    -        scriptBody = context.getProperty(SCRIPT_BODY).getValue();
    -        String modulePath = context.getProperty(MODULES).getValue();
    +        scriptUtils.scriptEngineName = 
context.getProperty(ScriptUtils.SCRIPT_ENGINE).getValue();
    --- End diff --
    
    Will do


> Add scriptable ReportingTask
> ----------------------------
>
>                 Key: NIFI-1458
>                 URL: https://issues.apache.org/jira/browse/NIFI-1458
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Matt Burgess
>            Assignee: Matt Burgess
>
> Now that NIFI-210 adds scriptable Processors (and scripted onTrigger bodies), 
> a great extension would be to add a scriptable ReportingTask. This would 
> enable users to script their own ReportingTasks using the various supported 
> scripting languages.



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

Reply via email to