46 lines
1.0 KiB
YAML
46 lines
1.0 KiB
YAML
controller:
|
|
api_prefix: "/from-config-yaml"
|
|
|
|
service:
|
|
provider_timeout_seconds: 31.0
|
|
|
|
business_logic:
|
|
weight_round_scale: 2
|
|
provider_price_multiplier: 1.0
|
|
|
|
repository:
|
|
redis_dsn: "redis://localhost:6379/0"
|
|
|
|
adapter:
|
|
cdek_client_id: "yaml-id"
|
|
cdek_client_secret: "yaml-secret"
|
|
|
|
tbank_payment:
|
|
init_url: "https://securepay.tinkoff.ru/v2/Init"
|
|
auth:
|
|
terminal_key: "yaml-terminal-key"
|
|
password: "yaml-password"
|
|
|
|
address_suggestions:
|
|
country_to_provider:
|
|
RU: "dadata"
|
|
AM: "yandex_geosuggest"
|
|
DE: "tomtom"
|
|
dadata:
|
|
url: "https://suggestions.dadata.ru/suggestions/api/4_1/rs/suggest/address"
|
|
api_key: "default-dadata-key"
|
|
yandex_geosuggest:
|
|
url: "https://suggest-maps.yandex.ru/v1/suggest"
|
|
api_key: "default-yandex-key"
|
|
timeout_seconds: 4.0
|
|
tomtom:
|
|
url: "https://api.tomtom.com/search/2/search"
|
|
api_key: "default-tomtom-key"
|
|
timeout_seconds: 4.25
|
|
|
|
observability:
|
|
enabled: false
|
|
service_name: "default-config-service"
|
|
otlp_endpoint: "http://default-collector:4317"
|
|
otlp_insecure: true
|