summaryrefslogtreecommitdiffstats
path: root/csit/config/pap/papParameters.yaml
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2022-02-07 17:19:31 +0000
committerGerrit Code Review <gerrit@onap.org>2022-02-07 17:19:31 +0000
commit406a11e54cf12a0d613e02d8947e7995e6363bc4 (patch)
tree52db7e228ad6221087f2a412047037c0f1c0650f /csit/config/pap/papParameters.yaml
parentb51a8f1238ec77d864a7e1955a2c3b16a52a9356 (diff)
parent3e2977e01dc47fe4e26953b63413df4e4d9bd051 (diff)
Merge "Fix spring datasource configuration for pap container"
Diffstat (limited to 'csit/config/pap/papParameters.yaml')
-rw-r--r--csit/config/pap/papParameters.yaml16
1 files changed, 15 insertions, 1 deletions
diff --git a/csit/config/pap/papParameters.yaml b/csit/config/pap/papParameters.yaml
index fe28bf21..d9187121 100644
--- a/csit/config/pap/papParameters.yaml
+++ b/csit/config/pap/papParameters.yaml
@@ -6,6 +6,20 @@ spring:
http:
converters:
preferred-json-mapper: gson
+ datasource:
+ url: jdbc:mariadb://mariadb:3306/policyadmin
+ driverClassName: org.mariadb.jdbc.Driver
+ username: policy_user
+ password: policy_user
+ jpa:
+ properties:
+ hibernate:
+ dialect: org.hibernate.dialect.MySQL5InnoDBDialect
+ hibernate:
+ ddl-auto: none
+ naming:
+ physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
+ implicit-strategy: org.onap.policy.pap.main.CustomImplicitNamingStrategy
server:
port: 6969
@@ -29,7 +43,7 @@ pap:
databaseUrl: jdbc:mariadb://mariadb:3306/policyadmin
databaseUser: policy_user
databasePassword: policy_user
- persistenceUnit: PolicyMariaDb
+ persistenceUnit: PolicyDb
savePdpStatisticsInDb: true
topicParameterGroup:
topicSources: