hashmapinc / nifi-opcua-bundle

Apache License 2.0
31 stars 11 forks source link

22 change json timestamp format #25

Closed ed3766 closed 6 years ago

ed3766 commented 6 years ago

Support phoenix timestamp format yyyy-MM-dd HH:mm:ss in both CSV and JSON timestamps

Verify the GetOPCData processor returns the timestamp format yyyy-MM-dd HH:mm:ss for all DataFormat options (CSV, JSON) and Return Timestamp options (Server, Source) when Use Long Timestamp = false.

{ "values" : [ { "q" : 0, "id" : "SimulationExamples.Functions.Ramp1", "vs" : "35", "ts" : "2017-10-13 17:11:53" }, { "q" : 0, "id" : "SimulationExamples.Functions.Ramp2", "vs" : "150.75", "ts" : "2017-10-13 17:11:53" }...

ns=2;s=SimulationExamples.Functions.Ramp1,2017-10-13 17:11:53,35,0 ns=2;s=SimulationExamples.Functions.Ramp2,2017-10-13 17:11:53,150.75,0 ...