X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=main%2Fsrc%2Ftest%2Fresources%2Fapplication-test.yaml;h=6ed69ea045f18f6783955f8c8d1cfb950d393792;hb=b2e669ed9a55fea534e01262b04b4529fa2e998d;hp=240d36406234e59e8532e06e7024a6c325f4ba9e;hpb=b9a8400bb36952c2cc3c706399b3863a52ab006a;p=policy%2Fapi.git 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