From 07adfa7186785e8812ec0d8ad44e6c5ce5375fe7 Mon Sep 17 00:00:00 2001 From: "adheli.tavares" Date: Tue, 20 Feb 2024 14:36:39 +0000 Subject: Fix config files to remove outdated hibernate configurations Issue-ID: POLICY-4929 Change-Id: I1a8640f3141e1ec16584b2750a04dfcb9b25be45 Signed-off-by: adheli.tavares --- .gitignore | 1 + main/src/main/resources/application.yaml | 3 --- main/src/test/resources/application-test-e2e.yaml | 4 +--- main/src/test/resources/application-test.yaml | 4 +--- 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 32097924..6556f2e4 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ target # IntelliJ files .idea/ **/*.iml +**/*.log diff --git a/main/src/main/resources/application.yaml b/main/src/main/resources/application.yaml index 12716072..530f8457 100644 --- a/main/src/main/resources/application.yaml +++ b/main/src/main/resources/application.yaml @@ -9,9 +9,6 @@ spring: username: policy_user password: policy_user jpa: - properties: - hibernate: - dialect: org.hibernate.dialect.MariaDB103Dialect hibernate: ddl-auto: none naming: diff --git a/main/src/test/resources/application-test-e2e.yaml b/main/src/test/resources/application-test-e2e.yaml index 01f35758..14495361 100644 --- a/main/src/test/resources/application-test-e2e.yaml +++ b/main/src/test/resources/application-test-e2e.yaml @@ -3,14 +3,12 @@ spring: url: jdbc:h2:mem:testdb driverClassName: org.h2.Driver jpa: - properties: - hibernate: - dialect: org.hibernate.dialect.H2Dialect hibernate: ddl-auto: create-drop naming: physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl implicit-strategy: org.onap.policy.common.spring.utils.CustomImplicitNamingStrategy + open-in-view: false pap: name: "PapGroupE2E" diff --git a/main/src/test/resources/application-test.yaml b/main/src/test/resources/application-test.yaml index d5c125c2..82da86fe 100644 --- a/main/src/test/resources/application-test.yaml +++ b/main/src/test/resources/application-test.yaml @@ -3,11 +3,9 @@ spring: url: jdbc:h2:mem:testdb driverClassName: org.h2.Driver jpa: - properties: - hibernate: - dialect: org.hibernate.dialect.H2Dialect hibernate: ddl-auto: create-drop 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 -- cgit 1.2.3-korg