Commit Graph

386 Commits

Author SHA1 Message Date
Nicola Cammillini
2b5aeffd2d Fixed some typos in reference guide preface. 2016-09-18 17:21:39 +02:00
Janne Valkealahti
25e190c57d Fix local transition logic
- Add missing creating of a local transition
- Fix logic how entry/exit is not called with local
- Add tests comparing functionality with external
- Fixes #248
- Fixes #249
2016-09-11 10:25:05 +01:00
Christophe
e6f10b60f5 Ability to set UUID for StateMachine
- Squash commits with below entries
- Add factory with a given uuid
- Fix compile error, replace spaces by tabs and clean imports
- Make more sense to swap uuid and stringId
- Fixes #241
2016-09-09 15:42:19 +01:00
Christophe
4c34e46ccf Add capabilities to provide ActionError in Transition
- Add classes directory to be ignored by git
- Doesn't yet handle actions defined for entry,
  exit or do behariour.
- Docs to come when features around error actions
  are fully implemented.
- Fixes #240
2016-08-30 20:54:56 +01:00
Janne Valkealahti
062bc9aa0e Support state activity
- AbstractState now extends LifecycleObjectSupport getting
  access to TaskScheduler.
- Modify all configs so that we can have a cancellable Action
  which is executed after state is entered and which is
  cancelled(if running) when state is exited.
- Fixes #239
2016-08-14 10:06:33 +01:00
Janne Valkealahti
c387979d75 Support for UML Sub State Machines
- Enhance config model so that a state can be
  configured as a submachine or a factory.
- With uml it's possible to put multiple machines
  into one xml(one needs to be a root machine) and
  in a same way, define state as a separate machine.
- JavaConfig vs. uml config differs in a bit where
  latter is passing raw model data into pojo config and
  JavaConfig either full machine or machine factory.
- Fixes #121
2016-08-13 07:19:21 +01:00
Janne Valkealahti
049f811f56 Refactor join handling
- Refactor how join is handled
- Add new StateListener for listening entry/exit per State.
- Transition is now passed to next guy from a join state.
- A lot of changes in core machine/factory/executor to support
  this new join handling.
- Fixes #235
- Fixes #237
2016-08-11 08:58:34 +01:00
Janne Valkealahti
7b39ce0912 Next major development version 1.2.0.BUILD-SNAPSHOT
- Branch 1.1.x is now for maintenance and master is
  for new development.
2016-08-01 06:25:28 +01:00
Janne Valkealahti
c4e106001e Next development version. 2016-05-23 18:11:06 +01:00
Janne Valkealahti
e0b0f86d41 Update cloud cluster version 2016-05-23 15:44:24 +01:00
Janne Valkealahti
dd1f05b7d0 Restore gradle.properties 2016-05-23 15:32:41 +01:00
Spring Buildmaster
fc98be0ad8 Next development version. 2016-05-23 14:11:00 +00:00
Janne Valkealahti
55071c7471 Update docs
- Relates to #219
2016-05-22 08:34:46 +01:00
Janne Valkealahti
ba8353367a Add locking to state handling
- We still got trouble with #227 with smoke
  tests so adding some locking sync to state
  handling.
2016-05-21 21:21:02 +01:00
Janne Valkealahti
f61237d082 Update docs
- Relates to #219
2016-05-21 18:11:01 +01:00
Janne Valkealahti
49b81675fa Update changelog 2016-05-21 15:50:49 +01:00
Janne Valkealahti
234bf281aa Update docs
- Better papyrus docs #219
2016-05-21 15:43:09 +01:00
Janne Valkealahti
571e147f14 Update docs
- Better docs for UmlStateMachineModelFactory #219
2016-05-21 14:54:53 +01:00
Janne Valkealahti
fd56501363 Update docs
- Update copyright #219
2016-05-21 14:20:50 +01:00
Janne Valkealahti
5fc9c62a64 Update docs
- Notes for message passing #219
2016-05-21 14:09:31 +01:00
Janne Valkealahti
99e02f682e Polish docs
- Scale images #219
2016-05-21 10:32:45 +01:00
Janne Valkealahti
e9cb3af785 Fix possible NPE
- getState() now handles null better when checking
  running state when possibly going to return
  final state.
- Fixes #227
2016-05-21 09:54:21 +01:00
Janne Valkealahti
588eee751f Make tests more reliable 2016-05-19 11:13:15 +01:00
Janne Valkealahti
6b93760535 Make tests more reliable 2016-05-18 18:59:05 +01:00
Janne Valkealahti
962c76e91d Make tests more reliable
- Attempt to make testing in CI more reliable as
  all seem to be fine locally.
