Simon Pamies
dfbc263ffb
Revert "This course update logic is a mess. Making now sure to read the course at first. This is only a quick fix and I hate doing it..."
...
This reverts commit 13626b2ed1 .
2013-07-28 11:31:41 +01:00
Simon Pamies
13626b2ed1
This course update logic is a mess. Making now sure to read the course at first. This is only a quick fix and I hate doing it...
2013-07-28 10:52:38 +01:00
Simon Pamies
580a65ee47
Fixed a nasty bug where names of marks were not matching the ones
...
configured in the TracTrac administration console. This bug hit the
racecommittee hard because creation of a course has been almost
impossible.
The solution is to make sure that single marks are created before the
corresponding gate. This avoids having strangely named marks created
upon gate initialization.
This commit also introduces hashCode for all mark and gate related
implementation. This is to ensure that only the Id is hashed because
this is the only really reliable base for object identity. It also
matches the semantics of getOrCreateMark(Serializable id).
2013-07-27 23:10:49 +01:00
Simon Pamies
8b7bb2b665
Extended logging for course update
2013-07-25 16:25:25 +01:00
Axel Uhl
cc7ff58bf8
avoid warning by consolidating imports
2013-07-24 17:46:16 +02:00
Axel Uhl
b4a8575d74
made polling of clientparams.php robust also against NPEs which may occur when connection is unavailable and the course is being analyzed
2013-07-24 16:32:16 +02:00
Axel Uhl
c0b2bf601e
fixed loading of static mark positions for REPLAY races by first creating the TrackedRace, then updating the static mark positions
...
Previously, the tracking was most likely stopped before the 30s interval for re-loading the clientparams.php / .txt expired
which then led to the update of the static mark positions. This caused static marks to have no position at all, breaking
many assumptions.
2013-07-23 23:21:37 +02:00
Axel Uhl
9b2a022ef4
determine storedURI and liveURI per race to be tracked; when a DataController signals "stopped", the tracker is stopped
2013-07-13 00:06:50 +02:00
Axel Uhl
98e3376e2f
removed obsolete import
2013-07-12 18:33:56 +02:00
Axel Uhl
742891d289
fixed issue with uninitialized status for replay races
2013-07-12 17:09:28 +02:00
Axel Uhl
062f5d341d
don't fetch clientparams.php or .txt version before TracTracRaceTrackerImpl.regatta has been set
2013-07-12 17:06:17 +02:00
Axel Uhl
ccdd4aac6d
a first, entirely untested, proposal for how a course could be created from the clientparams.php data
2013-07-12 16:58:38 +02:00
Axel Uhl
9dde028a89
preparing for enabling competitor creation from ClientParamsPHP.Competitor data
2013-07-12 15:28:09 +02:00
Axel Uhl
5a0375e69f
added support for fetching competitors from clientparams.php
2013-07-12 14:53:41 +02:00
Axel Uhl
f639bd6410
moved slideline metadata parsing to MetadataParser; one test case currently failing due to wrong live-uri expectation
2013-07-12 12:11:11 +02:00
Axel Uhl
c1ec12b4e3
factored out the metadata parsing logic into MetadataParser[Impl]
2013-07-12 11:49:59 +02:00
Axel Uhl
90200e2760
harmonized the way in which race and event data is read from clientparams.php format
2013-07-12 10:52:54 +02:00
Axel Uhl
9238f46039
made TracTrac storedURI construction more robust against future change
2013-07-11 18:10:13 +02:00
Axel Uhl
1e382629b4
started to understand the TracTrac REPLAY mode better; force synchronous load of clientparams.php once, fixing bug 1345
2013-07-11 17:48:50 +02:00
Axel Uhl
e310e55158
fixed logic with hanging tests in AbstractReceiverWithQueue.stopAfterNotReceivingEventsForSomeTime
2013-07-09 15:25:18 +02:00
Axel Uhl
71c5282e1c
yet improved logging for stopping of TracTrac receivers which now and then simply seems to block
2013-07-09 15:18:08 +02:00
Axel Uhl
f55259574e
improved javadoc formatting
2013-07-04 00:43:13 +02:00
Axel Uhl
50c0996dff
switched from using Polyline to using Polygon for sidelines so that we support more than two marks as a sideline in general
2013-07-03 20:39:58 +02:00
fmittag
e0e4614751
initial version of sideline support (server side and drawing on map)
...
so far only sidelines modeled as gate are supported
2013-07-01 18:42:42 +02:00
Axel Uhl
a79af78835
removed unused properties from RaceRecord
2013-06-26 19:34:36 +02:00
Axel Uhl
49a7d7e761
factored the creation of RaceRecord objects
2013-06-26 19:21:18 +02:00
Simon Pamies
39f28f80a7
Revamped the logic for reading TracTrac race list: Now the loading of the race list does no longer read clientparams.php, it is read upon tracking start
2013-06-26 19:08:59 +02:00
Simon Pamies
166325d51d
Also logging race name for makr position receiver
2013-06-26 15:24:59 +02:00
Simon Pamies
9d1c025125
Fixed NPE
2013-06-26 10:57:52 +02:00
Simon Pamies
2207fd8122
Extended logging
2013-06-26 10:34:40 +02:00
Axel Uhl
6dcd3e56ce
log exception if nationality is not known
2013-06-21 17:03:59 +02:00
Axel Uhl
63812212da
catch the IllegalArgumentException thrown when an unknown nationality is given for a competitor and leave nationality null;
...
made all uses of getNationality() null-safe.
Conflicts:
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/spectator/LeaderboardGroupPanel.java
2013-06-21 16:49:27 +02:00
Armin Zamani
ff78131aa6
Changed TrackedRace to handle a set of CourseDesignChangedListeners and call all of them when the course design changed
2013-05-27 17:04:48 +02:00
Axel Uhl
0d648230ea
whitespace change only; removed redundant empty lines
2013-05-27 13:39:05 +02:00
Simon Pamies
6b2f6e3699
Added a new option for TracTrac race listing. In the clientparams.php
...
there is alos a status of the race that makes it easier to check which
races really need to be loaded. HIDDEN races are races that had never
been used.
2013-05-04 19:28:51 +08:00
Axel Uhl
14162b61f8
added exception logging for connecting to the clientparams.php URL during assembly of the TracTrac RaceRecord objects
2013-05-01 16:49:03 +02:00
Axel Uhl
6a88218258
fixing nationality problem by keying team and person with TracTrac competitor ID in our caches
2013-04-29 13:23:03 +02:00
Axel Uhl
9cfe44389e
assuming ControlPoint's P1.UUID and P2.UUID to be the result of java.util.UUID.toString() that parse using UUID.fromString();
...
This has been confirmed by Jorge from TracTrac in a Skype message on 2013-04-22T10:55:00+02
2013-04-22 10:57:27 +02:00
Axel Uhl
1a45e1f1da
understand P1.UUID and P2.UUID meta-tags on TracTrac ControlPoint to identify the buoys of which a line/gate is combined
2013-04-22 10:48:49 +02:00
Axel Uhl
c448b37eb1
don't delete queued events in TracTrac connector when Stop Tracking is applied (don't preemptively clear the queues)
2013-04-18 13:02:50 +02:00
Armin Zamani
fba0517ac5
Changed score correction comment to look more official by the Race
...
Committee, refactored code in course update handler, added more logging
regarding the result of the course update
2013-04-13 11:50:16 +08:00
Armin Zamani
502a15d0a5
Changed getTrackedRegatta.getRegatta.getId to the tractrac event id,
...
given by getTracTracEvent
2013-04-12 16:40:49 +08:00
Armin Zamani
b501d1ca6f
Merge branch 'racecommittee_integrated' of
...
ssh://armin@sapsailing.com/home/trac/git into racecommittee_integrated
Conflicts:
java/com.sap.sailing.domain/src/com/sap/sailing/domain/leaderboard/impl/AbstractSimpleLeaderboardImpl.java
2013-04-11 00:28:12 +02:00
Armin Zamani
931d2fe98e
Implemented the throughput of the TracTrac user name and password from
...
the AdminConsole to the CourseDesignChangeHandler in the TracTrac
adapter
2013-04-03 20:33:26 +02:00
Armin Zamani
8b7f8d15c4
added TracTrac username and password to TracTracEventManagementPanel in
...
the Admin Console
2013-04-03 19:29:32 +02:00
Armin Zamani
b7630be286
Revert for security implementation
2013-04-03 16:52:40 +02:00
Armin Zamani
e046153580
Worked on encryption for the course update
2013-04-03 15:05:01 +02:00
Armin Zamani
72e5f53f39
first implementation step towards security for the parameters of the
...
Course update url
2013-04-02 19:25:07 +02:00
Armin Zamani
ac1acc6d18
Merge branch 'master' into racecommittee_integrated
...
Conflicts:
java/com.sap.sailing.domain.tractracadapter.persistence/src/com/sap/sailing/domain/tractracadapter/persistence/impl/DomainObjectFactoryImpl.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/LeaderboardConfigPanel.java
2013-04-01 01:01:12 +02:00
Simon Pamies
5e2ccfdd10
Don't fill logs with messages that are not needed in production
2013-03-29 18:50:54 +01:00