Commit Graph

755 Commits

Author SHA1 Message Date
xJoeWoo
61c58cdee0 Improve creation of StateMachineFactory
- Returning factory from StateMachineBuilder.Builder
- Fixes #845
2020-09-06 15:31:31 +01:00
Janne Valkealahti
c63a6624e9 Fix deprecations 2020-09-06 09:57:25 +01:00
Janne Valkealahti
4e4ed2fc38 Polish 2020-09-06 09:45:07 +01:00
Janne Valkealahti
eea8f1f045 Attempt to fix flaky tests
- Change timeouts
- Switch to assertj
2020-09-06 08:34:20 +01:00
Janne Valkealahti
2161fb398c Disable fail-fast on a workflow matrix 2020-09-05 16:43:41 +01:00
Janne Valkealahti
37c865db3d Pump gradle wrapper to 6.6.1 2020-09-05 16:32:55 +01:00
Janne Valkealahti
0ee5e5afdb Bump to boot 2.3.3.RELEASE 2020-09-05 16:07:15 +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
Jay Bryant
2e5ccdf424 Upgrade spring-doc-resources
Upgrade spring-doc-resources from version 0.2.0 to version 0.2.1
to get a bug fix (setting display width for HTML output).
2020-09-05 15:50:22 +01:00
Jay Bryant
af66fa8321 Update spring-doc-resources version and highlight
Update the version of spring-doc-resources and the highlighter for HTML
to get the latest look and feel and nicer code listings.
2020-09-05 15:50:22 +01:00
Janne Valkealahti
8d0f7f0268 Pump asciidoctor version
- New versions needed for jdk11
- Forward port #863
2020-09-05 15:29:42 +01:00
Janne Valkealahti
f835ce6959 Fix javadocs with jdk11
- Forward port #863
2020-09-05 15:27:29 +01:00
Janne Valkealahti
e3e16bd8c9 Add ci workflow 2020-09-05 14:53:58 +01:00
Dogukan Kundum
3c38675eb0 Jpa eclipselink compability
- With this change, Eclipselink support is added to SSM.
  To do this, table names are modified and some primitive
  types are changed to object types.
- Edited import class types.
2020-03-02 16:15:51 +00:00
Janne Valkealahti
9e0bdae46f Add Flux test for denied result
- Relates #802
2019-12-26 12:41:24 +00:00
Janne Valkealahti
dd2017c8b5 Configure BlockHound 2019-12-26 10:23:17 +00:00
Janne Valkealahti
ec951b5929 Update reactive docs
- Relates #742
2019-12-25 16:49:49 +00:00
Janne Valkealahti
de9de85237 Tag to smoke tests 2019-12-25 09:34:59 +00:00
Janne Valkealahti
2eebb2b0bf Polish build 2019-12-25 09:23:49 +00:00
Janne Valkealahti
00a4fae3a1 Add checks for missing transitions
- Now checking if some transitions are missing
  and throwing a proper exception instead of NPE.
- Fixes #775
2019-12-25 08:38:51 +00:00
Janne Valkealahti
20c1f56381 Relax sync in DefaultStateMachineService
- Now starting machine outside of a sycn block with
  acquire vs. release. This should allow long running
  start in a machine to allow next acquire to work faster.
- Forwardport #770
- Relates #777
2019-12-25 07:40:26 +00:00
Janne Valkealahti
b456ea823a Fix TimerSmokeTests
- Now doing stop assert in same step where machine
  actually stops which is more reliable way to test.
2019-12-25 07:29:33 +00:00
Janne Valkealahti
49860418f8 Duplicate base junit4 classes for junit5
- AbstractStateMachineTests to AbstractStateMachineJUnit4Tests
- StateMachineTestPlanBuilderTests to StateMachineTestPlanBuilderJUnit4Tests
- Add AbstractStateMachineJUnit5Tests and StateMachineTestPlanBuilderJUnit5Tests
- Move away from junit4 assertThat methods
- Fixes #780
- Also completes and Fixes #771
2019-12-24 20:37:11 +00:00
Janne Valkealahti
3d71c9606e Exclude smoke test by default 2019-12-24 17:06:57 +00:00
Janne Valkealahti
10ce7a65a4 Move to junit5 in all framework tests
- Just a migration
- Replace RedisRule with EnabledOnRedis
- Replace MongoDbRule with EnabledOnMongoDb
- spring-statemachine-test and some docs contains refs to junit4
  but those are support packages and will stay in place.
