- It provides mappings of corteza resources(Namespaces, Modules, Records, Users) along with values to corteza discovery indexer.
- It also save recordLogs for create, update, deletion of resources.
- Extend settings to hold discovery enabled/disabled flag
- Adds URL of compose resources for namespace and record and for module still pending, added todo with notes to code
HTTP server now initializes much earlier and mounts "waiting"
router with debugging, version and health check routes.
When server is fully activated it switches to "active"
router.
Shutdown stage is also handled with catch-all route.
If server is executed through Makefile we set BUILD_VERSION in .env and use it to replace {version} in DB_DSN.
This would help developers to automatically use different db when switching between versions.
- Extends env variable `MINIO_BUCKET` for more flexibility over bucket name
- Introduces env variable for `MINIO_PATH_PREFIX` for flexibility over bucket paths
- Decouples minio client from New method
- Provides methods for generating bucket name, object name with path using bucket related env variables
- Adds tests
- Fixes issue#295
This provides `well know` endpoint for corteza which defines a set of values that can be retrieved by a client in order to self-configure.
Added route for `public-keys` which can help a client to determine if the public key is changed since the last time and automatically update itself to use this new information.
API Gateway routes are now bind under <base>/api/gateway.
This also removes custom route method validation and
handles not-found responses with a chi's NotFound method
- Adds flag `make-password-link` to generate temp token to create users password
- Adds route and handler for create user password
- Updates few auth label translation reference
- Fixes reset-password issue with existing login session
- Updates tests
Added tests
Added ac to routes and functions
Proxy processer and auth servicer
Added options and extensive logging
Fixed calls to rbac in service, added default http handler on gateway root