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
Simon Pamies
3598bd8ca1
Adding loading progress indicator to message to make debugging easier
2013-08-22 15:40:59 +02:00
Simon Pamies
dc7c7a2a03
Not stopping a race until it has really received all data
2013-08-22 15:39:48 +02:00
Simon Pamies
62af15d8ef
Fixed url handling
2013-08-17 17:38:12 +02:00
Simon Pamies
ae2ab0856e
Changed naming
2013-08-17 17:17:48 +02:00
Simon Pamies
f90f175abd
Added active indicator
2013-08-17 16:49:32 +02:00
Simon Pamies
ad332b86a4
Changing the name of the update uri variable
2013-08-17 16:44:55 +02:00
Simon Pamies
d36852b547
Revamped update logic for TracTrac updates, added a StartTime update handler that connects to TracTrac and sets start time
2013-08-16 16:36:10 +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
Axel Uhl
d7496df0b1
terminate a TracTracRaceTrackerImpl properly when it has no live-uri and has loaded all stored data;
...
this frees up the resources consumed by the clientParamsPHP poller automatically, relieving the admin
2013-08-13 10:51:58 +02:00
Axel Uhl
5fcd0f29f2
reverted the splitting of mark / gate names along "-" as it is not reliable; reverts commits 71207dd6a0 and 403803b8fc
2013-08-07 16:06:12 +02:00
Simon Pamies
71207dd6a0
Now also supporting the old format and still extracting the right names
2013-07-28 12:28:09 +01:00
Simon Pamies
368265c30e
Fixing the nasty bug with strange buoy names the right way: TracTrac now produces a property called P[1,2].Name that can be read by the MetadataParser. This fixes the bug without having to introduce that much magic (that also broke many other things)
2013-07-28 12:22:44 +01:00
Simon Pamies
b6abbd31cb
Revert "Fixed a nasty bug where names of marks were not matching the ones"
...
This reverts commit 580a65ee47 .
2013-07-28 11:53:42 +01:00