@@ -61,6 +61,16 @@
<groupId>de.odysseus.staxon</groupId>
<artifactId>staxon</artifactId>
</dependency>
+
+ <!-- Redis session -->
+ <dependency>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-starter-redis</artifactId>
+ </dependency>
+ <groupId>org.springframework.session</groupId>
+ <artifactId>spring-session</artifactId>
</dependencies>
<build>
@@ -0,0 +1,13 @@
+package com.uas.kanban;
+import org.springframework.context.annotation.Configuration;
+import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
+/**
+ * @author sunyj
+ * @since 2017/10/27 15:42
+ */
+@Configuration
+@EnableRedisHttpSession
+public class RedisSessionConfig {
+}
@@ -2,4 +2,7 @@ mongo.host=127.0.0.1
mongo.port=27017
mongo.username=kanban
mongo.password=select*F1#8
-mongo.dbName=kanban
+mongo.dbName=kanban
+spring.redis.host=localhost
+spring.redis.port=6379
@@ -2,4 +2,7 @@ mongo.host=10.10.100.191