Commit Graph

3330 Commits

Author SHA1 Message Date
Robert von Burg 17a62038d5 [New] Properly format Report to json, forwarding params to caller 2022-03-01 10:52:19 +01:00
Robert von Burg e31e606754 [New] GenericReport now adheres to facet value limit if trimFaceValues=true on report 2022-03-01 10:52:14 +01:00
Robert von Burg b03a8781fa [New] Added StrolchElementToJsonVisitor.withoutObjectType() 2022-03-01 10:52:11 +01:00
Robert von Burg 8483358791 [New] Added stream() to MapOf* classes 2022-03-01 10:52:06 +01:00
Robert von Burg 892dbdbe7f [New] Added TransactionThreadLocal.hasTx() 2022-03-01 10:48:16 +01:00
Robert von Burg 3fea89aab8 [New] Added WriteRolesFileHelper to read and write roles files 2022-02-22 10:43:15 +01:00
Robert von Burg 5f556a8c8d [New] Added param to XmlHelper.parseDocument() for nsAware 2022-02-22 10:42:52 +01:00
Robert von Burg 118e3ade32 [Project] Update postgresql from 42.3.1 to 42.3.3 2022-02-16 10:09:20 +01:00
Robert von Burg 509cbbeede [Project] Updated strolch-wc-auth to 0.9.5 2022-02-11 10:51:36 +01:00
Robert von Burg e4b45be717 [Project] Updated strolch-wc-* components 2022-02-10 22:08:07 +01:00
Robert von Burg 75ca814ba0 [New] Use StackWalker instead of new Throwable().getStackTrace()[depth] 2022-02-07 10:22:18 +01:00
Robert von Burg 37e239e3de [Minor] Code cleanup and validate api and impl are set in configuration 2022-02-03 14:46:01 +01:00
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