diff options
Diffstat (limited to 'main/src/test/resources/application-test.yaml')
-rw-r--r-- | main/src/test/resources/application-test.yaml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/main/src/test/resources/application-test.yaml b/main/src/test/resources/application-test.yaml index 240d3640..6ed69ea0 100644 --- a/main/src/test/resources/application-test.yaml +++ b/main/src/test/resources/application-test.yaml @@ -1,3 +1,17 @@ +spring: + datasource: + url: jdbc:h2:mem:testdb + driverClassName: org.h2.Driver + jpa: + properties: + hibernate: + dialect: org.hibernate.dialect.H2Dialect + hibernate: + ddl-auto: update + naming: + physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl + implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy + database: name: PolicyProviderParameterGroup implementation: org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl |