spring:
  application:
    name: pcp-tgu-service
  profiles:
    default: local
  config:
    import: "configserver:"
  cloud:
    config:
      uri: ${CONFIG_SERVER_URI:http://localhost:8888}
      fail-fast: ${CONFIG_SERVER_FAIL_FAST:true}
      profile: ${SPRING_CLOUD_CONFIG_PROFILE:${SPRING_PROFILES_ACTIVE:${spring.profiles.default}}}
      label: ${SPRING_CLOUD_CONFIG_LABEL:master}

planning:
  notification-before-start-minutes: 263
  target-plan-duration-minutes: 1440
  target-plan-duration-delta-minutes: 240
  external-update-enabled: true
  external-points-lookahead-days: 10
  in-memory-history-days: 14
  external-update-fixed-delay-ms: 600000
  notification-check-fixed-delay-ms: 30000
  min-reissue-lead-minutes: 5
  reissue-prep-minutes: 30
  worker-lock-ttl-seconds: 300
  waiting-decision-grace-minutes: 30
  layin-freeze-minutes: 10

topics:
  visibility-windows-changed: pcp.tgu.visibility-windows-changed.v1
  satellite-plan-decision: pcp.tgu.satellite-plan-decision.v1
  layin-failed: pcp.tgu.layin-failed.v1
  layin-confirmed: pcp.tgu.layin-confirmed.v1
  plan-not-accepted: pcp.tgu.plan-not-accepted.v1
  station-params-changed: pcp.tgu.station-params-changed.v1

mission-planing:
  base-url: ${pcp.services.mission:http://localhost:7010}

tgu:
  test-controller:
    enabled: false

management:
  endpoints:
    web:
      exposure:
        include: health,info,metrics,prometheus
