BAEL-2886 Mongodb spring session code
This commit is contained in:
parent
05ba8a7ac3
commit
35693612df
|
@ -17,6 +17,7 @@
|
|||
<modules>
|
||||
<module>spring-session-jdbc</module>
|
||||
<module>spring-session-redis</module>
|
||||
<module>spring-session-mongodb</module>
|
||||
</modules>
|
||||
|
||||
</project>
|
|
@ -1,4 +1,4 @@
|
|||
This module is for Spring Session with JDBC tutorial.
|
||||
Jira BAEL-1911
|
||||
This module is for Spring Session with MONGO DB tutorial.
|
||||
Jira BAEL-2886
|
||||
|
||||
### Relevant Articles:
|
||||
|
|
|
@ -4,11 +4,11 @@
|
|||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>com.baeldung</groupId>
|
||||
<artifactId>spring-session-jdbc</artifactId>
|
||||
<artifactId>spring-session-mongodb</artifactId>
|
||||
<version>0.0.1-SNAPSHOT</version>
|
||||
<name>spring-session-jdbc</name>
|
||||
<name>spring-session-mongodb</name>
|
||||
<packaging>jar</packaging>
|
||||
<description>Spring Session with JDBC tutorial</description>
|
||||
<description>Spring Session with MongoDB tutorial</description>
|
||||
|
||||
<parent>
|
||||
<artifactId>parent-boot-2</artifactId>
|
||||
|
@ -22,16 +22,18 @@
|
|||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-web</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.session</groupId>
|
||||
<artifactId>spring-session-jdbc</artifactId>
|
||||
<artifactId>spring-session-data-mongodb</artifactId>
|
||||
<version>${spring-session-data-mongodb.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.h2database</groupId>
|
||||
<artifactId>h2</artifactId>
|
||||
<version>${h2.version}</version>
|
||||
<scope>runtime</scope>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-data-mongodb</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-test</artifactId>
|
||||
|
@ -39,6 +41,10 @@
|
|||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<properties>
|
||||
<spring-session-data-mongodb.version>2.1.3.RELEASE</spring-session-data-mongodb.version>
|
||||
</properties>
|
||||
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
|
|
Loading…
Reference in New Issue