Commit Graph

199 Commits

Author SHA1 Message Date
Janne Valkealahti
0f3ffa1876 Transition error action not used per defined action
- Revert some previous changes order to define transition
  error action logic in a different place. Now basically
  wrapping try/catch in a dedicated action order to have
  separate error action per action as is expected by a config
  SPI.
- Added some tests.
- Added docs for transition error actions.
- Relates to #238
- Fixes #259
2016-09-27 09:21:30 +01:00
Janne Valkealahti
29f67fdbf8 Add docs for new in 1.2
- Relates to #238
2016-09-25 17:43:37 +01:00
Janne Valkealahti
fe8c120bd4 Add docs for repository config
- Docs for base usage, jpa and jpa sample.
- Relates to #238
2016-09-25 17:02:11 +01:00
Janne Valkealahti
9f9acd3567 Add docs for state actions
- Relates to #238
2016-09-24 15:55:06 +01:00
Janne Valkealahti
51c9e72961 Update docs for StateMachineComponentResolver
- Relates to #238
2016-09-24 15:19:27 +01:00
Janne Valkealahti
3a4aab647e Update docs for join state
- Relates to #238
2016-09-24 11:31:32 +01:00
Janne Valkealahti
a22ac86277 Add docs for submachine ref
- Relates to #238
2016-09-24 09:59:31 +01:00
Nicola Cammillini
876bdc9671 Typos and some minor fixes in reference guide introduction. 2016-09-19 01:16:14 +02:00
Nicola Cammillini
2b5aeffd2d Fixed some typos in reference guide preface. 2016-09-18 17:21:39 +02:00
Janne Valkealahti
55071c7471 Update docs
- Relates to #219
2016-05-22 08:34:46 +01:00
Janne Valkealahti
f61237d082 Update docs
- Relates to #219
2016-05-21 18:11:01 +01:00
Janne Valkealahti
49b81675fa Update changelog 2016-05-21 15:50:49 +01:00
Janne Valkealahti
234bf281aa Update docs
- Better papyrus docs #219
2016-05-21 15:43:09 +01:00
Janne Valkealahti
571e147f14 Update docs
- Better docs for UmlStateMachineModelFactory #219
2016-05-21 14:54:53 +01:00
Janne Valkealahti
fd56501363 Update docs
- Update copyright #219
2016-05-21 14:20:50 +01:00
Janne Valkealahti
5fc9c62a64 Update docs
- Notes for message passing #219
2016-05-21 14:09:31 +01:00
Janne Valkealahti
99e02f682e Polish docs
- Scale images #219
2016-05-21 10:32:45 +01:00
Janne Valkealahti
c8cc2b1ba4 Add docs for ordershipping sample
- Relates to #219
2016-05-14 18:02:48 +01:00
Janne Valkealahti
ca6a0c10aa Update changelog 2016-04-25 09:11:45 +01:00
Janne Valkealahti
63e266e4b9 Update docs
- Relates to #194
2016-04-25 09:00:14 +01:00
Janne Valkealahti
d781aac80f Add new deploy sample
- Fixes #209
2016-04-25 08:34:46 +01:00
Janne Valkealahti
149d9e17b3 Update docs
- Relates to #194
2016-04-22 18:22:43 +01:00
Janne Valkealahti
3d41bef524 Update docs
- Relates to #194
2016-04-22 13:35:38 +01:00
Janne Valkealahti
9bf9d6cdfb Support resource loader in UmlStateMachineModelFactory
- Fixes #200
2016-04-17 16:10:44 +01:00
Janne Valkealahti
519d3e9029 Update docs
- Relates to #194
2016-04-17 15:47:46 +01:00
Janne Valkealahti
8cbb9c1e37 Update docs
- Fix typo
- Relates to #194
2016-04-16 18:32:09 +01:00
Janne Valkealahti
0e79fe5ca2 Update docs
- Add section for junction state.
- Relates to #194
2016-04-16 18:26:55 +01:00
Janne Valkealahti
b5da16ac82 Update docs
- Relates to #194
2016-04-10 15:53:42 +01:00
Janne Valkealahti
936be90bf4 Update changelog 2016-03-20 14:06:59 +00:00
Janne Valkealahti
272749bb87 Updates to docs
- Relates to #185
2016-03-20 09:35:37 +00:00
Janne Valkealahti
9641afeeb4 Document spring javaconfig usage for beans
- Fixes #162
- Relates to #185
2016-03-19 16:27:16 +00:00
Janne Valkealahti
fe6ca757e9 update changelog 2016-03-19 14:34:54 +00:00
Janne Valkealahti
32c335c5e3 Polish model usage
- Make model data classes easier to use for
  simple use cases.
