Temporarily remove Hazelcast support
Closes gh-1954
This commit is contained in:
@@ -19,9 +19,6 @@ package docs;
|
||||
import java.time.Duration;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
|
||||
import com.hazelcast.config.Config;
|
||||
import com.hazelcast.core.Hazelcast;
|
||||
import com.hazelcast.core.HazelcastInstance;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import org.springframework.data.redis.connection.lettuce.LettuceConnectionFactory;
|
||||
@@ -38,7 +35,6 @@ import org.springframework.session.Session;
|
||||
import org.springframework.session.SessionRepository;
|
||||
import org.springframework.session.data.redis.ReactiveRedisSessionRepository;
|
||||
import org.springframework.session.data.redis.RedisIndexedSessionRepository;
|
||||
import org.springframework.session.hazelcast.HazelcastIndexedSessionRepository;
|
||||
import org.springframework.session.jdbc.JdbcIndexedSessionRepository;
|
||||
import org.springframework.session.web.http.SessionRepositoryFilter;
|
||||
import org.springframework.transaction.support.TransactionTemplate;
|
||||
@@ -171,20 +167,21 @@ class IndexDocTests {
|
||||
// end::new-jdbcindexedsessionrepository[]
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("unused")
|
||||
void newHazelcastIndexedSessionRepository() {
|
||||
// tag::new-hazelcastindexedsessionrepository[]
|
||||
|
||||
Config config = new Config();
|
||||
|
||||
// ... configure Hazelcast ...
|
||||
|
||||
HazelcastInstance hazelcastInstance = Hazelcast.newHazelcastInstance(config);
|
||||
|
||||
HazelcastIndexedSessionRepository repository = new HazelcastIndexedSessionRepository(hazelcastInstance);
|
||||
// end::new-hazelcastindexedsessionrepository[]
|
||||
}
|
||||
// @Test
|
||||
// @SuppressWarnings("unused")
|
||||
// void newHazelcastIndexedSessionRepository() {
|
||||
// // tag::new-hazelcastindexedsessionrepository[]
|
||||
//
|
||||
// Config config = new Config();
|
||||
//
|
||||
// // ... configure Hazelcast ...
|
||||
//
|
||||
// HazelcastInstance hazelcastInstance = Hazelcast.newHazelcastInstance(config);
|
||||
//
|
||||
// HazelcastIndexedSessionRepository repository = new
|
||||
// HazelcastIndexedSessionRepository(hazelcastInstance);
|
||||
// // end::new-hazelcastindexedsessionrepository[]
|
||||
// }
|
||||
|
||||
@Test
|
||||
void runSpringHttpSessionConfig() {
|
||||
|
||||
Reference in New Issue
Block a user