diff options
author | 2022-02-17 15:51:55 +0000 | |
---|---|---|
committer | 2022-02-17 15:51:55 +0000 | |
commit | f401b5099bcb64f3e21de608d0207dd69d8043cd (patch) | |
tree | 556b69e730d556f01940e278e19d0a5ccee87c28 /runtime-controlloop/src/main/resources/application.yaml | |
parent | 23a917602f0600cc6a7a7739b4862ac23d602f0d (diff) | |
parent | b902c7dd9ad1b74729c3c488b24624e510244250 (diff) |
Merge "Add Hibernate support in runtime-controlloop"
Diffstat (limited to 'runtime-controlloop/src/main/resources/application.yaml')
-rw-r--r-- | runtime-controlloop/src/main/resources/application.yaml | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/runtime-controlloop/src/main/resources/application.yaml b/runtime-controlloop/src/main/resources/application.yaml index bae4b9695..3a3ada563 100644 --- a/runtime-controlloop/src/main/resources/application.yaml +++ b/runtime-controlloop/src/main/resources/application.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: 4 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:localhost}:${mariadb.port:3306}/controlloop - databaseUser: policy - databasePassword: P01icY - persistenceUnit: CommissioningMariaDb topicParameterGroup: topicSources: - |