Commit Graph

634 Commits

Author SHA1 Message Date
Spring Buildmaster
ea2f03e216 Next development version 2019-06-03 06:21:11 +00:00
Janne Valkealahti
412734b011 Update changelog 2019-06-03 07:09:20 +01:00
Janne Valkealahti
7ac56d7ec1 Fix concurrency in DefaultStateMachineExecutor
- Change deferList from LinkedList to ConcurrentLinkedQueue
  to fix ConcurrentModificationException with parallel events.
- Backport #736
- Relates #739
2019-06-01 16:54:05 +01:00
Janne Valkealahti
b9392e13a2 URL Cleanup
- Merge/squash #714
- Exclude all .di, .notation and .uml files whose id's cannot be
  changed.
2019-05-16 07:45:49 +01:00
Janne Valkealahti
dc3007d79e URL Cleanup
- Merge/squash #692 and #708
2019-05-16 07:45:49 +01:00
Spring Operator
005618f225 URL Cleanup
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).

# Fixed URLs

## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.

* http://www.apache.org/licenses/LICENSE-2.0.txt with 1 occurrences migrated to:
  https://www.apache.org/licenses/LICENSE-2.0.txt ([https](https://www.apache.org/licenses/LICENSE-2.0.txt) result 200).
* http://docs.jboss.org/jbossas/javadoc/4.0.5/connector with 1 occurrences migrated to:
  https://docs.jboss.org/jbossas/javadoc/4.0.5/connector ([https](https://docs.jboss.org/jbossas/javadoc/4.0.5/connector) result 301).
* http://repo.springsource.org/libs-milestone with 1 occurrences migrated to:
  https://repo.springsource.org/libs-milestone ([https](https://repo.springsource.org/libs-milestone) result 301).
* http://repo.springsource.org/libs-release with 2 occurrences migrated to:
  https://repo.springsource.org/libs-release ([https](https://repo.springsource.org/libs-release) result 301).
* http://repo.springsource.org/libs-snapshot with 1 occurrences migrated to:
  https://repo.springsource.org/libs-snapshot ([https](https://repo.springsource.org/libs-snapshot) result 301).
* http://repo.springsource.org/plugins-release with 1 occurrences migrated to:
  https://repo.springsource.org/plugins-release ([https](https://repo.springsource.org/plugins-release) result 301).
* http://repo.springsource.org/plugins-snapshot with 1 occurrences migrated to:
  https://repo.springsource.org/plugins-snapshot ([https](https://repo.springsource.org/plugins-snapshot) result 301).
* http://spring.io/spring-statemachine with 1 occurrences migrated to:
  https://spring.io/spring-statemachine ([https](https://spring.io/spring-statemachine) result 302).
2019-03-19 11:59:14 +00:00
Spring Buildmaster
efce68bab0 Next development version 2018-11-10 14:45: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
Christoph Empl
cb74a35bff Fixed enum comparison in AbstractStatemachine#resetStateMachine
- Add a check for enum class as well so that
  restore doesn't pick a wrong instance.
- Fixes #554
2018-09-26 12:21:45 -04:00
Jonathan Buzzetti
1a797532ca Update sm.adoc 2018-08-22 21:05:55 -03:00
Janne Valkealahti
61e762763f Initial state wrongly entered with entry point
- Fix case where submachine entry via entrypoint wrongly
  caused its initial state to get activated before
  entering transition target leading out from entrypoint.
- Fixes #577
2018-07-17 07:39:48 +01:00
Janne Valkealahti
594b8ef563 Fix typo in a method name 2018-07-14 17:34:11 +01:00
Spring Buildmaster
902a1a7477 Next development version 2018-07-12 15:38:23 +00: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
b2a2e12a03 Upgrade to boot 2.0.3
- Fixes #576
2018-07-11 09:38:45 +01:00
Janne Valkealahti
2d914a705e Add spring-boot-autoconfigure-processor
- Dep as optional so that we get
  spring-autoconfigure-metadata.properties generated.
- Fixes #570
2018-07-11 09:10:27 +01:00
Janne Valkealahti
f0a778a10c Polish instance check
- Remove possible call to expensive
  BeanFactory#toString.
- Fixes #569
2018-07-11 09:01:28 +01:00
Janne Valkealahti
6fc0c5e6e6 UML Factory facilities leak memory
- Refactor UmlStateMachineModelFactory and UmlUtils
  so that eclipse emf unloads a resource and thus
  should work better with gargage collections.
- Also try to clean out tmp files.
- Fixes #572
2018-07-10 17:11:14 +01:00
Spring Buildmaster
db9066fe45 Next development version 2018-04-06 07:05:08 +00:00
Janne Valkealahti
fca69147bb Update changelog 2018-04-06 07:35:54 +01:00
Janne Valkealahti
0e1c74cb85 Polish 2018-04-06 07:24:34 +01:00
Corbin Schwalm
941061f32b Fix Enum Comparision For State Machine Restart
- When comparing states that are of type Enum, the check
  always fails causing the state machine to incorrectly
  use the starting state regardless of where it was previously.
- Added unit test to test correct state is set on restart.
  However, added changes have no effect for this test. The issue is being
  caused elsewhere. When loading from JPA, ss.getId() instanceof S
  is always false causing the previous state to never be set.
- Fixes #537
2018-04-06 07:22:16 +01:00
Janne Valkealahti
bddd9e4bfb Upgrade to boot 2.0.1.RELEASE
- Fixes #543
2018-04-05 15:15:21 +01:00
Alexandre Navarro
2f474f27b8 Add getter on TimerTrigger for period and count 2018-03-12 23:35:35 +01:00
Janne Valkealahti
0df3f9a898 Fix issue with devtools
- Where class is resolved, use ClassLoader from
  BeanClassLoaderAware which is the one working
  with devtools.
- Fixes #531
2018-03-12 19:59:35 +00:00
Janne Valkealahti
30987d3eb7 Polish 2018-03-07 09:08:29 +00:00
Janne Valkealahti
a92a81603a Update README 2018-03-06 18:03:15 +00:00
Spring Buildmaster
165f6a59f1 Next development version 2018-03-06 17:13:21 +00: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
Patrick Ruckstuhl
151745a9d6 Lookup needed configurer instead of injecting all configurers
- Also lookup Configurer in StateMachineConfiguration
- Added test scenario for constructor injection issue
- Backport #522
- Relates #523
2018-03-06 14:41:13 +00:00
Nadim Benabdenbi
fc321893d2 Executor should poll until the queue is empty
- Default state machine executor: queue polling defect proof test.
- Default state machine executor: queue polling fixed.
- Fixes #520
2018-03-06 14:30:17 +00:00
Janne Valkealahti
c4954b4282 Update changelog 2018-03-01 11:59:51 +00:00
Janne Valkealahti
9abbff5824 Upgrade to boot 2.0.0 2018-03-01 08:36:14 +00:00
jvalkeal
65c9bfac89 Remove spring-statemachine-redis
- For now classes just moved under
  spring-statemachine-data-redis
- Fixes #514
2018-02-23 12:23:32 +02:00
jvalkeal
140ccbf2f0 Update getting started section
- Fixes #499
2018-02-22 13:57:48 +02:00
jvalkeal
cf3bfc6be0 StateMachineAnnotationPostProcessor should extract correct annotated method
- Fix processing so that only expected annotations are
  processed and handlers created.
- Backport #510
2018-02-22 08:54:48 +02:00
jvalkeal
0f6a3ce4c3 Upgrade to boot 2.0.0.RC2
- Fix monitoring sample due to actuator changes in boot
- Fixes #513
2018-02-22 08:51:51 +02:00
jvalkeal
12b5be0808 Rename sample datajpapersist to datapersist
- As it now supports mongo/redis using profiles,
  remove jpa from name.
- Change build and docs.
- Fixes #509
2018-02-21 17:26:19 +02:00
james
041189bb31 Use the contextObj as is when saving the StateMachineContext
- Polish and fix some merge issues
- Relates #494
2018-02-21 16:13:50 +02:00
jvalkeal
ef8704cf44 Base work adding mongo and redis to datajpapersist
- Build deps to mongo and redis
- Config changes using profiles to enable
  mongo or redis while jpa is default
- Relates #509
2018-02-20 08:57:44 +02:00
jvalkeal
b5acbf9d98 Polish 2018-02-15 18:31:42 +02:00
jvalkeal
6315509165 Rename spring-statemachine-boot
- spring-statemachine-boot is now
  spring-statemachine-autoconfigure
- Fixes #507
2018-02-15 17:54:07 +02:00
jvalkeal
dbb028b38e Support executing state action with timeout
- Add new concepts around executing state do actions
  allowing to use timeouts via StateDoActionPolicy.
- Global config per machine or via event headers.
- Backport #501
- Relates #504
2018-02-15 15:52:51 +02:00
jvalkeal
5d1820e553 Polish cdplayer sample tests
- Now hopefully these tests are more reliable
- Relates #343
2018-02-14 15:28:08 +02:00
jvalkeal
cbe2615c14 Merge spring-statemachine-core from 1.2.x
- Merge spring-statemachine-core/src which for some
  reason is not up to date in master/1.2.x anymore.
- Relates #504
2018-02-14 09:20:25 +02:00
jvalkeal
a4d43131ea Add support for completion transitions
- Currently into as internal new feature, add state
  completed concecept and use it in various places.
- Main focus for this commit is to add support using
  anonymous transitions with state do actions which
  requires proper completion schematics.
- Internal functionality here will probably expose to
  user level in future releases using various other
  concepts.
- Backport #466
- Relates #504
2018-02-13 12:37:04 +02:00