Dušan Borovčanin
f10e49e6b5
MF-928 - Change CoAP lib ( #1233 )
...
* Switch CoAP lib
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Revert removed adapter code
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* WIP CoAP refactor
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add auth key
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix observers map
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix reading message body
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix subtopic parsing
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix error handling
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix multi-protocol communication
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Separate client from observer
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Remove unused config
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Remove TCP option
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Inline error check
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add logging client errors
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Replace RWMutex since we're not using RLock
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Inline error handling
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Inline error handling
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
2020-09-22 11:59:10 +02:00
Mirko Teodorovic
b91024465c
MF-1179 - Add a certificate service and certs endpoint to SDK ( #1188 )
...
* adding certificate issuing
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding cert endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update envs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update envs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move certs creation to sdk
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move certs creation to sdk
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move certs creation to sdk
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix env vars
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add comment
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update sdk
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix vars
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add volumes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix merge config for int
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove env
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix error handling
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add cert test, change receiver to pointer
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add docs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix var naming
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* correct error naming
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding certs service
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add certs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add certs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change func receiever
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add default cert issue method
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add config
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small fix
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove some testing code
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add cert issue
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add vault api client
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* additional endpoints
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add swagger for certs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove certs from provision
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* clean provision from certs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add list certificates endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add vault api in vendor
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add certs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add revoke, fix bugs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix sdk for certs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* minor changes, add env, doc
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* minor changes, add env, doc
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* minor changes, add env, doc
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove CA for signing from provision
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add docker file for certs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix mock sdk
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add line
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix RevokeCert
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* renam ENV
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove tests temporarily
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix naming
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* renam vars
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add cli for issue cert
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add cli for issue cert
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add cli for issue cert
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add cli for issue cert
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove not needed envs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix linter errors, add cli
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix linter errors, add cli, var rename
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix reviews, add viewcert, fix view all certs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove view cert, as it will be retrieved from PKI
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change endpoints
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add default env val
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove some errors
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor, make wrapper lib for vault
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor, make wrapper lib for vault
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor, make wrapper lib for vault
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix revoking
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor, make wrapper lib for vault
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update vendor
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix comment
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove unused
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove unused field
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update vendor
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor pki
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor pki
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor pki, update vendor
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor pki
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix comment
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* minor fix
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove methods, use fields
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix comments and package desc
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix comments and package desc
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2020-07-21 12:53:21 +02:00
Dušan Borovčanin
ea3a891c91
MF-1190 - Add pkg for library packages ( #1191 )
...
* Move messaging to pkg
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Move errors to pkg
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Move Transformers to pkg
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Move SDK to pkg
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Remove Transformers from root
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix make proto
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Add copyrights header
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix CI
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Move Auth client to pkg
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix dependencies
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Update dependencies and vendors
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix CI
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
2020-06-03 15:16:19 +02:00
Dušan Borovčanin
d7670e7adb
NOISSUE - Update dependencies ( #1176 )
...
* Update dependencies
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix mProxy version
Signed-off-by: dusanb <borovcanindusan1@gmail.com.com>
Co-authored-by: dusanb <borovcanindusan1@gmail.com.com>
2020-05-14 19:09:55 +02:00
Mirko Teodorovic
bf189fbd23
NOISSUE - Update provision service ( #1133 )
...
* Add provision service
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* delete sdk
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add provision file
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add provision
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add provision
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix envs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix vendor
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* deleete LICENSE
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix modules
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix modules
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix modules
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactoring provison service
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* provision
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix test, and use sdk
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove bootstrap mock
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* implement channel
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* export errors
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix tests
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix tests
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add new line
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove docker-compse
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add new line
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix load config
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix load config
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move certs to sdk
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move certs to sdk
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move certs to sdk
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move certs to sdk
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change dflt file
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix content
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* cert sdk
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix bootstraping
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix errors
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update swagger
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix mproxy mod
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix linter messages
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix linter errors
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* upd vendor
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* upd vendor
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove dead code
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add some space for readability
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* use snake case
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* use snake case
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* use snake case
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* use snake case
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* use snake case
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remov thingids
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert readme
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix logging
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* use snake_case
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix var naming
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix signature
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* aling with defaults
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix logging info
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix logging
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix tag
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
Co-authored-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2020-04-29 00:39:23 +02:00
Nikola Marčetić
42b3682352
MF-415 - Merge mProxy support ( #1045 )
...
* NOISSUE - Add mProxy support (#1017 )
* Add mproxy
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* Fix docker and add EMQ compose
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* Fix EMQX name
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* Add nats, auth and es
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* Removed unucessary vendoring
Signed-off-by: Drasko Draskovic <drasko.draskovic@gmail.com>
* Update vendoring
Signed-off-by: Drasko Draskovic <drasko.draskovic@gmail.com>
* Fix mproxy interface implementation
Signed-off-by: Drasko Draskovic <drasko.draskovic@gmail.com>
NOISSUE - Aligned Event interface method signatures with new spec (#1025 )
* Aligned Event interface method signatures with new spec
Signed-off-by: Nikola Marcetic <n.marcetic86@gmail.com>
* Updated deps
Signed-off-by: Nikola Marcetic <n.marcetic86@gmail.com>
NOISSUE - Update mproxy dependency (#1038 )
Signed-off-by: Nikola Marcetic <n.marcetic86@gmail.com>
Update Vendor with new mProxy (#1043 )
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
Twins merge conflict reverted
Signed-off-by: Nikola Marcetic <n.marcetic86@gmail.com>
Twins merge conflict reverted
Signed-off-by: Nikola Marcetic <n.marcetic86@gmail.com>
Twins fixed nats import
Signed-off-by: Nikola Marcetic <n.marcetic86@gmail.com>
Update deps
Signed-off-by: Nikola Marcetic <n.marcetic86@gmail.com>
* Resolved GolangCI remarks
Signed-off-by: Nikola Marcetic <n.marcetic86@gmail.com>
Resolved GolangCI remarks
Signed-off-by: Nikola Marcetic <n.marcetic86@gmail.com>
Resolved GolangCI remarks
Signed-off-by: Nikola Marcetic <n.marcetic86@gmail.com>
* Fixed Event interface Unsubscribe() typo
Signed-off-by: Nikola Marcetic <n.marcetic86@gmail.com>
* Update vendors
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Upgrade CI script
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
Co-authored-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
Co-authored-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2020-02-26 17:14:16 +01:00
Aleksandar Novaković
263108cc85
Migrate from dep to go modules ( #971 )
...
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
2019-11-27 15:29:34 +01:00
Mirko Teodorovic
19834dfc51
MF-295 add mqtt benchmark tool ( #817 )
...
* adding mqtt benchmark tool
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding mqtt benchmark tool - vendoring
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add mtls support
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update readme
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* tool for channel provision, reorganize code
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding config toml
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* tool for channel provision, adding ssl cert gen
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add config toml
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add readme for provision
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update readme
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove some printing
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add test configs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove some dead code, and sort comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* replace statistics lib
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* replace statistics lib
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add cobra and viper
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* styling changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* styling changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* styling changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove statistic lib
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change type visibility
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove empty line
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update vendor
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update deps
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename variable
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small changes, adding comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* error handling
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2019-08-13 12:56:31 +02:00
Dušan Borovčanin
ec0a148ad4
MF-443 Update project dependencies ( #444 )
...
* Update project dependencies
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update InfluxDB and Cassandra versions
Update InfluxDB and Cassandra versions in docker-compose file as well as
images version in tests.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Update gRPC version
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Make name first value of constraints
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
2018-11-07 10:18:57 +01:00
Aleksandar Novaković
426f59d392
MF-235 - Add support for storing messages in Cassandra ( #321 )
...
* Add Cassandra writer implementation
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Add cassandra service with version and metrics endpoints
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Add test for cassandra writer
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Exclude api.go files from code coverage
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Add readme file for cassandra writer
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Add docker compose configuration for cassandra writer
Add README file. Add docker compose configuration.
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Add gocql as project dependency
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Fix init script for cassandra in docker-compose
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
* Add testifies require subpackage
Signed-off-by: Aleksandar Novakovic <aleksandar.novakovic@mainflux.com>
2018-06-08 14:25:55 +02:00
Dejan Mijić
bca3d0774f
MF-201 - Replace ORM with SQL ( #265 )
2018-05-11 01:00:10 +02:00
Dejan Mijić
d499068e43
Update protobuf to 1.1.0 ( #251 )
2018-05-02 08:49:39 +02:00
Dejan Mijić
ccd8965d6f
Use PostgreSQL as primary persistence solution ( #175 )
...
* Use normalizer as stream source
Renamed 'writer' service to 'normalizer' and dropped Cassandra
facilities from it. Extracted the common dependencies to 'mainflux'
package for easier sharing. Fixed the API docs and unified environment
variables.
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Use docker build arguments to specify build
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Remove cassandra libraries
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Update go-kit version to 0.6.0
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Fix manager configuration
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Refactor docker-compose
Merged individual compose files and dropped external links. Remove CoAP
container since it is not referenced from NginX config at the moment.
Update port mapping in compose and nginx.conf. Dropped bin scripts.
Updated service documentation.
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Drop content-type check
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Implement users data access layer in PostgreSQL
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Bump version to 0.1.0
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Use go-kit logger everywhere (except CoAP)
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Improve factory methods naming
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Implement clients data access layer on PostgreSQL
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Make tests stateless
All tests are refactored to use map-based table-driven tests. No
cross-tests dependencies is present anymore.
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Remove gitignore
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Fix nginx proxying
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Mark client-user FK explicit
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Update API documentation
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Update channel model
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Add channel PostgreSQL repository tests
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Implement PostgreSQL channels DAO
Replaced update queries with raw SQL. Explicitly defined M2M table due
to difficulties of ensuring the referential integrity through GORM.
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Expose connection endpoints
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Fix swagger docs and remove DB logging
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Fix nested query remarks
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
* Add unique indices
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
2018-03-11 18:06:01 +01:00
Jovan Kostovski
7fe8100d6b
replaced glide with dep dependency manager
...
Signed-off-by: Jovan Kostovski <chombium@gmail.com>
2018-02-14 18:28:42 +01:00
Dejan Mijic
c966a7802d
Integrate manager service
...
Setup top-level glide dependencies file. Migrated all of the manager
service code into this repository. Fixed docker build procedure.
Extracted executable to the top-level.
Signed-off-by: Dejan Mijic <dejan@mainflux.com>
2017-09-23 01:03:27 +02:00
Drasko DRASKOVIC
48779e856f
Remove all from main repo
...
We will now use dedicated repos for microservices.
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2016-11-12 19:11:40 +01:00
Drasko DRASKOVIC
1d74046154
Add Glide and vendoring
...
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2016-10-09 20:48:34 +02:00