- 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
56 lines
1.8 KiB
Groovy
56 lines
1.8 KiB
Groovy
rootProject.name = 'spring-statemachine'
|
|
|
|
include 'spring-statemachine-core'
|
|
include 'spring-statemachine-test'
|
|
include 'spring-statemachine-kryo'
|
|
include 'spring-statemachine-zookeeper'
|
|
include 'spring-statemachine-redis'
|
|
include 'spring-statemachine-cluster'
|
|
include 'spring-statemachine-uml'
|
|
include 'spring-statemachine-build-tests'
|
|
include 'spring-statemachine-recipes'
|
|
include 'spring-statemachine-boot'
|
|
include 'spring-statemachine-bom'
|
|
|
|
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'
|
|
include 'spring-statemachine-samples:scope'
|
|
include 'spring-statemachine-samples:security'
|
|
include 'spring-statemachine-samples:eventservice'
|
|
include 'spring-statemachine-samples:deploy'
|
|
include 'spring-statemachine-samples:ordershipping'
|
|
include 'spring-statemachine-samples:datajpa'
|
|
include 'spring-statemachine-samples:datajpapersist'
|
|
include 'spring-statemachine-samples:monitoring'
|
|
|
|
include 'spring-statemachine-data'
|
|
include 'spring-statemachine-data:jpa'
|
|
include 'spring-statemachine-data:redis'
|
|
include 'spring-statemachine-data:mongodb'
|
|
|
|
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
|
|
}
|
|
}
|
|
if (it.name == 'spring-statemachine-data') {
|
|
it.name = 'spring-statemachine-data-common'
|
|
it.children.each {
|
|
it.name = 'spring-statemachine-data-' + it.name
|
|
}
|
|
}
|
|
}
|
|
|