Commit Graph

199 Commits

Author SHA1 Message Date
Janne Valkealahti
e62b09d2bb Overhaul gradle build
- Focus of this commit is to have modern gradle build.
- Migrate most of a plugin configurations from dsl
  into buildSrc.
- This fixes issues with existing docs build.
- Allows to sign files so that we have that part
  done for central in a build.
- We can skip publishing samples.
- We're able to share similar logic for modules
  which are meant for publish or just being samples.
- It's easier to upgrade gradle versions without
  getting various build issues.
- Relates #1143
2024-03-14 12:26:47 +00:00
Donquih0te
acb6f1d4a3 fix typo 2021-06-26 15:35:12 +01:00
George Vagenas
043d2a7531 properly set the bean name for factory generated state machines
- testing: added test case for dynamic generated id
- docs: update documentation
- fix: Support @WithStateMachine for machines generated using either empty id or dynamically generated id
- Fixes #940
2021-04-25 13:55:49 +01:00
Janne Valkealahti
b5702d17bd Default branch rename in docs 2021-04-05 14:54:14 +01:00
Janne Valkealahti
e351096a20 Update changelog 2021-03-18 17:50:22 +00:00
Janne Valkealahti
a6ec6b324d Update changelog 2021-03-14 14:58:36 +00:00
Janne Valkealahti
341d57e48f Add api sugar for mono gets mono
- While this doesn't change underlying behaviour, add sendEventCollect
  method which takes a mono and returns a mono as list of results.
- Add some notes to docs why this is like this, aka having regions
  returns multiple results.
- Fixes #922
2021-03-13 15:48:49 +00:00
Janne Valkealahti
adce03c2e4 Polish docs 2021-03-13 13:03:21 +00:00
Janne Valkealahti
c853237179 Update changelog 2020-12-11 10:43:40 +00:00
Janne Valkealahti
69ba75453c Support uml model linking
- Essentially add support to be able to understand
  papyrus uml linked models.
- Change handling of files in a classpath(fat-jar) to copy
  those into jvm tmp directory in a structure where relative
  links can work.
- Forward port #888
2020-12-05 15:06:49 +00:00
Janne Valkealahti
7963c24d8c Add notes for action error handling 2020-10-31 13:50:59 +00:00
Janne Valkealahti
175a156a15 Polish docs 2020-10-24 14:48:53 +01:00
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