[
https://issues.apache.org/jira/browse/NIFI-684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15005981#comment-15005981
]
sumanth chinthagunta commented on NIFI-684:
-------------------------------------------
I created an experimental module for dynamic languages support. 1. JavaScript
2. Groovy based on [~rickysaltzer] work.
Source code : https://github.com/xmlking/nifi-scripting and NAR file can be
found under release: https://github.com/xmlking/nifi-scripting/releases
please let me know if you find any bugs or if you want me to add any
enhancements.
my motivation for implementing JavaScript support is coming from this article
https://dzone.com/articles/mapping-complex-json-structures-with-jdk8-nashorn
I wanted to have simplest implementation for JSON -> Mapping -> JSON
transformation in NiFi.
> ExecuteGroovy proof of concept
> --------------------------------
>
> Key: NIFI-684
> URL: https://issues.apache.org/jira/browse/NIFI-684
> Project: Apache NiFi
> Issue Type: Task
> Components: Extensions
> Reporter: Ricky Saltzer
> Assignee: Ricky Saltzer
> Labels: dynamic_language
> 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)