aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-api-tarball/src/main/resources/etc/apiParameters.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/policy-api-tarball/src/main/resources/etc/apiParameters.yaml')
-rw-r--r--packages/policy-api-tarball/src/main/resources/etc/apiParameters.yaml16
1 files changed, 15 insertions, 1 deletions
diff --git a/packages/policy-api-tarball/src/main/resources/etc/apiParameters.yaml b/packages/policy-api-tarball/src/main/resources/etc/apiParameters.yaml
index 96b79823..fcb6d9f7 100644
--- a/packages/policy-api-tarball/src/main/resources/etc/apiParameters.yaml
+++ b/packages/policy-api-tarball/src/main/resources/etc/apiParameters.yaml
@@ -6,6 +6,20 @@ spring:
name: policyadmin
password: zb!XztG34
mvc.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.MariaDB103Dialect
+ hibernate:
+ ddl-auto: none
+ naming:
+ physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
+ implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
policy-api:
name: ApiGroup
@@ -62,4 +76,4 @@ management:
base-path: /
exposure:
include: health,metrics,prometheus
- path-mapping.prometheus: metrics \ No newline at end of file
+ path-mapping.prometheus: metrics