Manuel Imperiale
ac09815457
NOISSUE - Fix Auth typo ( #1319 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2021-01-11 10:00:13 +01:00
Mirko Teodorovic
47217cb5b9
NOISSUE - Merge authz and authn into new service auth ( #1313 )
...
* remove owner id
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move authz into authn and merge into new service
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add groups
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add groups
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add groups endpoints
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add group type
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding mocks, some renaming, refactor
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update proto
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding mocks, some renaming, refactor
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix linter err,and comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* undo renaming, add interface for authn and authz
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* renam some variables
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* renaming
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove extra slashes from comment
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolving small remarks
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2020-12-29 23:02:35 +01:00
Manuel Imperiale
01aa4190c5
MF-1087 - Remove WebSocket adapter ( #1120 )
...
* MF-1087 - Remove WebSocket adapter
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rm all ws directory
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Revert authorization.js
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Remove /ws endpoint from ssl/authorization.js
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rm gorilla from vendor
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Revert gorilla to vendor
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2020-04-17 13:16:21 +02:00
Manuel Imperiale
6c39c85cc8
MF-1096 - Fix AuthN and Things Auth ENVARS ( #1066 )
...
* NOISSUE - Fix AuthN and Things Auth ENVARS
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add DB envars to env.go
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix envars
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add DefLogLLevelError
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix DB names
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix DB names
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix DB names and HTTP ports
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix .env
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Revert writers DB names
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rm unused Twins envars
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Remove definitions from env.go
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Revert HTTP gRPC ports
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use default NATS URL as string
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Revert default ports
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix cassandra ENVARS
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix cassandra reader ENVARS
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix readers and writers envars
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix readers and writers .env
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2020-04-07 12:02:17 +02:00
Ivan Milošević
d2153a8846
[NOISSUE] - Improve errors package ( #1086 )
...
* Init commit - implement errors package on things service
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* things service errors issue
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Decode errors
Add authn service to run script
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Modify tests
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* service_test
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* debug lines
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Regulate tests
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Improve errors in Redis
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Remove dead code
Inline if conditions
Rename err var
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Transform errors messages to lowercase
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* improve errors package
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* modify wrap method
inline wrapping errors in redis
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Add copyright to errors package
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* wrapping nil error returns wrapper (instead of nil)
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* move response messages in test to vars
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* golangcibot review fix
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* golangbot fix review in transport
Signed-off-by: Ivan Milošević <iva@blokovi.com>
2020-03-30 15:22:18 +02:00
Drasko DRASKOVIC
d587921eda
Merged MQTT docker compose in core composition file ( #1060 )
...
Signed-off-by: Nikola Marcetic <n.marcetic86@gmail.com>
2020-03-05 13:34:07 +01:00
Nikola Marčetić
dcba41e8c4
Removed VerneMQ auth plugin, Aedes impl. Added mproxy support in docker ( #1049 )
...
Signed-off-by: Nikola Marcetic <n.marcetic86@gmail.com>
2020-03-01 23:55:43 +01:00
Mirko Teodorovic
9e8dd4b149
MF-942 - Fix email template logic ( #944 )
...
* fix email template
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename resetPasswEmail.tmpl
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add env var
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename resetPasswEmail.tmpl
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename resetPasswEmail.tmpl
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* upd docs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* upd docs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* upd docs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove not needed file
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move email tmpl
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move email tmpl
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move email tmpl
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* variable for tmpl
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix ident and caps
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2019-11-11 12:13:48 +01:00
Dušan Borovčanin
f50335ab33
MF-919 - Mainflux message updates ( #924 )
...
* Remove RawMessage
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove Normalizer
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update tests
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Replace normalizer with senml-transformer
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Rename Transformer interface and package
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update docs
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove SenML transformer service
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove SenML Protobuf support
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix readers
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix writers tests
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Refactor tests and remove normalizer
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update docs
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Reanme Service interface to Transformer
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Use msg instead of rawmsg
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove rawMsg from Aedes code
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix VerneMQ files
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove RawMessage code
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix missing subtopic return
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove remaining RawMessage reference
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix formatting
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix readers and writers tests
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Rename SenML transformer variables
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix readers and writers tests constants
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-11-05 11:57:16 +01:00
Mirko Teodorovic
ecc15b64b6
MF-859 - Channels metadata search ( #867 )
...
* add users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to users
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to users
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* run.sh
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to users
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add default value for metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add default value for metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* when metadata is not set dont save 'null' string
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* when metadata is not set dont save 'null' string
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to channels
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to channels
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change metadata type, add error handling
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add pause
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove extra char
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* retype from string to []byte
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to channels
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to channels
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add wait logic for gnatsd
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* few small fixes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix identityRes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to channels
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to channels
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata to channels
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix waiting for gnatsd
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix waiting for gnatsd
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix waiting for gnatsd
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* changes to wait gnatsd logic
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* changes to wait gnatsd logic
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* testing query
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix query
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix query
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix merge problem
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* Update requests.go
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* Delete pwdrecovery.go
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix merge problem
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix merge problem
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small change in comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove unused struct
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2019-10-01 14:12:52 +02:00
Drasko DRASKOVIC
3b19292966
NOISSUE - Add docker-compose for MQTT cluster ( #841 )
...
* Add MQTT cluster configs
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* Bump worker_connections value in nginx.conf
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Revert config.toml
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Fix cluster
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Move non-ssl server into the same directive
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Fix cluster
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Remove unnecessary comments
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Organize docker-compose and nginx conf files
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Correct nginx.conf for mTLS and aux changes
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Fix NginX conf trailing slash in proxy_pass
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Fix path for MQTT
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Fix minorstuff in gitignore and comments
Signed-off-by: drasko <drasko.draskovic@gmail.com>
2019-09-12 16:55:24 +02:00
Ivan Milošević
b0a79436b8
Fix MF_THINGS_AUTH_GRPC_PORT in addons' docker-compose files ( #781 )
...
Signed-off-by: Ivan Milošević <iva@blokovi.com>
2019-07-11 23:19:08 +02:00
mteodor
c418a9a4cf
NOISSUE - Added normalizer service to run script ( #594 )
...
* Added normalizer service to be run
* Update run.sh
2019-02-13 12:05:29 +01:00
Dušan Borovčanin
bf299a0143
NOISSUE - Add .dockerignore to project root ( #457 )
...
* Add .dockerignore file to project root
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Cleanup project root
Update run script and remove unused files from project root.
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
* Remove .dockerignore form docker dir
Signed-off-by: Dusan Borovcanin <dusan.borovcanin@mainflux.com>
2018-11-13 22:31:13 +01:00
Drasko DRASKOVIC
9cacf5708b
NOISSUE - Add info log-level for development ( #427 )
...
Signed-off-by: drasko <drasko.draskovic@gmail.com>
2018-10-24 17:13:29 +02:00
Drasko DRASKOVIC
7e83b2d612
NOISSUE - Add system run script ( #350 )
...
* NOISSUE - Add system run script
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Add MQTT
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Add MQTT module install to Makefile. Fix warnings.
Signed-off-by: drasko <drasko.draskovic@gmail.com>
2018-08-16 19:52:43 +02:00