You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/04/14 15:40:25 UTC

[jira] [Commented] (NIFI-361) Create Processors to mutate JSON data

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

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

GitHub user YolandaMDavis opened a pull request:

    https://github.com/apache/nifi/pull/353

    NIFI-361 - Create Processors to mutate JSON data

    This is an initial implementation of the TransformJSON processor using the Jolt library. TransformJSON supports Jolt specifications for the following transformations:  Chain, Shift, Remove, and Default. Users will be able to add the TransformJSON processor, select the transformation they wish to apply and enter the specification for the given transformation. 
    
    Details for creating Jolt specifications can be found [here](https://github.com/bazaarvoice/jolt)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/YolandaMDavis/nifi NIFI-361

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/353.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #353
    
----
commit 3d2c2acae11823dc98cdc06c5066720216185984
Author: Yolanda M. Davis <yd...@hortonworks.com>
Date:   2016-04-14T12:19:41Z

    NIFI-361 Initial implementation of TransformJSON using Jolt

commit 3dbe30c7d5799e17c4cb8727f379de4ac36fca65
Author: Yolanda M. Davis <yd...@hortonworks.com>
Date:   2016-04-14T12:20:02Z

    NIFI-361 Documentation entry and license update

----


> Create Processors to mutate JSON data
> -------------------------------------
>
>                 Key: NIFI-361
>                 URL: https://issues.apache.org/jira/browse/NIFI-361
>             Project: Apache NiFi
>          Issue Type: New Feature
>            Reporter: Aldrin Piri
>            Assignee: Oleg Zhurakousky
>            Priority: Minor
>
> Creating a separate issue to track these as a pull request has been submitted for related issue NIFI-356.
> Also backed by JsonPath, processors should facilitate through specification of user-defined properties:
> * Add - identify path and add key/value pair
> ** Handle if the path is an array, this would ignore the name specified and just add the value to the collection
> * Remove - delete the element at the specified path
> * Update - change the value for the given path to a provided value
> Need to determine if objects/arrays make sense for values or if they are needed.
> While it would be nice to be able to execute several operations per processor instance, it may be hard to capture all the relevant information needed for multiple operations in one processor configuration in a user friendly context.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)