- Start adding dev docs.
- Generic docs changes.
- Relates to #172
- Relates to #158
- Relates to #185
2016-03-19 14:22:00 +00:00
Janne Valkealahti
5b5f9b7f69 Update docs
- Add new `timerOnce` related docs.
- Relates to #185
2016-03-12 16:43:26 +00:00
Janne Valkealahti
66fe71e9cc Enhance things around StateMachinePersister
- Polish StateMachinePersister
- Add redis specific RedisStateMachinePersister
- Add more docs.
- Change eventservice sample to use StateMachinePersister.
- Relates #184
- Relates #185
2016-03-11 18:43:45 +00:00
Janne Valkealahti
8b560f5bba Support @WithStateMachine as meta annotation
- Remove explicit check for @Component in favour of
  @WithStateMachine which makes it more logical to
  check meta annotations.
- Fixes #179
2016-03-02 10:01:09 +00:00
Janne Valkealahti
3ea89d14da Add test support for intermediate state changes
- Adding expectStateEntered and expectStateExited methods
  for testing state enter/exit in a given order. This gives
  on option to expect i.e. states via anonymous transitions.
- Fixes #154
2016-02-07 15:05:47 +00:00
Janne Valkealahti
833dc1643c Update docs
- Fixes #168
2016-01-30 18:15:41 +00:00
Janne Valkealahti
d12df0ab45 Update changelog 2016-01-30 09:38:08 +00:00
Janne Valkealahti
1ca88d0a6e Update docs
- First set of changes for #168
2016-01-30 08:47:52 +00:00
Janne Valkealahti
51bc34b897 Update docs and polish
- Modify docs and add a better content.
- Add access to payload in EventSecurityExpressionRoot
  #114.
2016-01-09 09:26:15 +00:00
Janne Valkealahti
4aa18a4ca5 Fix some StateContext use cases
- This is part 1 of changes for #150.
- Modify AbstractStateMachine to pass context in part of
  a stages.
- Add some tests
- Add preliminary docs
2015-12-31 17:39:57 +00:00
Janne Valkealahti
4f5eb88626 Add StateContext into StateMachineListener
- new StateMachineListener method for listening all
  StateContext changes in a various stages.
- StateContext now has a stage enum field telling at
  which stage it is.
- Polish some classes and docs.
- Prepare tests for StateContext.
- Relates to #126, #138 and #150
2015-12-26 16:37:56 +00:00
Janne Valkealahti
c2a458ce70 Overhaul annotation and listener processing
- This is stage 2 for these changes. Relates to
  #126 and #138.
- Better support for other stuff available from
  a state context.
- Started to add docs.
- Polish.
2015-12-25 09:10:36 +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
1b0ca6ebef Add scope sample
- Tune docs for usage and sample.
- Fixes #137
2015-12-13 11:13:58 +00:00
Janne Valkealahti
b7cc1df59b Event defer for substates and regions
- Modify state structure so that nested states and orthogonal
  regions can work with deferred events.
- Change executor to work better with deferred events and try
  to provide better model for run-to-completion when execution
  happens in a threads.
- Add new event defer section in ref docs.
- Fixes #131
2015-12-06 14:48:29 +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
Janne Valkealahti
f6037802fd Fix empty @OnTransition
- Fix so that bean method will be called with
  plain @OnTransition having no source or target
  defined.
- Fixes #128
2015-11-26 12:10:22 +00:00
Janne Valkealahti
c981c5a6ee Update docs
- Remove most of a static class modifiers from docs
  to make things easier if doing copy/paste. Not
  all can be removed because some spring inner
  config classes has to be static.
- Fixes #123
2015-11-26 09:36:47 +00:00