Commit Graph

697 Commits

Author SHA1 Message Date
Janne Valkealahti
f4ce9310c1 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 14:01:33 +00:00
Janne Valkealahti
943346e182 Update changelog 2020-11-28 12:37:07 +00:00
Janne Valkealahti
588dabd9be Remove h2 downgrade
- Use h2 from framework as #817 doesn't cause issues anymore.
2020-11-28 09:44:15 +00:00
Janne Valkealahti
928520c466 Setup build for 2.4.x 2020-11-28 09:08:30 +00:00
Janne Valkealahti
ae32731ad8 Bump to boot 2.3.6 2020-11-22 09:42:03 +00:00
Janne Valkealahti
56e3abf132 Missing spel effect with transition in uml
- Add missing resolve/create for action if type is defined as spel.
- Forward port #889
2020-11-22 09:05:57 +00:00
Janne Valkealahti
c7debc39f4 Disable daemon in workflow 2020-11-22 08:59:32 +00:00
Janne Valkealahti
d8fdbfcc03 Fix gradle plugin repos 2020-11-21 13:39:40 +00:00
Janne Valkealahti
767fd8957d Add ci workflow to 2.3.x 2020-11-21 13:38:59 +00:00
Janne Valkealahti
5e5a4f9e64 Testplan array contains should discard order
- Replace contains with containsInAnyOrder for asserts.
- Forward port #883
2020-10-18 17:05:06 +01:00
Janne Valkealahti
4dbbb9f380 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 15:58:06 +01:00
Janne Valkealahti
ac7fc23ca0 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 15:57:43 +01:00
Janne Valkealahti
ce15f697b4 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:43:54 +01:00
Janne Valkealahti
0e3c79c327 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).
- Forwared port #871
2020-10-17 10:43:23 +01:00
Janne Valkealahti
bca079a3a8 Bump to boot 2.3.4.RELEASE 2020-10-17 10:01:50 +01:00
Janne Valkealahti
1fee6ea556 Pump asciidoctor version
- New versions needed for jdk11
- Relates to #863
2020-09-05 15:23:16 +01:00
Janne Valkealahti
26e41a87f4 Fix javadocs with jdk11
- Relates #863
2020-09-05 15:22:33 +01:00
Janne Valkealahti
d532bad85d Add ci workflow 2020-09-05 14:56:34 +01:00
Janne Valkealahti
e580e0ec5f Bump to boot 2.3.3.RELEASE 2020-09-05 13:23:47 +01:00
Janne Valkealahti
2aad637f55 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.
- Relates #833
- Relates #834
2020-03-02 16:54:57 +00:00
Janne Valkealahti
c76283c10b Bump to boot 2.3.0.M2
- Needed gradle change to 5.6
- There's different mongo client in deps so
  needed to fix MongoDbRule as it was done for master.
2020-03-02 12:54:13 +00:00
Janne Valkealahti
8cb1a89c8d Next development version for 2.3.x 2020-03-02 11:25:21 +00:00
Spring Buildmaster
7c1f81252e Next development version 2020-01-27 14:01:30 +00:00
Janne Valkealahti
5e9159ac30 Bump to boot 2.2.4 2020-01-27 10:53:50 +00:00
Janne Valkealahti
1ec10ddebd Fix typo in dependency 2019-12-24 07:40:22 +00:00
Janne Valkealahti
3b8fdd0eb1 Bump to boot 2.2.2 2019-12-24 07:33:41 +00:00
Janne Valkealahti
df893a4d6b Fork next development version for 2.2.x 2019-10-21 10:25:47 +01:00
Spring Buildmaster
fc77906f7d Next development version 2019-06-03 06:36:52 +00:00
Janne Valkealahti
7553e5bddc Update changelog 2019-06-03 07:05:36 +01:00
Janne Valkealahti
0a760f5bc0 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.
- Fixes #770
2019-05-25 15:59:40 +01:00
Janne Valkealahti
39dad686b5 Add vscode to gitignore 2019-05-12 15:02:00 +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
98ba6949ff Fix concurrency in DefaultStateMachineExecutor
- Change deferList from LinkedList to ConcurrentLinkedQueue
  to fix ConcurrentModificationException with parallel events.
- Fixes #736
2019-05-03 14:14:14 +01:00
Janne Valkealahti
55b7ff09cf Fix exit logic with fork/join
- In a case where fork/join happens within a substate we should not exit parent state
  which causes cascading stops for forked regions thus causing inconsistent lifecycle
  states within that kind of a machine structure. This for example caused parent submachine
  to end up stopped and all regions running even if some regions ended up into terminal state.
- Fixes #737
2019-05-03 09:50:35 +01:00
Spring Buildmaster
dc72cc4982 Next development version 2019-04-29 11:53:56 +00:00
Janne Valkealahti
b2deb7f4ca Update changelog 2019-04-29 08:10:57 +01:00
Janne Valkealahti
8f6c89d65e Move post state interceptor call later
- This is fixing some issues where anonymous transitions
  are causing post state call to happen too early i.e.
  with a submachine which transits away from it.
- Fixes #734
2019-04-24 07:51:18 +01:00
Janne Valkealahti
6867b5dc9e Fix pseudostate parent with uml machine references
- In a case where uml is drawn with submachine references where
  a pseudostate like choice is defined in a reference, UmlModelParser
  needs to find possible parent by following machine/state references
  to match a state name which references to a this particular machine.
- Actual bug was because pseudostate parent wasn't found it became null,
  thus causing it to be defined in a root machine which then caused
  other cascading errors like nasty loop shown in #729.
- Fixes #729
2019-04-18 17:45:37 +01:00
burak
cdaa9a1400 Add full interceptor methods support for RegionPersistingInterceptorAdapter
- Fixes #726
2019-04-14 07:15:08 +01:00
Jay Bryant
bc1f015c23 Modernized the document production
I updated the build to use spring-doc-resources, which gives us the modern look and feel for the HTML output. Unfortunately, we lose the epub output (until the Asciidoctor team gets that fixed).
2019-04-13 16:56:16 +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
Hamid Mortazavi
bd2518cce9 Persisting StateMachineContext for SM with nested regions and Fork/Join
- fixing issue when StateMachineContext is incorrectly persisted for
  SM with nested regions and Fork/Join configuration
- Fixes #723
2019-04-13 16:41:32 +01:00
Jonathon Seah
39ab4a0732 Add backwards compatibility between StateMachineContext serialization of spring-statemachine 2.0.x and 2.1.x
- Add tests between old serialised context(write) and new context(write)
- Fix setting childRefs to empty array instead of null if childRefs
  are not given.
2019-04-13 15:56:43 +01:00
ryenus
02ecb28751 fix wording: must be used +{in} order to 2019-03-20 14:35:47 +00:00
Janne Valkealahti
20c123d36f Remove badge from readme 2019-03-19 17:57:44 +00:00
Janne Valkealahti
069cf207cd Travis, bye bye 2019-03-19 17:55:53 +00:00
Spring Buildmaster
f67ec1380b Next development version 2019-03-19 13:30:47 +00:00
Janne Valkealahti
74c6bc2c46 Update changelog 2019-03-19 11:51:25 +00:00
Janne Valkealahti
40a7230a43 JoinPseudoState not tracking join states correctly
- In JoinPseudoState join states are tracked as list of lists
  where usually inner list contains one item except with region
  having multiple end states.
- Now fixing this case when resetting when previously completed
  region don't clear this list out from outer list.
- Fixes #684
2019-03-19 11:45:41 +00:00