BAEL-3810: Get rid of the deprecated MongoOperationsSessionRepository (#8628)
This commit is contained in:
parent
7791282270
commit
33ab2c1ae6
|
@ -25,13 +25,11 @@
|
|||
<dependency>
|
||||
<groupId>org.springframework.session</groupId>
|
||||
<artifactId>spring-session-data-mongodb</artifactId>
|
||||
<version>${spring-session-data-mongodb.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
||||
<version>${spring-boot-starter-data-mongodb.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
|
@ -56,9 +54,4 @@
|
|||
</plugins>
|
||||
</build>
|
||||
|
||||
<properties>
|
||||
<spring-session-data-mongodb.version>2.1.3.RELEASE</spring-session-data-mongodb.version>
|
||||
<spring-boot-starter-data-mongodb.version>2.1.5.RELEASE</spring-boot-starter-data-mongodb.version>
|
||||
</properties>
|
||||
|
||||
</project>
|
|
@ -10,7 +10,7 @@ import org.springframework.boot.web.server.LocalServerPort;
|
|||
import org.springframework.http.HttpEntity;
|
||||
import org.springframework.http.HttpHeaders;
|
||||
import org.springframework.http.HttpMethod;
|
||||
import org.springframework.session.data.mongo.MongoOperationsSessionRepository;
|
||||
import org.springframework.session.data.mongo.MongoIndexedSessionRepository;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
import java.util.Base64;
|
||||
|
@ -24,7 +24,7 @@ public class SpringSessionMongoDBIntegrationTest {
|
|||
private int port;
|
||||
|
||||
@Autowired
|
||||
private MongoOperationsSessionRepository repository;
|
||||
private MongoIndexedSessionRepository repository;
|
||||
|
||||
private TestRestTemplate restTemplate = new TestRestTemplate();
|
||||
|
||||
|
|
Loading…
Reference in New Issue