Commit Graph
305 Commits
Author SHA1 Message Date
Thomas Wiese 8e226268ac Bug 5274: Remove unused api test helper 2020-05-20 10:43:10 +02:00
Axel Uhl 02bae1e095 bug3465: fixed Event API test after switching /regattas output from courseAreaId to courseAreaIds incompatibly 2020-05-09 12:49:37 +02:00
Axel Uhl 967f2d7def bug3465: many more areas where many course areas are now supported for Leaderboard and Regatta 2020-05-07 18:16:10 +02:00
Axel Uhl 7fa577ece4 make sure the DummyCompetitorsResource has the correct racingEventService set 2020-04-28 18:34:04 +02:00
Axel Uhl e1c745886c fixed SecurityResourceTest regarding StreamingOutput usage 2020-04-28 18:21:31 +02:00
Axel Uhl bf9ade1a4d fixed plain REST tests so they cope with StreamingOutput responses 2020-04-28 10:29:29 +02:00
Axel Uhl 6e1a042001 bug5219: introduced the isAutoRestartTrackingUponCompetitorSetChange() flag on Regatta 2020-04-15 18:10:03 +02:00
Axel Uhl f8b17d55cc fixed tests for score correction API 2020-02-17 20:01:28 +01:00
Axel Uhl 88d45aa9dd added parameter "allowPartialImport" 2020-02-13 16:06:14 +01:00
Axel Uhl 883568223e bug4881: starting to wire the score upload 2020-02-13 09:26:13 +01:00
Axel Uhl d1184428fa bug4881: added a few TODOs and added Leaderboard.mapRegattaScoreCorrections 2020-02-07 18:32:03 +01:00
Axel Uhl 2e3c6dd892 bug4881: preliminary REST support for upload and importer and leaderboard selection; first simple test 2020-02-07 16:58:19 +01:00
Axel Uhl 445b6f6126 fixed problem with TimeRangeImpl constructor for time points beyond EndOfTime 2020-01-09 16:57:03 +01:00
Steffen Schaefer 9ec1e4c0a7 Merge branch 'master' into bug5085
Conflicts:
	java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/trackfiles/impl/ExpeditionCourseInferrer.java
2019-12-11 10:03:57 +01:00
Axel Uhl 5476c9f4c4 fixed one Expedition test; still one broken test 2019-12-10 10:37:43 +01:00
Steffen Schaefer 12f29d4cbb Merge branch 'master' into bug5085 2019-08-01 07:56:19 +02:00
Axel Uhl 1a3337fb73 Merge branch 'master' into bug5106
Change-Id: I31ffc41dc6480a39f20a94b0352cbbf8244f289f
2019-07-30 17:12:21 +02:00
Steffen Schaefer d184b8d4b9 Merge branch 'master' into bug5085 2019-07-29 14:22:01 +02:00
Steffen Schaefer b88a48ed84 Merge branch 'master' into bug5085 2019-07-29 10:17:19 +02:00
Axel Uhl a85da965be bug5106: starting to introduce parameter indicating Boat/Competitor was loaded from DB 2019-07-28 14:45:53 +02:00
Steffen Schaefer 55f9a2667a Merge branch 'master' into bug5099
Conflicts:
	java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/jaxrs/api/AbstractLeaderboardsResource.java
