Commit Graph

19 Commits

Author SHA1 Message Date
Janne Valkealahti
71fb0ce869 Version upgrades
- Framework to 4.2.4
- For tests, boot to 1.3.1 and embedded tomcat to 8.0.30
- Polish and re-organise gradle files
- Can now run sample boot apps in sts due to mix of
  previously sts getting older tomcat version.
2015-12-25 17:59:00 +00:00
Janne Valkealahti
c4629e1dcd Upgrade to kryo 3
- Fixes #139
2015-12-20 15:53:29 +00:00
Janne Valkealahti
3e322e4d00 Add redis persisting support
- Add new StateMachineContextRepository interface.
- Add new redis module having persisting support
  for StateMachineContext.
- Extract kryo serializers into a new kryo module which
  is then shared with zookeeper and redis modules.
- We'll add redis related tests later when we figure out
  a correct pattern for integration tests.
- Fixes #110
2015-12-20 15:44:15 +00:00
Janne Valkealahti
d0aaa4bfee Add base security support
- Add base of support using spring security to
  protect events, transitions and actions.
- Fixes #114
2015-12-20 14:33:54 +00:00
Janne Valkealahti
2569900dfb Switch master to 1.1.0.BUILD-SNAPSHOT
- 1.0.x serie is now maintained in its own branch.
2015-11-28 12:17:32 +00:00
Janne Valkealahti
ed25006075 Add support for session scope
- Add tweaks to DisposableBean.destroy() which integrates
  into a lifecycle and properly closes a machine if only
  destroy() is called which is a case when `session` scoped
  bean is destroyed when http session is invalidated.
- Tests in SessionScopedAnnotationTests and
  SessionScopedManualTests for both builder and
  annotation config.
- Fixes #112
2015-11-28 09:13:10 +00:00
Spring Buildmaster
baed808847 Next development version 1.0.2.BUILD-SNAPSHOT 2015-11-18 06:58:30 -08:00
Janne Valkealahti
9304ddf285 Update to framework 4.2.2
- Fixes #115
2015-10-18 17:21:29 +01:00
Spring Buildmaster
cabee70593 Next development version 1.0.1.BUILD-SNAPSHOT. 2015-10-11 08:15:38 -07:00
Janne Valkealahti
af6f11a1b6 Align versions in samples 2015-09-08 15:26:31 +01:00
Krumlauf, Michael
c6b96aa069 Update to latest versions of several dependencies 2015-09-07 16:17:00 -04:00
Janne Valkealahti
af27f19e63 Update to newer boot and framework versions 2015-08-31 13:54:35 +01:00
Janne Valkealahti
48d6459c26 Add zookeeper web example
- 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.
2015-07-31 18:29:06 +01:00
Janne Valkealahti
c68fa5d09d Add skeleton for distributed state machine
- NOTE: not yet fully working distributed sm, this
  commit is considered to be a stage 1 of further
  commits on this matter.
- Preliminary concept of DistributedStateMachine,
  StateMachineEnsemble and StateMachinePersist.
- New module spring-statemachine-zookeeper order to
  persist state in a distributed matter.
- Refactoring concept of a state machine access to get
  better internal access into a sm via functional interfaces.
- Change build to use jdk7 and change test to rely on jdk8
  order to test functional lambdas.
- new zookeeper sample demonstrating distributed concepts.
- Relates t0 #35 and #34.
- No docs until things are fully implemented.
2015-06-12 18:15:50 +01:00
Janne Valkealahti
5759fb2180 Set to next build snapshot version 2015-04-14 17:01:32 +01:00
Spring Buildmaster
f8c1554995 Release version 1.0.0.M1 2015-04-14 08:16:46 -07:00
Janne Valkealahti
2721437b23 Pump up framework to 4.1.6 2015-04-10 14:32:22 +01:00
Janne Valkealahti
b8f5320e38 Base support for local transitions
- resolves #5
- big conceptual changes to how sub-machines are handled
  order to get events working with a multi-level sub states.
- added more typing throughout few interfaces to properly
  pass in state context via action axecution chain.
  this type change effectively caused change to most of the
  classes but not that much functional change of behaviour.
- cleaning and tidy up
2015-02-11 13:36:52 +00:00
Janne Valkealahti
48c65fd9ac initial import 2015-02-04 18:17:50 +00:00