summaryrefslogtreecommitdiffstats
path: root/runtime-acm/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'runtime-acm/src/main/resources')
-rw-r--r--runtime-acm/src/main/resources/application.yaml66
-rw-r--r--runtime-acm/src/main/resources/version.txt4
2 files changed, 70 insertions, 0 deletions
diff --git a/runtime-acm/src/main/resources/application.yaml b/runtime-acm/src/main/resources/application.yaml
new file mode 100644
index 000000000..9f60211c8
--- /dev/null
+++ b/runtime-acm/src/main/resources/application.yaml
@@ -0,0 +1,66 @@
+spring:
+ security:
+ user:
+ name: runtimeUser
+ password: zb!XztG34
+ http:
+ converters:
+ preferred-json-mapper: gson
+ datasource:
+ url: jdbc:mariadb://${mariadb.host:localhost}:${mariadb.port:3306}/clamp-acm
+ driverClassName: org.mariadb.jdbc.Driver
+ username: policy
+ password: P01icY
+ 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:
+ port: 6969
+ servlet:
+ context-path: /onap/policy/clamp/acm
+ error:
+ path: /error
+
+runtime:
+ participantParameters:
+ heartBeatMs: 20000
+ maxStatusWaitMs: 100000
+ updateParameters:
+ maxRetryCount: 4
+ maxWaitMs: 20000
+ topicParameterGroup:
+ topicSources:
+ -
+ topic: POLICY-ACRUNTIME-PARTICIPANT
+ servers:
+ - ${topicServer:localhost}
+ topicCommInfrastructure: dmaap
+ fetchTimeout: 15000
+ topicSinks:
+ -
+ topic: POLICY-ACRUNTIME-PARTICIPANT
+ servers:
+ - ${topicServer:localhost}
+ topicCommInfrastructure: dmaap
+
+management:
+ endpoints:
+ web:
+ exposure:
+ include: health, metrics, prometheus
diff --git a/runtime-acm/src/main/resources/version.txt b/runtime-acm/src/main/resources/version.txt
new file mode 100644
index 000000000..46ff2c3a7
--- /dev/null
+++ b/runtime-acm/src/main/resources/version.txt
@@ -0,0 +1,4 @@
+ONAP Tosca defined automation composition
+Version: ${project.version}
+Built (UTC): ${maven.build.timestamp}
+ONAP https://wiki.onap.org