2016-05-18 11:56:55 +01:00
Janne Valkealahti
ec21afc131 Refactor concepts around uml model factory
- Fixes #226
2016-05-17 09:11:14 +01:00
Janne Valkealahti
c8cc2b1ba4 Add docs for ordershipping sample
- Relates to #219
2016-05-14 18:02:48 +01:00
Janne Valkealahti
dbb510a9d3 Polish 2016-05-14 16:47:31 +01:00
Janne Valkealahti
05ef94e0ed Add ordershipping sample
- Fixes #225
2016-05-14 09:42:16 +01:00
Janne Valkealahti
fca98d8e4d Add tests
- Adding a simple test for checking that
  custom task executor is set via configurer
  if executor is created as bean.
2016-05-12 15:31:26 +01:00
Janne Valkealahti
914f39e282 Add tests
- Adding some new tests related to wait loops
  and error handling.
2016-05-12 09:10:30 +01:00
Janne Valkealahti
7602cf68ce Pseudostates may cause exit from parent
- Fix better handling of when parent state
  is trying to enter if transition happens
  with pseudostate in substates.
- Fixes #223
2016-05-12 07:45:49 +01:00
Janne Valkealahti
657c1d8e4b UmlModelParser breaks with shadow entries
- Fix so that unused transition with now source
  or target will not cause NPE.
- Fixes #218
2016-05-08 17:41:52 +01:00
Janne Valkealahti
751f95b44f Fix state exit with fork
- Fix a case where state leading into a fork
  doesn't exit.
- Relates to work in #221
2016-05-08 14:02:56 +01:00
Janne Valkealahti
66295d9ed2 State exists in regions
- Related to work done in #221 where we got
  into trouble for properly exiting states when
  fork/join is used.
2016-05-08 08:58:50 +01:00
Janne Valkealahti
2eb8788ce3 Direct region entry doesn't bypass initial state entry
- Enhance state context to have more info about target
  states which is needed to make a proper decision if
  region needs to be started.
- Fix RegionState to not to start if it looks like
  direct entry will be done later.
- Relates to #221
2016-05-07 15:52:12 +01:00
Janne Valkealahti
12137222a8 Join state should not be entered
- Fix join pseudostate to be transient.
- Fix tests which uses wrong concepts.
- Fixes #222
2016-05-06 17:24:54 +01:00
Janne Valkealahti
2836902635 Direct region entry doesn't bypass initial state entry
- Fix a case where region is entered directly. Essentially
  now trying to see if entry into a RegionState needs to
  start a region as otherwise we assume direct entry will
  do a start anyway.
- Fix some tests which kinda tested wrong scenarios.
- Fixes #221
2016-05-06 15:41:29 +01:00
Janne Valkealahti
e60cf77a04 TimerTrigger with delay fires immediately
- Fix use of correct delay.
- Move CountTrigger to support package
  as it's a generic class.
- Fixes #220
2016-05-04 19:48:05 +01:00
Janne Valkealahti
9c4524e1cb Complex linked pseudostates cause trouble
- Fix complex linked state handling.
- Fixes #217
2016-05-04 07:33:25 +01:00
Janne Valkealahti
84197d6ce5 Add tests
- Failed attempt to find failing tests for #216
  but then we can't ever have enought tests so
  stashing ongoing work here.
2016-05-01 19:27:30 +01:00
Janne Valkealahti
e7c28c2353 Add spel support for uml
- Now Guards and Actions can be defined
  as expressions if 'spel' language is used.
- Fixes #215
2016-05-01 15:35:50 +01:00
Janne Valkealahti
3cf40e8220 Add uml tests for showcase 2016-05-01 10:31:09 +01:00
Janne Valkealahti
f7419d2c7d Support initial action in uml
- Add action detection from initial state
  vertex which then translates into initial state
  initial action.
- Fixes #213
2016-04-30 16:16:19 +01:00
Janne Valkealahti
b0b21a4feb Don't publish build-tests
- Fixes #211
2016-04-30 10:16:25 +01:00
Janne Valkealahti
a74e82a8f9 Fix missing guards in uml model
- Add defined guards to normal transitions.
- Fixes #212
2016-04-30 09:22:27 +01:00
Janne Valkealahti
ca6a0c10aa Update changelog 2016-04-25 09:11:45 +01:00
Janne Valkealahti
63e266e4b9 Update docs
- Relates to #194
2016-04-25 09:00:14 +01:00
Janne Valkealahti
d781aac80f Add new deploy sample
- Fixes #209
2016-04-25 08:34:46 +01:00
Janne Valkealahti
8c0b95d679 Fix uml loading
- Now copying model into tmp file if it's not available
  as a physical file.
- Fixes #210
2016-04-25 07:51:24 +01:00