Skip to content

Commit

Permalink
Merge branch 'refs/heads/master' into module-storage-updates
Browse files Browse the repository at this point in the history
# Conflicts:
#	docs/config.md
  • Loading branch information
And1sS committed Aug 6, 2024
2 parents ad5bc01 + a80b125 commit 34e0ad2
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
29 changes: 28 additions & 1 deletion docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<lettuce-core.version>6.2.4.RELEASE</lettuce-core.version>
<gson.version>2.10.1</gson.version>
<guava.version>32.0.0-jre</guava.version>
<caffeine.version>3.1.6</caffeine.version>
<caffeine.version>3.1.8</caffeine.version>
<disruptor.version>3.4.4</disruptor.version>
<lombok.version>1.18.30</lombok.version>
<metrics-graphite.version>4.2.17</metrics-graphite.version>
Expand All @@ -76,7 +76,7 @@
<kotest.version>5.8.0</kotest.version>
<kotlin.version>1.9.22</kotlin.version>
<kotlinx-coroutines-core-jvm.version>1.8.0</kotlinx-coroutines-core-jvm.version>
<testcontainers.version>1.19.8</testcontainers.version>
<testcontainers.version>1.20.0</testcontainers.version>
<mockserver-client.version>5.15.0</mockserver-client.version>
<ktor.version>2.3.8</ktor.version>
<jackson-kotlin-module.version>2.16.1</jackson-kotlin-module.version>
Expand Down

0 comments on commit 34e0ad2

Please sign in to comment.