* NOISSUE - Fix default nats publisher subject
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use created timestamp inn transformer
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use created timestamp in transformer
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* rename topic -> subject for nats
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* revert
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* revert
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix subscriber topic
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix timestamp
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use int64 nanoseconds Created timestamp
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add comment to created protobuf field
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rm gogo from scripts/ci.sh
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix comment
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Return publisher in NewPublisher
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add golangci-linter to CI script
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* add no-config flag
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* disable staticcheck
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* disable all except errcheck
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* add more linters
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* add verbose flag for debug
decrease concurrency to 1
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* remove errcheck and verbose flag
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* enable just golint
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* fix lint errors
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* MF-1078 - Add reception time to published messages and use it if SenML time is missing
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix comments
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add message timestamp
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix pub
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Mv timestamp to service layer
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Revert WS
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix coap
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix CI bot
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rename Timestamp Created
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Mv Created field to message creation
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Mv Created field to message creation
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use UnixNano
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use google.protobuf.Timestamp
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add protoc-gen-gogo and gogoproto to CI script
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use TimestampProto to generate timestamp
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Update Protobuf version
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update gRPC version
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Change go version to 1.13 in docker images
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* update go version on CI
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* fix and add debug code in ci.sh
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Remove other Go version from PATH on semaphoreci
Add new go installation to PATH
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Create dir for golang 1.13
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* remove debug code
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Add check for current go version before upgrade in ci script
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* NOISSUE - Fix Docker for ARM
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Correct ARGs
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Fix docker-compose for ARM
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Add docker manifest
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* cp not mv qemu from mf root
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* fix amd64 docker names for ui and mqtt images
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* edit ci.sh for testing purposes
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* remove bachslash from make manifest
edits in ci for testing purposes
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* fix manifest call
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* add manifest on version realese
delete space before latest argument
fix for loop in manifest creation
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* include tests
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* docker system prune
remove tests for testin purposes
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Add variant in manifest file for armv7
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Remove white space
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* paralelise the compilation
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* fix place of -j$NPROC
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Remove installing non-existent package from ci
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* remove branch master condition in ci.sh to test it
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* fix syntax error
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* update apt
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* build arm images for latest release
push ui and mqtt arm images
install only qemu-user-static
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* clean docker after pushing amd64 images
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* installing all qemu app
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* remove docker images before building ui and mqtt arm-images
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* prune dockers and test only arm build
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* fix syntax error
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* fix moving qemu-arm-static
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* installing qemu with apt-get
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* add another apt-get update
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* apt install one liner
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* testing ci script
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* After installing qemu, get appropriate version
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Test ci without amd64 dockers
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* remove tests from ci for test purpose
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Uncomment commands
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Remove whitespace and change order of building images
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Add arm Dockerfiles
Change version of postgres images in docker-compose to use versions with multiarch
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* docker compose file
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* remove bin qemu file
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* remove unnecesarry comments
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Add make dockers_arm32v7 in Makefile
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Remove docker/Dockerfile.arm
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Add build for arm32v7 in ui Makefile
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Add arm32v7 tags
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* add docker-compose for arm
remove thing-db in docker compose (use same db as user)
fix dockerfile and makefile
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* fix thing database env variable
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Switch back to separate database for things and users
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* rename arm32v7 to arm
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* remove arm32v7 tag
rename arm32v7 image names
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Rename command for making mqtt and ui individual images, to match other miscroservices
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Push arm docker images
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* fix fucntion call in ci.sh
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* mergiing ui/Dockerfile
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Add compile tests to CI script
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix parallelization flag
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>