diff --git a/docs/config.md b/docs/config.md index a8e7e2e..201285c 100644 --- a/docs/config.md +++ b/docs/config.md @@ -9,9 +9,36 @@ The next sections describes how to set up project configuration. ## Application properties +### API +- `api.path` - (Deprecated) set path for cache endpoint. +- `api.cache_path` - set path for cache endpoint. +- `api.module_storage_path` - set path for storage endpoint. +- `api.api_key` - set API key. + +#### Cors +- `cors.enabled` - toggle for cors. +- `cors.mapping` - set path pattern for cors. +- `cors.allowed_origin_patterns` - set allowed origin patterns. +- `cors.allowed_methods` - set allowed methods. +- `cors.allow_credentials` - sets `Access-Control-Allow-Credentials` response header value (`true` or `false`). + ### Cache +- `cache.prefix` - set prefix for all saved cache entries. +- `cache.expiry_sec` - set default expiration time (in seconds) for cache entries. +- `cache.min_expiry` - set minimum expiration time (in seconds) for cache entries. +- `cache.max_expiry` - set maximum expiration time (in seconds) for cache entries. +- `cache.timeout_ms` - set timeout for persistence provider. +- `cache.allow_external_UUID` - toggle for accepting externally provided UUID. If set to `false`, error will be returned on external UUID. When set to `true` externally provided UUID will be accepted. +- `cache.secondary_uris` - uris of secondary caches. +- `cache.secondary_cache_path` - path of secondary cache. +- `cache.clients_cache_duration` - expiration time (in seconds) for internal web clients cache. +- `cache.clients_cache_size` - maximum amount of cached web clients. - `cache.allowed_proxy_host` - set the allowed proxy host for request with `ch` parameter. - +- `cache.host_param_protocol` - set protocol for secondary cache requests. +- `circuitbreaker.failure_rate_threshold` - failure rate threshold for circuit breaker. +- `circuitbreaker.open_state_duration` - duration (in millis) of circuit breaker sitting in open state. +- `circuitbreaker.closed_state_calls_number` - size of circuit breaker sliding window. +- `circuitbreaker.half_open_state_calls_number` - number of calls in half open state. ### Storage - `storage.default-ttl-seconds` - set the default ttl for the data diff --git a/pom.xml b/pom.xml index 80dae9f..1d14d59 100644 --- a/pom.xml +++ b/pom.xml @@ -54,7 +54,7 @@ 6.2.4.RELEASE 2.10.1 32.0.0-jre - 3.1.6 + 3.1.8 3.4.4 1.18.30 4.2.17 @@ -76,7 +76,7 @@ 5.8.0 1.9.22 1.8.0 - 1.19.8 + 1.20.0 5.15.0 2.3.8 2.16.1