From 35693612df65a1dba1b46db8459967e08d3e1e0d Mon Sep 17 00:00:00 2001 From: Pavan Shankar Koli Date: Fri, 10 May 2019 22:39:38 +0530 Subject: [PATCH] BAEL-2886 Mongodb spring session code --- spring-session/pom.xml | 1 + .../spring-session-mongodb/README.md | 4 ++-- spring-session/spring-session-mongodb/pom.xml | 22 ++++++++++++------- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/spring-session/pom.xml b/spring-session/pom.xml index bcdbaf2406..639686c8ee 100644 --- a/spring-session/pom.xml +++ b/spring-session/pom.xml @@ -17,6 +17,7 @@ spring-session-jdbc spring-session-redis + spring-session-mongodb \ No newline at end of file diff --git a/spring-session/spring-session-mongodb/README.md b/spring-session/spring-session-mongodb/README.md index 94fd1cd3e7..ab42e8d120 100644 --- a/spring-session/spring-session-mongodb/README.md +++ b/spring-session/spring-session-mongodb/README.md @@ -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: diff --git a/spring-session/spring-session-mongodb/pom.xml b/spring-session/spring-session-mongodb/pom.xml index 432715bc0e..714833cf99 100644 --- a/spring-session/spring-session-mongodb/pom.xml +++ b/spring-session/spring-session-mongodb/pom.xml @@ -4,11 +4,11 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 com.baeldung - spring-session-jdbc + spring-session-mongodb 0.0.1-SNAPSHOT - spring-session-jdbc + spring-session-mongodb jar - Spring Session with JDBC tutorial + Spring Session with MongoDB tutorial parent-boot-2 @@ -22,16 +22,18 @@ org.springframework.boot spring-boot-starter-web + org.springframework.session - spring-session-jdbc + spring-session-data-mongodb + ${spring-session-data-mongodb.version} + - com.h2database - h2 - ${h2.version} - runtime + org.springframework.boot + spring-boot-starter-data-mongodb + org.springframework.boot spring-boot-starter-test @@ -39,6 +41,10 @@ + + 2.1.3.RELEASE + +