Commit Graph

3344 Commits

Author SHA1 Message Date
Robert von Burg 03df198529 [New] Added ExecutionPolicy.getExecutionHandler() 2022-03-07 18:11:37 +01:00
Robert von Burg 3d5d25a8c2 [New] Added DurationExecution.delayToExecuted flag to skip delayToExecuted call 2022-03-07 18:11:28 +01:00
Robert von Burg 60e6b4ea96 [Fix] Fixed opening double TX in StrolchJobsResource 2022-03-07 11:29:41 +01:00
Robert von Burg f2658aebb4 [New] Added StrolchValueType.isList() 2022-03-06 20:02:04 +01:00
Robert von Burg 04e5167f60 [New] Added StrolchElementToJsonVisitor.withListParametersAsArray() 2022-03-06 20:01:42 +01:00
Robert von Burg 7bece7451e [New] Added StrolchException overrides for I18nMessage parameter 2022-03-01 10:55:21 +01:00
Robert von Burg d12fdb81c2 [New] Added Command.validateAndDoCommand() 2022-03-01 10:54:51 +01:00
Robert von Burg 08fb5a5e02 [Project] Updated to strolch-wc-reports 0.5.0 2022-03-01 10:54:34 +01:00
Robert von Burg 1ddbad20ca [Major] Performance optimizations for reports
The following parameters add optimizations for reports which take a long time to load due to many filter, flat-mapping etc.:

    <Parameter Id="maxFacetValues" Name="Max facet values" Type="Integer" Value="10"/>
    <Parameter Id="maxRowsForFacetGeneration" Name="Max rows for facet generation" Type="Integer" Value="100"/>
    <Parameter Id="directCriteria" Name="Criteria queried directly" Type="StringList" Value="Location"/>

* maxFacetValues -> allows to specify how many facet values are returned to the caller
* maxRowsForFacetGeneration -> specifies after how many seen rows that facet value generation should be stopped
* directCriteria -> allows to define StrolchRootElement types, for which the facet values won't be generated by going through the rows, but are immediately retrieved from the ElementMap. This makes these facets extremely fast, but filtering might not work as expected.
2022-03-01 10:54:30 +01:00
Robert von Burg 2e94e36aab [New] Added TypedTuple.hasBoth() 2022-03-01 10:54:27 +01:00
Robert von Burg ede7b08c78 [WIP] PARAM_MAX_ROWS_FOR_FACET_GENERATION 2022-03-01 10:54:24 +01:00
Robert von Burg 9f7eae5ee8 [Fix] Ignore BAG_ADDITIONAL_TYPE as well 2022-03-01 10:54:21 +01:00
Robert von Burg 0193abca70 [Minor] fix error message in StrolchElementToJsonVisitor 2022-03-01 10:54:09 +01:00
Robert von Burg 30139f2da0 [Project] Updated bower.json version 2022-03-01 10:54:03 +01:00
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