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

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

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

    https://github.com/apache/nifi/pull/1045#discussion_r83518147
  
    --- Diff: 
nifi-nar-bundles/nifi-scripting-bundle/nifi-scripting-processors/src/main/java/org/apache/nifi/processors/script/ExecuteScript.java
 ---
    @@ -66,8 +85,8 @@
         @Override
         public Set<Relationship> getRelationships() {
             final Set<Relationship> relationships = new HashSet<>();
    -        relationships.add(REL_SUCCESS);
    -        relationships.add(REL_FAILURE);
    +        relationships.add(ScriptUtils.REL_SUCCESS);
    --- End diff --
    
    Can these two lines just reference the local `REL_SUCCESS` and 
`REL_FAILURE` rather than the external static variables?


> 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