- Fixes #779
- Relates #771
2019-12-24 16:52:22 +00:00
Janne Valkealahti
0adae262c4 Bump to boot 2.2.2 2019-12-24 07:41:41 +00:00
Janne Valkealahti
5324c3e8d5 Revert h2 in tests to 1.4.199
- Fixes #817
2019-11-10 09:49:02 +00:00
Janne Valkealahti
2e69b564f0 Upgrade to boot 2.2.1 2019-11-09 14:55:30 +00:00
Janne Valkealahti
af81e8dd2b Add missing test files for mongo and redis
- There was an oversight for #588 and its pr which only
  added data15.json file for jpa. This commit
  adds those for mongodb and redis.
2019-10-27 10:15:57 +00:00
Janne Valkealahti
7465451cc3 Upgrade to Boot 2.2.0.RELEASE 2019-10-17 09:07:11 +01:00
Janne Valkealahti
73d2181d93 Upgrade to Boot 2.2.0.M6 2019-09-13 08:28:10 +03:00
Adar Wesley
a8a842fc2a Fix action loading in uml
- Refactored actions loading code to eliminate duplicated code.
- Added relevant test case.
- Fixes #588
2019-09-02 07:21:45 +03:00
Janne Valkealahti
16e32e4f78 Update changelog 2019-08-07 08:29:13 +01:00
Janne Valkealahti
010ae6e05b Upgrade to Boot 2.2.0.M5 2019-08-06 16:30:29 +01:00
Janne Valkealahti
96773828fc Docs changes
- Relates #742
2019-08-04 08:04:05 +01:00
Janne Valkealahti
7fac746298 TimerSmokeTests to junit5
- Start using tag smoke to exclude those from a normal
  ci build cycle(will have a separate plan).
- Relates #779
2019-08-03 16:01:01 +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
da9c68f4e6 Remove TaskExecutor and TaskScheduler
- As all execution and scheduling is now in reactor,
  remove all traces of these spring interfaces.
- Fixes #800
2019-08-03 14:40:37 +01:00
Janne Valkealahti
f1bf35e688 Trigger reactive changes
- Triggers evaluate method is now reactive.
- Various changes for signature change.
- Fixes #799
2019-08-03 12:59:52 +01:00
Janne Valkealahti
e566f7ee65 Polish
- Relates #791
2019-08-03 07:57:16 +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
200393c1e8 Fix asciidoc replace attributes 2019-07-02 07:09:34 +01:00
Janne Valkealahti
0a6992959a Fix NPR in ReactiveStateMachineExecutor
- Re-enable test in EventDeferTests as this NPE fix
  now handles smoke test.
- Relates #791
2019-07-01 09:09:12 +01:00
Janne Valkealahti
5128ed735a Change things around guards to reactive
- For Guard and Transition change call stach to be fully
  reactive from executor. Some changed signatures similarly
  what was needed for reactive Actions.
- Disabling one smoke test to get figure out later as
  something is broken somewhere, possible reactor bug...
- Relates #791
2019-06-30 16:51:08 +01:00
Janne Valkealahti
02be7eb478 Polish 2019-06-29 15:49:48 +01:00
Janne Valkealahti
e7092a31f1 Initial reactive Guard changes
- First changes to introduce ReactiveGuard similar to work done
  for ReactiveAction. User level interface is ReactiveGuard but internally
  it is handled as its super type Function<StateContext<S, E>, Mono<Boolean>>.
- This change still keeps some calls as blocking which will get changed
  in futher commits to get a full reactive chain.
- Touching only Transition to change guard signature, other use of blocking guard
  internally need to get similar changes in next commits.
- Baby steps...
- Relates #791
2019-06-29 15:30:41 +01:00
Janne Valkealahti
fcd9945169 Updates to migration guide
- Relates #742
2019-06-29 12:12:47 +01:00
Janne Valkealahti
882e559bf1 Upgrade to boot 2.2.0.M4
- Relates #765
2019-06-29 07:20:00 +01:00
Ming Deng
9f10700da2 Refactor to junit5
- remove junit4 dependecies
- refactor the unit tests by junit5
- enhance the spring-statemachine-test and spring-statemachine-build-tests so they can work together with junit4/junit5
- relates #779
2019-06-08 07:23:59 +01:00