From: egernug Date: Wed, 27 Sep 2023 09:49:45 +0000 (+0100) Subject: Uplift Spring Boot to 3.1.2 X-Git-Tag: 3.3.8~3^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=cps.git;a=commitdiff_plain;h=186b901e3dd7e54a502edb328ec9e84c1fd3af4a Uplift Spring Boot to 3.1.2 To align with Ericsson Spring Boot is being uplifted to version 3.1.2 Issue-ID: CPS-1888 Signed-off-by: egernug Change-Id: Icfe97df15ab67a7fb25e0a98e4bbbbe91f332321 --- diff --git a/cps-application/src/main/resources/application.yml b/cps-application/src/main/resources/application.yml index 016356801..7beab2e7c 100644 --- a/cps-application/src/main/resources/application.yml +++ b/cps-application/src/main/resources/application.yml @@ -37,9 +37,8 @@ spring: ddl-auto: create open-in-view: false properties: - hibernate: - enable_lazy_load_no_trans: true - dialect: org.hibernate.dialect.PostgreSQLDialect + hibernate.enable_lazy_load_no_trans: true + hibernate.dialect: org.hibernate.dialect.PostgreSQLDialect datasource: url: jdbc:postgresql://${DB_HOST}:${DB_PORT:5432}/cpsdb diff --git a/cps-dependencies/pom.xml b/cps-dependencies/pom.xml index 16f76b91d..f6931c302 100755 --- a/cps-dependencies/pom.xml +++ b/cps-dependencies/pom.xml @@ -78,7 +78,7 @@ org.springframework.boot spring-boot-dependencies - 3.0.0 + 3.1.2 pom import @@ -104,7 +104,7 @@ io.springfox springfox-boot-starter - 3.0.0 + 3.1.2 com.google.code.gson @@ -259,7 +259,7 @@ com.fasterxml.jackson.core jackson-databind - 2.14.0 + 2.15.2 org.eclipse.jetty diff --git a/cps-parent/pom.xml b/cps-parent/pom.xml index 248bc28cb..41215567c 100755 --- a/cps-parent/pom.xml +++ b/cps-parent/pom.xml @@ -118,7 +118,7 @@ org.springframework.boot spring-boot-maven-plugin - 3.0.0 + 3.1.2 diff --git a/cps-ri/src/main/resources/hibernate.cfg.xml b/cps-ri/src/main/resources/hibernate.cfg.xml index 98e6cfc5b..1b822b9de 100644 --- a/cps-ri/src/main/resources/hibernate.cfg.xml +++ b/cps-ri/src/main/resources/hibernate.cfg.xml @@ -9,7 +9,7 @@ jdbc:postgresql://${DB_HOST}:${DB_PORT:5432}/cpsdb ${DB_USERNAME} ${DB_PASSWORD} - org.hibernate.dialect.PostgreSQL82Dialect + org.hibernate.dialect.PostgreSQLDialect true update diff --git a/integration-test/src/test/resources/hibernate.cfg.xml b/integration-test/src/test/resources/hibernate.cfg.xml index 513c00ad2..8d5139b60 100644 --- a/integration-test/src/test/resources/hibernate.cfg.xml +++ b/integration-test/src/test/resources/hibernate.cfg.xml @@ -9,7 +9,7 @@ ${DB_URL} ${DB_USERNAME} ${DB_PASSWORD} - org.hibernate.dialect.PostgreSQL82Dialect + org.hibernate.dialect.PostgreSQLDialect true none