diff options
author | a.sreekumar <ajith.sreekumar@bell.ca> | 2022-02-24 11:02:38 +0000 |
---|---|---|
committer | a.sreekumar <ajith.sreekumar@bell.ca> | 2022-02-24 11:02:42 +0000 |
commit | b9a8400bb36952c2cc3c706399b3863a52ab006a (patch) | |
tree | 15fca3db46887fd892a11172b02345b7635b5328 /packages/policy-api-tarball | |
parent | bc9b5183122abf075bc48b4c7add2ad1ef887fad (diff) |
Adding spring data properties to apiParameters
Change-Id: Iaada7de714210354f377d32549a1566d3b8cf615
Issue-ID: POLICY-3923
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Diffstat (limited to 'packages/policy-api-tarball')
-rw-r--r-- | packages/policy-api-tarball/src/main/resources/etc/apiParameters.yaml | 16 |
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 |