Commit Graph
177 Commits
Author SHA1 Message Date
Axel Uhl 8f178fed90 whitespace change only 2013-11-05 17:17:45 +01:00
Axel Uhl fe8bd57a19 allow a competitor to be modified through the UpdateCompetitor operation 2013-10-31 18:10:56 +01:00
Axel Uhl 5068f0268a RacingEventServiceImpl now uses PersistentCompetitorStore and loads/stores competitors to DB 2013-10-31 13:21:01 +01:00
Axel Uhl 3da17302f8 removed DomainFactory.INSTANCE use except from test cases; renamed MongoFactory to PersistenceFactory 2013-10-28 17:26:26 +01:00
Fredrik Teschke f7a3f5c8df added competitor persistence; a first attempt to cherry-pick and merge this feature from the cmd-android-tracking branch
Conflicts:

	java/com.sap.sailing.server.gateway.serialization.test/src/com/sap/sailing/server/gateway/serialization/test/racelog/RaceLogCourseDesignChangedEventSerializerTest.java
	java/com.sap.sailing.server.gateway.serialization/src/com/sap/sailing/server/gateway/deserialization/impl/BoatJsonDeserializer.java
	java/com.sap.sailing.server.gateway.serialization/src/com/sap/sailing/server/gateway/deserialization/impl/CompetitorDeserializer.java
	java/com.sap.sailing.server.gateway.serialization/src/com/sap/sailing/server/gateway/deserialization/racelog/impl/RaceLogEventDeserializer.java
	java/com.sap.sailing.server.gateway.serialization/src/com/sap/sailing/server/gateway/serialization/impl/BoatJsonSerializer.java
	java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/tracking/impl/CreateCompetitorPostServlet.java
	java/com.sap.sailing.server/src/com/sap/sailing/server/RacingEventService.java
2013-10-23 10:01:12 +02:00
Axel Uhl e504187f7e fixing bug 1537 by also avoiding duplicate replication of course area additions 2013-10-02 18:05:06 +02:00
Axel Uhl 6283cd916d Merge branch 'master' into bug655 2013-09-25 20:24:03 +02:00
Axel Uhl eed2af9d90 added a failing test case for the NPE during the deserialization of competitor-specific race log events;
The problem is that the competitor ID may not be resolvable in the receiving DomainFactory's competitor cache.
The root cause is that the receiver tries to resolve the race log event in the first place instead of simply
storing the race log event in the RaceLog. The solution will be not to trigger events when storing the race log
events into the RaceLog during master data import.
2013-09-25 20:03:48 +02:00
Axel Uhl cce1c54d5e factored a TimePoint parameter into ScoreCorrection.getMaxPointsReason(...) as well 2013-09-23 17:28:46 +02:00
Axel Uhl 822aff3194 started work on bug 655 by adding TimePoint argument to isScoreCorrected API 2013-09-23 16:11:44 +02:00
fmittag 2fc41f002e refactoring of Webservice API to use JAX-RS as implementation technique
Added versioning for the webservices
2013-08-30 15:50:46 +02:00
Armin Zamani 2df5fc46b9 one missing move of milliseconds timepoint in a race log test, fixed wrong merge conflict resolution 2013-08-20 09:29:00 +02:00
Armin Zamani a139150617 Merge branch 'master' into racecommittee_app 2013-08-18 18:45:03 +02:00
Axel Uhl f1fa1d74f6 moved a few more distance and speed types to domain.common and fixed a grave bug in MeterPerSecondSpeed; added test for improved outlier filtering 2013-08-14 18:00:45 +02:00
Armin Zamani 9e452bd70c Merge branch 'master' into racecommittee_app
Conflicts:
	java/com.sap.sailing.server.gateway.serialization/src/com/sap/sailing/server/gateway/deserialization/impl/WindJsonDeserializer.java
