Drasko DRASKOVIC
380af878d2
Fix doc for ENV vars in README ( #920 )
...
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2019-10-29 21:28:59 +01:00
Drasko DRASKOVIC
da4fc62440
NOISSUE - Switch to grpcbox for VerneMQ ( #914 )
...
* Switch to grpcbox
Use grpcbox as a gRPC client library, because
it is much better maintained.
Shows good performance and generation of protobuf
files is simple and automatic.
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
* Fix typo
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2019-10-29 20:35:09 +01:00
Nick Neisen
426813cec4
Change channels to chs ( #918 )
...
Signed-off-by: nwneisen <nwneisen@gmail.com>
2019-10-29 19:06:48 +01:00
Nick Neisen
8f3dff837b
MF-484 - Add bulk provisioning for things and channels ( #889 )
...
* Add provisioning to postgres
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add provisioning to things and channels service
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add JSON provisioning endpoint to things API
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add provisioning to SDK and CLI
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Update docs
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Remove response location and adjust channelsFromFile
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Change naming from 'provison' to 'bulkCreate'
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add gocsv to vendors folder
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Update "bulk" naming
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Move CSV to CLI and remove gocsv dependancy
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Update docs and responses
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Change AddThings to be CreateThings
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Improve test coverage
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Fixes after review
Signed-off-by: nwneisen <nwneisen@gmail.com>
2019-10-29 12:59:54 +01:00
Nick Neisen
5f5d7e4cfa
MF-899 - Update README and official docs ( #910 )
...
* Update root README.md
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Update official documents
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Move docker template version location
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Move template to dev guide and remove bold
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Remove double spaces after periods
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Change repo to repository
Signed-off-by: nwneisen <nwneisen@gmail.com>
2019-10-29 10:22:41 +01:00
Manuel Imperiale
fec058c614
NOISSUE - Fix Redis envars ( #903 )
...
* NOISSUE - Fix Redis envars
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix url
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-10-28 09:49:34 +01:00
Drasko DRASKOVIC
613e75f7ee
Add disconnect on gen_server terminate() ( #913 )
...
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2019-10-27 17:57:43 +01:00
Drasko DRASKOVIC
7499f8deea
Fix compilation ( #911 )
...
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2019-10-26 17:46:23 +02:00
Dušan Borovčanin
02fd492105
Revert "NOISSUE - Make event sourcing optional ( #907 )" ( #909 )
...
This reverts commit d309973a23
.
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-10-25 13:57:41 +02:00
Aleksandar Novaković
d309973a23
NOISSUE - Make event sourcing optional ( #907 )
...
* Add ES flat to the things service
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Add env var for optional ES
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
2019-10-25 00:12:31 +02:00
Manuel Imperiale
e45e0ab307
NOISSUE - Fix InfluxDB env vars ( #908 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-10-24 18:52:53 +02:00
Manuel Imperiale
dea7c67ddb
MF-890 - Add OPC-UA docs ( #904 )
...
* MF-890 - Add OPC-UA docs
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add opcua.md in mkdocs.yml
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-10-24 09:49:11 +02:00
Dušan Borovčanin
2e664ffe10
Fix Elm version for ARM Docker images ( #905 )
...
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-10-23 18:08:38 +02:00
Dušan Borovčanin
cdf9347b01
NOISSUE - Update Protobuf version ( #902 )
...
* 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>
2019-10-22 20:33:44 +02:00
Manuel Imperiale
e16a025fba
MF-886 - Add OPC-UA adapter ( #878 )
...
* NOISSUE- Add OPC-UA adapter
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* NOISSUE - Add opc-adapter PoC, docker and vendor
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Convert OPC messages to SenML
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add gopcua package
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* lora-adapter typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add OPC Reader
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Typo fix
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Typo fix
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Update copyright headers
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>
* Add opc config
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add all opc envars in the config
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Config typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add route map
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use opcua package instead of opc
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix OPCUA typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rm MQTT sub
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Move interefaces to root
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix revieews and typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Update Gopkg.toml
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add all envars into .env
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-10-22 17:44:19 +02:00
Dušan Borovčanin
8ab0b08c39
Fix Elm version in Dockerfile ( #901 )
...
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-10-22 17:30:09 +02:00
Mirko Teodorovic
f4f938a730
MF-532 - Password reset ( #873 )
...
* 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 users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* 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 users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* when metadata is not set dont save 'null' string
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change metadata type, add error handling
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change metadata type, add error handling
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change metadata type, add error handling
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove extra char
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove extra char
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove extra char
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* few small fixes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* few small fixes
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>
* fix identityRes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix identityRes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* 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 users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* mail
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* mail
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reset request endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reset request endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reset request endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add token
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add token
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add token
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add token methods
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add token methods
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add token methods
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding token endpoints
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding token endpoints
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding token endpoints
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding reset passw endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding reset passw endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding reset passw endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add logic for token verifying
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add logic for token verifying
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add logic for token verifying
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove mail from main
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove mail from main
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove mail from main
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* token and passwd update logic
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* token and passwd update logic
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* token and passwd update logic
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize mailing code
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add comments for password reset flow
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add comments for password reset flow
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change struct members to private
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add space
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add space
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add space
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert back changes used for testing
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert back changes used for testing
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert back changes used for testing
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize endpoints, extract host for link from Referer
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize endpoints, extract host for link from Referer
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding swagger docs for reset passw
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding swagger docs for reset passw
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix imports and some typos
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix imports and some typos
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding swagger docs for reset passw
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize endpoints, extract host for link from Referer
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize endpoints, extract host for link from Referer
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* addint test and update swagger for pass reset
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* addint test and update swagger for pass reset
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* addint test and update swagger for pass reset
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding test for endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding test for endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding test for endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding test for endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding endpoint test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding endpoint test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding endpoint test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change token generation
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change token generation
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change token generation
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize and change token gen
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize and change token gen
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize and change token gen
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* addint token and mail
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding token env
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding token env
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix error reporting
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix some comments and update readme
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix some comments and update readme
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix some comments and update readme
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update readme
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix problmes due merge
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix problmes due merge
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix typos
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix typos
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add trusted certificates
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add endpoint for password change of currently authenticated user
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add env variable for conf reset endpoint
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>
* change metadata type, add error handling
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove extra char
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 users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* password reset, sketching
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reset request endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding token endpoints
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding reset passw endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add logic for token verifying
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove mail from main
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add space
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert back changes used for testing
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize endpoints, extract host for link from Referer
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize endpoints, extract host for link from Referer
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* addint test and update swagger for pass reset
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding endpoint test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix some comments and update readme
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add env variable for conf reset endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix tests
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolving some style comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* minor fixes due to bad merge
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix problem with unsigned commits
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix problem with unsigned commits
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix call to users.New
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix call to users.New
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename file
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename to email.go
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* additional comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* additional comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor email util
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor email util
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor email util
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor email util
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove debug bin
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add driver conf for mail
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor email
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor email
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix failing tests
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add testify
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small fix
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add token conf
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small fix
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small fix
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* configurable email template
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix missing var
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add env for email template file
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add env for email template file
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix tests
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>
* revert to master
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove dev container
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small fixes, typos, namings
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix typo
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolving comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolving comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolving comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolving comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolving comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add line
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* return err from email New()
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change MF_TOKEN_RESET_ENDPOINT
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add and remove env vars
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* separate password logic into two methods Change and Reset
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove blank line
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update docs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* dont use camel case
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small fix
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize email template for passw reset
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize email template for passw reset
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2019-10-22 14:53:14 +02:00
Nick Neisen
6687a738ce
MF-785 - Change CanAccess to CanAccessByKey ( #894 )
...
* Change CanAccess to CanAccessByKey for things
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Change CanAccess in remaining occurances
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Regenerate generated files
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Generate pb.go files with protoc 3.6.1
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
2019-10-21 23:24:45 +02:00
Manuel Imperiale
1da48afc4c
NOISSUE - fix security doc ( #897 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-10-21 15:02:21 +02:00
Manuel Imperiale
ddbf172ed5
NOISSUE - Fix typo in docs and README ( #891 )
...
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2019-10-17 22:15:45 +02:00
Dušan Borovčanin
df2cb80f12
Fix Nginx mTLS configuration ( #885 )
...
Sync mTLS and TLS config logs.
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-10-15 16:39:46 +02:00
Drasko DRASKOVIC
b3ce48aca6
NOISSUE - Add MQTT UserName check on register and InstanceId in Redis ( #884 )
...
* Add InstanceId and verify UserName
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Fix thingID check (compare with UserName)
Signed-off-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2019-10-14 15:09:53 +02:00
Jovan Kostovski
351b04cd2e
Add MQTT troubleshooting section ( #882 )
...
Signed-off-by: Jovan Kostovski <chombium@gmail.com>
2019-10-14 09:18:29 +02:00
Dušan Borovčanin
23b421bdc5
Fix provision tool connect error handling ( #879 )
...
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-10-08 19:31:13 +02:00
Nick Neisen
93d939ea52
MF-875 - Add tracing to official documentation ( #877 )
...
* Tracing docs without example
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Add tracing example using provisioning traces
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add link to Jaeger offical website
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Remove extra http:// from UI URL
Signed-off-by: nwneisen <nwneisen@gmail.com>
2019-10-07 17:49:29 +02:00
Nick Neisen
66487eda42
MF-788 - Remove date and minimize copyright comments ( #876 )
...
* Update copyright comment for go files
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Update copyright in assortment of file types
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Remove missed copyright date
Signed-off-by: nwneisen <nwneisen@gmail.com>
2019-10-07 16:14:47 +02:00
Nick Neisen
23dff53a08
MF-787 - Add tags to user, thing, and channel spans ( #869 )
...
* Add span tags to tracing functions
Signed-off-by: nwneisen <nwneisen@gmail.com>
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add span tags to database funcions
Signed-off-by: nwneisen <nwneisen@gmail.com>
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add database interface for things tags
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add channels database interface for tags
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Add database interface for users tags
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Fix borken tests due to database interface
Signed-off-by: Nick Neisen <nwneisen@gmail.com>
* Update database interface naming
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Adjust tests for name changes
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Return previous db variable name
Signed-off-by: nwneisen <nwneisen@gmail.com>
* Add ctx after rebase
Signed-off-by: nwneisen <nwneisen@gmail.com>
2019-10-07 13:32:09 +02:00
Aleksandar Novaković
19f8922a9e
Update docker-compose version for addons ( #874 )
...
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
2019-10-02 11:57:12 +02: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
Mirko Teodorovic
92a640f6fc
MF-858 Users metadata ( #861 )
...
* 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>
* 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 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 users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add users metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert run.sh for now as gnats availability check is solved in other PR
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change metadata database/sql handling
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix commit issues
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small change to errors handling
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* minor comment change
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2019-09-28 13:15:41 +02:00
Dušan Borovčanin
873ef4c96f
NOISSUE - Simplify MQTT benchmarking tool ( #852 )
...
* Fix user creation
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Extract client creation to separate method
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove message generating in separate goroutine
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove runSub and runPub methods
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Refactor benchmark code
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix typos
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update client message handling
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix microseconds typo
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Simplify client
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Don't take zero-messages clients int count
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix token timeout condition
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Add timeout for publisher
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update Paho lib version
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Temporary drop SenML and subscribe support
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Calculate payload size
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove templates
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-09-25 19:02:29 +02:00
Ivan Milošević
5e3bb270a3
NOISSUE - Upgrade Go version to 1.13 in container images ( #868 )
...
* 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>
2019-09-23 21:43:21 +02:00
Parham Alvani
c8cb2655c0
MF-820 - Fetch messages for a particular device ( #843 )
...
* feat: Add Support for Publisher Query in Postgres
Signed-off-by: Parham Alvani <parham.alvani@gmail.com>
* chore: Remove Redundant Case
Signed-off-by: Parham Alvani <parham.alvani@gmail.com>
* chore: Add Test for Postgres Query
Signed-off-by: Parham Alvani <parham.alvani@gmail.com>
2019-09-21 00:20:09 +02:00
Aleksandar Novaković
b83439fcc2
Update gorilla websocket version ( #865 )
...
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
2019-09-18 18:25:18 +02:00
Aleksandar Novaković
08105205e1
NOISSUE - Update aedes version and fix Dockerfile ( #863 )
...
* Update MQTT adapter and add message TTL
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
* Fix clean command
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
2019-09-17 20:25:38 +02:00
Mirko Teodorovic
d20dfa84bc
NOISSUE - Search by metadata ( #849 )
...
* add metadata search
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata search
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata search
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata search
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata search
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata search
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add metadata search
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add space
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* metadata test case
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add docs and update swagger
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add test for metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add test for metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove commented out section
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small change to test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove debug printf
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small fix for metadata
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix tests
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* and => and/or
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add line
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix mixed func params
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* metadata will be added to channels later
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix return type
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix typings
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix typings
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add migration
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove var
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* respecting the order of migrations
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2019-09-17 15:46:24 +02:00
Ivan Milošević
a6cf76709d
MF-846 - Install python in docker build for aedes mqtt image ( #860 )
...
* Multi-stage docker build for aedes mqtt image
Signed-off-by: Ivan Milošević <iva@blokovi.com>
* Add copyright header
Signed-off-by: Ivan Milošević <iva@blokovi.com>
2019-09-16 18:25:34 +02:00
Drasko DRASKOVIC
5ef6aa84de
NOISSUE - Clean NginX files, move .gitignores to dirs ( #853 )
...
* Remove nginx entrypoint trash, move .gitignore
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Add node_modules to Aedes .gitignore
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Move docker .gitignore to nginx
Signed-off-by: drasko <drasko.draskovic@gmail.com>
2019-09-16 11:47:34 +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
Aleksandar Novaković
4870119270
Add debug logs to the WS adapter ( #848 )
...
Signed-off-by: Aleksandar Novakovic <anovakovic01@gmail.com>
2019-09-11 15:34:04 +02:00
Mirko Teodorovic
97327ab05f
NOISSUE - Add measuring time from pub to sub ( #839 )
...
* refactor code
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* connect each thing with each channel
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reverting - structure fields must be exported
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reverting - structure fields must be exported
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert some names
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move meausuring time start
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add pub-to-sub delivery time measure
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add pub-to-sub delivery time measure
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add pub-to-sub delivery time measure
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add pub-to-sub delivery time measure
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* improve sync between pub and sub
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* improve sync between pub and sub
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* improve sync between pub and sub
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* improve sync between pub and sub
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* improve sync between pub and sub
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* improve sync between pub and sub
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add random payload
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert changes for config.toml
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add random payload
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove printfs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add logging
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add payload
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add payload
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename variable
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add payload
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor sync
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor sync
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor results
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change sync and result collecting for sub
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2019-09-06 14:59:35 +02:00
Parham Alvani
115d94bd1b
fix: Correct 404 and Content-Type Issues in MQTT Version Endpoint ( #837 )
...
Signed-off-by: Parham Alvani <parham.alvani@gmail.com>
2019-09-05 15:10:18 +02:00
Mirko Teodorovic
640dfb7e19
NOISSUE - update mqtt prov tool and some refactor ( #831 )
...
* refactor code
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* connect each thing with each channel
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add some comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* connect each thing with each channel
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reverting - structure fields must be exported
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reverting - structure fields must be exported
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert some names
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move meausuring time start
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert changes to .gitignore
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2019-09-05 13:39:58 +02:00
Dušan Borovčanin
e17a3de1d0
NOISSUE - Use Thing ID to update certs data ( #827 )
...
* Use ThingID to update certs
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Fix logging typo
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Update API tests and service mock
Signed-off-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2019-09-03 13:54:56 +02:00
Drasko DRASKOVIC
ec4b46b669
NOISSUE - Improve VerneMQ plugin code, add configurable gRPC pool size ( #836 )
...
* Enable gRPC support
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Add poolboy process pool
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Add Verne docker-compose
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Improve code, add settings for pool size
Signed-off-by: drasko <drasko.draskovic@gmail.com>
2019-09-03 01:05:36 +02:00
Drasko DRASKOVIC
38d85ae03b
NOISSUE - Use gRPC for VerneMQ ( #835 )
...
* Enable gRPC support
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Add poolboy process pool
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Add Verne docker-compose
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Clean the code in genservers
Signed-off-by: drasko <drasko.draskovic@gmail.com>
2019-09-02 23:22:46 +02:00
Drasko DRASKOVIC
655f421ca9
NOISSUE - Fix proto files in VerneMQ ( #834 )
...
* Add socket pool and fix pattern matching
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Fix hackney req
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Change docker-compose
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Correct protobuf and add MQTT loback ignore
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Bring back docker-compose
Signed-off-by: drasko <drasko.draskovic@gmail.com>
2019-09-02 21:20:18 +02:00
Drasko DRASKOVIC
9ccc37c4b1
NOISSUE - Fix hackney HTTP request ( #833 )
...
* Add socket pool and fix pattern matching
Signed-off-by: drasko <drasko.draskovic@gmail.com>
* Fix hackney req
Signed-off-by: drasko <drasko.draskovic@gmail.com>
2019-09-02 18:11:58 +02:00
Drasko DRASKOVIC
a8836d67e0
Add socket pool and fix pattern matching ( #830 )
...
Signed-off-by: drasko <drasko.draskovic@gmail.com>
2019-09-01 21:53:04 +02:00
Ivan Milošević
2d1347eee3
Switch secure of WS connection according to secure of http connection of UI ( #829 )
...
Signed-off-by: Ivan Milošević <iva@blokovi.com>
2019-08-30 16:23:28 +02:00