262f10c6136466d30433dd8a6818a249091b900a
[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         format_sql: true
28
29 security:
30   enable-csrf: false
31
32 server:
33   servlet:
34     context-path: /onap/policy/clamp/acm
35   port: 6969
36   ssl:
37     enabled: false
38   error:
39     path: /error
40
41 runtime:
42   participantParameters:
43     heartBeatMs: 20000
44     maxStatusWaitMs: 200000
45   topicParameterGroup:
46     topicSources:
47       -
48         topic: policy-acruntime-participant
49         servers:
50           - ${topicServer:kafka:9092}
51         topicCommInfrastructure: kafka
52         fetchTimeout: 15000
53         useHttps: false
54     topicSinks:
55       -
56         topic: policy-acruntime-participant
57         servers:
58           - ${topicServer:kafka:9092}
59         topicCommInfrastructure: kafka
60         useHttps: false
61   acmParameters:
62     toscaElementName: org.onap.policy.clamp.acm.AutomationCompositionElement
63     toscaCompositionName: org.onap.policy.clamp.acm.AutomationComposition
64
65 management:
66   endpoints:
67     web:
68       base-path: /
69       exposure:
70         include: health, metrics, prometheus
71
72 metrics:
73   security:
74     disabled: false