Commit Graph

817 Commits

Author SHA1 Message Date
Janne Valkealahti
ee348d592f Remove StateMachineInterceptor deprecations
- Forward port #906
- Fixes #907
2020-12-11 10:06:13 +00:00
Janne Valkealahti
103eedf80c Update Boot 2.4.1
- Remove reactor version pump
- Fixes #896
2020-12-11 09:15:08 +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
07cf924578 Port build-tests tests to assertj 2020-11-28 19:56:11 +00:00
Janne Valkealahti
d4811bcf55 Port test tests to assertj 2020-11-28 18:03:00 +00:00
Janne Valkealahti
89afd543f4 Port core tests to assertj 2020-11-28 17:51:15 +00:00
Janne Valkealahti
20daa7cc2d Port recipes tests to assertj 2020-11-28 14:55:03 +00:00
Janne Valkealahti
3d4c1b9d28 Port cluster tests to assertj 2020-11-28 14:51:34 +00:00
Janne Valkealahti
c4f9d68870 Port zookeeper tests to assertj 2020-11-28 14:49:50 +00:00
Janne Valkealahti
2fa227985c Port data tests to assertj 2020-11-28 14:43:55 +00:00
Janne Valkealahti
d19b5d298a Port kryo tests to assertj 2020-11-28 14:32:01 +00:00
Janne Valkealahti
b4c2f1849a Port samples tests to assertj 2020-11-28 14:26:11 +00:00
Janne Valkealahti
4965a4f980 Update readme 2020-11-28 09:52:56 +00:00
Janne Valkealahti
39a56aec67 Switch to new snapshot naming 2020-11-28 09:07:22 +00:00
Janne Valkealahti
96fb7309ad Update readme 2020-11-27 22:07:52 +00:00
Janne Valkealahti
58172c60dd Update readme 2020-11-27 22:05:38 +00:00
Janne Valkealahti
c2647773cd Add workflow for smoke tests 2020-11-22 15:12:02 +00:00
Janne Valkealahti
40497175d9 Add workflow for redis tests 2020-11-22 15:03:46 +00:00
Janne Valkealahti
b73a80a05e Add workflow for mongodb tests 2020-11-22 14:58:08 +00:00
Janne Valkealahti
76add14365 Add build flag to print test results 2020-11-22 14:43:34 +00:00
Janne Valkealahti
2297ee93d1 Tag mongodb and redis tests 2020-11-22 14:08:49 +00:00
Janne Valkealahti
bb8d1b3014 Tag additional smoke test 2020-11-22 13:56:26 +00:00
Janne Valkealahti
69d0d9d65f Port autoconfigure tests to assertj 2020-11-22 13:25:09 +00:00
Janne Valkealahti
644dd331cb Port uml tests to assertj 2020-11-22 10:38:27 +00:00
Janne Valkealahti
5b017e4b38 Missing spel effect with transition in uml
- Add missing resolve/create for action if type is defined as spel.
- Some additional reactive changes.
- Forward port #889
2020-11-22 09:28:37 +00:00
Janne Valkealahti
c587a29843 Use reactor snapshots
- Reactor 3.4.0 has issue where emit my violate specs,
  thus causing issues in statemachine itself
  https://github.com/reactor/reactor-core/issues/2488
- That is now fixed in 3.4.1 snapshots so force build
  to use it now to wait boot 2.4.1.
2020-11-21 09:56:00 +00:00
Janne Valkealahti
133bb2002a Make emit non-blocking
- Now doing triggerSink.emitNext with retry instead
  of parking which caused blocking errors from blockhound.
- Retry is now hardcoded and settings for it could be
  exposed later.
2020-11-21 09:56:00 +00:00
Janne Valkealahti
3f0f51bc8c Update boot 2.4.0 2020-11-15 14:30:28 +00:00
Janne Valkealahti
64b431cbc2 Fix gradle plugin repos 2020-11-14 13:47:18 +00:00
Janne Valkealahti
a25b3147b6 Fix trigger sink usage 2020-11-01 13:11:47 +00:00
Janne Valkealahti
3d2e1de237 Allow some blockhound block methods
- Looks like some tests fails with redis
  as new lettuse driver, during connect phase,
  will block as there's a timeout which cause
  a block within netty internals(which a bit weird).
- Time of this commit block error came from
  https://github.com/netty/netty/blame/4.1/common/src/main/java/io/netty/util/HashedWheelTimer.java#L349
2020-10-31 14:51:50 +00:00
Janne Valkealahti
7963c24d8c Add notes for action error handling 2020-10-31 13:50:59 +00:00
Janne Valkealahti
96eab9d061 Fix deprecations
- Due to switch to boot 2.4.x, fixing various
  deprecations where things mostly come from reactor.
2020-10-31 09:18:35 +00:00
Janne Valkealahti
7526cb0f54 Update boot 2.4.0-RC1 2020-10-31 09:18:35 +00:00
Janne Valkealahti
aac4e1d70b Remove dep to trigger BubbleException
- As a bad behaviour we relied on reactor throwing
  this particular exception to re-throw it to propagate
  exception order to deny event.
- Now trying to use callback to do a same thing as
  newer reactor versions don't throw anymore.
2020-10-31 09:18:35 +00:00
Janne Valkealahti
35e337e702 Remove unused MongoDbRule 2020-10-31 09:18:35 +00:00
Janne Valkealahti
7023093e1d Polish 2020-10-25 12:51:28 +00:00
Janne Valkealahti
cf242802e6 Use reactive lifecycle for triggers
- Change to use reactive method for lifecycle handling
  for triggers in an executor.
2020-10-25 10:42:49 +00:00
Janne Valkealahti
175a156a15 Polish docs 2020-10-24 14:48:53 +01:00
Janne Valkealahti
066e80dbdd Fix wrong transition with join complete
- Oversight with original reactor work.
2020-10-24 09:53:48 +01:00
Janne Valkealahti
bb46cdbad6 Polish 2020-10-24 09:36:09 +01:00
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