Janne Valkealahti
fe00e4e834
Update docs
...
- Add better uml docs for choice/junction
- Relates to #270
2016-11-19 10:38:46 +00:00
Janne Valkealahti
0dd9d2fa66
Add error actions to states
...
- Now do behaviour and entry/error actions
can have error action callback with
a raised Exception.
- New modified added methods in a StateConfigurer.
- Fixes #277
2016-11-19 09:50:28 +00:00
Janne Valkealahti
f28f4567bb
Document mongodb repository config
...
- Relates to #270
2016-11-13 08:59:18 +00:00
Janne Valkealahti
4dbccf84fa
Add mongodb repository config support
...
- Pretty much following what was done
for jpa and redis.
- Fixes #275
2016-11-13 08:23:25 +00:00
Janne Valkealahti
d322c26d5f
Build badges to README
...
- Build badges for travis and bamboo for master.
- Relates to #272
2016-11-12 15:07:48 +00:00
Janne Valkealahti
8dea842830
No null collections from AbstractState
...
- Fix to create empty collections in
favour of returning nulls.
- Fixes #271
2016-11-12 14:38:41 +00:00
Janne Valkealahti
58326fc948
Tweak travis settings
...
- Try to get test build to run on travis
- Relates to #272
2016-11-12 14:17:04 +00:00
Janne Valkealahti
2e8d34f3bf
Tweak travis settings
...
- Try to get test build to run on travis
- Relates to #272
2016-11-12 11:12:47 +00:00
Janne Valkealahti
e3c9efd486
Add travis
...
- Attempt to prepare for travis ci
- Relates to #272
2016-11-12 09:32:27 +00:00
Janne Valkealahti
b3e6a22dce
Fix choice back to source
...
- Previously if choice took transition back
to its original source, this source wasn't
entered. Adding this special case to get handled.
- Fixes #228
2016-11-11 21:55:44 +00:00
Janne Valkealahti
735a06f28c
Fix typos
...
- "contextOjb" vs. "contextObj"
- Fixes #269
2016-11-09 14:18:35 +00:00
Janne Valkealahti
8cb5a81652
Exit action may get interrupted
...
- Add test case
- Synchronise recursive scheduleEventQueueProcessing()
in DefaultStateMachineExecutor.
- Fixes #233
2016-11-09 13:47:56 +00:00
Janne Valkealahti
4ca8c3bada
Polish pdf image sizes
...
- Fixes #268
2016-11-08 09:21:39 +00:00
Janne Valkealahti
3d75e14615
Update changelog
2016-11-06 16:03:29 +00:00
Janne Valkealahti
d1f7f31aeb
Fix problems in JoinPseudoState
...
- Fix possible NPE which is a regression.
- Fix state entry notification for JOIN states.
- Fixes #229
2016-11-06 14:39:19 +00:00
Janne Valkealahti
c48f671ee1
Document monitoring and boot
...
- Relates to #263
2016-11-06 08:16:44 +00:00
Janne Valkealahti
797279a53c
Document repository config changes
...
- Generic changes
- Document redis support
- Relates to #263
2016-11-05 15:29:10 +00:00
Janne Valkealahti
ea6648ce0d
Polish tests
...
- For jpa repository tests use same parent
class as done for redis in #267
2016-11-05 14:46:23 +00:00
Janne Valkealahti
fd6fcb6ee2
Add redis repository config support
...
- Change machine id as empty string instead of null
if it's not set.
- Implement domain classes for redis.
- Shared tests.
- Fixes #267
2016-11-05 10:04:20 +00:00
Janne Valkealahti
bd7e0141ea
Fix interceptor handling
...
- Modify so that interceptor `preStateChange` is not called
for transient states which would falsely try to i.e. persist
choice and other states with persist recipe.
- Added some tests to verify that `preStateChange` is called
only once.
- Relates to #266
2016-10-29 08:48:53 +01:00
Janne Valkealahti
728dd433d9
Make test more reliable
...
- Relates to #149
2016-10-28 07:27:33 +01:00
jsajadi
7131a0ef3b
update appendix.adoc
...
correct misspelling
2016-10-27 12:11:52 +01:00
Janne Valkealahti
cc2893c4b8
Implement action monitoring and tracing
...
- Modify transitions and actions so that
action execution can be monitored.
- Extend StateMachineMonitor
- Add new ActionListener
- Relates to #149
2016-10-27 06:58:23 +01:00
Janne Valkealahti
83e59c2a60
Add support for submachine refs
...
- Relates to #262
2016-10-23 06:50:21 +01:00
Janne Valkealahti
81e3c8697f
Add datajpa sample tests
...
- Relates t0 #262
2016-10-21 07:51:23 +01:00
Janne Valkealahti
944a3cf1f5
Polish
2016-10-19 08:26:03 +01:00
Janne Valkealahti
895b30a1c4
Add tests for monitoring sample
...
- Relates to #149
2016-10-19 08:11:50 +01:00
Janne Valkealahti
2a74efd5e5
Add support for deferred events
...
- Relates to #262
2016-10-18 14:58:48 +01:00
Janne Valkealahti
a4c8ddcbdd
Add support for end states
...
- Adding end state construction
- Relates to #262
2016-10-18 09:38:12 +01:00
Janne Valkealahti
36a87493f2
Add support for join/fork states
...
- Adding join/fork state construction
- Relates to #262
2016-10-18 08:11:10 +01:00
Janne Valkealahti
79f0280990
Add monitoring subsystem
...
- This is a preliminary work.
- New monitoring and tracing conceps around StateMachineMonitor.
- Adds hooks internally to better calculate transition times.
- Add new annotation configurer for monitors.
- New boot module which autoconfigures monitoring for boot's metrics
and trancing repos.
- New monitoring sample.
- Relates to #149
2016-10-18 06:54:47 +01:00
Janne Valkealahti
543c906c35
Add support for entry/exit states
...
- Adding entry/exit state construction
- Relates to #262
2016-10-11 15:43:02 +01:00
Janne Valkealahti
f65632f7d8
Polish
2016-10-11 10:53:53 +01:00
Janne Valkealahti
bd6696920f
Add support for junction states
...
- Adding junction state construction and
guard resolving.
- Relates to #262
2016-10-11 10:50:08 +01:00
Janne Valkealahti
1beb0e6860
Fix datajpa sample
...
- Relates to #262
2016-10-10 20:13:41 +01:00
Janne Valkealahti
8e219cffcc
Refactor repository actions/guards
...
- Make RepositoryGuard and RepositoryAction work exactly
like RepositoryState what comes for class structure
and how things are saved and used via populator.
- Relates to #262
2016-10-10 20:00:48 +01:00
Janne Valkealahti
de3a9341de
Add support for choice states
...
- Adding choice state construction and
guard resolving.
- Relates to #262
2016-10-10 08:54:28 +01:00
Janne Valkealahti
d06d45580a
Add support for regions
...
- Add region id to RepositoryState and hook it
via RepositoryStateMachineModelFactory.
- Relates to #262
2016-10-09 21:22:05 +01:00
Janne Valkealahti
a6d7040199
Add support for history states
...
- Add PseudoStateKind to RepositoryState.
- Hook shallow and deep historys in
RepositoryStateMachineModelFactory
- Relates to #262
2016-10-09 17:38:35 +01:00
Janne Valkealahti
3cc33a6fef
Fix parent state ref
...
- For RepositoryState, its parent state is now
defined as RepositoryState as well allowing
to reference from a json files.
- Relates to #262
2016-10-09 17:04:36 +01:00
Janne Valkealahti
c7951c5001
Use references in RepositoryTransition
...
- Refactor so that we can create RepositoryState in one place
and then reference to it from JpaRepositoryTransition impls.
- New common top class BaseRepositoryEntity for entities
- Change RepositoryState and RepositoryTransition to be abstract
classes instead of interfaces.
- New custom StateMachineJackson2RepositoryPopulatorFactoryBean and
StateMachineJackson2ResourceReader handling json refs.
- Relates to #262
2016-10-09 10:21:22 +01:00
Janne Valkealahti
c016fd6e06
Add repository config guards
...
- Add guard to RepositoryTransition
- New GuardRepository.
- Relates to #262
2016-10-02 16:28:32 +01:00
Janne Valkealahti
ddf81c78a0
Add repository config transition type
...
- Add transition type to RepositoryTransition
- Relates to #262
2016-10-02 15:30:01 +01:00
Janne Valkealahti
0b6f67ece4
Add repository config actions
...
- Add action to RepositoryTransition, state/entry/exit
actions to RepositoryState.
- New ActionsRepository.
- Relates to #262
2016-10-02 14:42:12 +01:00
Janne Valkealahti
de556f0d54
Add repository config substates
...
- Add parent state to RepositoryState
and use it in model factory.
- Relates to #262
2016-10-01 09:34:31 +01:00
Janne Valkealahti
27d67bfd47
Fix StateMachineHandler method caching
...
- Adding ApplicationListener so that we can
consult time of last ContextRefreshedEvent and
rebuild a cache of StateMachineHandler methods.
- This implementation is a bit naive as we speak but
work for #224 will need to add better concept to work
outside of app context.
- Fixes #232
2016-09-30 17:16:53 +01:00
Janne Valkealahti
07b3b8ddf7
Updage to tomcat 8.5.5
...
- Old version caused failures when running
in sts due to mixed deps.
- Fixes #256
2016-09-30 09:22:23 +01:00
Janne Valkealahti
3cc626c947
Upgrade to Boot 1.4.1
...
- Align related spring train deps
- Modify some other deps to get correct versions
- Some testing changes as boot 1.4.1 shuffled some
test stuff around.
- Fixed deprecations with newer boot and framework
- Fixes #256
2016-09-30 07:55:12 +01:00
Janne Valkealahti
638e3e21ff
Update changelog for 1.2.0.M1
2016-09-28 09:39:36 +01:00
Janne Valkealahti
99460531b4
Fix region persist
...
- Correctly set main persisted state id into
StateMachineContext if state is orthogonal.
- Fixes #242
2016-09-28 09:34:13 +01:00