summaryrefslogtreecommitdiffstats
path: root/csit/config
diff options
context:
space:
mode:
authora.sreekumar <ajith.sreekumar@bell.ca>2022-02-24 11:04:04 +0000
committera.sreekumar <ajith.sreekumar@bell.ca>2022-02-24 11:04:07 +0000
commit56d9fe34a7753ed24a4c6a0dc44c604044dc4c06 (patch)
tree9166922c973b96f031db155eb89aaab54179a0ba /csit/config
parent9f43149ce6760bf9888c927a6e222517cbd62fa1 (diff)
Adding spring data properties to apiParameters
Change-Id: If95561b0d5fb01251458a0ce52880b836922c0ae Issue-ID: POLICY-3923 Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
Diffstat (limited to 'csit/config')
-rw-r--r--csit/config/api/apiParameters.yaml17
1 files changed, 16 insertions, 1 deletions
diff --git a/csit/config/api/apiParameters.yaml b/csit/config/api/apiParameters.yaml
index 93b7c1b8..e61653ac 100644
--- a/csit/config/api/apiParameters.yaml
+++ b/csit/config/api/apiParameters.yaml
@@ -9,6 +9,21 @@ spring:
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
aaf: false
@@ -64,4 +79,4 @@ management:
base-path: /
exposure:
include: health,metrics,prometheus
- path-mapping.prometheus: metrics \ No newline at end of file
+ path-mapping.prometheus: metrics