Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl be2ba389f6 trying to fix bug 771 by checking the boat fix for null before accessing 2012-10-02 16:02:42 +02:00
Axel Uhl 3c30ed9433 Merge remote-tracking branch 'server/master' 2012-06-15 17:29:23 +02:00
Axel Uhl 88267d2256 ignoring new test that fails in OSGi environment due to class loading exceptions; need to get prod1 up... 2012-06-15 17:27:51 +02:00
Axel Uhl 9c0f734ba6 Merge remote-tracking branch 'server/master' 2012-06-15 14:03:25 +02:00
Axel Uhl a5fc4a0492 extracted serializable class to ensure it's found in an OSGi setup 2012-06-15 14:00:25 +02:00
Axel Uhl c70927eed0 added a test case for bug 769 which fails without the previous fix and now passes 2012-06-15 10:33:52 +02:00
Axel Uhl 89289ff0e5 added isCorrected to LeaderboardJsonExport for entries 2012-06-15 09:46:34 +02:00
Axel Uhl eb7a8f4050 clear server state entirely before starting to import initial load;
particularly registering the replica service for tracked race additions in order to auto-link them
to leaderboards causes trouble if the server state is not cleared before. Replicated tracked races may
then get auto-linked to old leaderboards and regattas in the server that happen to point to races with
equal RaceIdentifiers.