2019-07-25 15:52:28 +02:00
Steffen Schaefer 98da99a437 Bug 5099: Improved test setup 2019-07-25 15:49:34 +02:00
Steffen Schaefer 3d6a6a6d5d Bug 5097: Extended test case to verify sharding context in leaderboard
response
2019-07-24 08:43:49 +02:00
Steffen Schaefer 01c42f8883 Bug 5099: Added test case for setting explicit scoring scheme, ranking
metric and discard indices
2019-07-23 14:07:44 +02:00
Steffen Schaefer 4c49351994 Bug 5099: Added leaderboardDiscardThresholds parameter to createEvent
endpoint
2019-07-23 13:21:50 +02:00
Steffen Schaefer fc58c5dc49 Bug 5099: Added scoringScheme parameter to createEvent endpoint 2019-07-23 11:05:59 +02:00
Steffen Schaefer 7b85ff4a73 Bug 5099: Added rankingMetric parameter to createEvent endpoint 2019-07-23 11:05:27 +02:00
Axel Uhl 1b8c31c302 Moved coursetemplate package to android.shared; bug 5061 mark short name support started
Change-Id: Iebfa1e06fe177c9d04823b064428c46164372e07
2019-07-04 10:09:48 +02:00
Axel Uhl 6facaa1745 added competitorAndBoatIdsOnly to both leaderboard end points
Change-Id: I4950bfbd49d2a8c0cb7d33bd3ef58bcb02f4c2ad
2019-05-29 09:57:45 +02:00
Axel Uhl 89e8bef9c8 Revert "removed PluginNature from our OSGi bundles; they are not Eclipse plugins";
according to https://bugs.eclipse.org/bugs/show_bug.cgi?id=544977#c21 the
scenario of using the ManifestBuilder without setting the PluginNature is
not a supported scenario. Besides, it doesn't help to get rid of the new
Eclipse warning regarding non-exported packages.

