Commit Graph

415 Commits

Author SHA1 Message Date
Robert von Burg b4fb7438e7 [New] Added environment variable to override DB host for tests 2022-03-08 09:42:54 +01:00
Robert von Burg b1e8a8676b [New] Added environment variable to overide DB host for tests 2022-03-08 08:43:31 +01:00
Robert von Burg 05fc6c21ad [Major] Changed signature of SimpleExecution.runWithFreshAction() 2022-03-07 18:11:57 +01:00
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 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 ede7b08c78 [WIP] PARAM_MAX_ROWS_FOR_FACET_GENERATION 2022-03-01 10:54:24 +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 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 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 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 55fd0d181e [Major] Removing State.isExecutable() and associated command and policy actions 2022-01-19 19:33:49 +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 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 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 010128cbc5 [Minor] Made fields protected in GenericReport 2021-12-06 14:12:51 +01:00
Robert von Burg 6e3218540b [Minor] Code cleanup 2021-12-06 14:12:15 +01:00
Robert von Burg 02a9e6ca32 [New] Added constructors to JsonServiceArgument 2021-11-25 16:12:56 +01:00
Robert von Burg 8a1e7aea4e [Project] Allow generating PMD and SpotBugs reports 2021-09-29 10:04:05 +02:00
Robert von Burg 015a7cec41 [Minor] ignore compiler warning 2021-09-28 17:22:03 +02:00
Robert von Burg eab14c2839 [Minor] Always allow to execute Release actions 2021-09-28 16:55:12 +02:00
Robert von Burg e4a4c3bf36 [Major] Pass activity locator, not Activity when archiving 2021-09-28 16:54:55 +02:00
Robert von Burg 72610ca9a6 [Project] Auto update to new version 1.8.0-SNAPSHOT 2021-09-24 08:54:58 +02:00
Robert von Burg f97c7df7b0 [Project] Updated snapshot version to 1.7.0-SNAPSHOT 2021-09-08 09:46:12 +02:00
Robert von Burg 74cd99ce56 [New] Allow reports to use paging internally 2021-09-07 15:17:19 +02:00
Robert von Burg c363952547 [New] Allow reports to work in parallel if enabled 2021-09-06 17:19:59 +02:00
Robert von Burg 71b73896ac [New] Added option to do parallel streams 2021-09-05 13:06:10 +02:00
Robert von Burg a876509eb1 [New] Allow to pass Action to Controller for actions 2021-08-25 16:10:01 +02:00
Robert von Burg dc7972927b [Fix] Respected privilegeHandler.isPersistOnUserDataChanged() for all privilege services 2021-08-19 15:09:14 +02:00
Robert von Burg 1ac594f78e [Major] Refactored PrivilegeRemoveUserService into service with command 2021-08-19 15:01:54 +02:00
Robert von Burg 9c11f4502e [Minor] Don't restart activities in error 2021-08-12 09:20:08 +02:00
Robert von Burg 3aa02aeb77 [New] Added ExecutionHandler.toExecution(String, Locator) 2021-08-03 11:28:02 +02:00
Robert von Burg ac350c2ff2 [Major] Deleted deprecated ReservationExection 2021-08-02 18:00:53 +02:00
Robert von Burg 982f3939ea [Minor] clean up imports 2021-07-21 13:14:41 +02:00
Robert von Burg 9cf1e925c5 [Minor] removed uses of deprecated methods 2021-07-19 12:07:29 +02:00
Robert von Burg ce73a39c59 [Fix] Fix GenericReport.generateFilterCriteria() 2021-06-25 13:25:56 +02:00
Robert von Burg 870f336d29 [Fix] Remove adding empty criteria facets 2021-06-14 22:38:51 +02:00
Robert von Burg b3ff1b1726 [Fix] Different strategy to stop generating filter facets 2021-06-14 16:09:22 +02:00
Robert von Burg 6061bd4088 [Fix] Return distinct values for Report.generateFilterCriteria() 2021-06-14 16:08:41 +02:00