Axel Uhl
1bc29a9ec0
bug 3452: introducing an applyFilter parameter on DynamicTrackedRace.recordWind, forcing RaceLog-provided wind fixes into the race
...
Change-Id: Ie96ac8537650adb46285ebcc18a91dc70a6f7582
2016-02-02 21:14:43 +01:00
Axel Uhl
dccac572f8
don't add regatta log-provided competitors if no race exists; only collect competitors from race columns
...
Change-Id: Icd2843aba1d374cb3ac55b3575ec22e734ab9ec0
2016-01-30 21:11:44 +01:00
Axel Uhl
c985c18c86
consolidated imports to avoid warnings
...
Change-Id: Ib94311d8c96ba4474d4509010c51ab97f3cd369d
2016-01-30 17:32:23 +01:00
Axel Uhl
d50e1a73fd
added logic and test case for bug 3448: invalidate competitor cache and compute competitors from reagtta log if no race columns exist yet
...
Change-Id: Ica3d9fe0e032cce30389a55f2d1d4ad0fc7cd9bf
2016-01-30 17:19:41 +01:00
Axel Uhl
933c9128db
added forwarding rule for RegattaLogEvent on AbstractSimpleLeaderboardImpl
...
Change-Id: I58758c4b7eb7a589090981383587d709a13f34e6
2016-01-30 15:12:40 +01:00
Axel Uhl
fe1bf844a8
fixing bug 3448: trigger event when regatta log events are added and use to invalidate leaderboard DTO cache
...
Change-Id: Ib4a91d1ab8d58e07a845852cffd0f99d59b29544
2016-01-30 13:24:09 +01:00
Axel Uhl
60d6cbc4c6
caching CompetitorResult objects in a Map<Competitor, CompetitorResult> in DynamicTrackedRaceImpl;
...
this way regular mark passing updates are not troubled by expensive race log look-ups
Change-Id: I2bfe6fcf4eac4a6b9749fb4ea8b549967bc4aeb8
2016-01-22 18:23:37 +01:00
Axel Uhl
c6ca28750d
removed method from DynamicTrackedRace contract that was only used by Impl class
...
Change-Id: I29b462c77de1b13932c31a39e43449b82d651d5c
2016-01-22 16:24:47 +01:00
Axel Uhl
f57aed7de6
Merge branch 'master' into bug3420
...
Conflicts:
java/com.sap.sailing.domain.persistence/src/com/sap/sailing/domain/persistence/impl/FieldNames.java
java/com.sap.sailing.domain.persistence/src/com/sap/sailing/domain/persistence/impl/MongoObjectFactoryImpl.java
Change-Id: I7347ab0c849aa43f08eebca569c884b6986bf6d0
2016-01-22 15:39:16 +01:00
Axel Uhl
35af1394c6
Got the first tests for mark passing update from race log changes running
...
Change-Id: I857191e67ae8e408670832d02f1e1caab42d10a9
2016-01-22 15:15:03 +01:00
Jan Broß
249b01e3df
Merged master into bug2851
2016-01-22 14:18:58 +01:00
Jan Broß
ebd1e9cb81
Improve error message
2016-01-22 10:07:32 +01:00
Jan Broß
ede37ca1bd
Generalize CompetitorDergistrator Analyzer for usage with RaceLogs
2016-01-22 09:00:41 +01:00
Jan Broß
e021c3b446
Introduce RegattaLogAnalyzer for deregistering competitors on RegattaLog
2016-01-22 08:55:19 +01:00
Jan Broß
4852325f7b
Fixes minor typo
2016-01-22 08:36:00 +01:00
Jan Broß
e724c073fe
Removes redundant fetching of marks via DeviceMappings
2016-01-22 08:29:08 +01:00
Axel Uhl
b5e60a0417
factored out commonalities between ESS High Point scoring schemes for act leaderboards
...
Change-Id: I962f12756e1667a53c533bdd95c0f6757cf29349
2016-01-18 18:24:01 +01:00
Axel Uhl
11132b9fa2
factored out commonalities between the two different ESS HighPoint overall scoring schemes
...
Change-Id: Iebaf853057056aad271bc20868d6f08323ea31b4
2016-01-18 18:19:45 +01:00
Axel Uhl
ba9a19c7c6
re-format and comment change only
...
Change-Id: I447224e1cc21eef1034f40665f135b0ec800adf8
2016-01-18 17:51:51 +01:00
Axel Uhl
b488c2608f
Merge branch 'master' into gc32-changes
2016-01-18 17:14:00 +01:00
Axel Uhl
c5f9d0b2a0
validate race competitor registration dialog: it's invalid (not saveable) if the race does not support per-race competitor registrations
...
Change-Id: I683234365c642c40a1ae70cd98b7d491c11af753
2016-01-15 18:04:15 +01:00
Axel Uhl
46e5f927ae
allow user to add any competitor to a RaceLog, not only those registered for the regatta
...
Change-Id: I01d844cb06a6dfaba11b6338a0824e36551f4e08
2016-01-15 17:32:22 +01:00
Axel Uhl
d2aaf40174
replaced decision by exception by a check;
...
CompetitorRegistrationOnRaceLogDisabledException can be avoided usually by a check for isCompetitorRegistrationInRaclogEnabled
Change-Id: I3c2cbe761ba0a36a1a8f21689c774c2943b5556b
2016-01-14 14:40:29 +01:00
Axel Uhl
f451e36b87
re-introduced TrackedRaceImpl.attachRaceLog because TrackedRaceImpl should be responsible for managing its attachedRaceLogs field
...
Change-Id: Idd26a7b71f937ad4e7f22acc8ab427c1db63b405
2016-01-14 12:19:45 +01:00
Axel Uhl
011bb4ddfc
introduced getAllCompetitors() on HasRegattaLike; all implementations already provide it; using it in LeaderboardsResource instead of only looking at RegattaLog
...
Change-Id: Ibdea059c56a5a528583fd5494afa96d6b1e85a86
2016-01-14 12:07:34 +01:00
Axel Uhl
25baa60a15
cleaned up TopLevelMasterData.isMarkMappingEvent
...
Change-Id: I987270de1ca18a68ccef648240aa8c0995f07e71
2016-01-14 11:45:15 +01:00
Axel Uhl
088f1441cc
fixing getAllMarks() and getMarks(Fleet) implementatoins on MetaLeaderboardColumn
...
Change-Id: I320c8a329f76735c066241872a3e73e2e95881ab
2016-01-14 11:39:51 +01:00
Axel Uhl
06fd44ffcd
in CompetitorProviderFromRaceColumnsAndRegattaLike also invalidate caches when a race log no longer provides dedicated competitors for a race
...
Change-Id: I1da92144012c9e7c5e6f437f5d80151281895693
2016-01-14 11:15:43 +01:00
Axel Uhl
42c701df2f
formatting only
...
Change-Id: I0b6e78fcb9363ec2b5764993d1a4c68a9ea715b8
2016-01-13 18:10:40 +01:00
Axel Uhl
cab993170f
harmonized deregisterCompetitor and deRegisterCompetitor naming
...
Change-Id: I9f300d9ffdb37f95a09ef67279ab5bc4cac2b2bb
2016-01-13 18:05:29 +01:00
Axel Uhl
ade6f01323
simple reformat
...
Change-Id: I3761ea48a07f5460397c495da4b6db3f441dfa00
2016-01-13 18:04:27 +01:00
Axel Uhl
5af68c8dcb
fixed FIXME comment formatting
...
Change-Id: I1fb8df525b9099fd99e959ec8c8c9bd5ebb396ab
2016-01-13 17:51:05 +01:00
Axel Uhl
824e9e9872
Javadoc and formatting changes only
...
Change-Id: I0c481239d4e5ae092ff6421152609364ef8014ca
2016-01-13 16:46:54 +01:00
Axel Uhl
73cf0c9472
added NotRevokableException to RaceColumn.disableCompetitorRegistrationOnRaceLog
...
Change-Id: Ifad088dcda292316bb9993092c44b5221c8cfd1d
2016-01-13 15:42:41 +01:00
Axel Uhl
62a1cb8b30
escalate the NotRevokableException on disableCompetitorRegistrationOnRaceLog
...
Change-Id: I068d78761dbc4dd8a0a37374e5f169ec79cee6b1
2016-01-13 15:41:09 +01:00
Axel Uhl
5182ff212a
adjusted Javadoc for RaceColumn.getAllMarks()
...
Change-Id: I820343904d3d9169b05134e5269a823690330756
2016-01-13 15:01:30 +01:00
Axel Uhl
01335c4aa7
removed redundancy between AbstractRaceColumn.getAllCompetitors() and getAllCompetitors(Fleet) by using the latter from the former
...
Change-Id: I8981556c60e3edd786b68a1e214b997f709fc19f
2016-01-13 14:59:36 +01:00
Axel Uhl
7ba94f7895
some clean-up and improvements to Javadocs
...
Change-Id: Idedf1391bebb9ce40692e970180074755e346dad
2016-01-13 14:57:50 +01:00
Axel Uhl
4a6bee544f
enhanced Javadoc
...
Change-Id: I4543650ffe938d549434774b2d49fb229eb99166
2016-01-13 14:46:17 +01:00
Axel Uhl
11da982397
renamed getAllMarks(Fleet) to getMarks(Fleet) because it doesn't deliver *all* marks defined on the column's regatta but only those used in races
...
Change-Id: Ieb2f9697f0a5349797b8c3419a00ea73ec91200e
2016-01-13 14:43:41 +01:00
Axel Uhl
4c400fedb8
in AbstractRaceColumn.getAllMarks add marks from regatta log at most once
...
Change-Id: I69ada9e9bb476cdceaee2c8b084a67ef4290fc73
2016-01-13 14:20:31 +01:00
Axel Uhl
382abdc753
comment changes only
...
Change-Id: Ia66089522900b0e3d3374071ef102a940b33d2fc
2016-01-13 12:08:43 +01:00
Axel Uhl
e6fef6c04f
Merge branch 'master' into bug2851
...
Conflicts:
java/com.sap.sailing.domain/src/com/sap/sailing/domain/leaderboard/impl/FlexibleLeaderboardImpl.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/SailingService.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/SailingServiceAsync.java
Change-Id: Ifd8c60c6f7d2d2274a68681607a1b5df7b4040b7
2016-01-13 09:39:02 +01:00
Axel Uhl
ee2eb970ec
call updated(TimePoint) on a DynamicTrackedRaceImpl for mark fixes which are now assumed to be restricted to the race's tracking duration
...
Change-Id: I8e2ad31d5480922268acf191cc9d1b5f4540f7a3
2016-01-12 18:14:31 +01:00
Simon Pamies
c1f870082e
Added new high point scoring schemes for GC32 scoring based on NOR 1.5 from October 2015
2016-01-11 14:04:22 +01:00
Axel Uhl
8d48a79c12
avoid NPE in DomainFactoryImpl.getStartFinishPlacemarksForTrackedRace
...
Change-Id: I12edc7833a894043be12bc2bbdc51950dca81676
2015-12-23 17:26:13 +01:00
Axel Uhl
ec04b7973e
initialize RaceDefinition's RaceCompetitorSet appropriately
...
Change-Id: I2b56c26c50e08272b83f957df2fa2205d07142ec
2015-12-21 19:22:56 +01:00
Axel Uhl
ebe431f5e8
wired the RaceCompetitorSet stuff to RaceMap; need to test if this works as expected
...
Change-Id: I3306f62454881c366a7a64bd03bebf8d83ff52f9
2015-12-21 18:27:57 +01:00
Jan Broß
a56e32fc9c
Fixes startTime Bug
2015-12-11 16:39:00 +01:00
Jan Broß
2ac564b4e3
Remove failing test, interleaving of multiple RaceLogs when analyzing in TrackedRace no longer necessary, as RegattaLog holds all necessary information and RaceLogs are no more longer analyzed
2015-12-11 16:09:25 +01:00