You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/16 15:49:00 UTC

[jira] [Commented] (NIFI-3688) Create extended groovy scripting processor

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

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

Github user dlukyanov commented on the issue:

    https://github.com/apache/nifi/pull/1662
  
    @mattyb149, I fixed everything except:
    
    - Failure strategy
     this property does not limit anything in error handling. it provides default algorithms for non-handled exceptions. the user still can do try-catch-transfer in code. i beleive i've added enough description of this property. ready for discussion about this point.
    - rightShift
     i really like it, but the main reason why i did not do it - that in similar cases in groovy only `leftShift` used.
     -- http://docs.groovy-lang.org/latest/html/groovy-jdk/java/io/OutputStream.html
     -- http://docs.groovy-lang.org/latest/html/groovy-jdk/java/io/Writer.html
     -- http://docs.groovy-lang.org/latest/html/groovy-jdk/java/util/Collection.html
    



> Create extended groovy scripting processor
> ------------------------------------------
>
>                 Key: NIFI-3688
>                 URL: https://issues.apache.org/jira/browse/NIFI-3688
>             Project: Apache NiFi
>          Issue Type: New Feature
>          Components: Extensions
>            Reporter: Dmitry Lukyanov
>            Priority: Minor
>
> The idea is to simplify groovy scripting.
> Main targets:
> - to be compatible with existing groovy scripting
> - simplify read/write attributes
> - simplify read/write content
> - avoid closure casting to nifi types like `StreamCallback`
> - simplify and provide visibility when accessing to controller services from script



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)