Burak Sekili
be3e98f677
remove dead code ( #1503 )
...
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
2021-11-24 16:55:29 +01:00
Burak Sekili
87510288c2
NOISSUE - Fix listing ( #1502 )
...
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
2021-11-19 17:25:48 +01:00
Burak Sekili
b78928c998
NOISSUE - Listing Policies ( #1498 )
...
* allow admin to fetch all things
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* enable users to fetch their own things via owner field in db
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* add listpolicies RPC
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* add listPolicies gRPC methods for client and server, and update keto initialization
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* update fetching things method
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* remove log
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* update retrieving policies
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* fix linter error
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* update mock
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* remove checking subject set while parsing subject sets
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* move subject declaration to constant value
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
2021-11-19 14:32:38 +01:00
Dušan Borovčanin
39133b06a4
Fix standalone mode ( #1497 )
...
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Co-authored-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2021-11-16 13:02:31 +01:00
Dušan Borovčanin
27d4646db4
MF-1443 - Add policies ( #1482 )
...
* MF-1443 - add policies
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* fix users create
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* MF-1454 - Add Policies for sharing a Thing (#1463 )
* MF-1454 - Add policies for sharing a Thing
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Add a test case for sharing thing and update mock of AddPolicy
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Update ShareThing parameter naming
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* MF-1454 - Policy Removal (#1466 )
* Add DeletePolicy gRPC endpoint in auth package
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Update default admin creation
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* NOISSUE - Add policy addition endpoint (#1479 )
* NOISSUE - Add policy addition endpoint
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Update name of the method
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
remove build tag
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* NOISSUE - Add tests for AddPolicies (#1480 )
* NOISSUE - Add tests for adding policy and update authz check
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Add more tests and update request body validation
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Update test case structure and utilize mock prefix for test ids
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* MF-1454 - Add initial policies for Group access control (#1467 )
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Resolve PR comments
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Co-authored-by: Author: Burak Sekili <buraksekili@gmail.com>
2021-10-27 00:38:28 +02:00
Dušan Borovčanin
39ae7bdfa1
NOISSUE - Refactor single-user mode ( #1471 )
...
* Refactor single user mode
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix Twins dependency
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Rename `single-user` to `standalone`
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Co-authored-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2021-10-11 16:08:26 +02:00
Burak Sekili
19f0437f57
NOISSUE - Update the /disconnect endpoint HTTP method as PUT ( #1438 )
...
* NOISSUE - Update the /disconnect endpoint HTTP method as POST
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Update disconnection request name in spec
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
Update description
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
* Replaced POST with PUT
Signed-off-by: Burak Sekili <buraksekili@gmail.com>
2021-07-13 13:31:20 +02:00
Burak Sekili
2cfff01979
MF-1389 - Add /disconnect endpoint in Things service ( #1433 )
...
* 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>
2021-07-10 00:59:12 +02:00
Ivan Milošević
cddfdf4038
NOISSUE - Use github action for showing OpenAPI spec with Swagger UI ( #1427 )
...
* init swaggerui action
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* remove dep
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* fix filename
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* add checkout master
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* try diffrent action
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* change path for search
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* change path
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* change path
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* put almost all openapi spec to one folder
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* fix pattern
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* try servers changing
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* test k8s
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* remove servers
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* use blokovi action
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* add cname
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* Parameters ready for PR to upstream
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* Fix errors in Auth openapi spec
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* remove white line
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* fix link in README
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* change docs and api links in readme files
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
2021-06-23 13:31:46 +02:00
Manuel Imperiale
9e5e50b347
NOISSUE - Update docker-compose images to latest release ( #1419 )
...
* MF-1390 - Fix docker-compose env_file
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Update README
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* NOISSUE - Update docker-compose images to latest release
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use Postgres 13.3-alpine
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2021-05-24 18:35:07 +02:00
Dušan Borovčanin
516c02bebe
MF-1378 - Update dependencies ( #1379 )
...
* Update dependencies
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix compose files and configs
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Upgrade image versions
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Update Postgres version
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Update test dependencies
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix fkey error handling
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
2021-05-20 20:53:56 +02:00
chengyou tang
e02e9c2387
MF-1408-Fix error handling for Thing update SQL( #1408 ) ( #1409 )
...
Signed-off-by: Chengyou Tang <tcy277813009@gmail.com>
Co-authored-by: Chengyou Tang <tcy277813009@gmail.com>
Co-authored-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2021-04-20 14:26:16 +02:00
Manuel Imperiale
6770c19279
NOISSUE - Rm content-type check from list endpoint ( #1400 )
...
* NOISSUE - Rm content-type check from list endpoint
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix decode func naming
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2021-03-30 11:32:28 +02:00
Manuel Imperiale
9245e2593b
MF-1368 - Add internal http api package for query params reading ( #1384 )
...
* MF-1368 - Add internal http api package for query params reading
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix comments
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix comments
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use internal/http and internalhttp alias
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Mv errors types to pkg
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use httputil/query.go and remove aliases
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add blank lines after error definitions
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add ReadBoolValueQuery
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Mv readBoolValueQuery
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* User ErrNotFoundParam instead of pointer
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Revert ReadUintQuery to use default values
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use default values for all query readers
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2021-03-23 11:48:05 +01:00
Ivan Milošević
0f3a262ca3
put order direction in response body ( #1387 )
...
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
2021-03-15 19:55:57 +01:00
Ivan Milošević
30ba38c919
MF-1357 - Add new endpoint for searching things ( #1383 )
...
* Add new enpoint for thing search
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* Rename endpoint to /search
Use same request as list endpoint
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* Add optional parameters in body (offset, limit)
Add swagger file
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* move all parameters into body
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* fix swagger
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* fix error description
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* Add tests
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* remove dead code
fix tests
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* remove unused var
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* fix sdk tests
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* add url endpoint for search test
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* description in swagger
fix tracer string
change test offset
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
* rename in tests searchThReq to searchThingReq
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
2021-03-11 10:28:44 +01:00
Ivan Milošević
a1e18a770a
init commmit ( #1385 )
...
Signed-off-by: Ivan Milosevic <iva@blokovi.com>
2021-03-10 11:52:33 +01:00
Mirko Teodorovic
530f925c4d
MF-1346 - Create Groups API - add grouping of entities ( #1334 )
...
* remove owner id
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add users endpoint for retrieving users from group
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove groups from things and users
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move groups into auth
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* separate endpoints for users and things
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix problems with retrieving members
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add groups test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove groups from users
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove groups from things
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename constant
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add new errors
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove unnecessary constants
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix validation
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* create groups db mock
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding tests
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert changes to docker related files
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove groups endpoints from users openapi
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove groups endpoints from users openapi
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move constant from postgres to groups
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move constant from postgres to groups
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move constant from postgres to groups
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove testing group
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* renam typ to groupType
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add error for max level
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove print
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove groups.Member interface
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix query building and add test cases
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* uncomment tests
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move groups package
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove group type, add bulk assign and unassign
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update openapi, remove parentID from create request, reorder endpoints
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update openapi
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update openapi for users and things
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix groups test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix linter errors
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolve comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename assignReq structure
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor mocks, response, remove type from endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* some refactor, renaming, errors
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* simplify check
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove package alias
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix naming and comment
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* additional comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add members grpc endpoint test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix retrieving members for different types
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix retrieving members for different types
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove unecessary structure
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix api grpc
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename const
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactore retrieve parents and children with common function
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small changes for errors
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix compile error
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix sorting in mock
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove regexp for groups
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert as change is made by mistake
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert as change is made by mistake
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* refactor groups and keys package
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix naming
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix naming
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix test for timestamp compare
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix error handling
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove errors not being used
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* var renaming
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolve comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* minor changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add endpoints for groups into nginx
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize endpoints, remove some errors
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize endpoints, remove some errors
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small fix
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix linter errors
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* minor changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolve comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix group save path problem
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* description constant
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename variables
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix validation
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* get back return
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix compile
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2021-03-04 10:29:03 +01:00
Darko Draskovic
9e532d2a72
Fix grpc endpoint parameter permutation ( #1370 )
...
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
2021-02-24 13:23:50 +01:00
Darko Draskovic
7ba3fdb3bf
NOISSUE - Add IsChannelOwner grpc endpoint ( #1366 )
...
* Add CanAccessChannelByOwner grpc endpoint
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Rename grpc endpoint to IsChannelOwner
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add tests for IsChannelOwner grpc
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Bump protoc version
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Make proto
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
2021-02-22 19:41:59 +01:00
Manuel Imperiale
7834cc48b3
MF-1362 - Sort Things and Channels connections by name ( #1363 )
...
* MF-1362 - Sort Things and Channels connections by name
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Remove test
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add order and direction tests
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2021-02-17 16:21:40 +01:00
Mirko Teodorovic
39a649c1bb
MF-1342 - Use environment variables in docker-compose to use tagged version of image ( #1343 )
...
* add MF_RELEASE_TAG
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update readme file for MF_RELEASE_TAG
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* update readme file for MF_RELEASE_TAG
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix explanation, space
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix bad search/replace
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix bad search/replace
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* minor changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix readme
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* improve explanation for tag
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* replace snippet with link to code section
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* improve explanation for tag
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* replace snippet with link to code section
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove MF_RELEASE_TAG from service readme
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2021-02-02 16:26:02 +01:00
Jonathan Dreyer
73c175020e
MF-1344 - Fix links to API documentations #1345
...
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@he-arc.ch>
2021-01-31 20:25:19 +01:00
Manuel Imperiale
0631900d5c
MF-1276 - Fix openapi IDs and Keys format ( #1338 )
...
* MF-1276 - Fix openapi IDs and Keys format
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix jwt
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix acces-by-key
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2021-01-27 11:42:55 +01:00
Manuel Imperiale
0f856f5667
NOISSUE - Rename package aliases uuidProvider into uuid ( #1323 )
...
* NOISSUE - Rename pkg aliases uuidProvider into uuid and fix authn typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add missing error checks
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use global uuidProvider
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use expTime globally
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix user uuid provider
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix review
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use idProvider name
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use idProvider instead of uuidProvider
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use idProvider instead of uuidProvider
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2021-01-17 23:12:45 +01:00
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
Mirko Teodorovic
d2af0602a0
NOISSUE - Fix dates not being init properly on save, change path construction, replace UUID with ULID for group ID ( #1300 )
...
* fix path, group saving with parent
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change path, enable name change
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert changes for port
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* replace UUID with ULID
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add ulid
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix migrations
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert user groups
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add ulid provider
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* enable group name change
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* use null string for parent id
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove migrations, disable group delete if group not empty
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert docker compose
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add ulid provider
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove dash character replacment
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add ulid lib
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename UUIDProvider
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename package alias
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove unused error
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2020-12-17 17:08:28 +01:00
Darko Draskovic
c7d2feb434
Shorten descriptions and add formats ( #1306 )
...
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
2020-12-16 16:00:56 +01:00
Darko Draskovic
9864b27271
NOISSUE - Add missing fields to openapi specs and enclose http codes in single quotes ( #1302 )
...
* Add req body to token req
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Shorten summaries and add/remove keys
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add single quotes to html response codes
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
2020-12-15 00:20:42 +01:00
Manuel Imperiale
3653e6b5d2
MF-1290 - Sort Things and Channels by name ( #1293 )
...
* MF-1290 - Sort Things and Channels by name
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add sort HTTP parameter and use PageMetadata to pass filters
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix channels conn list
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix logs
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Replace sort naming by order
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add order in responses
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Improve tests
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Improve order tests
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Improve getNameQuery func
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix commits
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add name-asc and name-desc
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add dir query parameter
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix openapi
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix openapi format
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix test messages and openapi.yml
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix openapi uuid format
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Check query parameters in endpoint layer
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Add asc endpoint tests
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rename pageMeta into pageMetadata
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2020-12-08 21:30:47 +01:00
Mirko Teodorovic
7195cad0f6
MF-397 - Introduce Thing Groups ( #1259 )
...
* add things group
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add things group repository
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add things group repository
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add things group repository
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add parents and children methods
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add parents and children methods
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix logging message and temporary test fix
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix bootstrap test fail
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move groups to pkg
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move groups to pkg
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move groups to pkg
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move groups to internal
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move groups to internal
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix import
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix linter errors
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolve comments, add hierarchy info when retrieving groups
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* code refactor, separate http into multiple files
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* code refactor, separate http into multiple files
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix group update
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* use user id when saving
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* use user id when saving
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename methods
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move code
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* move code
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove temporary test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add groups test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix comments, fix responses in api for groups
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* revert changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
add checks for name length
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
fix validation
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
small change to response
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
add comment for Level
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
add level to limit hierarchy retrieval
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
tidy vendor
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
add level to limit hierarchy retrieval
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
mod tidy
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
revert
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
resolve comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
small naming and code organize refactor
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
revert Member type
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
fix typo
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
use ltree
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
use ltree
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
add level for retrieving
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
add level
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
add ltre
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
upgrade postgres version in test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
add ltre
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
remove test for now
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
minor fixes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
fix id setting
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
fix tree endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
minor style changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* small changes, adding new lines
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* minor changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change function signature
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change primary key
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change function signature
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* simplufy code
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove groups test for now
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix tabulation
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix whitespace
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove white space, fix grammar
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix sqls so that not additional retrieve is needed
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix sqls so that not additional retrieve is needed
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
fix primary key
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
remove retrive by name
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove name and parent update
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix cound sql
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add line
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* simplify sql, fix table name
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add date
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add date
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add timestamp to api
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix var name
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix var name
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2020-11-23 11:34:29 +01:00
Dušan Borovčanin
f6b1ae735c
MF-1244 - Return UserID alongside with user Email in Identify response ( #1245 )
...
* Add both an ID and an Email to API key requests
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Use return UserIdentity response
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Replace GetValue with GetEmail
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Refactor Mainflux Key
Add `Subject` field and reorganize Key manipulation.
**Remove backward compatibility**
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix service test
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix DB tests
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix API tests
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix JWT tests
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Uncomment and fix API tests
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix SQL statements alignment
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix Issue method docs
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix Retrieve API and API docs
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Update tests
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
2020-10-27 19:42:53 +01:00
Darko Draskovic
3c794d4a03
NOISSUE - Migrate swaggers to openapi 3 spec ( #1250 )
...
* Migrate authn swagger to openapi 3
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Migrate http swagger to openapi 3
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Migrate bootstrap swagger to openapi 3
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix users spec parameters indentation
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Refactor user svc errs to return input related errors
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Migrate certs swagger to openapi 3
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Migrate provision swagger to openapi 3
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Migrate provision swagger to openapi 3
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Migrate readers swagger to openapi 3
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Migrate twins swagger to openapi 3
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Refactor and rename bootstrap swagger
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Rename certs, http, provision and readers swagger to openapi
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Refactor and rename user swagger to openapi
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Refactor twins swagger and rename to openapi
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Refactor things swagger and rename to openapi
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Cleanup whitespace
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
2020-10-09 15:25:09 +02:00
Mirko Teodorovic
8ea26c5ab7
NOISSUE - Add user groups ( #1228 )
...
* adding group
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding user group
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding group
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 retrieve methods
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add default admin user
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add default admin user
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding endpoints
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding endpoints
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding tests
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* changes signature for AssignUser
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding tests
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* bug fixing retrieving groups
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove unused code
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* bug fixing retrieving groups
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* retrieve groups
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change environment for admin
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change environment for admin
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* retrieve groups
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove adding default group
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* expose port for debugging purposes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix tests, and linter errors
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add prefix Users for groups endpoint
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix linter problems
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix endpoint prefix url
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix endpoint test
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add group features in cli
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove println
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* when user is created return id in response
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* when user is created return id in response
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* adding default admin env
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* proper alignment
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* proper alignment
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename method
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* return user id when created
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* return user id when created
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove unused variable
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename methods
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix to retrieve whole tree starting from parent
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add endpoint to list groups for user
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add readme for groups
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fixing bugs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fixing bugs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add group commands for add and remove user
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* replace default email, use example.com
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix capital letters beginning of sentence
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove warning for deprecated api, mistakenly copied
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* simplify repo methods, rely on db driver rather than the check before operation
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* check if group is valid
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* openapi spec 3.0
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* remove check for existing users in groups before delete
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* renaming methods
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* renaming methods
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* renaming methods
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change func signature
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* change func signature
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix bugs, resolve comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix bugs, resolve comments
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix alignment
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* add missing command
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize envs
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix doc
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix compile
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* reorganize cli commands
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* minor corrections
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* renaming
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* renaming
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* renaming
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename methods
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* fix naming
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* renaming
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* renaming
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* resolve comments, minor changes
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2020-09-23 23:18:53 +02:00
Darko Draskovic
043d1e0aac
MF-1237 - Return to transport only things service errors ( #1236 )
...
* Replace error messages for things and channels with error messages for entities
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add db and cache errors
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Migrate swagger to openapi
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Remove db and cache specific err msgs and generalize errs
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Redefine status codes
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Define endpoint error codes in service and swagger
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix tests
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Refactor sdk errors
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix grpc tests
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Reformat and add err check
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
2020-09-23 15:44:39 +02:00
Darko Draskovic
dfa6d8ba0d
[NOISSUE] - Fix malformed Swagger API specs ( #1229 )
...
* Fix authn swagger
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix certs swagger
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix http swagger
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix provision swagger
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix readers swagger
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix things swagger
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Fix users swagger
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
* Add missing description strings and improve naming in definitions
Signed-off-by: Darko Draskovic <darko.draskovic@gmail.com>
2020-09-09 13:05:36 +02:00
Manuel Imperiale
9334568ba2
MF-983 - Add HTTP query param to connections list endpoints to fetch disconnected Things or Channels ( #1217 )
...
* MF-983 - Add HTTP query param to connections list endpoints to fetch non connected Things or Channels
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typos and add Swagger
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Update SDK and CLI
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Simplify queries
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix reviews
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix tabulation
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>
2020-07-26 22:47:15 +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
be1361311d
NOISUE - Fix cache error when key is not in Redis ( #1220 )
...
* Fix cache error when key is not in Redis
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix tests
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix errors message
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
2020-07-14 22:54:33 +02:00
Dušan Borovčanin
7dc6b0d879
NOISSUE - Update dependencies ( #1218 )
...
* Update Go version
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Update dependencies
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
2020-07-13 15:24:55 +02:00
Alexander Obukhov
e6b7fd818b
NOISSUE - Remove unused `MF_THINGS_SECRET` env var ( #1211 )
...
Signed-off-by: Alexander Obukhov <dev@sprql.space>
Co-authored-by: Dušan Borovčanin <dusan.borovcanin@mainflux.com>
2020-06-29 22:28:20 +02:00
Mirko Teodorovic
381a15a695
MF-1025 - timeout env in sec, use parseduration ( #1206 )
...
* timeout env in sec, use parsduration
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* timeout env in sec, use parsduration
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
* rename var
Signed-off-by: Mirko Teodorovic <mirko.teodorovic@gmail.com>
2020-06-08 18:17:16 +02:00
Manuel Imperiale
97f8d65885
MF-739 - Add ID to the User entity ( #1152 )
...
* MF-739 - Add ID to the User entity
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Resolve remarks
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Move idp to project root
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use RetrieveByEmail func and UUIDProvider
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rm idp.go
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix comment
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Rename UserInfo into ViewUser
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix ViewUser naming
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2020-06-04 22:29:16 +02:00
Manuel Imperiale
a7c3cfcf1c
MF-1154 - Move UUID provider to project root ( #1172 )
...
* MF-1154 - Move UUID provider to project root
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Use naming uuidProvider/up instead of identityProvider/idp
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix typo
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Mutualize UUID mocks
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Move uuid into pkg directory
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2020-06-03 18:49:44 +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
c26c7f34cd
MF-1177 - Implement caching in MQTT adapter ( #1187 )
...
* Add auth cache to MQTT adapter
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Remove unused fields from MQTT adapter
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix removal from Things cache bug
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Use Auth cache naming
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Parse duration instead of int
This is more convenient because duration contains unit.
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Remove commented code
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Remove unused environment variables
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Update README.md
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Remove unused code
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix Things mocks
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Fix README timeouts
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Remove WS Scheme
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
* Remove address from the mProxy target
Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
2020-06-02 21:21:30 +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
Manuel Imperiale
b8bd011f9d
NOISSUE - Update coding style in Things service ( #1116 )
...
* NOISSUE - Update coding style in Things service
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
* Fix things.Page
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
2020-04-15 15:15:30 +02:00
Alexander Obukhov
fbbf2c07a5
NOISSUE - Remove defers from TestMain ( #1111 )
...
Defers will not be run when using os.Exit (https://github.com/golang/go/issues/34129 )
Signed-off-by: Alexander Obukhov <dev@sprql.space>
2020-04-14 14:47:34 +02:00