Adding optional disabling of prometheus ep in acm
[policy/docker.git] / compose / config / clamp / AcRuntimeParameters.yaml
1 spring:
2   security:
3     user:
4       name: runtimeUser
5       password: zb!XztG34
6   mvc:
7     converters:
8       preferred-json-mapper: gson
9   datasource:
10     url: jdbc:mariadb://${mariadb.host:mariadb}:${mariadb.port:3306}/clampacm
11     driverClassName: org.mariadb.jdbc.Driver
12     username: policy_user
13     password: policy_user
14     hikari:
15       connectionTimeout: 30000
16       idleTimeout: 600000
17       maxLifetime: 1800000
18       maximumPoolSize: 10
19   jpa:
20     hibernate:
21       ddl-auto: update
22       naming:
23         physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
24         implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
25     properties:
26       hibernate:
27         dialect: org.hibernate.dialect.MariaDB103Dialect
28         format_sql: true
29
30 security:
31   enable-csrf: false
32
33 server:
34   servlet:
35     context-path: /onap/policy/clamp/acm
36   port: 6969
37   ssl:
38     enabled: false
39   error:
40     path: /error
41
42 runtime:
43   participantParameters:
44     heartBeatMs: 20000
45     maxStatusWaitMs: 200000
46   topicParameterGroup:
47     topicSources:
48       -
49         topic: POLICY-ACRUNTIME-PARTICIPANT
50         servers:
51           - ${topicServer:message-router}
52         topicCommInfrastructure: dmaap
53         fetchTimeout: 15000
54         useHttps: false
55     topicSinks:
56       -
57         topic: POLICY-ACRUNTIME-PARTICIPANT
58         servers:
59           - ${topicServer:message-router}
60         topicCommInfrastructure: dmaap
61         useHttps: false
62
63 management:
64   endpoints:
65     web:
66       base-path: /
67       exposure:
68         include: health, metrics, prometheus
69
70 metrics:
71   security:
72     disabled: false