eureka:
  client:
    enabled: false
    serviceUrl:
      defaultZone: http://localhost:8761/eureka/
    fetch-registry: false
    register-with-eureka: false

hystrix:
  shareSecurityContex: true
  command:
    default:
      circuitBreaker:
        enabled: true
      execution:
        isolation:
          strategy: SEMAPHORE
          thread:
            timeoutInMilliseconds: 144000
      fallback:
        enabled: true
  threadpool:
    default:
      coreSize: 30
      maximumSize: 35
      allowMaximumSizeToDivergeFromCoreSize: true

ribbon:
  ConnectTimeout: 770000
  MaxAutoRetries: 1
  MaxAutoRetriesNextServer: 1
  ReadTimeout: 770000

management:
  endpoint:
    health:
      show-details: always
  health:
    redis:
      enabled: false

opentracing:
  jaeger:
    http-sender:
      url: http://jaeger-collector:14268/api/traces
    enable-b3-propagation: true

kafka:
  numPartitions: 3
  replicationFactor: 3 
  topic:
      general-notifications: noty.c.notificationrequestfromextenalcommand
      notification: noty.c.notificationrequestfromextenalcommand
      notification_topic: noty.c.notificationrequestfromextenalcommand

spring:
  liquibase:
    enabled: false
  cache:
    type: redis
  redis:
    host: redis
    timeout: 20000
    port: 26379
  http:
    multipart:
      max-file-size: 200MB
      max-request-size: 200MB
  data:
    elasticsearch:
      cluster-name: elasticsearch
      cluster-nodes: 10.201.216.63:9200
    redis:
      sentinel:
        master: mymaster
        nodes: 172.15.100.41:26379,172.15.100.40:26379,172.15.100.39:26379
  kafka:
    bootstrap-servers: 172.15.100.80:9092,172.15.100.81:9092,172.15.100.82:9092
    numPartitions: 3
    replicationFactor: 3 
    consumer:
      bootstrap-servers: 172.15.100.80:9092,172.15.100.81:9092,172.15.100.82:9092
  rabbitmq:
    host: 10.4.41.7
    port: 5672
    username: admin
    password: admin     

server:
  shutdown: graceful
  shutdown.timeout: 30s  

csi:
  env:
    prefix: net-csi-uat
  mongo:
    host: 172.15.100.24
    port: 27017
  jpa:
    event:
      rabbitmq:
        host: 10.4.41.7
        port: 5672
        userName: admin
        password: admin
        queueName: csi-reporting
        exchangeName: csi.reporting
  access-token-verification:
    enabled: true
  base:
     util:
       url: csi-java-base-utility
debug: false
phr:
  auth-key:
    client-secret: "3001029e-27e2-4165-98c7-f0ac6496d0eb"
  kafka:
    bootstrap-servers: 172.15.100.80:9092,172.15.100.81:9092,172.15.100.82:9092
    auto-offset-reset: latest
    group-id:
      discharge: phr-discharge
    topic:
      discharge-start-notification: adt-discharge-start-notification.t
      discharge-clear-notification: adt-discharge-clear-notification.t
      discharge-summary-clear-notification: adt-discharge-summary-clear-notification.t
app:
  procedure:
    code:
      iv : "01002008251"
      urinary : "01002008302"
      ventilator: "01002008352"
      ssi : "01002008356"
      mdro : "01002008301"
      mrsa : "01002008351"
      cl: "01002060852"
elasticsearch:
  cluster-nodes: 10.201.216.63:9200
  index-name: patient-snapshot-uat

logging:
  level:
    com:
      csi:
        phr: DEBUG