* Use gomail package for sending emails
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* remove print err
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* Add vendor
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* Rename email structure
remove logger
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* typo in var name
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* rename var
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* remove MF_EMAIL_SECRET
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* NOISSUE - Fix auth members list response
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Move group type next to page details
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rm membersRes
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add API keys to cli
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
* Fix typo
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
* Fix issue func, and sdk
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
* Remove email, hide type and fix name
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
* Remove type and add README
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
* Fix issue response
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
* Fix magic number and move struct to private
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
* Remove const and import auth
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
* Removing auth
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
Co-authored-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* test github action
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* separate openapi and asyncapi
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* remove openapi from old location
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* change cname for production use
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* MF-1308 - Use IETF Health Check standard
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add nginx health endpoint
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rm github.com/nelkinda dependency
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Check error
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Replace Version by Health in the CLI and SDK
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use new build flag go:build
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Revert wrong renaming
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* sdk health test
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add /health endpoint to openapi doc
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use const for description message
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add version and build time during build
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Time format
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add version and commit using git and build args
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add comments
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add tests
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add missing api properties
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix api
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use ./schemas/HealthInfo.yml as
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix example
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use content type application/health+json
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Set Makefile variables only if empty
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* MF-1425 - Rebase mainflux master to resolve conflicts
MF-1425 Enhancement to supply an external UUID for Things and Channels.
Resolve conflicts.
Signed-off-by: Q.s <wangqs_eclipse@yahoo.com>
* MF-1425 - Test cases changes for SDK
MF-1425 Enhancement to supply an external UUID for Things and Channels.
These are the new testcases added for
- Things Service Testcases
- SDK Things and Channel Testcases
Signed-off-by: Anand Sivaram Palassery <aspnair@gmail.com>
Signed-off-by: Q.s <wangqs_eclipse@yahoo.com>
* MF-1425 - Fixing Testcases
MF-1425 Enhancement to supply an external UUID for Things and Channels.
Because of the previous commits, the testcases were getting failed
because the way ID was modified. This change is to make sure that
all testcases are revisited to get them fixed.
Signed-off-by: Anand Sivaram Palassery <aspnair@gmail.com>
Signed-off-by: Q.s <wangqs_eclipse@yahoo.com>
* MF-1425 - Fixing review comments
Fixing the review comments provided.
Signed-off-by: Anand Sivaram Palassery <aspnair@gmail.com>
Signed-off-by: Q.s <wangqs_eclipse@yahoo.com>
* MF-1425 - Fixing more review comments
Signed-off-by: Anand Sivaram Palassery <aspnair@gmail.com>
Signed-off-by: Q.s <wangqs_eclipse@yahoo.com>
* MF-1425 - Fixing conflicts
MF-1425 Enhancement to supply an external UUID for Things and Channels.
Fixing the conflicts between aspnair master, and the mainflux master.
Signed-off-by: Q.s <wangqs_eclipse@yahoo.com>
* MF-1425 Fix the comment and code format per review comments
MF-1425 Enhancement to supply an external UUID for Things and Channels.
1. Remove un-valued comment for a private function
2. Format the code for better readibility
Signed-off-by: Q.S. Wang <wangqs_eclipse@yahoo.com>
* MF-1425 Enhancement to supply an external UUID for Things and Channels.
Fix the format of the API document
Signed-off-by: Q.S. Wang <wangqs_eclipse@yahoo.com>
* MF-1425 Enhancement to supply an external UUID for Things and Channels.
Rename the variable to make it readible.
Signed-off-by: Q.s <wangqs_eclipse@yahoo.com>
Co-authored-by: Anand Sivaram Palassery <aspnair@gmail.com>
Co-authored-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
* Remove auth URL from SDK
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
* Update CLi/main.go authURL to GroupsURL
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
* Add authURL back
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
* Refactor group structures
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
* Add AuthURL back to cli/main.go
Signed-off-by: Filip Bugarski <filipbugarski@gmail.com>
* Fix Dockerfile base Go version
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Update Go version and dependencies
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* MF-1421 - Add a flag for making flattening JSON transformer optional
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Add test cases for JSON transformer without flattening
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Add a comment for Transform
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Separate TestTransformJSON into two tests
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Replace flatten flag
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Remove unnecessary flattening while reading a message
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* MF-1389 - Add /disconnect endpoint in Things service
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Add db transaction in Postgres' Disconnect
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Reformat things mock and things http api
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Update naming of /disconnect endpoint decoder
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Update naming for /connect endpoint
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
Update naming based on new endpoint
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Update disconnect endpoint test case descriptions
Signed-off-by: Burak Sekili <buraksekili@gmail.com>