Also, it is important to become tolerant against a non-existing default leaderboard which doesn't exist
yet when tracked races are imported. The default leaderboard will be replicated together with other
leaderboards.
2012-06-15 01:43:07 +02:00
Axel Uhl d7ca838eb6 added com.sap.sailing.persistence to the dependencies of com.sap.sailing.server.replication; fixed class loading
During replication initial load a ClassNotFoundException was thrown because DelayedLeaderboardScoreCorrections
wasn't found. One problem was that obviously the Thread's context class loader set from getClass().getClassLoader()
was "only" the default class loader, not knowing about the OSGi bundle dependencies. Furthermore, the replication
bundle did not have a dependency on the domain.persistence bundle.
2012-06-15 00:14:38 +02:00
Axel Uhl 72446ef372 Merge remote-tracking branch 'server/master' 2012-06-14 22:45:56 +02:00
Axel Uhl 53e4c62814 use competitor now introduced in mark passing events instead of relying on a MarkPassing to be in the list 2012-06-14 22:21:12 +02:00
Axel Uhl 63ab846f0d added competitor to change notification about mark passing events 2012-06-14 22:20:38 +02:00
Axel Uhl d3bd984cbe fixing bug 766: not serializing TrackedRaceRegistry / RacingEventService 2012-06-14 20:11:03 +02:00
Axel Uhl 2d12468859 Merge remote-tracking branch 'server/master' 2012-06-14 12:00:50 +02:00
Axel Uhl 29071e60d3 added boat class names to RaceRecord(DTO) and show in TracTracEventManagementPanel 2012-06-14 11:59:34 +02:00
Axel Uhl 7a45607b50 distinguish between NONE and "" for MaxPointsReason drop-down in editable leaderboard 2012-06-13 23:45:30 +02:00
Axel Uhl deb81f5636 manage busy indicator during leaderboard score correction editing 2012-06-13 23:34:25 +02:00
Axel Uhl 7841243dff added failing test case and fix for parse failure for 20% and 30% score corrections which now become ZFP 2012-06-13 18:41:19 +02:00
Axel Uhl 3e6a01b806 added logging to kiworesultimport activator 2012-06-13 18:15:41 +02:00
Axel Uhl 1829258ebe added YES 2012 official results for Kieler Woche import tests 2012-06-13 18:15:27 +02:00
Axel Uhl 3a3fe68680 avoid NPE in client in case a regatta has a null boat class 2012-06-13 17:51:28 +02:00
Axel Uhl c602d97b8d introduced GIT_DIR variable in install script to support cloned git repositories more easily 2012-06-13 15:54:45 +02:00
Axel Uhl 1861c32f78 avoid expensive calls to getResult() by not firing events when setting/unsetting checkboxes 2012-06-13 15:12:56 +02:00
Axel Uhl f47769c81d avoid NPE in case competitor's sail ID isn't found, e.g., for Cam boat 2012-06-13 14:43:15 +02:00
Axel Uhl 9ffd96f606 turned Pair into Triple for result of max points score correction update to also return whether score is corrected 2012-06-13 14:20:37 +02:00
Axel Uhl 4279f9583e request bulk leaderboard score correction update when dialog is confirmed 2012-06-13 13:44:44 +02:00
Axel Uhl 1939fd6f9d avoid NPE in fleet comparison if one competitor (e.g., "Cam" boat) doesn't have a fleet set 2012-06-13 13:30:49 +02:00
Axel Uhl 718d0be68f assembling result object in official score import dialog; implemented bulk score correction update service 2012-06-13 13:02:44 +02:00
Axel Uhl a1a7b1dbe9 made ScoreCorrectionProvider GWT-compliant; let checkboxes update popup grid 2012-06-13 12:02:31 +02:00
Axel Uhl db96da1c2b shows the grid with official results mapped to tracked results in the popup dialog 2012-06-13 11:37:19 +02:00
Axel Uhl 020bd88e47 preparing race and competitor selection through checkboxes 2012-06-13 10:01:12 +02:00
Axel Uhl 9d38255659 import also from more than one <verteilung> tag from official results 2012-06-13 09:30:30 +02:00
Axel Uhl e65efa42fb started with mapping of official results to leaderboard entries 2012-06-12 17:12:51 +02:00
Axel Uhl 5b72601de5 official scores pass to assignment dialog and need to be displayed / selected now 2012-06-12 15:42:24 +02:00
Axel Uhl 51ddc5eac5 Merge remote-tracking branch 'server/master' 2012-06-12 14:47:33 +02:00
Axel Uhl dd0e4b7a69 renamed a few classes around official result importing; added ScoreCorrections interfaces and b+m-based impls 2012-06-12 14:45:50 +02:00
Axel Uhl 72faf2e17d eliminated unused variable in Xcelsiusadapter 2012-06-12 10:32:56 +02:00
Axel Uhl c3feb3c61f added missing file 2012-06-12 10:31:53 +02:00
Axel Uhl 26e2d97a10 Merge remote-tracking branch 'origin/master' 2012-06-12 10:13:10 +02:00
Axel Uhl ca4f5856cd added stuff for official score import 2012-06-12 10:12:54 +02:00
Axel Uhl bdabc71cf2 support more three-letter acronyms as "MaxPointsReason" although the model will need to become more intelligent;
"MaxPointsReason" is the wrong name meanwhile because some of the literals denote rules according to which
a competitor gets a percentage of the uncorrected score added on top, or even a "redress" which is a reimbursement
improving the uncorrected score.
2012-06-12 09:31:08 +02:00
Axel Uhl b0e9a7cb16 added missing ScoringCorrections interface 2012-06-12 09:01:52 +02:00
Axel Uhl 8dbc3e43f9 fetching the correct ScoreCorrectionProvider in SailingService
Still need to define ScoreCorrectionDTO, ScoreCorrections APIs and implement createScoreCorrectionDTO.
Also, consider better naming since ScoreCorrection is somehow taken by the Leaderboard stuff.
2012-06-12 01:32:47 +02:00
Axel Uhl 676c9db607 working towards displaying official scores for import 2012-06-12 01:27:42 +02:00
Axel Uhl f86fb54321 removed color output from Regatta panel 2012-06-12 00:37:06 +02:00
Axel Uhl 7cb30704d9 added missing ScoreCorrectionProvider interface 2012-06-12 00:16:17 +02:00
Axel Uhl a4f3f9209e fixed byg 754 by using LinkedHashMap; working towards import of Kieler Woche official results; still with warnings 2012-06-12 00:06:12 +02:00
Axel Uhl 43f763080c steps towards registering b+m result service as OSGi service and grabbing it to deliver results from SailingService 2012-06-11 22:07:48 +02:00
Axel Uhl 75d1e00500 added Color.toString() 2012-06-11 20:31:31 +02:00
Axel Uhl 98f5d626ff Merge remote-tracking branch 'server/master' 2012-06-11 20:08:17 +02:00
Axel Uhl 65e3807923 refactored fleetName : String to FleetDTO in RaceColumnDTO 2012-06-11 20:05:38 +02:00
Axel Uhl 69f162fa0c pull zoom control to top 2012-06-11 17:25:17 +02:00
Axel Uhl 2b58081e38 fixing bug 749: discard thresholds must be filled from left to right 2012-06-11 15:41:09 +02:00
Axel Uhl f5543b7212 avoid NPE in case a regatta for a regatta leaderboard cannot be found 2012-06-11 13:33:39 +02:00
Axel Uhl 67f4e357fb Merge remote-tracking branch 'server/master' 2012-06-11 13:26:05 +02:00
Axel Uhl a7b413653c again on bug 700: clone leg list in TrackedRace.getTrackedLegs() and synchronize 2012-06-11 13:25:18 +02:00
Axel Uhl 51c228ae36 Merge remote-tracking branch 'server/master' 2012-06-11 13:19:30 +02:00
Axel Uhl d72f25f06a made getLegs() synchronized on CourseImpl to protect the copying of the legs collection 2012-06-11 13:18:45 +02:00
Axel Uhl 8faddc3808 fixing bug 700 by returning a copied list instead of an unmodifiable wrapper 2012-06-11 12:09:02 +02:00
Axel Uhl aa4bacbf8f fixed NPE bug 748 2012-06-11 11:41:00 +02:00
Axel Uhl cc7ec98b70 added a <div> element in Leaderboard panel to create bottom style 2012-06-11 10:47:54 +02:00
Axel Uhl ba0c1254bf renamed EventStructureManagementPanel to RegattaStructureManagementPanel 2012-06-11 10:23:22 +02:00
Axel Uhl 407ce5921e fixed StringMessages 2012-06-11 10:22:21 +02:00
Axel Uhl 7a4f530134 enhanced series creation dialog behavior 2012-06-11 10:17:45 +02:00
Axel Uhl c85060108c fixing bug 746: deadlock during scheduling wind estimation cache invalidation 2012-06-11 10:17:08 +02:00
Axel Uhl 1573be58b2 fatter underscore for fleet marker 2012-06-10 23:48:47 +02:00
Axel Uhl c06e1d08df added test case for bug 740 2012-06-10 23:21:00 +02:00
Axel Uhl 040ae01d45 fixed comparison of medal race participants; fixed storage of regatta assignment by adding upsrt=true 2012-06-10 23:08:41 +02:00
Axel Uhl 394362230a fixed bug 739 by using trackedRegatta.getRegatta() instead of getOrCreateDefaultRegatta on TracTrac DomainFactory 2012-06-10 22:24:01 +02:00
Axel Uhl 99ec0c0528 Merge remote-tracking branch 'server/master' 2012-06-10 21:12:45 +02:00
Axel Uhl 427f8306cb added and rudimentarily tested a colored underline in leaderboard if fleet specified 2012-06-10 21:08:02 +02:00
Axel Uhl a74977a829 added Fleet(DTO) to leaderboard entry, preparing for fleet display in leaderboard 2012-06-10 13:58:33 +02:00
Axel Uhl 210ac6ee18 Merge remote-tracking branch 'server/master' 2012-06-09 23:05:14 +02:00
Axel Uhl 4087c52a21 sort races output of RegattaSummary in ascending race number order 2012-06-09 23:04:50 +02:00
Axel Uhl 57d397b3a9 removed dead BreadCrumbPanel code 2012-06-09 10:12:03 +02:00
Axel Uhl 3bce3616e0 added summary views on top of Kieler Woche b+m result system import 2012-06-09 00:23:24 +02:00
Axel Uhl 58bac5939d simplifications of Kieler Woche result model; working towards alignment with our Leaderboard structures 2012-06-08 23:01:18 +02:00
Axel Uhl 8fb8781a88 drop Regatta collection explicitly before starting SwissTiming tests 2012-06-08 20:56:17 +02:00
Axel Uhl dbecebf452 eliminated "Verteilung" 2012-06-08 20:31:30 +02:00
Axel Uhl b07cce6b3c reverted DB dropping scheme again; was still failing on Linux 2012-06-08 17:57:15 +02:00
Axel Uhl 7820daeeb6 added missing Start/StartImpl classes 2012-06-08 17:38:04 +02:00
Axel Uhl ac52b8e616 Merge remote-tracking branch 'server/master' 2012-06-08 17:35:46 +02:00
Axel Uhl ddadb8b18e added explicit dropping for LEADERBOARD and REGATTAS collections again because it still fails on Linux 2012-06-08 17:34:58 +02:00
Axel Uhl 8163acb1f2 first test for analyzing a ZIP file coming from Kieler Woche 2012-06-08 17:09:42 +02:00
Axel Uhl c41cef4c6f extend wailing interval after dropping collections a little 2012-06-08 17:04:58 +02:00
Axel Uhl 36b79c844b added status ("MaxPointsReason") to Race in Kieler Woche result service 2012-06-08 16:59:30 +02:00
Axel Uhl 09d747e763 added test case for empty ISAF ID 2012-06-08 16:50:07 +02:00
Axel Uhl 2d2faa9daa Merge remote-tracking branch 'server/master' 2012-06-08 16:43:01 +02:00
Axel Uhl 7eff7f4804 added sample ZIP file for Kieler Woche b+m regatta management system output 2012-06-08 16:41:47 +02:00
Axel Uhl 7dac50551f reduces wait time again in wind store test case 2012-06-08 16:38:03 +02:00
Axel Uhl af44ac39e2 drop wind test collection explicitly 2012-06-08 16:30:42 +02:00
Axel Uhl 88e126374c drop only those DBs whose names we have in CollectionNames 2012-06-08 16:02:37 +02:00
Axel Uhl d51250ee51 Merge remote-tracking branch 'server/master' 2012-06-08 15:36:41 +02:00
Axel Uhl 9cff6a1e23 changed dropping routine such that not DB.dropDatabase() is used (doesn't work reliably) but drop() on collection 2012-06-08 15:35:46 +02:00
Axel Uhl 56a69bb949 added parsing of date/time to Kieler Woche result list 2012-06-08 15:33:15 +02:00
Axel Uhl 6cc7c39db6 successful test of most raw parsed Kieler Woche result list attributes 2012-06-08 15:24:34 +02:00
Axel Uhl 33b4ecb9cd dropping DB after obtaining it; removed drop() calls for individual collections in test cases 2012-06-08 15:18:46 +02:00
Axel Uhl 8940c4b27e first draft of Kieler Woche official result importer which parses all fields / tags found in the examples 2012-06-08 15:12:11 +02:00
Axel Uhl def1682d81 Merge remote-tracking branch 'server/master' 2012-06-08 15:05:57 +02:00
Axel Uhl b0ab6a36e4 dropping REGATTA collection too for test case initialization 2012-06-08 15:05:10 +02:00