49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
controller:
|
|
api_prefix: "/api/v1"
|
|
request_id_header: "X-Request-ID"
|
|
|
|
service:
|
|
provider_timeout_seconds: 10.0
|
|
max_parallel_providers: 8
|
|
|
|
business_logic:
|
|
weight_round_scale: 2
|
|
provider_price_multiplier: 0
|
|
|
|
repository:
|
|
redis_dsn: "redis://localhost:6379/0"
|
|
price_cache_ttl_seconds: 900
|
|
|
|
adapter:
|
|
cdek_base_url: "https://api.cdek.ru/v2"
|
|
cdek_client_id: "test-client-id"
|
|
cdek_client_secret: "test-client-secret"
|
|
cdek_retry_attempts: 2
|
|
cdek_retry_backoff_seconds: 0.2
|
|
cdek_timeout_seconds: 10.0
|
|
cdek_cache_ttl_seconds: 900
|
|
|
|
tbank_payment:
|
|
init_url: "https://securepay.tinkoff.ru/v2/Init"
|
|
notification_url: "https://merchant.test/tbank/notification"
|
|
success_url: "https://merchant.test/payment/success"
|
|
auth:
|
|
terminal_key: "test-terminal-key"
|
|
password: "test-password"
|
|
|
|
postgres:
|
|
dsn: "postgresql+asyncpg://postgres:postgres@localhost:5432/invalid_price"
|
|
|
|
address_suggestions:
|
|
country_to_provider:
|
|
RU: "dadata"
|
|
dadata:
|
|
url: "https://suggestions.dadata.ru/suggestions/api/4_1/rs/suggest/address"
|
|
api_key: "invalid-price-multiplier-dadata-key"
|
|
|
|
observability:
|
|
enabled: false
|
|
service_name: "invalid-price-multiplier-service"
|
|
otlp_endpoint: "http://collector:4317"
|
|
otlp_insecure: true
|