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

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

Github user pvillard31 commented on the issue:

    https://github.com/apache/nifi/pull/2205
  
    This PR is work in progress.
    
    For now, the idea is to provide a way to specify how is evaluated the 
expression language: against attributes of incoming flow files (+ registries) 
or only the variables in registries. The current PR also deprecates the 
existing ``.expressionLanguageSupported(boolean)`` method.
    
    This PR updates the documentation generation to display the information in 
the documentation of each processor. Example:
    ![screenshot-2017-10-10 
nifi](https://user-images.githubusercontent.com/11541012/31379809-ac25752c-adaf-11e7-8127-c4ead12e6523.png)
    
    Remaining work:
    - update all the existing processors to switch to the correct method / scope
    - add this information in the UI (in the tooltip of the properties)
    
    The objective of this current PR is to get feedbacks from the community 
regarding the current approach before updating all the existing processors.
    
    Thanks!



> Indicate if EL is evaluated against FFs or not
> ----------------------------------------------
>
>                 Key: NIFI-4149
>                 URL: https://issues.apache.org/jira/browse/NIFI-4149
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Pierre Villard
>            Assignee: Pierre Villard
>
> With the addition of EL in a lot of places to improve SDLC and workflow 
> staging, it becomes important to indicate to users if the expression language 
> enabled on a property will be evaluated against the attributes of incoming 
> flow files or if it will only be evaluated against various variable stores 
> (env variables, variable registry, etc).
> Actually, the expression language (without evaluation against flow files) 
> could be allowed on any property by default, and evaluation against flow 
> files would be what is actually indicated in the UI as we are doing today. 
> Adopting this approach could solve a lot of JIRA/PRs we are seeing to add EL 
> on some specific properties (without evaluation against FFs).
> Having expression language to access external values could make sense on any 
> property for any user. However evaluating the expression language against FFs 
> is clearly a more complex challenge when it comes to session management and 
> such.



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

Reply via email to