Add Sample Code for HTTP Session Caching.

This commit is contained in:
John Blum
2019-08-19 12:57:18 -07:00
parent 112332049e
commit 24694d01fa
5 changed files with 200 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
apply plugin: 'io.spring.convention.spring-sample-boot'
description = "Spring Geode Sample demonstrating Spring Session with Apache Geode for HTTP Session Caching."
dependencies {
compile project(":spring-geode-starter")
compile ("org.springframework.boot:spring-boot-starter-web") {
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
}
// runtime project(":spring-geode-starter-session")
runtime("org.springframework.boot:spring-boot-starter-thymeleaf") {
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
}
runtime ("org.springframework.boot:spring-boot-starter-tomcat") {
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
}
testCompile("org.springframework.boot:spring-boot-starter-test") {
exclude group: "org.apache.logging.log4j", module: "log4j-to-slf4j"
}
testCompile "org.springframework.data:spring-data-geode-test"
}
bootJar {
mainClassName = 'example.app.caching.lookaside.BootGeodeHttpSessionCachingApplication'
}