Commit Graph
568 Commits
Author SHA1 Message Date
Lukas Niemeier ad41f2e80c Merge branch 'master' into racecommittee_app
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/SailingServiceAsync.java
	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
	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
2013-11-20 11:37:40 +01:00
Frederik Petersen a988003d15 Moved central windstore into racingeventservice
also removed addRace and addEvent services from legacy adminapp
2013-11-20 09:02:55 +01:00
Nick Klose b0fc14872e Merge branch 'master' into mark-rounding-inference
Conflicts:
	java/com.sap.sailing.gwt.ui/SailingGWT.launch
2013-11-18 10:30:34 +01:00
Axel Uhl d4bbeb5db7 stop TracTrac controller in a separate thread to avoid getting affected by a deadlock in TracTrac's TTCM 2013-11-15 19:17:02 +01:00
Nick Klose 1fc03bbc9f Merge branch 'master' into mark-rounding-inference 2013-11-15 14:32:36 +01:00
Axel Uhl 6618e9e7f9 minor performance tweak for storedDataProgress; removed redundant throwing of InterruptedException 2013-11-14 23:29:15 +01:00
Simon Pamies 5a3b0830f3 Make sure that update uri always ends with a slash 2013-11-14 19:09:45 -02:00
Simon Pamies ca527bc0e6 Trying to recover gracefully from endless recursion that sometimes can happen with TracTrac DataController 2013-11-14 19:03:53 -02:00
Axel Uhl 2a0aa86c17 made logging of TracTrac TTCM progress events more verbose, adding the URLs/URIs to the log output, for cases where races are not yet known 2013-11-14 13:44:02 +01:00
Simon Pamies f4a5aab6cc Reverted a5b5c2e40f - didn't read the
introduction properly - bug 1345 still holds as we're not talking about
FINISHED state but a TRACKING state that does not properly indicates
that there could be still data missing.
2013-11-13 16:30:29 -02:00
Simon Pamies 6d1254aedc No longer stopping all trackers because we can not reliably check if
we're in an infiinite loop of stored data - just logging for debugging
purpose
2013-11-13 16:24:09 -02:00
Simon Pamies 2d73f8186f Making sure that we only check for repeating pattern if the progress is
bigger than 0.0 as lastStatus also contains the status of the last
finished race
2013-11-13 16:15:33 -02:00
Simon Pamies 513bf91673 Also throwing an exception to make sure flow is interrupted and problem can be handled 2013-11-13 16:06:13 -02:00
Simon Pamies 15715a3e7e It should never happen that the loading progress decreases over time.
But this happens and seems to be a bug in the TracAPI when loading many
races concurrently. The only possible fix on our side is to stop the
trackers for this race and notify the user.
2013-11-13 16:03:37 -02:00
Simon Pamies a5b5c2e40f Speeding up loading of races by removing fix for bug 1345 as the problem described there no longer holds as races no longer are put in state FINISHED automagically 2013-11-13 15:48:51 -02:00
Simon Pamies 2841dec7d7 Added the possibility of caching stored race data - helps when internet connection is very slow and races have been loaded before 2013-11-13 15:10:44 -02:00
Axel Uhl 4b53da214d fetch start time from TracTrac into startTimeReceived; tolerate null values for start line / finish line 2013-11-13 18:09:13 +01:00
Nick Klose 9f3855e621 Merge branch 'master' into mark-rounding-inference
Conflicts:
	java/com.sap.sailing.domain.persistence/src/com/sap/sailing/domain/persistence/impl/DomainObjectFactoryImpl.java
	java/com.sap.sailing.domain.persistence/src/com/sap/sailing/domain/persistence/impl/MongoObjectFactoryImpl.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/base/impl/DomainFactoryImpl.java
	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
	mobile/com.sap.sailing.racecommittee.app/src/com/sap/sailing/racecommittee/app/domain/impl/DomainFactoryImpl.java
