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 subversion and git services (Jira)" <ji...@apache.org> on 2020/05/25 10:43:01 UTC

[jira] [Commented] (NIFI-6287) Add ability to hash an attribute or value in expression language

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

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

Commit 0f4b79b55ec7e4a85334d4a0d3e7200021950d1a in nifi's branch refs/heads/master from Phillip Grenier
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=0f4b79b ]

NIFI-6255 NIFI-6287: Hash function for expression language and record path.
NIFI-6255 NIFI-6287: Rebased to match the new expression language interface
NIFI-6255 NIFI-6287: Fix wildcard imports and unused imports
NIFI-6255 NIFI-6287: Move to the common codec DigetUtils
Update commons-codec

This closes #3624

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


> Add ability to hash an attribute or value in expression language
> ----------------------------------------------------------------
>
>                 Key: NIFI-6287
>                 URL: https://issues.apache.org/jira/browse/NIFI-6287
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Ed Jackson
>            Assignee: Phillip Grenier
>            Priority: Trivial
>              Labels: expression-language
>
> Similar to 6255
>  
> In expression language it would be very useful to hash arbitrary data or attributes from the incoming flow file.  For example, if the incoming flow file has an attribute called 'serial_num', the user can hash this value in expression language like `${hash('MD5', 'serial_num')}` or similar syntax.
>  
> Today users need to add a CryptographicHashAttribute processor to accomplish this.



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