Commit Graph
100 Commits
Author SHA1 Message Date
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 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 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 39b28d297a Merge branch 'master' into swisstiming-2.0 2014-04-25 17:47:21 +02:00
Axel Uhl ddba91b35e added REST API for mark passings, addressing bug 1913 2014-04-25 17:37:41 +02:00
Axel Uhl 4583582db2 added a REST API for the bearing of the first leg; prepared a REST API for mark passing export 2014-04-25 16:25:14 +02:00
Axel Uhl 745dc6dc51 added documentation for the /entries REST API 2014-04-25 15:45:36 +02:00
Axel Uhl 6ef7ed9f6a Merge branch 'master' into swisstiming-2.0 2014-04-25 15:25:32 +02:00
Axel Uhl 62badd8819 Merge remote-tracking branch 'server/master' 2014-04-25 15:25:24 +02:00
Axel Uhl f07396476d Merge branch 'master' into swisstiming-2.0 2014-04-25 15:22:39 +02:00
Axel Uhl 2f51c3ce6b fixed REST API docs for time points 2014-04-25 15:22:02 +02:00
Axel Uhl be79f45505 fixed how start time/date is used for filtering SwissTiming race lists 2014-04-25 15:21:39 +02:00
Axel Uhl 7aecc0726d fixed filtering of SwissTiming race list 2014-04-25 15:01:34 +02:00
Axel Uhl 2442f5b015 Merge branch 'master' into swisstiming-2.0 2014-04-25 14:37:15 +02:00
Axel Uhl 36a9f0e6af added Javadoc and use Waypoint equality (which currently is identity) instead of waypoint name for comparison during mark passing updates 2014-04-25 14:36:39 +02:00
Axel Uhl 0bcc13d1cc handle case when SwissTiming removes a mark passing (empty rounding time / rank for a valid mark index) 2014-04-25 14:35:46 +02:00
Axel Uhl 3ea1002388 make default ST regatta name unique per race 2014-04-25 14:00:46 +02:00
Axel Uhl 300639d786 avoid NPE when SwissTiming socket couldn't be opened 2014-04-25 13:56:53 +02:00
Axel Uhl 9ddd7a8621 formatting changes; is the code formatter installed? 2014-04-25 13:10:44 +02:00
Axel Uhl 6495f3b7ad ensure thread-safety of parallelization of competitorsFromBestToWorst calculation 2014-04-24 23:44:27 +02:00
Axel Uhl da9acd00c0 parallelized calculation of competitors from best to worst for the different race columns of a single leaderboard 2014-04-24 23:38:51 +02:00
Axel Uhl 9fade14a3b use the addOverallDetails flag in computeDTO to not compute the overall details if not requested; fixes bug 1886. 2014-04-24 22:32:03 +02:00
Axel Uhl 3df91de46e fixed several smaller bugs with the new addOverallDetails logic 2014-04-24 22:19:16 +02:00
Axel Uhl e19209a61c in addition to the race column names for which to load details, added a parameter addOverallDetails
that controls whether a leaderboardDTO shall have overall details; the leaderboard cache and the
LiveLeaderboardUpdater consider this parameter in how they cache their DTOs.
2014-04-24 19:13:05 +02:00
Axel Uhl 17a16f4ecd use Duration also for Leaderboard.getTotalTimeSailed(...). Introduced leg type cache towards addressing bug 1884 2014-04-24 17:49:54 +02:00
Axel Uhl 82f798e579 clarified tool tip for overall time sailed in the regatta which counts from start of race, not competitor's start time 2014-04-24 17:09:21 +02:00
Axel Uhl d64f3cb765 updated release notes for the bug fix for bug 1908 2014-04-24 16:59:29 +02:00
Axel Uhl 92d843cb2f fixing bug 1908 by considering the timePoint parameter in TrackedLegOfCompetitorImpl.getTime 2014-04-24 16:56:58 +02:00