Commit Graph
100 Commits
Author SHA1 Message Date
Thomas Wiese 90d24beaec Merge branch 'master' into bug5214 2020-09-17 15:04:16 +02:00
Thomas Wiese 2923b36dde Bug 5214: Switch from background task executor to foreground task
executor as the only difference seems to be the thread priority. A
foreground executor uses Thread.NORM_PRIORITY, as the old executors did.
2020-08-20 15:41:25 +02:00
Thomas Wiese f3b8534c05 Bug 5214: replacing standard thread pool executors by own thread pool
executors
2020-08-07 16:05:40 +02:00
Thomas Wiese 22c6f905ff Merge branch 'master' into bug5214 2020-08-07 10:43:50 +02:00
Thomas Wiese f48e5ca5b9 Bug 5214: revert commit 7de2f14586 2020-07-31 09:21:11 +02:00
Thomas Wiese 16cef3fb5c Bug 5214: removed commented out code lines 2020-07-28 17:17:03 +02:00
Thomas Wiese 7de2f14586 Bug 5214: Remove and replace DataMiningExceutorService with
ThreadPoolUtil background ThreadPoolExecutor
2020-07-28 17:15:25 +02:00
Thomas Wiese 0ae541c32a Merge branch 'master' into bug5214 2020-07-28 15:58:31 +02:00
Thomas Wiese 9ef8d0aa72 Bug 5214: fixing test failures 2020-07-21 22:20:19 +02:00
Thomas Wiese 5382bd2203 Bug 5214: generalized handling of (Inheritable)ThreadLocals for usage
with ThreadPoolAwareFutureTask and added removal of ThreadLocals that
have been set in a thread obtained from thread pool
2020-07-21 17:50:16 +02:00
Thomas Wiese 863620f7f4 Bug 5214: add test cases to prove that ThreadLocals and
InheritableThreadLocals are correctly cleaned (or not if using default
ThreadPoolExecutors) after task execution
2020-07-21 14:56:13 +02:00
Thomas Wiese 83cc26b36d Bug 5214: keep reference to service 2020-07-17 18:21:29 +02:00
Thomas Wiese 83f9807621 Bug 5214: remove thread local value instead of setting to null 2020-07-17 09:54:32 +02:00
Thomas Wiese 48553dd249 Bug 5306: Fixing failing bugs because of changed field names 2020-07-16 20:53:12 +02:00
Thomas Wiese 30da221690 Bug 5306: Remove redundant fields from CompetitorJsonSerilialer and from
endpoint docs
2020-07-16 13:57:56 +02:00
Thomas Wiese 2bcc3e20c4 Bug 5214: Resetting the temporary default tenant after executing the
filter chain.
2020-07-13 17:45:40 +02:00
Thomas Wiese 3dead876cb Merge branch 'master' into bug5230
# Conflicts:
#	java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/api/test/RoleApiTest.java
#	java/com.sap.sse.security.ui/src/main/java/com/sap/sse/security/ui/client/UserManagementService.java
#	java/com.sap.sse.security/src/com/sap/sse/security/jaxrs/api/RoleResource.java
2020-07-13 15:35:56 +02:00
Thomas Wiese 5e69832a08 Bug 5214: Reset the temporary default tenant on each request to prevent
ThreadLocal value leaking from older requests
2020-07-08 15:42:49 +02:00
Thomas Wiese 682de80f94 Bug 5214: allow to create users and user groups with the new test api 2020-07-08 11:57:52 +02:00
Thomas Wiese eb056084bc Merge branch 'master' into bug5214 2020-07-08 08:32:32 +02:00
Thomas Wiese 7faffb9ec2 Merge branch 'master' into bug5214 2020-06-30 08:56:27 +02:00
Thomas Wiese 915b7cc211 Merge branch 'master' into bug5270 2020-06-30 08:05:57 +02:00
Thomas Wiese 3806766f5c Merge branch 'master' into bug5270 2020-06-24 11:12:53 +02:00
Thomas Wiese 69e953d971 Bug 5289: updated admin release notes for deprectated fields in
CompetitorJsonSerializer
2020-06-24 08:38:23 +02:00
Thomas Wiese 5effc66657 Bug 4822: Removed deprecated PreferencesResource from
com.sap.sailing.server
2020-06-22 21:52:05 +02:00
Thomas Wiese 5e512acd90 Bug 4822: Removed deprecated UserGroupsResource from
com.sap.sailing.server
2020-06-22 21:45:18 +02:00
Thomas Wiese 2373bb271a Merge branch 'master' of ssh://sapsailing.com/home/trac/git 2020-06-19 12:45:38 +02:00
Thomas Wiese 5e21263811 Bug4822: Updated release notes for deprecated REST usergroups- and
preferences-endpoints
2020-06-19 12:42:35 +02:00
Thomas Wiese 2eec94be7a Merge branch 'bug5289' 2020-06-19 08:48:56 +02:00
Thomas Wiese 6758c22d02 Merge branch 'master' into bug5289 2020-06-18 11:45:08 +02:00
Thomas Wiese 2c699f716c Merge branch 'bug5289' of ssh://sapsailing.com/home/trac/git into bug5289 2020-06-18 11:42:17 +02:00
Thomas Wiese bf54bf050a Bug 5289: updated API docs for
/v1/leaderboards/{leaderboardName}/competitors/{competitorId} for
describing deprecated fields as of using the CompetitorJsonSerializer
2020-06-18 11:15:46 +02:00
Thomas Wiese 5805370dfe Bug 5289: add some more testing to check null value updates 2020-05-29 15:21:28 +02:00
Thomas Wiese a38ea45656 Bug 5289: updated API docs 2020-05-29 15:00:55 +02:00
Thomas Wiese 3905977923 Bug 5289: fixed wrong error message 2020-05-29 14:52:19 +02:00
Thomas Wiese b68bae892e Bug 5289: use CompetitorJsonSerializer on CompetitorsResource 2020-05-29 14:01:48 +02:00
Thomas Wiese d1a8138272 Bug 5289: add sailId to ComeptitorJsonSerializer 2020-05-29 13:55:13 +02:00
Thomas Wiese 7da3eec6da Bug 5289: append json fields from CompetitorsResource.getCompetitorJSON
before replacing this method by using the ComeptitorJsonSerializer
2020-05-29 13:43:52 +02:00
Thomas Wiese e0b3090934 Bug 5289: add some more testing to Competitor API and ad a failing
assert due to json inconsistency of update and get
2020-05-29 11:48:32 +02:00
Thomas Wiese 9e780c53da Bug 5289: Adding competitor update to CompetitorsResource and some first
tests
2020-05-29 01:13:38 +02:00
Thomas Wiese fd54a9fe33 Merge branch 'bug5185' 2020-05-20 12:51:44 +02:00
Thomas Wiese 8227824834 Merge branch 'bug5274' of ssh://sapsailing.com/home/trac/git into bug5274 2020-05-20 10:54:10 +02:00
Thomas Wiese acec3e6cee Bug 5274: removed sysout 2020-05-20 10:52:31 +02:00
Thomas Wiese 065faa8a1d Bug 5270: removed sysout 2020-05-20 10:50:07 +02:00
Thomas Wiese 8e226268ac Bug 5274: Remove unused api test helper 2020-05-20 10:43:10 +02:00
Thomas Wiese 0a4246556d Merge branch 'master' into bug5185 2020-05-20 09:43:22 +02:00
Thomas Wiese 86d894efc3 Revert "Bug 5270: validate role definition name if it is already in use only in in the edit case only if the name has been changed"
This reverts commit 732366d276.
2020-05-20 08:48:30 +02:00
Thomas Wiese 6ba0639dee Bug 5270: Cleaning MongoDb collections of security domain objects on
clear state for running tests with a clean state
2020-05-19 18:36:45 +02:00
Thomas Wiese 52e3fee56c Merge branch 'master' into bug5270
# Conflicts:
#	java/com.sap.sailing.selenium.test/src/com/sap/sailing/selenium/api/test/UserGroupApiTest.java
2020-05-19 09:01:47 +02:00
Thomas Wiese 25ce4e3b79 Merge branch 'master' into bug5185 2020-05-19 08:55:23 +02:00
Thomas Wiese 40a418c23a Merge branch 'master' into bug4822 2020-05-15 21:33:37 +02:00
Thomas Wiese 79d60ede1c Bug 4822: remove @deprecate 2020-05-15 17:16:29 +02:00
Thomas Wiese 08a9dcaa44 Bug 4822: adjusted API documentation for moved group and preferences API 2020-05-15 12:39:06 +02:00
Thomas Wiese 5a18df803b Bug 4822: added bearerToken authorization for new preferences API to
shiro.ini
2020-05-14 16:24:13 +02:00
Thomas Wiese f6db3339e8 Bug 4822: adjusted PreferenceApiTests to new endpoints 2020-05-14 16:19:28 +02:00
Thomas Wiese e593c58b62 Bug 4822: copied endpoints (and marked as deprecated) from
com.sap.sailing.server.gateway.jaxrs.api.PreferencesResource to new
resource class com.sap.sse.security.jaxrs.api.PreferencesResource
2020-05-14 16:11:00 +02:00
Thomas Wiese 840abb4025 Bug 5185: ignoring accidently activated
testDifferentCourseTemplatesWithCommonRolesInRegatta-test
2020-05-14 15:54:55 +02:00
Thomas Wiese f3e6c99384 Bug 4822: adjusted UserGroupApiTests to new endpoints 2020-05-14 15:50:26 +02:00
Thomas Wiese 321a128fbe Bug 4822: copied endpoints (and marked as deprecated) from
com.sap.sailing.server.gateway.jaxrs.api.UserGroupsResource to
com.sap.sse.security.jaxrs.api.UserGroupResource
2020-05-14 12:22:51 +02:00
Thomas Wiese 5772a56ebc Merge branch 'bug4822' of ssh://sapsailing.com/home/trac/git into bug4822 2020-05-14 10:52:40 +02:00
Thomas Wiese d340134c23 Merge branch 'master' into bug4822
# Conflicts:
#	java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/jaxrs/api/UserGroupsResource.java
2020-05-14 10:51:57 +02:00
Thomas Wiese a9d61b46ff Merge branch 'master' into bug5185 2020-05-14 10:23:38 +02:00
Thomas Wiese 5adfc6472a Merge branch 'master' into bug5270 2020-05-14 10:21:23 +02:00
Thomas Wiese ec4c6c23e0 Bug 5270: add test on RoleApiTest to make sure that two roles with the
same name can not be created
2020-04-30 21:19:46 +02:00
Thomas Wiese 00a2a7564e Bug 5270: headless test execution for RoleApiTest and UserGroupApiTest 2020-04-30 21:07:25 +02:00
Thomas Wiese 9d09537040 Bug 5185: Finished tests for course configurations containing mark
properties with positioning
2020-04-28 17:30:18 +02:00
Thomas Wiese 3726f06ded Merge branch 'master' into bug5185
# Conflicts:
#	java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/jaxrs/api/CourseConfigurationResource.java
2020-04-28 09:43:44 +02:00
Thomas Wiese ef4e7f1224 Merge branch 'master' into bug5185 2020-04-24 16:46:14 +02:00
Thomas Wiese 732366d276 Bug 5270: validate role definition name if it is already in use only in
in the edit case only if the name has been changed
2020-04-24 14:20:07 +02:00
Thomas Wiese b30fbe6ac2 Bug 5230: distinguish relevanve of trasitive roles for meta permission
checks and normal permission checks
2020-04-20 18:29:32 +02:00
Thomas Wiese 9e01052816 Bug 5230: implemented naive solution for respecting role transitive
flag on permission checks
2020-04-20 14:18:00 +02:00
Thomas Wiese 121322813d Bug 5230: add role transitive flag to admin console RoleDefinitionPanel 2020-04-20 11:37:08 +02:00
Thomas Wiese c3cf3627dd Bug 5230: fix constructor parameters 2020-04-20 08:40:39 +02:00
Thomas Wiese 2776f8d3aa Bug 5230: add transitive flag to StrippedRoleDefinitonDTO 2020-04-17 17:29:36 +02:00
Thomas Wiese 1155f35d53 Bug 5230: append transitive flag on RoleDefinitionImpl.toString() 2020-04-17 17:16:32 +02:00
Thomas Wiese d8316ae1d1 Bug 5230: treat transitive flag as Boolean on restore from DB 2020-04-17 17:15:33 +02:00
Thomas Wiese eea27f82bd Bug 5230: add api test for creating and updating transitive roles 2020-04-17 14:52:02 +02:00
Thomas Wiese 134471442b Bug 5230: add transitive flag to RoleDefinition 2020-04-17 11:49:12 +02:00
Thomas Wiese 74cb9b3110 Merge branch 'master' into bug5185 2020-04-16 21:01:30 +02:00
Thomas Wiese e06d3d6bfc Merge branch 'bug4822' of ssh://sapsailing.com/home/trac/git into bug4822 2020-04-14 11:10:21 +02:00
Thomas Wiese ce12b903e3 Merge branch 'master' into bug4822 2020-04-14 11:09:35 +02:00
Thomas Wiese 3713cfd986 Bug 4822: add api docs for /usergroups/readable; fixed href of
/usergroups/setDefaultTenantForCurrentServerAndUser
2020-04-09 16:27:11 +02:00
Thomas Wiese 2eb7fe5ea6 Bug 4822: /usergroups/readable: passing username by query paramater
instead of path parameter to allow null for username to get readable
groups of the currently authenticated user
2020-04-09 16:01:36 +02:00
Thomas Wiese 955fb8115c Bug 4822: removed some sysouts 2020-04-09 15:06:06 +02:00
Thomas Wiese 8c0e3e5cb8 Merge branch 'master' into bug5185 2020-04-09 09:21:07 +02:00
Thomas Wiese 4ca9c8311e Bug 5185: Appended testMarkPropertiesWithPositioning for testing
positioning of mark properties (unfinished)
2020-03-31 16:29:34 +02:00
Thomas Wiese f867a2c3c4 Bug 5185: pass empty list for tags instead of null on course creation
for preventing NPE in further processes
2020-03-31 16:24:09 +02:00
Thomas Wiese 9ab15f564a Merge branch 'master' into bug5185 2020-03-30 09:26:30 +02:00
Thomas Wiese 2d3eafb799 Merge branch 'master' into bug5185 2020-03-17 15:19:23 +01:00
Thomas Wiese 2e4f4fffcf Merge branch 'master' into bug5214 2020-03-17 15:16:11 +01:00
Thomas Wiese 774da23e77 Bug 5214: fix test, added a nullcheck and some commenting 2020-03-12 15:20:37 +01:00
Thomas Wiese d6fe7c6f70 Bug 5214: fix nullpointer in unit test 2020-03-12 09:35:16 +01:00
Thomas Wiese c628675417 Merge branch 'master' into bug5214 2020-03-12 09:15:23 +01:00
Thomas Wiese 6fe16d69b7 Bug 5214: make model inner classes of EventApi static and remove sysouts 2020-03-04 23:22:42 +01:00
Thomas Wiese dd579bae02 Bug 5214: API tests for setting divergent tenant on event creation 2020-03-03 15:48:57 +01:00
Thomas Wiese 5deda955db Bug 5214: Added new selenium test API for encapsulating rest api
requests
2020-03-03 15:48:06 +01:00
Thomas Wiese 4f2bd022b4 Merge branch 'master' into bug5214 2020-03-03 13:32:14 +01:00
Thomas Wiese 732d59a840 Merge branch 'master' into bug4822 2020-02-24 15:22:37 +01:00
Thomas Wiese 3932659a13 Bug 4822: add rest api to get roles with READ permission for a user 2020-02-24 15:20:41 +01:00
Thomas Wiese b00369b9e2 Bug 4822: extract usergroup JSON serialization to own method 2020-02-24 10:01:17 +01:00