Commit Graph

3418 Commits

Author SHA1 Message Date
Robert von Burg 5bfcc789b8 [Minor] Added constants for ServiceResult.toJson() 2022-02-01 11:51:36 +01:00
Robert von Burg c862bc1a47 [New] Added RuntimeMock.runAs*() 2022-01-28 14:32:35 +01:00
Robert von Burg 62244eca58
Delete codeql-analysis.yml 2022-01-28 13:45:07 +01:00
Robert von Burg f9d6341e6b
Update README.md 2022-01-28 13:30:45 +01:00
Robert von Burg eb48b60e89 [Minor] Also ignore javax* jars 2022-01-28 11:22:44 +01:00
Robert von Burg c432af09d3 [New] Added IActivityElement.inCreatedPlanningPhase() and .inExecutedPhase() 2022-01-26 13:12:54 +01:00
Robert von Burg ec95b2dae8 [Fix] Fixed action state not set to planning if planning failed 2022-01-26 13:01:01 +01:00
Robert von Burg 9f8e69e729 [Minor] code cleanup 2022-01-26 13:01:01 +01:00
Robert von Burg e8964fccb5 [New] ExecutionHandler.getControllers() returns a List 2022-01-26 13:01:01 +01:00
Robert von Burg 7f84d81ca6 [Minor] Added convenience methods to Controller 2022-01-26 13:01:01 +01:00
Robert von Burg 82d67c3ef2 [Major] Removed obsolete IActivityElement.inExecutionWarningPhase() 2022-01-26 13:01:01 +01:00
Robert von Burg b94c43581d
Create codeql-analysis.yml 2022-01-26 11:24:04 +01:00
Robert von Burg 4ebe301b68 [New] ReservationExecution now has a new semaphore mode
This allows the execution policy to make sure that only x activities of a type are in execution
2022-01-21 17:15:45 +01:00
Robert von Burg 45bca35fd6 [Fix] Added trigger execution after archiving 2022-01-21 17:15:36 +01:00
Robert von Burg 6fa5b6583e [New] Added ExecutionHandler.addForExecution() 2022-01-21 17:15:21 +01:00
Robert von Burg b164a2cd0a [New] ReservationExecution now has a new semaphore mode
This allows the execution policy to make sure that only x activities of a type are in execution
2022-01-21 17:14:54 +01:00
Robert von Burg d32ce35178 [Minor] Cleanup DurationExecution, simplifying 2022-01-21 17:14:06 +01:00
Robert von Burg 41867c2f81 [Major] Refactored methods in ExecutionPolicy 2022-01-21 17:13:25 +01:00
Robert von Burg 708305d89c [New] Added new helper methods to Activity to stream elements 2022-01-21 17:12:19 +01:00
Robert von Burg 91e769f2f2 [Project] Updated to inspector 0.23.1 2022-01-21 09:30:27 +01:00
Robert von Burg 11d16cd469 [Fix] Added missing triggers of activity execution 2022-01-19 23:43:30 +01:00
Robert von Burg 167f0a5777 [New] Added EventBasedExecutionHandler.controllerStream()
This is used when triggering execution to sort the activity execution
2022-01-19 23:41:58 +01:00
Robert von Burg d7d8a7c4f0 [Fix] Fixed broken test 2022-01-19 20:14:16 +01:00
Robert von Burg b29d4703b3 [Major] Major rewrite of Controller/Activity execution
Controller now never triggers execution on the ExecutionHandler, but calls itself as often as necessary to keep execution of the same Activity in the same thread run. This leads to a more predictable sequence of executing of actions.

Further it is now possible to override the Controller's instantiated, to hook into the trigger of further execution of an Activity.
2022-01-19 19:48:43 +01:00
Robert von Burg a2afd18834 [Minor] Fixed constructors to work with Strolch 2022-01-19 19:41:33 +01:00
Robert von Burg a596793380 [New] REST and WS API extends the Activity JSON with ExecutionPolicy data 2022-01-19 19:41:08 +01:00
Robert von Burg f28e3d7683 [New] AbstractTransaction.lock(StrolchRootElement) adds the given element to the TX's object cache
This is necessary so that later calls to getResourceBy() etc. returns this object and not retrieves it again from the ElementMap. This can occur when using an element returned from a ElementMap.stream() call.
2022-01-19 19:39:41 +01:00
Robert von Burg 41e213e807 [Fix] AbstractTransaction.lock() trims the locator to size = 3 2022-01-19 19:38:03 +01:00
Robert von Burg 3e3da4b6a1 [New] Added StrolchTransaction.hasLock() 2022-01-19 19:37:30 +01:00
Robert von Burg b06eb892a7 [Minor] Code cleanup in StringHelper 2022-01-19 19:36:38 +01:00
Robert von Burg b4b5f48545 [New] Added MathHelper.doubleToString() for non-scientific notation 2022-01-19 19:34:26 +01:00
Robert von Burg 55fd0d181e [Major] Removing State.isExecutable() and associated command and policy actions 2022-01-19 19:33:49 +01:00
Robert von Burg 6b4c6b1433 [New] Added IActivityElement. and State.inExecutionPlanningPhase() 2022-01-19 19:30:59 +01:00
Robert von Burg b425414b74 [New] Added Action.isResourceDefined() and additional JavaDoc 2022-01-19 19:30:13 +01:00
Robert von Burg d7bd8bba39 [New] Set action to Planning state before planning 2022-01-14 11:00:32 +01:00
Robert von Burg 988fdd4d73 [New] Added IActivityElement state helper methods 2022-01-14 11:00:06 +01:00
Robert von Burg 99e10e03c4 [Minor] Code cleanup 2022-01-13 16:25:10 +01:00
Robert von Burg 94d039f720 [New] added Activity.streamActions(Predicate) and code cleanup 2022-01-12 16:38:50 +01:00
Robert von Burg 3becdd2d8e [Minor] Code cleanup in ConfirmationPolicy 2022-01-12 16:38:11 +01:00
Robert von Burg 7924b43c74 [Fix] EBX-69 move packing data if person transfer 2022-01-11 14:47:59 +01:00
Robert von Burg 7cb6b3acdc [New] Added ExceptionHelper.getRootCauseMessage(Throwable) 2022-01-10 22:52:41 +01:00
Robert von Burg 58fb8bb7fb [New] Added StrolchAgent.getRealm(String) 2022-01-10 22:51:25 +01:00
Robert von Burg e9e6c0b22a [New] Added new IntegerListTimedState and co. 2022-01-06 16:29:58 +01:00
Robert von Burg ee2c756dbf [Project] Added contributors to README.md 2022-01-05 12:33:22 +01:00
Robert von Burg 330d14545d [Project] Updated dependencies to latest minor version 2022-01-05 12:29:32 +01:00
Robert von Burg 3797a1090a [Minor] Import: Log ignored elements if updating disabled 2021-12-31 19:01:35 +01:00
Robert von Burg 7cde06c6d6 [Project] Updated to strolch-wc-inspector 0.23.0 2021-12-31 15:48:11 +01:00
Robert von Burg 1fb581fce0 [New] XML import now supports more options:
- failOnUpdate
- add of elements
- update of elements
2021-12-31 15:47:14 +01:00
Robert von Burg fc72263f98 [Minor] code cleanup 2021-12-31 15:47:08 +01:00
Robert von Burg 37935d98e5 [Minor] Using [New] Added ISO8601.toString() in StrolchElementToSaxWriterVisitor 2021-12-31 15:46:53 +01:00