Author: Juan Pablo Villafañez <jvillafanez@solidgeargroup.com> Date: Fri Sep 16 15:42:47 2022 +0200 Use go-micro store to cache the roles (#4337) * Use go-micro store to cache the roles Add custom in-memory implementation * replace redis with custom etcd implementation * adjust table name for the cache in the roles manager * Fix tests * Fix sonarcloud issues * Refactor for sonarcloud * Allow configuration of cache per service * Reuse parent context in etcd implementation
50 lines
756 B
YAML
50 lines
756 B
YAML
# Autogenerated
|
|
# Filename: ocs-config-example.yaml
|
|
|
|
tracing:
|
|
enabled: false
|
|
type: ""
|
|
endpoint: ""
|
|
collector: ""
|
|
log:
|
|
level: ""
|
|
pretty: false
|
|
color: false
|
|
file: ""
|
|
cache_store:
|
|
type: ""
|
|
address: ""
|
|
size: 0
|
|
debug:
|
|
addr: 127.0.0.1:9114
|
|
token: ""
|
|
pprof: false
|
|
zpages: false
|
|
http:
|
|
addr: 127.0.0.1:9110
|
|
root: /ocs
|
|
cors:
|
|
allowed_origins:
|
|
- '*'
|
|
allowed_methods:
|
|
- GET
|
|
- POST
|
|
- PUT
|
|
- PATCH
|
|
- DELETE
|
|
- OPTIONS
|
|
allowed_headers:
|
|
- Authorization
|
|
- Origin
|
|
- Content-Type
|
|
- Accept
|
|
- X-Requested-With
|
|
allowed_credentials: true
|
|
token_manager:
|
|
jwt_secret: ""
|
|
reva:
|
|
address: 127.0.0.1:9142
|
|
identity_management:
|
|
address: https://localhost:9200
|
|
machine_auth_api_key: ""
|