From a2b61e8eecfa27ed7171f6be43cd2065aee05ad5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesco=20Chicchiricc=C3=B2?= Date: Sat, 28 Sep 2024 07:42:05 +0200 Subject: [PATCH] Upgrading PostgreSQL --- .../syncope/core/persistence/jpa/inner/AttrRepoTest.java | 2 +- .../main/resources/docker-compose/docker-compose-all.yml | 2 +- .../src/main/resources/docker-compose/docker-compose-ha.yml | 2 +- .../resources/docker-compose/docker-compose-postgresql.yml | 2 +- pom.xml | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/persistence-jpa/src/test/java/org/apache/syncope/core/persistence/jpa/inner/AttrRepoTest.java b/core/persistence-jpa/src/test/java/org/apache/syncope/core/persistence/jpa/inner/AttrRepoTest.java index bad9bcb9f3c..766178f8a97 100644 --- a/core/persistence-jpa/src/test/java/org/apache/syncope/core/persistence/jpa/inner/AttrRepoTest.java +++ b/core/persistence-jpa/src/test/java/org/apache/syncope/core/persistence/jpa/inner/AttrRepoTest.java @@ -142,7 +142,7 @@ public void saveWithLdapRepo() { public void saveWithJDBCRepo() { JDBCAttrRepoConf conf = new JDBCAttrRepoConf(); conf.setSql("SELECT * FROM table WHERE name=?"); - conf.setUrl("jdbc:tc:postgresql:16-alpine:///db"); + conf.setUrl("jdbc:h2:mem:syncopedb;DB_CLOSE_DELAY=-1"); conf.setUser("username"); conf.setPassword("password"); diff --git a/docker/src/main/resources/docker-compose/docker-compose-all.yml b/docker/src/main/resources/docker-compose/docker-compose-all.yml index f6bc8c77b2f..fe995fcf342 100644 --- a/docker/src/main/resources/docker-compose/docker-compose-all.yml +++ b/docker/src/main/resources/docker-compose/docker-compose-all.yml @@ -26,7 +26,7 @@ services: restart: always db: - image: postgres:16-alpine + image: postgres:17-alpine restart: always environment: POSTGRES_DB: syncope diff --git a/docker/src/main/resources/docker-compose/docker-compose-ha.yml b/docker/src/main/resources/docker-compose/docker-compose-ha.yml index d1dd728e4c9..7dcd2856620 100644 --- a/docker/src/main/resources/docker-compose/docker-compose-ha.yml +++ b/docker/src/main/resources/docker-compose/docker-compose-ha.yml @@ -20,7 +20,7 @@ services: db: - image: postgres:16-alpine + image: postgres:17-alpine restart: always environment: POSTGRES_DB: syncope diff --git a/docker/src/main/resources/docker-compose/docker-compose-postgresql.yml b/docker/src/main/resources/docker-compose/docker-compose-postgresql.yml index c00794d6fc2..01bdb4da9f7 100644 --- a/docker/src/main/resources/docker-compose/docker-compose-postgresql.yml +++ b/docker/src/main/resources/docker-compose/docker-compose-postgresql.yml @@ -19,7 +19,7 @@ services: db: - image: postgres:16-alpine + image: postgres:17-alpine restart: always environment: POSTGRES_DB: syncope diff --git a/pom.xml b/pom.xml index 8f08851acc7..4209769fef6 100644 --- a/pom.xml +++ b/pom.xml @@ -468,7 +468,7 @@ under the License. 3.9.2 2.0.7 - 16.4.0 + 17.0.0 o=isp uid=admin,ou=system @@ -499,7 +499,7 @@ under the License. 6.2024.9 4.1.1 - 16-alpine + 17-alpine 9.0 11 23-slim-faststart @@ -2088,7 +2088,7 @@ under the License. org.apache.maven.plugins maven-gpg-plugin - 3.2.6 + 3.2.7 sign-artifacts