From c335a49924f4627dd62672de18a114249ec3815c Mon Sep 17 00:00:00 2001 From: Eleftheria Stein Date: Tue, 22 Feb 2022 10:28:51 +0100 Subject: [PATCH] Upgrade Hazelcast 4 to 4.2.4 Closes gh-2029 --- spring-session-hazelcast/hazelcast4/hazelcast4.gradle | 4 ++-- .../ClientServerHazelcast4IndexedSessionRepositoryITests.java | 2 +- .../spring-session-sample-boot-hazelcast4.gradle | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-session-hazelcast/hazelcast4/hazelcast4.gradle b/spring-session-hazelcast/hazelcast4/hazelcast4.gradle index d4ce5b7d..34535842 100644 --- a/spring-session-hazelcast/hazelcast4/hazelcast4.gradle +++ b/spring-session-hazelcast/hazelcast4/hazelcast4.gradle @@ -21,7 +21,7 @@ artifacts { dependencies { api project(':spring-session-core') - optional "com.hazelcast:hazelcast:4.2.3" + optional "com.hazelcast:hazelcast:4.2.4" api "org.springframework:spring-context" api "jakarta.annotation:jakarta.annotation-api" @@ -35,7 +35,7 @@ dependencies { testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine" integrationTestCompile "org.testcontainers:testcontainers" - integrationTestCompile "com.hazelcast:hazelcast:4.2.3" + integrationTestCompile "com.hazelcast:hazelcast:4.2.4" integrationTestCompile project(":spring-session-hazelcast") } diff --git a/spring-session-hazelcast/hazelcast4/src/integration-test/java/org/springframework/session/hazelcast/ClientServerHazelcast4IndexedSessionRepositoryITests.java b/spring-session-hazelcast/hazelcast4/src/integration-test/java/org/springframework/session/hazelcast/ClientServerHazelcast4IndexedSessionRepositoryITests.java index dae3d4ec..b40add41 100644 --- a/spring-session-hazelcast/hazelcast4/src/integration-test/java/org/springframework/session/hazelcast/ClientServerHazelcast4IndexedSessionRepositoryITests.java +++ b/spring-session-hazelcast/hazelcast4/src/integration-test/java/org/springframework/session/hazelcast/ClientServerHazelcast4IndexedSessionRepositoryITests.java @@ -45,7 +45,7 @@ import org.springframework.test.context.web.WebAppConfiguration; @WebAppConfiguration class ClientServerHazelcast4IndexedSessionRepositoryITests extends AbstractHazelcast4IndexedSessionRepositoryITests { - private static GenericContainer container = new GenericContainer<>("hazelcast/hazelcast:4.2.2") + private static GenericContainer container = new GenericContainer<>("hazelcast/hazelcast:4.2.4") .withExposedPorts(5701).withCopyFileToContainer(MountableFile.forClasspathResource("/hazelcast-server.xml"), "/opt/hazelcast/hazelcast.xml"); diff --git a/spring-session-samples/spring-session-sample-boot-hazelcast4/spring-session-sample-boot-hazelcast4.gradle b/spring-session-samples/spring-session-sample-boot-hazelcast4/spring-session-sample-boot-hazelcast4.gradle index 4bdaad17..312dc12a 100644 --- a/spring-session-samples/spring-session-sample-boot-hazelcast4/spring-session-sample-boot-hazelcast4.gradle +++ b/spring-session-samples/spring-session-sample-boot-hazelcast4/spring-session-sample-boot-hazelcast4.gradle @@ -7,7 +7,7 @@ dependencies { implementation "org.springframework.boot:spring-boot-starter-actuator" implementation "org.springframework.boot:spring-boot-starter-thymeleaf" implementation "org.springframework.boot:spring-boot-starter-security" - implementation "com.hazelcast:hazelcast:4.2.3" + implementation "com.hazelcast:hazelcast:4.2.4" implementation "nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect" implementation "org.webjars:bootstrap" implementation "org.webjars:html5shiv"