aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradheli.tavares <adheli.tavares@est.tech>2024-02-20 14:36:39 +0000
committeradheli.tavares <adheli.tavares@est.tech>2024-02-20 14:37:13 +0000
commit07adfa7186785e8812ec0d8ad44e6c5ce5375fe7 (patch)
treebf3236a24b8878e43968632c68ef0e1a63b9b93f
parente8f8d7e4be18d98ef3bd110403d9d7aa676b634d (diff)
Fix config files to remove outdated hibernate configurations
Issue-ID: POLICY-4929 Change-Id: I1a8640f3141e1ec16584b2750a04dfcb9b25be45 Signed-off-by: adheli.tavares <adheli.tavares@est.tech>
-rw-r--r--.gitignore1
-rw-r--r--main/src/main/resources/application.yaml3
-rw-r--r--main/src/test/resources/application-test-e2e.yaml4
-rw-r--r--main/src/test/resources/application-test.yaml4
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