Commit Graph

291 Commits

Author SHA1 Message Date
Robert von Burg 60e6b4ea96 [Fix] Fixed opening double TX in StrolchJobsResource 2022-03-07 11:29:41 +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 9f7eae5ee8 [Fix] Ignore BAG_ADDITIONAL_TYPE as well 2022-03-01 10:54:21 +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 a596793380 [New] REST and WS API extends the Activity JSON with ExecutionPolicy data 2022-01-19 19:41:08 +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 cede6b21a0 [Fix] setting certificate if available in REST calls 2021-11-16 17:16:18 +01:00
Robert von Burg 2592ff0190 [New] Added StrolchSessionHandler.isSessionKnown() 2021-11-16 17:15:41 +01:00
Robert von Burg 42bf0c64e8 [Major] Allow hiding the version from non-authenticated user 2021-11-12 17:08:42 +01:00
Robert von Burg e999695c9e [Major] StrolchUserMessageException replaces UserMessageException and is properly evaluated for service results 2021-11-03 13:55:50 +01:00
Robert von Burg e2662d3395 [New] Added more ResponseUtil.toResponse()-methods 2021-10-05 21:40:35 +02:00
Robert von Burg 8a1e7aea4e [Project] Allow generating PMD and SpotBugs reports 2021-09-29 10:04:05 +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 7ffaab1bb8 [Major] Removed the Query API, use Search API instead 2021-09-05 12:46:45 +02:00
Robert von Burg e726c8f931 [Minor] Less use of tx.get*Map() calls 2021-09-05 12:27:12 +02:00
Robert von Burg e4dff737b4 [Fix] Handle stopping DefaultStrolchSessionHandler if not started 2021-09-01 15:19:01 +02:00
Robert von Burg 1ac594f78e [Major] Refactored PrivilegeRemoveUserService into service with command 2021-08-19 15:01:54 +02:00
Robert von Burg 77a18aa5b1 [New] ResponseUtil.toResponse to add i18n if available 2021-06-16 13:03:07 +02:00
Robert von Burg fb2b9ad73a [New] Sorting of facet types using i18n for report API 2021-06-14 22:38:18 +02:00
Robert von Burg b99ef252a9 [Minor] Added ResponseUtil.toResponse(JsonObject) 2021-05-17 17:41:01 +02:00
Robert von Burg 7cf4949a58 [Fix] Domain must be configured as agent property 2021-04-23 13:33:09 +02:00
Robert von Burg 5842e2f60a [New] Added setting for SameSite and Domain attributes on auth cookies 2021-04-23 12:55:32 +02:00
Robert von Burg 210cfb8be9 [Major] better report filter criteria generation 2021-03-30 20:14:26 +02:00
Robert von Burg ddcc4d94df [New] Added new feature to require password change 2021-02-23 12:46:22 +01:00
Robert von Burg aa332891b7 [Minor] Sorting user data in REST API 2021-02-23 09:24:23 +01:00
Robert von Burg a88b6edf66 [New] Added clear user password REST API and service 2021-02-22 23:16:59 +01:00
Robert von Burg fd7362b2c1 [Major] Added user history to privilege
- firstLogin
- lastLogin
- lastPasswordChange
2021-02-22 14:51:00 +01:00
Robert von Burg ec1e8d2c02 [Minor] Using better abort status when validating requests 2021-02-12 16:48:35 +01:00
Robert von Burg 207304932a [Major] Better exception handling for AccessDeniedExceptions 2021-02-08 22:43:27 +01:00
Robert von Burg f19484abc0 [Fix] Return 403 instead of 401 for StrolchAccessDeniedException 2021-02-08 16:11:09 +01:00
Robert von Burg 2e904754ab [Fix] Fixed Basic auth 2020-12-17 12:25:02 +01:00
Robert von Burg d2c3bd8c8f [Fix] Validate SET_PASSWORD request is honored 2020-11-26 11:10:21 +01:00
Robert von Burg f831719c1f [Minor] order sessions by username 2020-11-06 10:15:56 +01:00
Robert von Burg 8a34f5330d [New] Added missing TX to StrolchJobsResource REST API 2020-10-27 11:36:21 +01:00
Robert von Burg aa6d619e90 [Fix] Fixed TX context in REST calls 2020-10-27 11:36:08 +01:00
Robert von Burg 282bbba3aa [New] Requiring TX for privilege services 2020-10-23 14:36:20 +02:00
Robert von Burg 90e9fae065 [Fix] Fixed broken tests 2020-10-22 16:28:40 +02:00
Robert von Burg 447cc55cb6 [Fix] Fixed broken tests 2020-10-22 15:31:47 +02:00
Robert von Burg ad0a0f1e10 [Major] Refactoring privilege services, added Organisation checking if required 2020-10-22 15:14:02 +02:00
Robert von Burg 09a85c3064 [Project] New added ResponseUtil.toResponse(I18nMessage) 2020-10-21 17:49:25 +02:00
Robert von Burg 4f52c1852f [Fix] Handle null authorization 2020-10-02 13:40:03 +02:00
Robert von Burg fc5000d00f [New] Allow to disable basic auth, to use in proxies 2020-10-02 11:20:38 +02:00
Robert von Burg 86794367eb [Minor] replaced deprecated call with new call 2020-08-18 16:39:56 +02:00
Robert von Burg c624990290 [New] Added possibility to filter missing values as true, instead of false 2020-07-28 13:31:42 +02:00
Robert von Burg 6bdf765673 [New] Added new i18n REST API 2020-07-20 12:24:20 +02:00
Robert von Burg ecb85a1502 [New] Added web path property to RestfulStrolchComponent 2020-07-20 12:24:01 +02:00