app:
  s3:
    endpoint: http://localhost:9000
    access-key: dummy
    secret-key: dummy
    bucket: test-bucket
    region: us-east-1

spring:
  datasource:
    url: will-be-overridden-by-testcontainers
    username: test
    password: test
  mail:
    host: localhost

# Disable OTel SDK entirely in tests — prevents auto-configuration from loading resource providers
# (e.g. AzureAppServiceResourceProvider) that fail against the semconv version used here.
otel:
  sdk:
    disabled: true

# Disable trace export in tests — prevents OTLP connection attempts when no Tempo is running.
# Sampling probability 0.0 means no spans are created, so no export is attempted.
management:
  server:
    port: 0   # random port per context — prevents TIME_WAIT conflicts when @DirtiesContext restarts the context
  tracing:
    sampling:
      probability: 0.0