2013-08-13 21:01:20 +02:00
Axel Uhl d7ca5c2413 made tracker stopping after finishing loading a replay race null-safe 2013-08-13 14:50:47 +02:00
Axel Uhl 72c5113ca0 added regattaName to leaderboard group serialization so that all parameters are provided for other race-specific services 2013-08-13 14:49:44 +02:00
Frederik Petersen 98769fe4e5 Fixed small naming error in serializer and added test for overall
leaderboard import
2013-08-13 10:31:08 +02:00
Armin Zamani 41e849bf1e Merge branch 'master' into racecommittee_app 2013-08-12 21:35:42 +02:00
Axel Uhl f9fa0e35a8 fixed NPEs for non-overall leaderboard deserialization 2013-08-12 18:08:18 +02:00
Axel Uhl 8aa47bac1a support master data serialization for overall leaderboards 2013-08-12 17:40:08 +02:00
Simon Pamies d9dd484bd8 Finally fixing the problem with wrong wind inputs by handling Wind.getBearing() as it is meant (direction to where something goes) and reversing() whenever needed in the application (to make sure the UI consistently displays from value) 2013-08-09 19:13:45 +02:00
Armin Zamani 66296ea1e8 Merge branch 'master' into racecommittee_app 2013-08-08 23:30:35 +02:00
Axel Uhl d96988159e reverting commit ecd8cb2d55 which broke test RaceLogWindFixEventSerializerTest 2013-08-07 16:44:05 +02:00
Armin Zamani 068e26d571 Merge branch 'racecommittee_app' into racecommittee_app_loaders 2013-08-02 01:47:09 +02:00
Simon Pamies ecd8cb2d55 Fixed an important bug in the racecomittee app: Wind is input by chosing
a "from" value but sent to the server by using a bearing.
2013-08-01 22:40:37 +02:00
Lukas Niemeier 3e903e2a27 renamed CourseDataDeserializer to CourseBaseDeserializer 2013-07-31 00:41:10 +02:00
Axel Uhl 2b5034f1b5 made master data export robust against non-existing race log 2013-07-24 13:07:59 +02:00
Axel Uhl 72dcfa0f48 added hasGpsData and hasWindData to leaderboardgroup and regatta JSON RESTlet; still missing from samples 2013-07-24 12:30:01 +02:00
Frederik Petersen e3d69d4da1 Factor is now exported for race column in master data importer 2013-07-10 11:15:25 +02:00
Frederik Petersen 109d4357f4 Score corrections are now only exported if there are score is corrected 2013-07-10 11:03:40 +02:00
Frederik Petersen 11fde9eb09 Added test and fixes for media track export/import 2013-07-04 08:35:05 +02:00
Frederik Petersen f10b2b52cb Added de/serializer for media tracks for master data import
also extracted the top entry functionality of the importer into a
designated object.
2013-07-04 07:49:43 +02:00
Frederik Petersen 54a7c12646 Fixed course area null pointer for regatta 2013-07-03 10:49:56 +02:00
Frederik Petersen b8093660ee Fixed NPE for master data import if default course area == null 2013-07-03 10:36:19 +02:00
Frederik Petersen a0e85006b5 Added serialization for PersistentRegattaForRaceIDs map to master data
import
2013-07-03 09:30:34 +02:00
Axel Uhl edb9bb0103 harmonized race column export/import so that also for regatta series the RaceIdentifiers are transmitted 2013-07-03 00:01:36 +02:00
Axel Uhl b39a496572 added race identifiers to race column export/import so that they are preserved across export/import 2013-07-02 22:35:25 +02:00
Axel Uhl 4b6a6975b3 preserve order of leaderboards in leaderboard group during import 2013-07-02 21:51:50 +02:00
Axel Uhl 1ce4b1596a fixed another NPE in deserializer for nationality 2013-07-02 17:58:32 +02:00
Frederik Petersen b9f0da6b1c Nationality serializer and deserializer now check for null value 2013-07-02 17:53:00 +02:00
Frederik Petersen 3f068e0917 Renamed MasterDataSerializerForNames 2013-07-02 09:49:12 +02:00
Frederik Petersen 5963984323 Merge branch 'master' into import_dbdata
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.java
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.properties
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_de.properties
2013-06-29 10:46:20 +02:00
Frederik Petersen 18d5ca2fca Added race log import to master data import service
also tested that feature
2013-06-29 10:34:22 +02:00
Frederik Petersen b6643c3f51 Added master data import functionality for competitor display names and
suppressed competitors

-test covered
2013-06-28 13:09:41 +02:00
Frederik Petersen 90cf250c0f Added score correction import per dummy tracked race
-also carried points import
2013-06-28 11:39:58 +02:00
Frederik Petersen 724fc0709d Added isLive flag to series json serializer
returns true if tracked race is live
returns false if there is no tracked race, or current time is not between
start and end of race
2013-06-27 14:06:12 +02:00
Frederik Petersen 94fa7a46f3 Added serialization of carried points to master data export 2013-06-27 10:42:47 +02:00
Frederik Petersen b3c4ba5ed5 Added import functionality for score corrections
used in master data import tab

used a hack to create score corrections without having any real tracked
races to add competitors to leaderboard:

the importer sets a temporary dummy trackedrace to get the competitors
into the leaderboard, so that the score corrections can be loaded
2013-06-27 10:03:59 +02:00
Frederik Petersen ff837d78b2 Moved master data container classes to designated package 2013-06-24 12:29:17 +02:00