Re: nifi processor to parse+update the current json on the fly

2016-04-08 Thread Thad Guidry
Yeap, I think Informatica's DataStage plugins have that ability also, to let the user know its not streaming, but filling and emptying, filling and emptying. Dunno about IBM's :) Thad +ThadGuidry

Re: nifi processor to parse+update the current json on the fly

2016-04-08 Thread Joe Witt
Agreed Michal. What do you think about the above comment i made regarding a current idea found in Github "I think though what we just need to do is finally tackle 'https://issues.apache.org/jira/browse/NIFI-361' and here is a great example to base it on. The work Frank started here

Re: nifi processor to parse+update the current json on the fly

2016-04-08 Thread Michal Klempa
To my view, we are missing processor which would alter existing JSON with some attributes (not AttributesToJSON, which replaces the content as a whole). Something like AttributesDecorateJSON. Or, as your need is - something like JSONReplace processor, which would follow predefined replacement

RE: nifi processor to parse+update the current json on the fly

2016-04-07 Thread philippe.gibert
Hello thx Thad , joe , all For different answers. I understand how to know…. Philippe Best regards De : Thad Guidry [mailto:thadgui...@gmail.com] Envoyé : jeudi 7 avril 2016 17:32 À : users@nifi.apache.org Objet : Re: nifi processor to parse+update the current json on the fly Philippe, I would

Re: nifi processor to parse+update the current json on the fly

2016-04-07 Thread Madhukar Thota
Here is an example of json to json conversion using Groovy with JsonSlurper. http://funnifi.blogspot.com/2016/02/executescript-json-to-json-conversion.html On Thu, Apr 7, 2016 at 11:31 AM, Thad Guidry wrote: > Philippe, > > I would encourage you to just use Groovy with

Re: nifi processor to parse+update the current json on the fly

2016-04-07 Thread Joe Witt
Philippe As far as I know here is the state of affairs for this: 1) You can use EvaluateJSONPath and ReplaceText in a combination for some cases but it is more awkward and difficult than it should be. 2) You can use the execute script processors to write a groovy, javascript, or other type of