spring:
  lifecycle.timeout-per-shutdown-phase: 40s
  jackson:
    default-property-inclusion: non_null
  boot:
    admin:
      client:
        instance:
          service-base-url: ${pcp.services.coverage-scheme}
          service-path: /swagger/ui
          management-base-url: ${pcp.services.coverage-scheme}
          health-url: ${pcp.services.coverage-scheme}/actuator/health

springdoc:
  swagger-ui:
    enabled: true
    layout: BaseLayout
    path: /swagger/ui
  api-docs:
    enabled: true
    path: /api-docs

logging:
  level:
    root: INFO

management:
  endpoints:
    web:
      exposure:
        include: "*"
  endpoint:
    health:
      show-details: always
    info:
      enabled: true

coverage-scheme:
  ballistics-service-url: ${pcp.services.ballistics}
  complex-mission-service-url: ${pcp.services.complex-mission-service}
  satellite-catalog-service-url: ${pcp.services.satellite-catalog}
  default-roll-step-degrees: 5.0
  default-minimum-technology-overlap: 0.05
  default-allow-partial-coverage: true
  boundary-touch-buffer: 0.05
  continuity-gap-tolerance: 0.000001
  default-orientation-tolerance-degrees: 15.0
  max-roll-samples-per-window: 7
  flight-line-padding-seconds: 120
  web-client-response-timeout-seconds: 30
  web-client-in-memory-size-mb: 20
  fallback-swath-width-degrees: 1.0
  fallback-shift-per-roll-degree: 0.02
  default-minimum-time-between-modes-seconds: 0

---
spring:
  config:
    activate:
      on-profile: local

server:
  port: ${pcp.ports.coverage-scheme:7012}

---
spring:
  config:
    activate:
      on-profile: dev

server:
  port: 8080
