Commit Graph
72 Commits
Author SHA1 Message Date
fmittag 2e0bcaa63d Merge remote-tracking branch 'origin/master' 2012-06-06 18:59:09 +02:00
fmittag 7975291d48 finished basic creation of regattas with series and fleets etc. 2012-06-06 18:58:58 +02:00
Axel Uhl 937da4ecc6 first regatta leaderboard store/load test successful 2012-06-06 15:39:29 +02:00
Axel Uhl f7d897f6e7 a first careful test case for storing/loading RegattaLeaderboard through RacingEventService 2012-06-06 15:14:39 +02:00
Axel Uhl 2d479ff039 fixed initialization order in SeriesImpl; first mock for RegattaLeaderboard loading 2012-06-06 14:25:14 +02:00
Axel Uhl a5eadc8888 extracted the delayed logic from FlexibleLeaderboardWithDelayed... into DelayedLeaderboardCorrection hierarchy
Introduced RaceColumnListener pattern throughout; leaderboards manage such listeners; DelayedLeaderboardCorrection
is one and applys its left-overs whenever a new TrackedRace appears
2012-06-06 14:05:06 +02:00
Axel Uhl 68444cad22 introduced RegattaLeaderboard interface; prepared for RegattaLeaderboard persistence, see bug 636 2012-06-05 18:00:58 +02:00
Axel Uhl 2d7815978b added TrackedRegattaRegistry as argument to SeriesImpl constructor and refactored all usages accordingly 2012-06-05 16:31:57 +02:00
Axel Uhl e964d4b77b added persistence for "specific" regattas in RacingEventServiceImpl 2012-06-05 15:35:25 +02:00
Axel Uhl eb6a1e6214 added replication capabilities for Regatta / Series manipulation 2012-06-05 13:23:05 +02:00
Axel Uhl bb48b4a227 moved knowledge about which boat classes may not always start upwind to base domain factory 2012-06-05 10:45:21 +02:00
fmittag 7612fbdec5 added some methods to manage events and regattas as part of the events 2012-06-01 17:48:16 +02:00
Axel Uhl 4c4cea5e99 pass score comparator into leaderboard 2012-05-25 15:33:36 +02:00
Axel Uhl 0fc25d3834 removed isOrderedFleets() from Series; fleet ordering now by making Fleet extend Comparable<Fleet> 2012-05-23 20:58:52 +02:00
Axel Uhl c808180226 started to implement Series/Fleets-based ordering rules in leaderboard implementations 2012-05-23 18:23:28 +02:00
Axel Uhl 81fd84e08e first tiny successful test for storing / loading regatta 2012-05-22 11:28:27 +02:00
Axel Uhl abf1166429 added some code to support storing/loading of Regatta/Series/Fleet/RaceColumn 2012-05-22 10:28:14 +02:00
Axel Uhl bd1780ee25 started work on Event/Regatta persistence 2012-05-21 18:15:23 +02:00
Axel Uhl fe061a04cd fixed leaderboard MongoDB test which was using the wrong fleet for a lookup in the loaded results 2012-05-21 16:58:49 +02:00
Axel Uhl 9c6fcc0830 added the necessary creation of a default fleet for legacy RaceColumns in leaderboard loading from Mongo;
added error message and robust handling in case a second RaceColumn by the same name is to be added to a
leaderboard; this may happen under rare and erroneous circumstances, probably during replication issues,
but shall not kill the replica. Also, fixed de-selection of tracked race after refactoring with fleets
2012-05-21 16:12:48 +02:00
Axel Uhl d77053c8a0 fixed storage for fleet-specific race identifiers in leaderboard persistence; fixed NPE 2012-05-16 15:29:41 +02:00
Axel Uhl 1a56d4147f some renames towards FlexibleLeaderboard and RaceColumn instead of RaceInLeaderboard stuff 2012-05-16 15:11:31 +02:00
Axel Uhl 029d0a05b0 all non-UI packages compile 2012-05-15 17:59:29 +02:00
Axel Uhl 9ec35c8bab uncompilable interims state, trying to refactor Leaderboard/FlexibleLeaderboard and RaceColumn to understand Fleets 2012-05-15 16:29:38 +02:00
Axel Uhl 45e61f3edb renamed RaceInLeaderboardImpl to RaceColumnImpl to make consistent with renamed RaceColumn interface 2012-05-15 10:43:23 +02:00
Axel Uhl fb6163f508 added a few placeholder interfaces for the concepts requested by bug 620, 624, 629. 2012-05-14 17:33:15 +02:00
Axel Uhl bd94677e2d renamed more "...event..." variables and parameters to "...regatta..." 2012-05-14 14:58:48 +02:00
Axel Uhl 81e24391f7 text search/replace for eventName and trackedEvent to regattaName and trackedRegatta 2012-05-14 14:30:24 +02:00
Axel Uhl 2799b7c287 renaming all trackedEvent occurrences to trackedRegatta 2012-05-14 14:23:39 +02:00
Axel Uhl 28ad1dbad2 renaming Event to Regatta; still missing many parameter and local variable names 2012-05-14 14:22:12 +02:00
Axel Uhl 6d90db6d92 moved leaderboard impl back to hidden package; deserialization (bug 595) still seems to work ok 2012-05-07 17:43:30 +02:00
Axel Uhl ab3aeaa8c4 trying to solve bug 595, temporarily moved LeaderboardImplWithDelayedCarriedPoints to exported package 2012-05-07 11:42:26 +02:00
Axel Uhl 4039a27538 added failing test case for bug 593 (replicate wind tracks loaded from Mongo) 2012-05-05 19:00:02 +02:00
Axel Uhl 2f2901355c true local replication test case that creates a leaderboard which is replicated automatically 2012-05-03 00:26:01 +02:00
Axel Uhl 5c29b9c771 fixed other calls to getOrCreateWindTrack by introducing a variant that doesn't require a delay argument 2012-04-25 23:00:46 +02:00
Axel Uhl d53c576b42 fixed test cases that require 0 cache invalidation timeout 2012-04-25 22:50:12 +02:00
Axel Uhl 2c85825214 fixed serialization of an entire RacingEventService with loaded races to the degree that it doesn't crash anymore 2012-04-25 21:54:15 +02:00
Axel Uhl b4fb3c460a added remaining leaderboard manipulation operations 2012-04-19 10:14:57 +02:00
Axel Uhl 598bb96720 made more classes serializable; a first serialization / deserialization test for a GPSFixTrack now works 2012-04-18 13:04:22 +02:00
Axel Uhl d4be211589 made most domain objects serializable 2012-04-17 17:32:08 +02:00
Axel Uhl 4b8f009418 pass-through argument for wind estimation cache invalidation to fix test cases by setting delay to 0 2012-03-17 00:00:05 +01:00
Axel Uhl f672125de9 distinguish whether or not to use a wind source's speed; provide human-readable wind source names 2012-03-12 16:56:17 +01:00
Axel Uhl 6051b3a972 ensure the presence of an index in WIND_TRACKS by event name 2012-03-09 23:40:18 +01:00
Axel Uhl d5ae513261 working towards solving bug 382; introduced default base confidences per WindSourceType 2012-03-09 12:20:54 +01:00
Axel Uhl 59d049042d working towards solving bug 374; Wind records are now written and read with their optional source ID 2012-03-07 09:06:52 +01:00
Axel Uhl cc009ff5c1 trying to load persistent wind tracks during construction of TrackedRaceImpl; untested 2012-03-06 18:01:47 +01:00
Axel Uhl 69a67b6f15 fixed NPE in MongoDB adapter when loading wind fixes without position specification 2012-02-29 13:07:14 +01:00
Axel Uhl 767289f284 avoid explicit cast to Double in Mongo persistence adapters; cast to Number instead and use doubleValue();
this should fix issues with wind databases after export/import where it seems that an exported even double
value is imported again as an Integer object instead of the Double that it originally was written as.
2012-02-29 00:18:09 +01:00
Lennart Hensler 24e419f6e9 Added java doc to leaderboard group specific methods 2012-02-20 15:43:41 +01:00
Lennart Hensler 2b6db845ca Improved query for getting ungrouped leaderboards 2012-01-27 11:52:27 +01:00