nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (Jira)" <j...@apache.org>
Subject [jira] [Commented] (NIFI-6792) Evaluate Variable value containing expression language
Date Sat, 02 Nov 2019 14:25:00 GMT

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

ASF subversion and git services commented on NIFI-6792:
-------------------------------------------------------

Commit 6864f3eb2509bd4eacd9028e3343f383a3b8bd7b in nifi's branch refs/heads/master from Manoj
Mamidyala
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=6864f3e ]

NIFI-6792
added a function in Expression Language to
Evaluate Variable value containing expression Language
NIFI-6792
Build related changes
added license to newly added class StringElEvaluator.java
restyled the classes having maven-checkstyle related issues
NIFI-6792
made changes suggested by reviewer MikeThomsen

Expression Language function name changed from stringEL to evaluateELString

This closes #3829

Signed-off-by: Mike Thomsen <mthomsen@apache.org>


> Evaluate Variable value containing expression language
> ------------------------------------------------------
>
>                 Key: NIFI-6792
>                 URL: https://issues.apache.org/jira/browse/NIFI-6792
>             Project: Apache NiFi
>          Issue Type: New Feature
>          Components: Core Framework, Documentation &amp; Website
>    Affects Versions: 1.10.0
>            Reporter: Manoj Mamidyala
>            Assignee: Manoj Mamidyala
>            Priority: Minor
>              Labels: Development, expression-language, feature
>   Original Estimate: 48h
>          Time Spent: 40m
>  Remaining Estimate: 47h 20m
>
> Evaluate Variable value containing expression language
> I loaded custom properties into nifi.
> The registry variable called query has value "SELECT * FROM table WHERE id = ${id_no}"
where the id_no is coming from the flowfile attributes. There was no functionality in nifi
to evaluate the expression language inside the value.
> So, need to add functionality such that we can evaluate EL inside the variables.
> example: ${query:stringEl}
> where function `stringEl` will evaluate the EL value inside the query variable



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message