aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-clamp-tarball/src/main
diff options
context:
space:
mode:
authorAjith Sreekumar <ajith.sreekumar@bell.ca>2022-02-17 15:51:55 +0000
committerGerrit Code Review <gerrit@onap.org>2022-02-17 15:51:55 +0000
commitf401b5099bcb64f3e21de608d0207dd69d8043cd (patch)
tree556b69e730d556f01940e278e19d0a5ccee87c28 /packages/policy-clamp-tarball/src/main
parent23a917602f0600cc6a7a7739b4862ac23d602f0d (diff)
parentb902c7dd9ad1b74729c3c488b24624e510244250 (diff)
Merge "Add Hibernate support in runtime-controlloop"
Diffstat (limited to 'packages/policy-clamp-tarball/src/main')
-rw-r--r--packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.yaml22
1 files changed, 10 insertions, 12 deletions
diff --git a/packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.yaml b/packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.yaml
index 1a57f2347..462448921 100644
--- a/packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.yaml
+++ b/packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.yaml
@@ -16,6 +16,16 @@ spring:
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
@@ -29,24 +39,12 @@ server:
runtime:
- supervisionScannerIntervalSec: 1000
- participantClUpdateIntervalSec: 1000
- participantClStateChangeIntervalSec: 1000
participantParameters:
heartBeatMs: 20000
maxStatusWaitMs: 100000
updateParameters:
maxRetryCount: 3
maxWaitMs: 20000
- databasePlatform: org.eclipse.persistence.platform.database.MySQLPlatform
- databaseProviderParameters:
- name: PolicyProviderParameterGroup
- implementation: org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl
- databaseDriver: org.mariadb.jdbc.Driver
- databaseUrl: jdbc:mariadb://${mariadb.host:mariadb}:${mariadb.port:3306}/controlloop
- databaseUser: policy_user
- databasePassword: policy_user
- persistenceUnit: CommissioningMariaDb
topicParameterGroup:
topicSources:
-