- This is a web based distributed zookeeper state machine sample showing how multiple Spring boot instances having a state machine can work with a zookeeper to distribute state handling thoughout a jvm boundaries. - Also this example is using websocket support to have live updates of a UI for state machine state changes.
31 lines
910 B
Groovy
31 lines
910 B
Groovy
rootProject.name = 'spring-statemachine'
|
|
|
|
include 'spring-statemachine-core'
|
|
include 'spring-statemachine-test'
|
|
include 'spring-statemachine-zookeeper'
|
|
|
|
include 'spring-statemachine-recipes'
|
|
|
|
include 'spring-statemachine-samples'
|
|
include 'spring-statemachine-samples:turnstile'
|
|
include 'spring-statemachine-samples:showcase'
|
|
include 'spring-statemachine-samples:cdplayer'
|
|
include 'spring-statemachine-samples:tasks'
|
|
include 'spring-statemachine-samples:washer'
|
|
include 'spring-statemachine-samples:zookeeper'
|
|
include 'spring-statemachine-samples:persist'
|
|
include 'spring-statemachine-samples:web'
|
|
|
|
rootProject.children.find {
|
|
if (it.name == 'spring-statemachine-recipes') {
|
|
it.name = 'spring-statemachine-recipes-common'
|
|
}
|
|
if (it.name == 'spring-statemachine-samples') {
|
|
it.name = 'spring-statemachine-samples-common'
|
|
it.children.each {
|
|
it.name = 'spring-statemachine-samples-' + it.name
|
|
}
|
|
}
|
|
}
|
|
|