Commit Graph

187 Commits

Author SHA1 Message Date
Janne Valkealahti
6a39a9cd34 Update docs
- Notes for migration quide for state actions and region
  execution for reactor threads.
- Relates #742
2020-10-11 15:46:15 +01:00
Janne Valkealahti
10e76a2d61 Fix typos in docs
- Fixes #875
- Fixes #877
2020-10-11 14:27:03 +01:00
Dan Siwiec
ceb4324afc Fix a typo 2020-09-05 15:51:20 +01:00
Dan Siwiec
c46f4778b4 Fix typo in documentation 2020-09-05 15:51:20 +01:00
Janne Valkealahti
ec951b5929 Update reactive docs
- Relates #742
2019-12-25 16:49:49 +00:00
Janne Valkealahti
16e32e4f78 Update changelog 2019-08-07 08:29:13 +01:00
Janne Valkealahti
96773828fc Docs changes
- Relates #742
2019-08-04 08:04:05 +01:00
Janne Valkealahti
8bd0df9e4c Docs changes
- Add some notes for threading and wipe out TaskExecutor and
  TaskScheduler from docs.
- Some notes about replacement with reactor.
- Relates #742
2019-08-03 15:27:21 +01:00
Janne Valkealahti
6befc614a0 Change tasks sample to parallel execution
- Now defining parallel region execution policy as
  TaskExecutor won't work anymore.
- Relates #397
2019-08-03 07:42:12 +01:00
Janne Valkealahti
fcd9945169 Updates to migration guide
- Relates #742
2019-06-29 12:12:47 +01:00
Janne Valkealahti
edb76476a6 Prepare for new reactive docs
- Skeleton for migration guide.
- Relates to #742
2019-05-27 09:13:47 +01:00
Janne Valkealahti
bea165c765 Split appendices
- Split appendices to separate files to prepare new
  reactive migration guide.
- Relates #742
2019-05-26 09:54:05 +01:00
Janne Valkealahti
efbd72b4d1 Add turnstile reactive docs
- Relates #742
2019-05-17 16:04:20 +01:00
Janne Valkealahti
6208b3eefe Split sample docs
- For sm-examples.adoc split every chapter into its own
  file to easy further reactive docs changes.
- Relates #742
2019-05-14 23:10:35 +01:00
Janne Valkealahti
37b1b37a70 Split main docs for reactive changes
- For main sm.adoc, split every chapter into its own
  file to easy further reactive docs changes.
- Relates #742
2019-05-11 17:35:49 +01:00
Janne Valkealahti
52fc9c8568 Initial reactive refactor
- Change to Boot 2.2.x to pick upcoming series.
- Introduce Awaitility to tests
- Introduce new StateMachineEventResult concept in favor of boolean
  when sending events. This result interface will have richer information
  what happens when event is processed as previously we simply had boolean
  flag telling if even was accepted. With StateMachineEventResult we can
  can provide more information like if event was deferred and which region
  provided this message.
- Deprecate old event methods and add new reactive event methods which now
  return a Flux of StateMachineEventResult's. This concept then allows
  to send Flux of events to a machine.
- State exit/entry now return Mono<Void>
- Refactor component lifecycle to be reactive as old start/stop would
  not work anymore in a reactive statemachine simply because start may
  cause changes and execute flow's.
- To ease testing add internal assertj assertions for some classes. This
  work is kept in a test classes for time being to get move to public
  spring-statemachine-test when things are more mature.
- Overhaul StateMachineExecutor interface and replace DefaultStateMachineExecutor
  with ReactiveStateMachineExecutor.
- New ReactiveLifecycleManager which is kinda reactive replacement of some internals
  of a LifecycleObjectSupport. Needed as components are reactively started and
  stopped during a machine execution.
- New RegionExecutionPolicy concept which is an attempt to introduce parallel config
  idea to a regions. Previously this was just naively handled with TaskExecutor which
  never worked perfectly while working through reactor now seem to provide more
  consistent results.
- Some test has been changed to reflect changes in a StateMachineExecutor. Also execution
  using reactor made some changes to state notifications which now seem to be
  more consistent(aka. previously parallel execution might have given notifications
  in wrong order and in some cases kinda bogus changes).
- New turnstile reactive sample which is just start of a reactive sample to show
  concept with webflux.
- Don't yet really add any docs as things are in-flight.
- Fixes #740
2019-05-04 16:31:08 +01:00
Spring Operator
885836400f URL Cleanup
- Merge/squash #688
- Exclude all .di, .notation and .uml files whose id's cannot be
  changed.
2019-05-04 13:37:36 +01:00
Spring Operator
426fa163b2 URL Cleanup
- Merge/squash #686 and #694
2019-05-03 15:01:31 +01:00
Janne Valkealahti
b2deb7f4ca Update changelog 2019-04-29 08:10:57 +01:00
Jay Bryant
16a2a5389d Editing pass
I edited for spelling, punctuation, grammar, usage, and corporate voice. I also added leader sentences before all the images and code listings and rewrote for clarity.
2019-04-13 16:55:58 +01:00
ryenus
02ecb28751 fix wording: must be used +{in} order to 2019-03-20 14:35:47 +00:00
Janne Valkealahti
74c6bc2c46 Update changelog 2019-03-19 11:51:25 +00:00
Janne Valkealahti
009d8331fd Fix wrong refs in docs
- Duo to older refactorings fix correct impl refs
  for StateMachineRuntimePersister.
- Fix link to sample.
- Fixes #595
2019-03-19 08:36:25 +00:00
Janne Valkealahti
7df664d306 Add support for @EventHeader annotation
- Add @EventHeader which can be used to bound as single
  event headers instead of all headers @EventHeaders.
- Fixes #638
2019-03-17 08:08:13 +00:00
Janne Valkealahti
d4b0eeedc5 Update changelog 2019-02-18 08:16:49 +00:00
Janne Valkealahti
3e89ce7753 Update changelog 2019-01-29 14:04:20 +00:00
Janne Valkealahti
4feeb196cf Document region changes
- Add new docs for regions changes related to StateMachineContext
  and StateConfigurer.
- Document new datajpamultipersist sample.
- Fixes #621
2019-01-20 13:55:24 +00:00
Janne Valkealahti
c700301767 Update changelog 2018-11-28 09:24:21 +00:00
Janne Valkealahti
021b906bd3 Update changelog 2018-11-10 13:49:44 +00:00
Alex Pang
b67d632f46 Fix numpad typo in Reference documentation, section B.3.8 2018-10-02 16:17:39 -04:00
Jonathan Buzzetti
1a797532ca Update sm.adoc 2018-08-22 21:05:55 -03: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
fca69147bb Update changelog 2018-04-06 07:35:54 +01: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
Janne Valkealahti
c4954b4282 Update changelog 2018-03-01 11:59:51 +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
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
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
166737ffaa Update changelog 2018-02-12 12:23:19 +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
jvalkeal
328a2e9161 Implement custom trace repository
- Upgrade to boot 2.0.0.RC1
- Copy original boot's tracing features to get used
  as a base impl for statemachine.
- Fix samples, tests.
- Fixes #491
2018-02-11 09:28:28 +02:00
Janne Valkealahti
dfe3aa6b72 Polish docs
- Add more info into what's new in 1.2.8
- Small polish
- Relates to #476
2018-01-23 09:57:34 +00:00
Janne Valkealahti
c90baa2624 Fix typo in transition conflict
- Changing unfortunate typo conflight vs. conflict.
- Also add some docs for transition conflict.
- Relates to #456
- Relates to #476
2018-01-23 09:57:34 +00:00