[
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 6:48 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., should have access to flowfile and attributes and 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 standard
signature i.e., return flowfile?? !
> 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)