Fix config files to remove outdated hibernate configuration
[policy/api.git] / main / src / test / resources / application-test.yaml
index 240d364..329d96b 100644 (file)
@@ -1,8 +1,11 @@
-database:
-  name: PolicyProviderParameterGroup
-  implementation: org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl
-  driver: org.h2.Driver
-  url: jdbc:h2:mem:testdb
-  user: policy_user
-  password: policy_user
-  persistenceUnit: ToscaConceptTest
\ No newline at end of file
+spring:
+  datasource:
+    url: jdbc:h2:mem:testdb
+    driverClassName: org.h2.Driver
+  jpa:
+    hibernate:
+      ddl-auto: update
+      naming:
+        physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
+        implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy
+    open-in-view: false
\ No newline at end of file