Re: Json conversion query : Help

2019-05-24 Thread Puspak
Thanks Matt for such a quick response,

This perfectly works for the above scenario .
But my requirement is little different . I tried to implement the same in my
case but failed .Could you please suggest . This is because I am relatively
new to jolt.

input : 
{
  "eta" : "1557840900",
  "actualdeparturetime" : "0",
  "etd" : "1557835200",
  "ident" : "JST529",
  "FlightNumber" : "529",
  "CarrierCode" : "JQ",
  "actualarrivaltime" : "1557840900",
  "startDate" : "1557772200"
}
output :
{
  "ident" : "JST529",
  "eta" : {
"$date" : 155784090
  },
  "actualdeparturetime" : "0",
  "etd" : {
"$date" : 155783520
  },
  "messageType" : "FFM",
  "FlightNumber" : "529",
  "CarrierCode" : "JQ",
  "actualarrivaltime" : "0",
  "startDate" : "1557772200"
}

that means basically the json has some other few fields as well 



--
Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/


Re: Json conversion query : Help

2019-05-24 Thread Matt Burgess
Try this spec:

[
  {
"operation": "shift",
"spec": {
  "somedate": "somedate.\\$date"
}
  }
]

I haven't tried this in NiFi (only in http://jolt-demo.appspot.com),
if there's an issue with Expression Language you might need to escape
more of the $ somehow.

Regards,
Matt

On Fri, May 24, 2019 at 9:11 PM Puspak  wrote:
>
> hi , i have a requirement where i have to convert json 1 to json 2 . Could
> you please suggest how can i achieve it  nifi .
>
> json1 -
> {
>   "somedate" : "1557840900",
> }
> json2-
> {
>   "somedate" : {
> "$date" : 1557840900
>   }
> }
>
> which kind of transformation i can use for the same.
>
>
>
> --
> Sent from: http://apache-nifi-developer-list.39713.n7.nabble.com/


Re: [ANNOUNCE] New Apache NiFi Committer Arpad Boda

2019-05-24 Thread Sivaprasanna
Congratulations, Arpad. Thank you so much for all the efforts you are
putting in!

-
Sivaprasanna

On Fri, 24 May 2019 at 6:03 PM, Kevin Doran  wrote:

> Congrats, Arpad! Thanks for all the contributions to MiNiFi!
>
> On Thu, May 23, 2019 at 3:59 PM Andrew Lim 
> wrote:
> >
> > Congrats Arpad!
> >
> > > On May 23, 2019, at 9:23 AM, Aldrin Piri  wrote:
> > >
> > > On behalf of the Apache NiFI PMC, I am very pleased to announce that
> Arpad
> > > has accepted the PMC's invitation to become a committer on the Apache
> > > NiFi project.
> > > We greatly appreciate all of Arpad's hard work and generous
> contributions
> > > to the project. We look forward to his continued involvement in the
> project.
> > >
> > > Arpad has been highly involved in the MiNiFi C++ codebase providing
> > > contributions covering everything from code cleanup, tests, and new
> > > features.  Arpad has been an active reviewer, contributor to JIRAs and
> > > aided in verification of releases across the NiFi project.  Thank you
> for
> > > all your efforts!
> > >
> > > Welcome and congratulations!
> > >
> > > --aldrin
> >
>


Re: [ANNOUNCE] New Apache NiFi Committer Arpad Boda

2019-05-24 Thread Kevin Doran
Congrats, Arpad! Thanks for all the contributions to MiNiFi!

On Thu, May 23, 2019 at 3:59 PM Andrew Lim  wrote:
>
> Congrats Arpad!
>
> > On May 23, 2019, at 9:23 AM, Aldrin Piri  wrote:
> >
> > On behalf of the Apache NiFI PMC, I am very pleased to announce that Arpad
> > has accepted the PMC's invitation to become a committer on the Apache
> > NiFi project.
> > We greatly appreciate all of Arpad's hard work and generous contributions
> > to the project. We look forward to his continued involvement in the project.
> >
> > Arpad has been highly involved in the MiNiFi C++ codebase providing
> > contributions covering everything from code cleanup, tests, and new
> > features.  Arpad has been an active reviewer, contributor to JIRAs and
> > aided in verification of releases across the NiFi project.  Thank you for
> > all your efforts!
> >
> > Welcome and congratulations!
> >
> > --aldrin
>


Design track at ApacheCon Europe.

2019-05-24 Thread Victoria Bondarchuk
Hi, my name is Victoria Bondarchuk and I'm a member of the Open Source
Design community (https://opensourcedesign.net) and one of the
co-organizers of the Design track at ApacheCon Europe.


Apache NiFi community did an impressive job putting together a whole design
system https://nifi.apache.org/fds.html so I was wondering in anyone would
be interested in coming over and presenting about that work in Berlin in
October?


The CfP is open until May 26 but if interested, please do hesitate to
submit just a title to reserve the spot.


That would be a great opportunity to promote a design approach in open
source for the broader Apache community.


Please feel free to ask me in case of any further questions,


Happy Friday,

Victoria