Name | Description |
---|---|
Language | ES6 / Node.js |
Main Framework | moleculer |
This a Service to storage Clients configurations based on Tenants. Could be used for systems or users.
- Implementation of Test
- Implement a swagger based documentation
- Implementation
deleteConfiguration
npm run dev
By default the service should be available on http://0.0.0.0:3001/
on path configuration-api
- Create configuration :
curl --request GET \ --url http://localhost:3001/configuration-api/createConfiguration \ --header 'content-type: application/json' \ --data '{ "tenant": "local", "clientId": "1234567890", "configuration": { "test" : "testing", "asdada": 1 } }'
- Get configuration:
curl --request GET \ --url http://localhost:3001/configuration-api/getConfiguration \ --header 'content-type: application/json' \ --data '{ "tenant": "local", "clientId": "123456789aa0" }'
- Update configuration:
curl --request GET \ --url http://localhost:3001/configuration-api/updateConfiguration \ --header 'content-type: application/json' \ --data '{ "tenant": "local", "clientId": "123456789aa0", "configuration": { "test" : "testing", "asdada": 13423422 } }'
There are not yet Tests implemented.
src/config/
: default config gets merged with env configssrc/models/
: MongoDb modelshelm/
: kubernetes configurationsrc/services/
: Services available on the Microservice