This reverts commit 063484e29f.
2019-05-28 21:54:20 +02:00
Axel Uhl 063484e29f removed PluginNature from our OSGi bundles; they are not Eclipse plugins 2019-05-27 22:53:30 +02:00
Axel Uhl 61876871fd bug4987: added per-file permission management to FileStorageService impls
Change-Id: I2b04ae8ee9e31e06661857bf7470a1a112a0ac42
2019-04-10 22:14:27 +02:00
Steffen Schaefer b5fa47d455 Bug 4943: Implemented authentication via secret for API
/api/v1/leaderboards/{name}/marks/{id}/gps_fixes
2019-03-28 14:11:01 +01:00
Steffen Schaefer f586bae784 Implemented secret based permission check for competitor team image
upload
2019-03-25 10:47:30 +01:00
Axel Uhl c391698047 fixed checkout test, now requiring a secret parameter
Change-Id: I34bfd84d9a6613c8c7395efa32be24d8e2d8a2b6
2019-03-20 16:10:44 +01:00
Steffen Schaefer 7348ee1665 Currently deactivated CompetitorRegistrationType OPEN_MODERATED. The
support for this type isn't available yet, which means we do not want
users to select it by now.
2019-03-12 15:22:49 +01:00
Steffen Schaefer 5a9e086958 Replaced ActionWithResult with Callable 2019-03-07 13:21:57 +01:00
Kai Börnert c23d7afca2 added more checks and secret exceptions based on QRScanRequest document
from dlabs
2019-03-07 10:46:56 +01:00
Kai Börnert 3f356cd35f added intial version of secret+leaderboardname apis 2019-03-04 18:29:13 +01:00
Kai Börnert b70819fef5 skip permissionchecks for getLeaderboard Rest-API, if the correct
regatta-secret is given, and the leaderboard is a regattaleaderboard
2019-02-28 15:49:42 +01:00
Kai Börnert e0394be935 added ability to use regattasecret to get the base regatta data from the
REST-API
2019-02-28 14:22:27 +01:00
Kai Börnert 17d5a285b5 made regattaSecret no longer optional, for the old code paths without a
secret, a UUID.random().toString() is used
2019-02-21 16:17:07 +01:00
Steffen Schaefer 465d0fcb33 Implemented two variants of checkin/checkout test basedo n permissions
and based on a secret.
2019-02-19 11:30:18 +01:00
Steffen Schaefer f1bce79592 Moved several classes from com.sap.sse.security to
com.sap.sse.security.interface to allow
com.sap.sse.security.userstore.mongodb to to depend on
com.sap.sse.security anymore
2019-02-14 08:27:28 +01:00
Thomas Wiese 475356f8b8 Merge branch 'permission-vertical' into bug4813
# Conflicts:
#	java/com.sap.sailing.domain.swisstimingadapter.persistence/src/com/sap/sailing/domain/swisstimingadapter/persistence/impl/SwissTimingAdapterPersistenceImpl.java
#	java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/jaxrs/api/EventsResource.java
2018-12-18 13:32:12 +01:00
Thomas Wiese 30fd1965a3 bug 4813: fixed some gwt problems 2018-12-17 18:51:41 +01:00
Thomas Wiese a387055f95 bug 4813: building the identifier for permissions checks is now be done
by supporting a TypeRelativeObjectIdentifer object that has to be built
by domain objects
2018-12-17 15:49:44 +01:00
Steffen Schaefer 1e00d2d194 Merge branch 'master' into permission-vertical
# Conflicts:
#	java/com.sap.sailing.domain.persistence/META-INF/MANIFEST.MF
#	java/com.sap.sailing.domain.racelogtrackingadapter/META-INF/MANIFEST.MF
#	java/com.sap.sailing.domain.swisstimingadapter.persistence/META-INF/MANIFEST.MF
#	java/com.sap.sailing.domain.swisstimingadapter.persistence/src/com/sap/sailing/domain/swisstimingadapter/persistence/impl/SwissTimingAdapterPersistenceImpl.java
#	java/com.sap.sailing.domain.swisstimingadapter.test/META-INF/MANIFEST.MF
#	java/com.sap.sailing.domain.tractracadapter.persistence/META-INF/MANIFEST.MF
#	java/com.sap.sailing.domain.tractracadapter.persistence/src/com/sap/sailing/domain/tractracadapter/persistence/impl/MongoObjectFactoryImpl.java
#	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/DataMiningServiceImpl.java
#	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java
#	java/com.sap.sailing.polars.datamining/META-INF/MANIFEST.MF
#	java/com.sap.sailing.server.gateway.test/src/com/sap/sailing/server/gateway/test/jaxrs/AbstractJaxRsApiTest.java
#	java/com.sap.sailing.server.interface/src/com/sap/sailing/server/interfaces/RacingEventService.java
#	java/com.sap.sailing.server.replication.test/META-INF/MANIFEST.MF
#	java/com.sap.sailing.server.replication.test/src/com/sap/sailing/server/replication/test/TrackRaceReplicationTest.java
#	java/com.sap.sailing.server.test/src/com/sap/sailing/server/test/TaggingServiceTest.java
#	java/com.sap.sailing.server.testsupport/META-INF/MANIFEST.MF
#	java/com.sap.sailing.server/META-INF/MANIFEST.MF
#	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/Activator.java
#	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
#	java/com.sap.sailing.server/src/com/sap/sailing/server/tagging/TaggingServiceImpl.java
#	java/com.sap.sse.mail.replication.testsupport/src/com/sap/sse/mail/replication/testsupport/AbstractMailServiceReplicationTest.java
#	java/com.sap.sse.security.test/META-INF/MANIFEST.MF
#	java/com.sap.sse.security.test/src/com/sap/sse/security/jaxrs/api/SecurityResourceTest.java
#	java/com.sap.sse.security.test/src/com/sap/sse/security/test/UserStoreWithPersistenceTest.java
#	java/com.sap.sse.security.userstore.mongodb/META-INF/MANIFEST.MF
#	java/com.sap.sse.security.userstore.mongodb/src/com/sap/sse/security/userstore/mongodb/MongoObjectFactory.java
#	java/com.sap.sse.security.userstore.mongodb/src/com/sap/sse/security/userstore/mongodb/impl/DomainObjectFactoryImpl.java
#	java/com.sap.sse.security.userstore.mongodb/src/com/sap/sse/security/userstore/mongodb/impl/MongoObjectFactoryImpl.java
#	java/com.sap.sse.security/src/com/sap/sse/security/impl/SecurityServiceImpl.java
2018-12-17 14:36:37 +01:00
Axel Uhl 72bc50fc0d move RacingEventService into a separate com.sap.sailing.server.interface bundle
Change-Id: Ib75bf6a46be9eaf2d9ccfad85832a3be8a7686be
2018-12-14 23:56:24 +01:00
Thomas Wiese 69707bb14f bug 4813: make sure that typerelativeidentifer is running trough
corresponding convert method on object creation
2018-12-12 13:21:41 +01:00