Skip to content

Commit d862836

Browse files
committed
Upgrade Hazelcast 4 to 4.2.2
Closes gh-1887
1 parent 4008afe commit d862836

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

spring-session-hazelcast/hazelcast4/hazelcast4.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ artifacts {
3131

3232
dependencies {
3333
compile project(':spring-session-core')
34-
optional "com.hazelcast:hazelcast:4.2"
34+
optional "com.hazelcast:hazelcast:4.2.2"
3535
compile "org.springframework:spring-context"
3636
compile "javax.annotation:javax.annotation-api"
3737

spring-session-hazelcast/hazelcast4/src/integration-test/java/org/springframework/session/hazelcast/ClientServerHazelcast4IndexedSessionRepositoryITests.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2020 the original author or authors.
2+
* Copyright 2014-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -45,8 +45,8 @@
4545
@WebAppConfiguration
4646
class ClientServerHazelcast4IndexedSessionRepositoryITests extends AbstractHazelcast4IndexedSessionRepositoryITests {
4747

48-
private static GenericContainer container = new GenericContainer<>("hazelcast/hazelcast:4.2").withExposedPorts(5701)
49-
.withCopyFileToContainer(MountableFile.forClasspathResource("/hazelcast-server.xml"),
48+
private static GenericContainer container = new GenericContainer<>("hazelcast/hazelcast:4.2.2")
49+
.withExposedPorts(5701).withCopyFileToContainer(MountableFile.forClasspathResource("/hazelcast-server.xml"),
5050
"/opt/hazelcast/hazelcast.xml");
5151

5252
@BeforeAll

spring-session-hazelcast/hazelcast4/src/integration-test/resources/hazelcast-server.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<hazelcast xmlns="http://www.hazelcast.com/schema/config"
33
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="http://www.hazelcast.com/schema/config https://www.hazelcast.com/schema/config/hazelcast-config-4.1.xsd">
4+
xsi:schemaLocation="http://www.hazelcast.com/schema/config https://www.hazelcast.com/schema/config/hazelcast-config-4.2.xsd">
55

66
<network>
77
<join>

spring-session-samples/spring-session-sample-boot-hazelcast4/spring-session-sample-boot-hazelcast4.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies {
66
compile "org.springframework.boot:spring-boot-starter-web"
77
compile "org.springframework.boot:spring-boot-starter-thymeleaf"
88
compile "org.springframework.boot:spring-boot-starter-security"
9-
compile "com.hazelcast:hazelcast:4.2"
9+
compile "com.hazelcast:hazelcast:4.2.2"
1010
compile "nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect"
1111
compile "org.webjars:bootstrap"
1212
compile "org.webjars:html5shiv"

0 commit comments

Comments
 (0)