Janne Valkealahti
bd1d6492fc
Testplan array contains should discard order
...
- Replace contains with containsInAnyOrder for asserts.
- Forward port #883
2020-10-18 17:07:09 +01:00
Janne Valkealahti
15a0b2d3dc
Update blockhound settings
2020-10-18 10:08:41 +01:00
Janne Valkealahti
7ec28522cf
Remove h2 downgrade
...
- Use h2 from framework as #817 doesn't cause issues anymore.
2020-10-18 09:16:38 +01:00
Janne Valkealahti
ca615c8237
Polish
2020-10-18 09:16:19 +01:00
Janne Valkealahti
e47221056b
Pass event and headers into context
...
- Deprecated old buildStateMachineContext and add new method
to pass message order to populate event and headers
into a context.
- Forward port #870
2020-10-17 16:00:56 +01:00
Janne Valkealahti
349e460785
Change stateMachineContext column lentgh
...
- To fix HSQLDB default hibernate dialect, change
length to 10K.
- Other real used DB's should really do this in ddl's.
- Forward port #882
2020-10-17 16:00:40 +01:00
Janne Valkealahti
70e2c06ae7
Deprecated original interceptor methods
...
- Original preStateChange and postStateChange are now deprecated
and once those are removed we don't need to do calls to both
in StateMachineInterceptorList.
- Relates to #871
2020-10-17 10:44:41 +01:00
Janne Valkealahti
902121c7f1
Remove persisting double invocation
...
- As it's currently expected that pre/post interceptor are called
for both preStateChange and postStateChange, fix
AbstractPersistingStateMachineInterceptor so that actual persist
doesn't happen twice.
- Eventually original preStateChange and postStateChange methods
will get removed after deprecation(which should have happened
a long time ago).
- Forward port #871
2020-10-17 10:44:24 +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
Janne Valkealahti
3309d89491
Disable security on a web sample
...
- Just exclude SecurityAutoConfiguration
- Fixes #880
2020-10-11 14:12:19 +01:00
Yury Tsarkov
54048b26d9
UML diagram naming fix
2020-10-11 13:09:36 +01:00
Yury Tsarkov
8b6b848784
minor syntax fix
2020-10-11 13:09:36 +01:00
Janne Valkealahti
45627e4f63
Reactive PseudoStates
...
- Change entry/exit functions to reactive types
to have those in a reactive stack.
- Fixes #878
2020-10-11 13:06:53 +01:00
Janne Valkealahti
e78811eaa9
Remove Function interface
...
- Switch from org.springframework.statemachine.support.Function
to java.util.function.Function.
- Fixes #867
2020-09-13 15:03:16 +01:00
Janne Valkealahti
d9e2ed5425
Pass error from executor
...
- New concept of using callback to pass on error as
things can't be properly propagated as we're manually
dispatching to processor.
- Relates #821
2020-09-13 14:20:03 +01:00
Janne Valkealahti
ac3e4193d7
Polish
2020-09-10 07:56:52 +01:00
Janne Valkealahti
f425ca9678
Add nested dirs to workflow
2020-09-10 07:53:03 +01:00
Janne Valkealahti
d4c9303194
Upload gradle logs with build failure
2020-09-09 21:39:08 +01:00
Janne Valkealahti
706ae5511f
Fix reactive event handling
...
- Before attempting to add better level of error handling,
discard all errors what might come from action execution.
- Handle some cases where event deny is reported back as accepted.
- Fix reactor error for double subcription.
- Relates #821
2020-09-09 20:33:35 +01:00
xJoeWoo
34a28b57fa
Add generic thread safe support to PersistStateMachineHandler
2020-09-06 16:15:21 +01:00
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