Adding spring data properties to apiParameters 73/127273/1
authora.sreekumar <ajith.sreekumar@bell.ca>
Thu, 24 Feb 2022 11:04:04 +0000 (11:04 +0000)
committera.sreekumar <ajith.sreekumar@bell.ca>
Thu, 24 Feb 2022 11:04:07 +0000 (11:04 +0000)
Change-Id: If95561b0d5fb01251458a0ce52880b836922c0ae
Issue-ID: POLICY-3923
Signed-off-by: a.sreekumar <ajith.sreekumar@bell.ca>
csit/config/api/apiParameters.yaml

index 93b7c1b..e61653a 100644 (file)
@@ -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