[
https://issues.apache.org/jira/browse/NIFI-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15117462#comment-15117462
]
ASF GitHub Bot commented on NIFI-210:
-------------------------------------
Github user mattyb149 commented on the pull request:
https://github.com/apache/nifi/pull/185#issuecomment-175092672
TL;DR Will take a fresh look at this :)
I wanted very badly to have a parent Abstract base class, but the two
processors extend from different parent classes (AbstractProcessor and
AbstractSessionFactoryProcessor). Now that the behavior of ExecuteScript has
changed to let the script handle the session and transfers, perhaps I can
refactor that, at which point I will certainly pull the common code out. I
thought about a Util class too but the methods looked like they'd need large
signatures to get all the dependencies injected.
> Provide an ExecuteScript processor
> ----------------------------------
>
> Key: NIFI-210
> URL: https://issues.apache.org/jira/browse/NIFI-210
> Project: Apache NiFi
> Issue Type: Improvement
> Components: Core Framework
> Affects Versions: 0.0.1
> Reporter: A. Steven Anderson
> Assignee: Matt Burgess
> Labels: processor, scala
> Fix For: 0.5.0
>
> Attachments:
> 0001-NIFI-210-few-tweaks-to-drop-static-reference-and-fix.patch
>
>
> Add latest Scala version support for ExcecuteScript processor.
> Should also support Clojure as per discussion and request on mailing list
> http://mail-archives.apache.org/mod_mbox/nifi-dev/201506.mbox/%3CCAMpSqch4GK1gnw6M1u8tH6AN8e_miXZN5SNkAeMjBujXYGqJiw%40mail.gmail.com%3E
> UPDATE: The ScriptEngine for Clojure is not being maintained and is not
> currently available via Maven Central or a public repository. Recommend
> adding Clojure as a separate Improvement Jira case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)