Alex Pang
b67d632f46
Fix numpad typo in Reference documentation, section B.3.8
2018-10-02 16:17:39 -04:00
Christoph Empl
cb74a35bff
Fixed enum comparison in AbstractStatemachine#resetStateMachine
...
- Add a check for enum class as well so that
restore doesn't pick a wrong instance.
- Fixes #554
2018-09-26 12:21:45 -04:00
Jonathan Buzzetti
1a797532ca
Update sm.adoc
2018-08-22 21:05:55 -03:00
Janne Valkealahti
61e762763f
Initial state wrongly entered with entry point
...
- Fix case where submachine entry via entrypoint wrongly
caused its initial state to get activated before
entering transition target leading out from entrypoint.
- Fixes #577
2018-07-17 07:39:48 +01:00
Janne Valkealahti
594b8ef563
Fix typo in a method name
2018-07-14 17:34:11 +01:00
Spring Buildmaster
902a1a7477
Next development version
2018-07-12 15:38:23 +00:00
Janne Valkealahti
a55772e9f7
Update changelog
2018-07-12 13:26:20 +01:00
Serge Velikanov
6ccdfe0093
Update sm.adoc
...
Event names are `E3` and `E4` not a `S3`/`S4` which are state names
2018-07-12 08:27:16 +01:00
Janne Valkealahti
b2a2e12a03
Upgrade to boot 2.0.3
...
- Fixes #576
2018-07-11 09:38:45 +01:00
Janne Valkealahti
2d914a705e
Add spring-boot-autoconfigure-processor
...
- Dep as optional so that we get
spring-autoconfigure-metadata.properties generated.
- Fixes #570
2018-07-11 09:10:27 +01:00
Janne Valkealahti
f0a778a10c
Polish instance check
...
- Remove possible call to expensive
BeanFactory#toString.
- Fixes #569
2018-07-11 09:01:28 +01:00
Janne Valkealahti
6fc0c5e6e6
UML Factory facilities leak memory
...
- Refactor UmlStateMachineModelFactory and UmlUtils
so that eclipse emf unloads a resource and thus
should work better with gargage collections.
- Also try to clean out tmp files.
- Fixes #572
2018-07-10 17:11:14 +01:00
Spring Buildmaster
db9066fe45
Next development version
2018-04-06 07:05:08 +00:00
Janne Valkealahti
fca69147bb
Update changelog
2018-04-06 07:35:54 +01:00
Janne Valkealahti
0e1c74cb85
Polish
2018-04-06 07:24:34 +01:00
Corbin Schwalm
941061f32b
Fix Enum Comparision For State Machine Restart
...
- When comparing states that are of type Enum, the check
always fails causing the state machine to incorrectly
use the starting state regardless of where it was previously.
- Added unit test to test correct state is set on restart.
However, added changes have no effect for this test. The issue is being
caused elsewhere. When loading from JPA, ss.getId() instanceof S
is always false causing the previous state to never be set.
- Fixes #537
2018-04-06 07:22:16 +01:00
Janne Valkealahti
bddd9e4bfb
Upgrade to boot 2.0.1.RELEASE
...
- Fixes #543
2018-04-05 15:15:21 +01:00
Alexandre Navarro
2f474f27b8
Add getter on TimerTrigger for period and count
2018-03-12 23:35:35 +01:00
Janne Valkealahti
0df3f9a898
Fix issue with devtools
...
- Where class is resolved, use ClassLoader from
BeanClassLoaderAware which is the one working
with devtools.
- Fixes #531
2018-03-12 19:59:35 +00:00
Janne Valkealahti
30987d3eb7
Polish
2018-03-07 09:08:29 +00:00
Janne Valkealahti
a92a81603a
Update README
2018-03-06 18:03:15 +00:00
Spring Buildmaster
165f6a59f1
Next development version
2018-03-06 17:13:21 +00:00
Janne Valkealahti
a7d38cd47a
Polish docs
...
Relates #509
2018-03-06 15:23:12 +00:00
Janne Valkealahti
770db68703
Polish docs
...
Relates to #458
2018-03-06 15:18:21 +00:00
Janne Valkealahti
70c6b67a68
Update changelog
2018-03-06 14:58:20 +00:00
Patrick Ruckstuhl
151745a9d6
Lookup needed configurer instead of injecting all configurers
...
- Also lookup Configurer in StateMachineConfiguration
- Added test scenario for constructor injection issue
- Backport #522
- Relates #523
2018-03-06 14:41:13 +00:00
Nadim Benabdenbi
fc321893d2
Executor should poll until the queue is empty
...
- Default state machine executor: queue polling defect proof test.
- Default state machine executor: queue polling fixed.
- Fixes #520
2018-03-06 14:30:17 +00:00
Janne Valkealahti
c4954b4282
Update changelog
2018-03-01 11:59:51 +00:00
Janne Valkealahti
9abbff5824
Upgrade to boot 2.0.0
2018-03-01 08:36:14 +00:00
jvalkeal
65c9bfac89
Remove spring-statemachine-redis
...
- For now classes just moved under
spring-statemachine-data-redis
- Fixes #514
2018-02-23 12:23:32 +02:00
jvalkeal
140ccbf2f0
Update getting started section
...
- Fixes #499
2018-02-22 13:57:48 +02:00
jvalkeal
cf3bfc6be0
StateMachineAnnotationPostProcessor should extract correct annotated method
...
- Fix processing so that only expected annotations are
processed and handlers created.
- Backport #510
2018-02-22 08:54:48 +02:00
jvalkeal
0f6a3ce4c3
Upgrade to boot 2.0.0.RC2
...
- Fix monitoring sample due to actuator changes in boot
- Fixes #513
2018-02-22 08:51:51 +02:00
jvalkeal
12b5be0808
Rename sample datajpapersist to datapersist
...
- As it now supports mongo/redis using profiles,
remove jpa from name.
- Change build and docs.
- Fixes #509
2018-02-21 17:26:19 +02:00
james
041189bb31
Use the contextObj as is when saving the StateMachineContext
...
- Polish and fix some merge issues
- Relates #494
2018-02-21 16:13:50 +02:00
jvalkeal
ef8704cf44
Base work adding mongo and redis to datajpapersist
...
- Build deps to mongo and redis
- Config changes using profiles to enable
mongo or redis while jpa is default
- Relates #509
2018-02-20 08:57:44 +02:00
jvalkeal
b5acbf9d98
Polish
2018-02-15 18:31:42 +02:00
jvalkeal
6315509165
Rename spring-statemachine-boot
...
- spring-statemachine-boot is now
spring-statemachine-autoconfigure
- Fixes #507
2018-02-15 17:54:07 +02:00
jvalkeal
dbb028b38e
Support executing state action with timeout
...
- Add new concepts around executing state do actions
allowing to use timeouts via StateDoActionPolicy.
- Global config per machine or via event headers.
- Backport #501
- Relates #504
2018-02-15 15:52:51 +02:00
jvalkeal
5d1820e553
Polish cdplayer sample tests
...
- Now hopefully these tests are more reliable
- Relates #343
2018-02-14 15:28:08 +02:00
jvalkeal
cbe2615c14
Merge spring-statemachine-core from 1.2.x
...
- Merge spring-statemachine-core/src which for some
reason is not up to date in master/1.2.x anymore.
- Relates #504
2018-02-14 09:20:25 +02:00
jvalkeal
a4d43131ea
Add support for completion transitions
...
- Currently into as internal new feature, add state
completed concecept and use it in various places.
- Main focus for this commit is to add support using
anonymous transitions with state do actions which
requires proper completion schematics.
- Internal functionality here will probably expose to
user level in future releases using various other
concepts.
- Backport #466
- Relates #504
2018-02-13 12:37:04 +02:00
Marco Primi
6743d42792
Add getter for state actions
...
State has getters for entry and exit actions but no getter for state actions.
- Add State::getStateActions() in State
- Implement in AbstractState
- Update tests
https://github.com/spring-projects/spring-statemachine/issues/502
2018-02-12 16:07:46 -08:00
jvalkeal
166737ffaa
Update changelog
2018-02-12 12:23:19 +02:00
jvalkeal
917e3a933b
Add starter to bom
...
- Fixes #498
2018-02-12 12:21:18 +02:00
jvalkeal
0f453cccea
Remove bom from starter
...
- Having bom in starter in gradle build causes
errors during a release.
- Relates to #458
2018-02-11 16:13:16 +02:00
jvalkeal
2cd45ae5da
Remove starter from bom
...
- As starter uses bom, remove cycle
- Relates to #458
2018-02-11 15:48:25 +02:00
jvalkeal
f939e0b863
Update changelog
2018-02-11 15:18:05 +02:00
jvalkeal
ed3704a108
Update docs for bom and starter
...
- Add references to getting started
- Relates to #458
2018-02-11 14:59:15 +02:00
jvalkeal
30f48ecd54
Add hamcrest integration to variables in StateMachineTestPlanBuilder
...
- For testing extended state variables, it's now possible to use
new method expectVariableWith which takes hamcrest matcher
as an argument.
- Backport #483
2018-02-11 14:46:57 +02:00