Burak Sekili
5ac1203b55
MF-1421 - Make flattening of JSON transformer only available on InfluxDB ( #1432 )
...
* MF-1421 - Add a flag for making flattening JSON transformer optional
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Add test cases for JSON transformer without flattening
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Add a comment for Transform
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Separate TestTransformJSON into two tests
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Replace flatten flag
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Remove unnecessary flattening while reading a message
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
2021-07-22 11:20:47 +02:00
Dušan Borovčanin
e04d94ecc7
MF-1288 - Add tests for JSON messages in message writers and readers ( #1407 )
...
* Add JSON Writer tests
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add Posgres Reader JSON tests
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add ID comment
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add MongoDB Reader tests for JSON
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Rename test message
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add tests for InfluxDB JSON messages
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Use test file for constants block
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Rename MongoDB imports
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add Cassandra reader JSON tests
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Simplify test payload
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Handle wrong format uniformly across Readers
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
2021-04-20 21:33:26 +02:00
Dušan Borovčanin
6b7dc54c8b
NOISSUE - Switch to Consumers interface ( #1316 )
...
* Replace Writer with Consumer
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add Notifications package
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Update Consumer Start
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix Readers
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix Consumer naming
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add repo to Notify
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Remove notify
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Rename consumer field in middlewares
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix remarks and add Readme
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
2021-01-11 23:55:34 +01:00