Files
spring-statemachine/spring-statemachine-samples/build.gradle
Janne Valkealahti 33a5370d01 Preliminary support for Spring Data persist
- Add new repository model for storing StateMachineContext
  via a new StateMachineRepository.
- New StateMachineRuntimePersister interface to abstract needed
  functionality to do a runtime machine persistence.
- As runtime persistence, as of now, is done via interceptors, define
  JpaRepositoryStateMachinePersist and JpaPersistingStateMachineInterceptor
  to define StateMachineRuntimePersister logic.
- Add new datajpapersist sample demonstrating new concepts.
- Keep tests related to jpa as there's not redis/mongo integration
  implemented in this first iteration.
- As this is going to be WIP until features around this issues
  are completed, docs, etc are not yet added. Also, interfaces and impls
  are subject to change during a process.
- Relates to #423
- Relates to #426
- Relates to #427
2017-11-18 16:38:49 +00:00

147 lines
5.3 KiB
Groovy

description = 'Spring State Machine Samples Common'
project('spring-statemachine-samples-turnstile') {
description = 'Spring State Machine Turnstile Sample'
dependencies {
compile project(":spring-statemachine-samples-common")
}
}
project('spring-statemachine-samples-showcase') {
description = 'Spring State Machine Showcase Sample'
dependencies {
compile project(":spring-statemachine-samples-common")
}
}
project('spring-statemachine-samples-cdplayer') {
description = 'Spring State Machine CD Player Sample'
dependencies {
compile project(":spring-statemachine-samples-common")
}
}
project('spring-statemachine-samples-tasks') {
description = 'Spring State Machine Parallel Regions Sample'
dependencies {
compile project(":spring-statemachine-samples-common")
}
}
project('spring-statemachine-samples-washer') {
description = 'Spring State Machine History State Sample'
dependencies {
compile project(":spring-statemachine-samples-common")
}
}
project('spring-statemachine-samples-zookeeper') {
description = 'Spring State Machine Distributed Sample'
dependencies {
compile project(":spring-statemachine-samples-common")
compile project(":spring-statemachine-zookeeper")
}
}
project('spring-statemachine-samples-persist') {
description = 'Spring State Machine Persist Sample'
dependencies {
compile project(":spring-statemachine-samples-common")
compile project(":spring-statemachine-recipes-common")
compile ("org.hsqldb:hsqldb:$hsqlVersion")
compile ("org.springframework:spring-jdbc:$springVersion")
}
}
project('spring-statemachine-samples-web') {
description = 'Spring State Machine Web Sample'
dependencies {
compile project(":spring-statemachine-cluster")
compile("org.springframework.boot:spring-boot-starter-security:$springBootVersion")
compile("org.springframework.boot:spring-boot-starter-web:$springBootVersion")
compile("org.springframework.boot:spring-boot-starter-websocket:$springBootVersion")
compile("org.springframework:spring-webmvc:$springVersion")
compile("org.springframework:spring-websocket:$springVersion")
compile("org.springframework.security:spring-security-messaging:$springSecurityVersion")
compile("org.springframework.session:spring-session:$springSessionVersion")
}
}
project('spring-statemachine-samples-scope') {
description = 'Spring State Machine Web Scope Sample'
dependencies {
compile("org.springframework.boot:spring-boot-starter-thymeleaf:$springBootVersion")
}
}
project('spring-statemachine-samples-security') {
description = 'Spring State Machine Web Security Sample'
dependencies {
compile("org.springframework.boot:spring-boot-starter-thymeleaf:$springBootVersion")
compile("org.springframework.boot:spring-boot-starter-security:$springBootVersion")
compile("org.springframework.security:spring-security-config:$springSecurityVersion")
compile("org.springframework.security:spring-security-web:$springSecurityVersion")
}
}
project('spring-statemachine-samples-eventservice') {
description = 'Spring State Machine Event Service Sample'
dependencies {
compile project(":spring-statemachine-redis")
compile("org.springframework.boot:spring-boot-starter-thymeleaf:$springBootVersion")
compile("org.apache.commons:commons-pool2:$commonsPool2Version")
}
}
project('spring-statemachine-samples-deploy') {
description = 'Spring State Machine Deploy Sample'
dependencies {
compile project(":spring-statemachine-uml")
compile("org.springframework.boot:spring-boot-starter-thymeleaf:$springBootVersion")
}
}
project('spring-statemachine-samples-ordershipping') {
description = 'Spring State Machine Order Shipping Sample'
dependencies {
compile project(":spring-statemachine-uml")
compile("org.springframework.boot:spring-boot-starter-thymeleaf:$springBootVersion")
}
}
project('spring-statemachine-samples-datajpa') {
description = 'Spring State Machine Data Jpa Sample'
dependencies {
compile project(":spring-statemachine-boot")
compile project(":spring-statemachine-data-common:spring-statemachine-data-jpa")
compile("org.springframework.boot:spring-boot-starter-thymeleaf:$springBootVersion")
compile("org.springframework.boot:spring-boot-starter-data-jpa:$springBootVersion")
compile("org.springframework.boot:spring-boot-devtools:$springBootVersion")
compile("com.h2database:h2:$h2Version")
}
}
project('spring-statemachine-samples-datajpapersist') {
description = 'Spring State Machine Data Jpa Persist Sample'
dependencies {
compile project(":spring-statemachine-boot")
compile project(":spring-statemachine-data-common:spring-statemachine-data-jpa")
compile("org.springframework.boot:spring-boot-starter-thymeleaf:$springBootVersion")
compile("org.springframework.boot:spring-boot-starter-data-jpa:$springBootVersion")
compile("org.springframework.boot:spring-boot-devtools:$springBootVersion")
compile("com.h2database:h2:$h2Version")
}
}
project('spring-statemachine-samples-monitoring') {
description = 'Spring State Machine Monitoring Sample'
dependencies {
compile project(":spring-statemachine-boot")
compile("org.springframework.boot:spring-boot-starter-thymeleaf:$springBootVersion")
compile("org.springframework.boot:spring-boot-starter-security:$springBootVersion")
testCompile("com.jayway.jsonpath:json-path:$jsonpathVersion")
testCompile("com.jayway.jsonpath:json-path-assert:$jsonpathVersion")
}
}