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
a3dbfecb2d
MF-1311 - Add Notifications service ( #1324 )
...
* Add repo to Notify
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Remove notify
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add initial repo implementation
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add Subscriptions repo implementation
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add working version of main method
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add Notifier API
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add API layer
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add Notifier interface
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix SMTP notifier main
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix email sending
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix main log
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add Readme and fix env vars
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Update README
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Remove commented code
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Rename notifiers to notify
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Move Consumer API to writers
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix contact naming
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix spacing in init.go
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix API
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add mocks
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add initial service test
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Use pagination
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Update List method
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix listing
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Rename SubscriptionPage to Page
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Finish service tests
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add DB tests
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add API tests
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add more API tests
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Remove Things dependency
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add API docs
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add docs
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix Things references
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix AuthN typo
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix linter warnings
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add license comments
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix test order
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Use service error for wrappers
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix repo setup test
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Use total const in tests
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Use constant contacts
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix code formatting
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Rename notifier implementation
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Rename Notify to Notifiers
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Resolve remarks
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix naming and docs
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix docker-compose
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Rename Subscriptions to Notifiers service
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix logging
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix formatting and typo
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Resolve remarks
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix topic request
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
2021-02-01 14:08:10 +01: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