diff options
author | FrancescoFioraEst <francesco.fiora@est.tech> | 2021-10-28 10:19:09 +0100 |
---|---|---|
committer | FrancescoFioraEst <francesco.fiora@est.tech> | 2021-11-05 16:56:25 +0000 |
commit | baf0a9fdfd5e699ce5950914121f093282a3e4ed (patch) | |
tree | 8a86eef69c2c98df0ea868ffe13fc3b442a450ee /packages/policy-clamp-tarball/src/main/resources/etc | |
parent | 7bc53b8dd7c12dc108ad2625ad6d4c14804e76a6 (diff) |
Add Spring Jpa configuration
Issue-ID: POLICY-3795
Change-Id: Ic0955f412bfcd94094c19aceb4f25be8e695099a
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'packages/policy-clamp-tarball/src/main/resources/etc')
-rw-r--r-- | packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.yaml | 11 |
1 files changed, 11 insertions, 0 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 d399b82ba..a01c49881 100644 --- a/packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.yaml +++ b/packages/policy-clamp-tarball/src/main/resources/etc/ClRuntimeParameters.yaml @@ -6,6 +6,16 @@ spring: http: converters: preferred-json-mapper: gson + datasource: + url: jdbc:mariadb://${mariadb.host:mariadb}:${mariadb.port:3306}/controlloop + driverClassName: org.mariadb.jdbc.Driver + username: policy_user + password: policy_user + hikari: + connectionTimeout: 30000 + idleTimeout: 600000 + maxLifetime: 1800000 + maximumPoolSize: 10 security: enable-csrf: false @@ -28,6 +38,7 @@ runtime: updateParameters: maxRetryCount: 3 maxWaitMs: 20000 + databasePlatform: org.eclipse.persistence.platform.database.MySQLPlatform databaseProviderParameters: name: PolicyProviderParameterGroup implementation: org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl |