Axel Uhl
88215764a5
use SwissTiming race UUID as RaceDefinition ID
2014-05-13 01:26:15 +02:00
Axel Uhl
b4c2202fd4
see bug 171, comment #2 ; introducing a random delay as a workaround for mass-loading of SwissTiming races
2014-05-13 00:06:58 +02:00
Axel Uhl
e39836cdb3
working on old bug 171; when one connection in a whole series fails, subsequent connections were affected; resolved these dependencies
2014-05-12 23:45:33 +02:00
Axel Uhl
b1ff618eef
fixed more NPEs in context of bug 1947
2014-05-12 22:00:14 +02:00
Axel Uhl
ebbd963847
trying to fix bug 1947 (NPE with RaceLogTrackingState when there is no RaceLog attached to a column)
2014-05-12 21:28:47 +02:00
Axel Uhl
b531218338
In racelog tracking wiki, described how to obtain the GPSFixStore into which to deliver the GPS fixes when creating an adapter
2014-05-11 22:11:59 +00:00
Axel Uhl
3082e3a0ea
Honored the merge of ftes-rltracking into master in racelog tracking Wiki
2014-05-11 21:42:47 +00:00
Axel Uhl
e8806ea55c
change the Bundesliga high point scoring scheme to use no interpolation
2014-05-08 15:37:03 +02:00
Axel Uhl
caf1140444
Merge branch 'bug1923'
2014-05-08 15:03:37 +02:00
Axel Uhl
d7fc9d8056
for bug 1946, started to implement the HighPointWinnerGetsSixLastGetsOneOthersAreInterpolated scoring scheme for the Bundesliga 2014
2014-05-08 15:02:25 +02:00
Axel Uhl
4d38870c9e
removed obsolete comment
2014-05-08 13:11:03 +02:00
Axel Uhl
6bda5a92e5
fixing the bug noted in comment #3 of bug 1923 related to the potentially incorrect clearing of scheduledRefreshInterval; now cleanly subtracting the interval refreshed
2014-05-08 11:32:25 +02:00
Axel Uhl
bb085e2f23
use ConcurrentWeakHashMap in LockUtil to reduce amount of synchronization required, particularly for the reading case
2014-05-08 10:58:58 +02:00
Axel Uhl
e4fe19f164
first test for concurrent weak hash map that tests purging
2014-05-08 10:39:26 +02:00
Axel Uhl
5753845ef7
a first working test showing that put and get basically work on ConcurrentWeakHashMap
2014-05-08 10:10:48 +02:00
Axel Uhl
5ec3e0f21c
a first implementation of a concurrent and weak hash map
2014-05-08 09:55:52 +02:00
Axel Uhl
7d977e600c
In LockUtil use WeakHashMap<Thread, ...> to ensure that threads can be garbage collected with all their local variables and everything! Use Mockito.reset().
2014-05-08 01:03:12 +02:00
Axel Uhl
b33035c00c
Merge branch 'master' into bug1923
2014-05-08 00:34:08 +02:00
Axel Uhl
929353267f
at another place, let removeFromCache do the unregistration of competitor observers
2014-05-08 00:25:26 +02:00
Axel Uhl
57b0f4b98d
let de-registration of competitor change listener get done by removeFromCache
2014-05-08 00:16:55 +02:00
Axel Uhl
1dd02519a3
fixed de-registration of competitor listener in leaderboard cache manager
2014-05-08 00:04:09 +02:00
Axel Uhl
e0f0cfd556
unified how the leaderboard cache manager's competitor change listener is applied to the leaderboard's competitors
2014-05-07 23:52:54 +02:00
Axel Uhl
48cb36ab60
apply competitor listener pattern to leaderboard caching infrastructure; competitor change will invalidate leaderboard cache
2014-05-07 23:42:23 +02:00
Axel Uhl
dc688e857e
added tests for competitor change listener / observer pattern in conjunction with serialization
2014-05-07 23:08:25 +02:00
Axel Uhl
7ca425d4a2
added observer pattern for Competitor, Team, Boat and Person
2014-05-07 22:57:27 +02:00
Axel Uhl
ad4ce750c8
fixing bug 1945 (empty (null) color not allowed in competitor edit dialog); empty field means null
2014-05-07 21:34:58 +02:00
Axel Uhl
6c776062f5
preparing to clean up the Mockito memory leak mess
2014-05-07 21:34:23 +02:00
Axel Uhl
16b57cdaf0
added Bundesliga 2013 to event list in index.html
2014-05-07 17:53:22 +02:00
Axel Uhl
518cdbb0c5
save a nested lock for write during GPSFixTrackImpl.add
2014-05-07 17:47:21 +02:00
Axel Uhl
4eaec1564c
ignore the heavy-load test in WindEstimationLockingUnderLoadTest for now to see if it has an impact on other tests and their locking behavior (resources?)
2014-05-07 17:34:17 +02:00
Axel Uhl
dd40ce933f
log readers only if there are readers
2014-05-07 17:08:19 +02:00
Axel Uhl
7376f8be14
Merge branch 'master' into bug1923
2014-05-07 16:25:05 +02:00
Axel Uhl
ebcba5cebd
Merge remote-tracking branch 'server/master'
2014-05-07 16:24:10 +02:00
Axel Uhl
96e7ed6923
addressing bug 1923's comment #8 by acquiring the write lock for scheduledRefreshIntervalLock only if the interval needs to be extended
2014-05-07 16:02:23 +02:00
Axel Uhl
90a3e110b4
fixed production of reader/writer stack traces in LockUtil
2014-05-07 15:44:39 +02:00
Axel Uhl
00ebcfa613
capture stack traces in LockUtil more quickly, before assembling messages, to better reflect the situation when the lock couldn't be acquired
2014-05-07 10:38:30 +02:00
Axel Uhl
3278e4dc5e
wrote a release notes entry about the distance to line figure w.r.t the tracker position and the distance usually being a few meters too much
2014-05-07 10:23:25 +02:00
Axel Uhl
5296425be5
Merge branch 'master' into bug1923
2014-05-07 00:07:04 +02:00
Axel Uhl
4732f7119c
Merge remote-tracking branch 'server/master'
2014-05-07 00:06:59 +02:00
Axel Uhl
b0d019937c
Merge remote-tracking branch 'server/master' into bug1923
2014-05-07 00:04:47 +02:00
Axel Uhl
29f86eb4e4
reduced the number of simulated wind fixes for the locking / concurrency test of the estimator
2014-05-06 21:41:03 +02:00
Axel Uhl
91242646df
reduced reader thread count to match branch bug1923_broken
2014-05-06 18:23:41 +02:00
Axel Uhl
fd5804a253
split locks in TrackBasedEstimationWindTrackImpl into one for refresh interval and another for cache
2014-05-06 18:00:30 +02:00
Axel Uhl
220aad7129
the WindEstimationLockingUnderLoadTest.testAddingManyWindFixesWhileReadingLikeCrazy method can reproduce the locking issues
2014-05-06 14:56:59 +02:00
Axel Uhl
32f8b65d3f
a first test for the locking issues in wind estimation based on mocking a tracked race
2014-05-06 12:10:38 +02:00
Axel Uhl
4cb4793ed2
Merge remote-tracking branch 'server/master' into bug1923
2014-05-06 10:55:44 +02:00
Axel Uhl
934aa4c680
updated a few comments
2014-05-06 10:48:32 +02:00
Axel Uhl
2a93120425
whitespace change only
2014-05-06 10:48:11 +02:00
Axel Uhl
94ebd72a31
Merge branch 'signed-xte-export'
2014-05-05 16:43:14 +02:00
Axel Uhl
2ef7eac718
removed dangerous Igtimi hack property and the no longer required persistentcompetitors.clear property
2014-05-05 09:59:05 +02:00
Axel Uhl
d44d63ec85
Merge remote-tracking branch 'server/master'
2014-05-01 19:59:20 +02:00
Axel Uhl
8427256510
updated static documents to reflect the ESS40 2014 Qingdao act
2014-05-01 19:54:00 +02:00
Axel Uhl
17a90dcfee
Minor typos in racelog tracking wiki document
2014-05-01 17:19:07 +00:00
Axel Uhl
e54fc9e516
still working on bug 1925: introduced yet another parameter to SailingService.getAverageWindInfo that tells whether to do a best effort or require sensor data
2014-05-01 19:03:42 +02:00
Axel Uhl
452cd5fd47
Merge branch 'bug1924'
2014-05-01 15:40:47 +02:00
Axel Uhl
1beb3151f7
Merge remote-tracking branch 'server/master'
2014-05-01 15:40:04 +02:00
Axel Uhl
2df730efad
to fix bug 1925, removed constraing in SailingServiceImpl.getAverageWindInfo to deliver wind fixes only if they are older than the time point of newest event;
...
See bug 1925; mainly, the problem seems to be that with an aggressive delay in live mode it can happen regularly that the client is posing
a request for wind data that is a bit newer than the newest event at that time for the current TrackedRace. In this case, although we would
extrapolate the tails, the wind display and advantage line would disappear, leading to a quite confusing flickering.
2014-05-01 15:32:26 +02:00
Axel Uhl
e990da28b1
fixed the before/after factors; had them swapped accidentally. Now movement looks good, also in replay, forward and backward, including rotation/bearing interpolation
2014-05-01 12:56:34 +02:00
Axel Uhl
386da3b6e3
fixed package naming and put scalablevalue packages into domain.common's GWT module descriptor
2014-05-01 12:18:17 +02:00
Axel Uhl
af0adbf4a3
moved Scalable* to domain.common to be able to use it also in GWT bundles
2014-05-01 12:02:41 +02:00
Axel Uhl
1cad500ecc
interpolate speed and position linearly instead of only taking middle; bearing is still using the middle
2014-05-01 11:36:45 +02:00
Axel Uhl
f91188f3f2
upgraded android-support-v4.jar to release 19
2014-05-01 11:26:51 +02:00
Axel Uhl
8d449b7e76
fixed mail reporting of instance name, IP and DNS name
2014-05-01 00:44:15 +02:00
Axel Uhl
6661f2d1a8
Added hint for clearing env.sh when generating a new EC2 image
2014-04-30 16:03:57 +00:00
Axel Uhl
5414fa65f4
Merge remote branch 'origin/master'
2014-04-30 14:41:01 +00:00
Axel Uhl
169cb2ae1e
added boot script sailing that is linked from /etc/init.d
2014-04-30 14:40:34 +00:00
Axel Uhl
7e179161e5
Described the process of creating a new EC2 AMI for an upgrade of the sailing server infrastructure.
2014-04-30 10:10:08 +00:00
EC2 Server
0380718afe
reload env.sh at the right places after installing an environment
2014-04-29 23:28:00 +00:00
Axel Uhl
f310648238
define DEPLOY_TO=server in default env.sh; this way, no convoluted setting of the default is necessary in refreshInstance.sh
2014-04-30 01:18:08 +02:00
EC2 Server
b57b4967f6
working on bug 1917 by refactoring the auto-install feature regarding the EC2 user data take-over
2014-04-29 23:14:46 +00:00
Axel Uhl
2c2f945b6d
trying to fix bug 1917 by separating the steps of reading EC2 user data, applying it and appending it to env.sh
2014-04-29 23:58:46 +02:00
Axel Uhl
597a820e10
Merge remote-tracking branch 'server/master'
2014-04-29 23:48:35 +02:00
Axel Uhl
2f4c50ae4b
fixed field name for signed cross-track error
2014-04-29 22:31:56 +02:00
Axel Uhl
533e2f1b23
export signed XTE in XML export
2014-04-29 22:17:30 +02:00
Axel Uhl
e1a7ba30f6
fixed release notes and message strings regarding race XTE only referring to upwind legs
2014-04-29 22:08:03 +02:00
Axel Uhl
1c61194f16
introduce XTE +/- column in release notes
2014-04-29 21:53:09 +02:00
Axel Uhl
48e9aba687
introduced signed cross track error; renamed previous cross track error calculations to "absolute" accordingly
2014-04-29 18:27:55 +02:00
Axel Uhl
d6f9bc55ba
Changing EC2 user data description, giving hints regarding DB configuration
2014-04-29 15:14:49 +00:00
Axel Uhl
eb9890a5cd
Documented the now modified precedence order of USE_ENVIRONMENT and other variables from EC2 user data
2014-04-29 15:02:48 +00:00
Axel Uhl
07606ca067
Hint on EC2 instance generations
2014-04-29 15:00:00 +00:00
Axel Uhl
9a68b0283d
Merge remote-tracking branch 'server/master'
2014-04-29 16:34:34 +02:00
Axel Uhl
51e64e03fa
switched order of activate_user_data and install_environment so that the EC2 user data is appended after the environment parameters.
2014-04-29 16:34:07 +02:00
Axel Uhl
c9ff36cf4d
Introduced MONGODB_NAME property to EC2 description in Wiki
2014-04-29 14:19:42 +00:00
Axel Uhl
c12989652e
Merge branch 'master' into gpsfixstore-independent-of-race
...
Conflicts:
java/com.sap.sailing.domain.swisstimingadapter/src/com/sap/sailing/domain/swisstimingadapter/impl/SwissTimingRaceTrackerImpl.java
java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
2014-04-29 14:42:36 +02:00
Axel Uhl
eb4a923e83
further improved logging for SwissTiming connector
2014-04-29 13:54:04 +02:00
Axel Uhl
01618aea2e
improved log messages for SwissTiming connector, now that we have reasonable race names and descriptions early on
2014-04-29 13:48:12 +02:00
Axel Uhl
a716539ca4
working towards a solution for bug 1910; use asynchronous connectivity for SailMasterConnectorImpl so the timeout can work
2014-04-29 13:38:42 +02:00
Axel Uhl
4450af2a5f
introduced MongoDB property for database name in env.sh (MONGODB_NAME)
2014-04-29 13:35:35 +02:00
Axel Uhl
2ffc89c479
fixed merge accident by introducing a missing StartList parameter in SwissTimingFactoryImpl
2014-04-28 15:20:08 +02:00
Axel Uhl
b576a7a141
Merge branch 'master' into gpsfixstore-independent-of-race
...
Conflicts were mainly around the introduction of GPSFixStore combined with the introduction of raceName in the SwissTiming connector and
the StartList coming from Manage2Sail
Conflicts:
java/com.sap.sailing.domain.swisstimingadapter/src/com/sap/sailing/domain/swisstimingadapter/SwissTimingFactory.java
java/com.sap.sailing.domain.swisstimingadapter/src/com/sap/sailing/domain/swisstimingadapter/impl/SwissTimingFactoryImpl.java
java/com.sap.sailing.domain.swisstimingadapter/src/com/sap/sailing/domain/swisstimingadapter/impl/SwissTimingRaceTrackerImpl.java
java/com.sap.sailing.domain.swisstimingadapter/src/com/sap/sailing/domain/swisstimingadapter/impl/SwissTimingTrackingConnectivityParameters.java
java/com.sap.sailing.gwt.ui.test/src/com/sap/sailing/gwt/ui/test/SailingServiceImplMock.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/shared/panels/AbstractFilterablePanel.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java
java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
2014-04-28 15:14:04 +02:00
Axel Uhl
aeeca38aae
fixed SwissTiming test testUnknownBoatClassInValidRaceID by providing a non-null race name
2014-04-28 14:05:31 +02:00
Axel Uhl
d4c70381b5
removed redundant TODO comment
2014-04-28 14:03:03 +02:00
Axel Uhl
7f40af1d97
added support for SwissTiming WND wind message
2014-04-28 13:57:26 +02:00
Axel Uhl
9cb8c697e7
Merge branch 'swisstiming-2.0'
2014-04-28 11:00:57 +02:00
Axel Uhl
3a0ffbaf65
Merge branch 'master' into gpsfixstore-independent-of-race
2014-04-27 23:44:20 +02:00
Axel Uhl
8a6933630f
minor javadoc changes
2014-04-27 23:44:05 +02:00
Axel Uhl
27f364323c
removed obsolete TODO
2014-04-27 23:32:05 +02:00
Axel Uhl
b047c7d45c
fixed @link tags in Javadoc comment
2014-04-27 23:28:47 +02:00
Axel Uhl
0dc6202e80
use single point of exit in RaceCourseDTO; applied single point of exit pattern
2014-04-27 21:37:49 +02:00
Axel Uhl
b746e60b35
Merge remote-tracking branch 'origin/gpsfixstore-independent-of-race' into gpsfixstore-independent-of-race
2014-04-27 15:09:35 +02:00