You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "sumanth chinthagunta (JIRA)" <ji...@apache.org> on 2015/11/08 04:38:10 UTC

[jira] [Comment Edited] (NIFI-684) ExecuteGroovy proof of concept

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

sumanth chinthagunta edited comment on NIFI-684 at 11/8/15 3:37 AM:
--------------------------------------------------------------------

As [~rickysaltzer] mentioned I also feel dynamic language support increases usability of NiFi. 
I am also thinking implementing ExecuteJavascript with  Nashorn to process flowfiles with JSON. I can eazyly manipulate  JSON flowfile in JavaScript then with only JSON  path. The user supplied anonymous function should have standard signature i.e., return flowfile?? !



was (Author: xmlking):
As [~rickysaltzer] mentioned I also feel dynamic language support increases usability of NiFi. 
I am also thinking implementing ExecuteJavascript with  Nashorn to process flowfiles with JSON. I can eazyly manipulate  JSON flowfile in JavaScript then with only JSON  path. The user supplied anonymous function should have fixed signature !


> ExecuteGroovy proof of concept  
> --------------------------------
>
>                 Key: NIFI-684
>                 URL: https://issues.apache.org/jira/browse/NIFI-684
>             Project: Apache NiFi
>          Issue Type: Task
>            Reporter: Ricky Saltzer
>            Assignee: Ricky Saltzer
>         Attachments: ExecuteGroovy.java, TestExecuteGroovy.java, TestScript.groovy
>
>
> Following up on the email thread which described using a dynamic language to execute code, rather than requiring a custom NAR to be created each time. 
> Using this JIRA to track some prototype code I wrote to allow Groovy to execute code inside a processor. 



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