2013-11-11 13:59:39 +01:00
Lukas Niemeier dac0fd3494 # added SharedDomainFactoryImpl implementing SharedDomainFactory
# DomainFactoryImpl extends SharedDomainFactoryImpl (code reuse)
# Split SharedDomainFactory and CompetitorStore interfaces (no more forwarding)
2013-11-11 03:40:09 +01:00
Nick Klose b22961015a Continued refactoring for PassingInstructions 2013-11-07 11:55:30 +01:00
Axel Uhl 6af681ca0f reload option works now that the team's nationality is updated upon reload 2013-11-07 10:50:57 +01:00
Nick Klose b8e2351bbd Merge branch 'master' into mark-rounding-inference
Conflicts:
	java/com.sap.sailing.domain.tractracadapter/src/com/sap/sailing/domain/tractracadapter/impl/TracTracRaceTrackerImpl.java
	java/com.sap.sailing.gwt.ui/SailingGWT.launch
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages.java
2013-11-06 16:10:41 +01:00
Nick Klose bc96fdf15a Fixed PassingInstructions going into Database 2013-11-05 17:06:42 +01:00
Nick Klose dedc137e7d Started merge of PassingInstructions and RoundingDirections 2013-11-05 10:00:52 +01:00
Nick Klose 8540a7081b Finished ControlPointWithTwoMarks 2013-11-04 14:40:59 +01:00
Axel Uhl 918a3184a0 Merge branch 'master' into persistentCompetitors 2013-11-04 10:34:30 +01:00
Axel Uhl 826096dec9 made clientparams.php parser robust against no race found 2013-11-04 10:24:18 +01:00
Axel Uhl 2dd110de56 try to parse clientparams.php properties only if a valid race is found in the document 2013-11-04 08:38:21 +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 9bd2b71efa made CompetitorStore serializable 2013-10-30 11:42:37 +01:00
Axel Uhl 596b7476f3 DOESN'T COMPILE: started major refactoring NauticalSide-->PassingInstructions for Waypoint; please complete 2013-10-29 17:58:15 +01:00
Axel Uhl fae59cac79 Introduced CompetitorStore with a transient implementation being used for now in DomainFactoryImpl;
RacingEventServiceImpl already has a PersistentCompetitorStore that will then have to be injected into the
DomainFactoryImpl used by RacingEventServiceImpl
2013-10-29 11:45:31 +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
Axel Uhl d86ef87132 fixed server tests where the refactoring of TracTrac API calls hadn't correctly passed the TrackerManager along 2013-10-24 18:26:07 +02:00
Axel Uhl 49b8aaa505 actually removed bundle dependency from server to tractracadapter 2013-10-24 15:39:31 +02:00
Axel Uhl e053f76f8b first compilable version after moving TracTrac specifics away from server bundle 2013-10-24 15:37:08 +02:00
Axel Uhl 9228d5d82b fixed tracked race status update for TracTrac adapter when stopping tracker 2013-09-25 21:03:52 +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 4484473961 fixing bug 1517 by not automatically stopping the tracker upon storedDataEnd/stopped callbacks 2013-09-18 15:38:32 +02:00
Axel Uhl 976d6d540e don't update a TracTrac race's status once it has reached FINISHED status;
this keeps late storedDataProgress messages to update a status that already reached FINISHED
2013-09-13 16:05:23 +02:00
Axel Uhl 272c18b2cf avoid duplicate RaceDefinition creation when pollClientParamsPHP and RaceCourseReceiver collide 2013-09-13 14:38:44 +02:00
Axel Uhl 43559c2fd2 removed redundant synchronization 2013-09-13 13:12:22 +02:00
Axel Uhl 75b42afcff stopping the tracker after receiving the stopped() callback through TTCM; Receivers are stopped non-preemtively 2013-09-13 12:25:31 +02:00
Axel Uhl c0204b58ff using non-preemptive stopping of receivers in TracTracTrackerImpl to make sure all data received is delivered; see also bug 1517 2013-09-12 17:09:54 +02:00
Axel Uhl b80c354174 Fixing bug 1497 by not adding the toolbar panel to the main panel in all cases 2013-09-11 16:28:13 +02:00
Axel Uhl 1d6739b230 made windStore in Simulator final to ensure proper initialization 2013-09-11 15:37:26 +02:00
Simon Pamies f2555bb8c3 Nulling liveURI for races in REPLAY mode - that prevents replayed races to connect to obsolete ports or servers 2013-08-23 19:30:11 +01:00
Simon Pamies a642c73021 More logging for course updates 2013-08-23 14:31:30 +01:00
Simon Pamies fb9071366e Changing the logic of stopping a race - only putting the real stop process into the thread in order to avoid having useless threads 2013-08-22 16:29:42 +02:00
Simon Pamies a8d01c3492 Moving stop race action after all data has been received to a separate thread so that it does not block other operations while loading many races 2013-08-22 16:05:30 +02:00