* Use Normalizer as a lib
To normalize messages on the consumer side, Normalizer is moved
to the internal pkgs. Writers being message consumers are modified to
do message normalization instead of subscribing to normalized messages
subject.
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix logging middleware for readers and writers
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove normalizer interface
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Use Normalizer in writers
As we agreed on #919, we'll use normalizer as an interface and provide
the default SenML implementation. Because of that, Normalizer is removed
from `internal` and we'll use the project structure proposed in the
aforementioned issue.
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix tests
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove unused batch settings from influxDB reader
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update docs
Move Normalizer service to `addons`.
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Rename channels input topic
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update Noramlizer docs
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove commented code
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update readers logging
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update addons docker-compose files
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update topcis explanations
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* NOISSUE - Use .enr vars in docker-compose
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add README and dupllicated .env in docker repo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use .env for Bootstrap Docker Composition
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use .env for Cassandra (Reader-Writer) Docker Composition
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use .env for InfluxDB (Reader-Writer) Docker Composition
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use .env for MongoDB (Reader-Writer) Docker Composition
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use .env for Postgres (Reader-Writer) Docker Composition
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use .env for LoRa adapter Docker Composition
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix Grafana port in .env file
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Update README.md
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove docker/.env and update README.md
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* Add support for channel filtering using config
Add support for channel filtering using yaml configuration files
for writers.
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Update writers documentation with new env var
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Add info comment to configuration file
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Fix configuration and update yaml dep
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Update config from yaml to toml
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>