spring:
  security:
    user:
      name: runtimeUser
      password: zb!XztG34
  mvc:
    converters:
      preferred-json-mapper: gson
  datasource:
    url: jdbc:mariadb://${mariadb.host:mariadb}:${mariadb.port:3306}/clampacm
    driverClassName: org.mariadb.jdbc.Driver
    username: policy_user
    password: policy_user
    hikari:
      connectionTimeout: 30000
      idleTimeout: 600000
      maxLifetime: 1800000
      maximumPoolSize: 10
  jpa:
    hibernate:
      ddl-auto: update
      naming:
        physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
        implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
    properties:
      hibernate:
        dialect: org.hibernate.dialect.MariaDB103Dialect
        format_sql: true

security:
  enable-csrf: false

server:
  servlet:
    context-path: /onap/policy/clamp/acm
  port: 6969
  ssl:
    enabled: false
  error:
    path: /error

runtime:
  participantParameters:
    heartBeatMs: 20000
    maxStatusWaitMs: 30000
    updateParameters:
      maxRetryCount: 3
      maxWaitMs: 20000
  topicParameterGroup:
    topicSources:
      -
        topic: POLICY-ACRUNTIME-PARTICIPANT
        servers:
          - ${topicServer:message-router}
        topicCommInfrastructure: dmaap
        fetchTimeout: 15000
        useHttps: false
    topicSinks:
      -
        topic: POLICY-ACRUNTIME-PARTICIPANT
        servers:
          - ${topicServer:message-router}
        topicCommInfrastructure: dmaap
        useHttps: false

management:
  endpoints:
    web:
      base-path: /
      exposure:
        include: health, metrics, prometheus
