Mainflux.mainflux/vendor/github.com/gogo/protobuf/proto
Dušan Borovčanin dfa766e013 MF-407 - Values of zero are being omitted (#434)
* Fix empty protobuf values

Update Normalizer service and .proto files. Reader and Writer services
needs to be updated due to message format change.

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Update HTTP adapter to use gogo protobuf

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Update Reader services API

Update API or Reader services to match Message changes due to switching to gogo/proto.

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Update InfluxDB services

Update InfluxDB Reader and Writer services to match new Message format.

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Update MongoDB services

Update MongoDB Reader and Writer services to match new message format.

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Update Cassandra services

Update Cassandra Reader and Writer service to match new Message format.

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Fix InfluxDB Reader test

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Update Makefile and docs accordingly

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Fix possible data race in InfluxDB writer

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Update InfluxDB Writer tests

Raise test coverage.

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Fix InfluxDB reader

Fix wrong ValueSum readings. Upadete tests and raise coverage.

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Update MongoDB services tests

Raise test coverage for MongoDB Reader and Writer services.

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Update Readers API tests

Raise test coverage.

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Raise test coverage

Update Cassandra Reader and Writer services tests.

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Use gogo/protobuf in CoAP adapter

Add gogo/protobuf to Gopkg.toml and update dependencies.
Update Dockerfile to run `make proto`.

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Update Cassandra Reader tests

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Refactor code

Improve code style and comments to improve readability.

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Rename Sum to SumValue

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Rename Values to Value

Since message contains only single value (or possibly no value at all),
`Values` name could be misleading. Rename simple double value from
`Value` to `FloatValue` accordingly.

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Fix InfluxDB Reader logging

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Replace exclusive if statements with switch-case

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>

* Update Cassandra services tests

Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
2018-11-05 19:18:51 +01:00
..
Makefile MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
clone.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
custom_gogo.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
decode.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
discard.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
duration.go Use PostgreSQL as primary persistence solution (#175) 2018-03-11 18:06:01 +01:00
duration_gogo.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
encode.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
encode_gogo.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
equal.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
extensions.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
extensions_gogo.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
lib.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
lib_gogo.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
message_set.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
pointer_reflect.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
pointer_reflect_gogo.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
pointer_unsafe.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
pointer_unsafe_gogo.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
properties.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
properties_gogo.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
skip_gogo.go Use PostgreSQL as primary persistence solution (#175) 2018-03-11 18:06:01 +01:00
table_marshal.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
table_marshal_gogo.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
table_merge.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
table_unmarshal.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
table_unmarshal_gogo.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
text.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
text_gogo.go Use PostgreSQL as primary persistence solution (#175) 2018-03-11 18:06:01 +01:00
text_parser.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00
timestamp.go Use PostgreSQL as primary persistence solution (#175) 2018-03-11 18:06:01 +01:00
timestamp_gogo.go MF-407 - Values of zero are being omitted (#434) 2018-11-05 19:18:51 +01:00