Axel Uhl
c258cdcd88
support viewShowLeaderboard, viewShowWindChart and viewShowCompetitorsChart as URL parameters for TvView entry point
2013-04-24 00:32:30 +02:00
Axel Uhl
b70db297b7
compute distance to start line in TrackedRace
2013-04-22 15:06:09 +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
32fae6c514
fixed 505 Worlds 2013 official link again; trailing /2013/ didn't work
2013-04-21 14:04:33 +02:00
Axel Uhl
f3d5ec090c
using trailing _ to match bundle name during hot deploy to avoid issued with bundles having a prefix of another bundle's name as their name
2013-04-21 13:51:11 +02:00
Axel Uhl
e8f3b3133c
fixed link to official 505 Worlds 2013 web site
2013-04-21 13:30:09 +02:00
Axel Uhl
e65e7646de
added 505 Worlds 2013 to index.html
2013-04-21 09:39:46 +02:00
Axel Uhl
e59b73cccd
use white flag with grey border as NONE flag
2013-04-19 18:21:53 +02:00
Axel Uhl
b7acc840ef
turned NONE flag into white
2013-04-19 17:07:00 +02:00
Axel Uhl
54fa83fc5b
added flag for "none" nationality; is used in case a competitor's nationality isn't recognized, such as for TracTrac sending NON
2013-04-19 16:42:21 +02:00
Axel Uhl
e261b745c4
avoid unnecessary use of expensive atan2 by doingi a simple wind speed scaling by direct multiplication
2013-04-19 13:33:39 +02:00
Axel Uhl
c1d179e9ce
bug 1348: use a fetcher pattern for the size of Leaderboard.getCompetitors() so it doesn't get computed unnecessarily;
...
this isn't the full solution to bug 1348 which would require smart caching with tricky cache invalidation,
particularly for meta-leaderboards. But it helps for all LowPoint scoring schemes.
2013-04-19 12:17:53 +02:00
Axel Uhl
485b81f671
only consider readable files for import
2013-04-19 00:54:26 +02:00
Axel Uhl
9ba7da543f
added a test case with a sheet obtained from Pam Johnson; some confusion about a wrong "DNF" score; adjusted score manually from DNF to 20
2013-04-19 00:45:30 +02:00
Axel Uhl
bb413ced3e
ignore files for import if they start with "."
2013-04-19 00:16:03 +02:00
Axel Uhl
91b86d18fa
fixing bug 1347: parallelize calculation of competitor chart data
2013-04-18 18:06:50 +02:00
Axel Uhl
0087190814
put SwissTiming races into state LOADING for scripted tests and TRACKING after script has finished to avoid excessive cache recalculations
2013-04-18 17:02:24 +02:00
Axel Uhl
7bc1c1d943
Merge remote-tracking branch 'server/master'
2013-04-18 13:36:14 +02:00
Axel Uhl
0bf63c7530
fixing bug 1349; DynamicTrackedRace held back triggers for the maneuver cache when the race was in state LOADING;
...
This was superceded by the change to suspend and resume the caches while the race is in state LOADING.
However, when suspended, triggers need to be sent to the cache, or else it won't start an update for
those keys when resumed.
Note that this commit does not fix the "side-show" issue of prematurely switching a race to TRACKING state
even if there are events left in its queue.
2013-04-18 13:17:07 +02:00
Axel Uhl
a67b6ce953
commented logging, surrounded possible FINEST logging with check for log level before assembling message
2013-04-18 13:12:52 +02:00
Axel Uhl
a28cc9d26d
comment change only
2013-04-18 13:06:55 +02:00
Axel Uhl
a7dda22c09
towards solving bug 1348, prepare for caching of getCompetitors() in AbstractSimpleLeaderboardImpl
2013-04-18 13:05:42 +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
Axel Uhl
ac02cea823
increased core pool size for thread pools; max pool size is only considered when queue is full, but we use unbounded queues...
2013-04-18 00:02:16 +02:00
Axel Uhl
e0aaff3c08
fixed read/write lock naming in log statements
2013-04-17 21:01:05 +02:00
Axel Uhl
de45a6758d
fixed minor issue in how the root parameter for the RaceBoard.html links is produced in the leaderboard group / Spectator page
2013-04-17 15:37:42 +02:00
Axel Uhl
8010ce3ebc
moved ImagesBarCell to client.shared package so RegattaOverview can use it
2013-04-17 14:32:00 +02:00
Axel Uhl
dfbd669358
moved shared client UI gwt stuff from *.ui.shared.* (where we have the stuff shared between client and server) to *.ui.client.shared.*
2013-04-17 12:27:34 +02:00
Axel Uhl
3abffe4a41
whitespace change only
2013-04-17 11:48:53 +02:00
Axel Uhl
4fcc81ef27
also renamed winregatta-->barbados in pom.xml files of import and test bundle
2013-04-17 11:15:38 +02:00
Axel Uhl
936f300bcd
Merge branch 'smartfuturecachelockpropagation'
2013-04-17 10:28:06 +02:00
Axel Uhl
7e542f3588
Merge branch 'master' into barbados_resultimport
2013-04-17 10:18:34 +02:00
Axel Uhl
df7a574bea
introduced proxy settings in maven-settings-proxy.xml for SAP-internal use
2013-04-17 10:17:30 +02:00
Axel Uhl
07f7bdf5af
removed premature output of MAVEN_SETTINGS; they may be changed by the -p option afterwards
2013-04-17 09:54:35 +02:00
Axel Uhl
0d4fb9649c
fixed feature.xml and raceanalysis.product after bundle rename
2013-04-17 09:38:51 +02:00
Axel Uhl
87e89d5a75
adjusted pom.xml to removal of odf result importer and rename winretatta-->barbados
2013-04-17 09:31:37 +02:00
Axel Uhl
ae4361892e
fixed java/pom.xml after merge accident
2013-04-17 09:28:51 +02:00
Axel Uhl
53d84fbc36
added test for race number in Barbados result importer tests
2013-04-17 09:22:29 +02:00
Axel Uhl
9760c47430
first successful Barbados result import test that uses ScoreCorrectionProviderImpl
2013-04-17 00:31:43 +02:00
Axel Uhl
98d8e655c8
starting to understand IRMs/MaxPointsReason codes in Barbados result format
2013-04-17 00:17:28 +02:00
Axel Uhl
64a800317c
removed Winregatta example files from Barbados branch; use common way to identify boatclassName parameter
2013-04-17 00:06:11 +02:00
Axel Uhl
1bf0732bc9
adjusted result importers so they use available abstract base classes from com.sap.sailing.resultimport
2013-04-16 23:57:09 +02:00
Axel Uhl
6211fce442
renamed winregatta stuff to barbados; starting to remove Winregatta functionality from this branch
2013-04-16 23:48:54 +02:00
Axel Uhl
a1c1739244
working towards further refactoring of URL/file-based result importers
2013-04-16 23:41:33 +02:00
Axel Uhl
f4a622d011
Merge branch 'master' into winregatta_resultimport
2013-04-16 23:05:51 +02:00
Axel Uhl
2b291f4037
Merge remote branch 'origin/master'
2013-04-16 23:05:10 +02:00
Axel Uhl
e6481496b1
added TODOs for parallelization of SailingServiceImpl.getCompetitorRaceData
2013-04-16 23:04:39 +02:00
Axel Uhl
c84f5213a8
Merge branch 'master' into smartfuturecachelockpropagation
2013-04-16 23:03:55 +02:00
Axel Uhl
73f12e90c6
Merge remote-tracking branch 'server/master'
2013-04-16 23:03:41 +02:00
Axel Uhl
45cf3ca09e
preparing Barbados / "winregatta" import for consolidation with other file-based result imports
2013-04-16 23:03:00 +02:00
Axel Uhl
609ac0e1f9
Merge branch 'master' into winregatta_resultimport
2013-04-16 22:54:38 +02:00
Axel Uhl
23e6a5f53b
strange bug in good old KiWo result import regarding comparison with ( (byte)160 vs. (char)160)
2013-04-16 22:53:13 +02:00
Axel Uhl
4dfb8dabc1
removed SwissTiming OVR import, deprecated by XRR import; preparing for a consolidation of file-based result imports
2013-04-16 22:48:27 +02:00
Axel Uhl
c9ad57dc61
Merge branch 'master' into smartfuturecachelockpropagation
2013-04-16 14:18:17 +02:00
Axel Uhl
1e6307fe27
commented logging in LockUtil for performance reasons
2013-04-16 13:51:11 +02:00
Axel Uhl
2a4984c757
moved SmartFutureCache performance test to SmartFutureCacheTest
2013-04-16 12:05:19 +02:00
Axel Uhl
30d53be082
added performance test for SmartFutureTest get/call
2013-04-16 12:01:05 +02:00
Axel Uhl
4054a98fed
added missing @Test
2013-04-16 07:52:01 +02:00
Axel Uhl
12202299c4
Merge branch 'master' into smartfuturecachelockpropagation
...
Conflicts:
java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/LockTraceTest.java
2013-04-16 07:48:39 +02:00
Axel Uhl
a551869059
added locking performance test
2013-04-16 07:46:28 +02:00
Axel Uhl
e132c511f8
yield outside synchronized block to ensure the lock propagation gets its turn before the lock-seeking thread enters the synchronized block again
2013-04-15 17:28:33 +02:00
Axel Uhl
d863b68761
added failing test case for what comment #22 on Bug 1344 observed; LockUtil now doesn't deal properly anymore with reentrant read locks
2013-04-15 10:58:39 +02:00
Axel Uhl
d8a7fabdd2
made SmartFutureCache's lock propagation robust against concurrent get() calls
2013-04-15 10:57:04 +02:00
Axel Uhl
aaf1faad2c
fixed logging in SmartFutureCache for lock propagation; so far, NPEs were likely to happen due to the logging
2013-04-14 13:24:27 +02:00
Axel Uhl
33204ccf4a
Merge branch 'master' into smartfuturecachelockpropagation
2013-04-14 12:15:14 +02:00
Axel Uhl (Server)
98001cd1be
Fixed start script again - slow ssh makes things hard
2013-04-14 05:30:10 +02:00
Axel Uhl (Server)
4b1157d58b
Hopefully fixed scripts for good
2013-04-14 04:19:58 +02:00
Axel Uhl (Server)
45ef00d883
Fixed indicator of server and added tmpdir
2013-04-14 04:15:54 +02:00
Axel Uhl
8a46723c37
really unlock read lock if counter == 1 or current thread is owner;
...
this takes care of the possibility that the thread to which locks are propagated gets the read lock itself and later
is propagated the read lock again. In this case, the receiving thread needs to first actually unlock its lock before
only decrementing the counter and relying on the propagating thread's lock ownership.
2013-04-13 09:00:28 +02:00
Axel Uhl
d200670619
added a comment why the "fix" currently doesn't work; need to count actual read locks obtained and unlock in each thread where obtained
2013-04-13 02:45:14 +02:00
Axel Uhl
7604fa4956
provide what looks like a fix for bug 1344
2013-04-13 01:21:44 +02:00
Axel Uhl
a91b379aab
implemented a failing test case for bug 1344 (deadlock)
2013-04-13 00:46:50 +02:00
Axel Uhl
d22f3c53be
added test case that demonstrates the old fix for the read-read deadlock in synchronous triggerUpdate/get combinations
2013-04-13 00:27:52 +02:00
Axel Uhl
3d4c747346
added a first few locking / threading / SmartFutureCache updating test rudiments
2013-04-12 23:57:43 +02:00
Axel Uhl
a6e8e6e530
started with a comment for a failing test case for bug 1344
2013-04-12 22:27:53 +02:00
Axel Uhl
0eea838f4f
preparing a pro-active propagation of locks from the calling thread to another thread to tackle bug 1344 (deadlock)
2013-04-12 22:06:46 +02:00
Axel Uhl
f0d7c550e2
Changed "final" semantics for leaderboard JSON export such that it never exports a started but not yet finished race;
...
other fixes include creation of regattas which need to be created with no RaceColumns attached to the Series yet because
it otherwise breaks assumptions asserted by "assert" statements, hence breaking tests when executed with -ea.
2013-04-12 20:44:22 +02:00
Axel Uhl
524b67dacd
Merge branch 'master' into winregatta_resultimport; needed to fix various line end style conflicts
...
Conflicts:
java/com.sap.sailing.freg.resultimport.test/src/com/sap/sailing/freg/resultimport/test/SimpleHtmlParsingTest.java
java/com.sap.sailing.freg.resultimport/META-INF/MANIFEST.MF
java/com.sap.sailing.freg.resultimport/src/com/sap/sailing/freg/resultimport/impl/FregHtmlParser.java
java/com.sap.sailing.freg.resultimport/src/com/sap/sailing/freg/resultimport/impl/ScoreCorrectionProviderImpl.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/ResultImportUrlsManagementPanel.java
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.properties
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_de.properties
java/com.sap.sailing.resultimport/src/com/sap/sailing/resultimport/CompetitorEntry.java
java/com.sap.sailing.resultimport/src/com/sap/sailing/resultimport/CompetitorRow.java
java/com.sap.sailing.resultimport/src/com/sap/sailing/resultimport/RegattaResults.java
java/com.sap.sailing.resultimport/src/com/sap/sailing/resultimport/UrlResultProvider.java
java/com.sap.sailing.resultimport/src/com/sap/sailing/resultimport/impl/CompetitorRowImpl.java
java/com.sap.sailing.resultimport/src/com/sap/sailing/resultimport/impl/DefaultCompetitorEntryImpl.java
java/com.sap.sailing.resultimport/src/com/sap/sailing/resultimport/impl/RegattaScoreCorrectionsImpl.java
java/com.sap.sailing.resultimport/src/com/sap/sailing/resultimport/impl/ScoreCorrectionForCompetitorInRaceImpl.java
java/com.sap.sailing.resultimport/src/com/sap/sailing/resultimport/impl/ScoreCorrectionForRaceImpl.java
java/com.sap.sailing.server/SailingServer (No Proxy, Jetty on 8889).launch
java/pom.xml
2013-04-12 16:09:54 +02:00
Axel Uhl
12cf3f532e
fixed how the boat class name is determined for a leaderboard in xcelsiusadapter, no longer requiring it to be a RegattaLeaderboard
2013-04-12 15:09:08 +02:00
Axel Uhl
8088f1c9fe
adjusted start script to use telnet port and nohup
2013-04-12 13:05:18 +02:00
Axel Uhl
b704a21b81
changed name for mark passings locks
2013-04-12 13:05:07 +02:00
Axel Uhl
3251d2dfd7
computing RaceInfoDTO based on domain model and not based on DTOs constructed from domain model;
...
this should also solve bug 1342 because this is no longer called for constructing a StrippedLeaderboardDTO
2013-04-11 19:00:34 +02:00
Axel Uhl
c06ebfc7e7
quick fix towards bug 1342. The lges.get(0) is a bit evil if there are no legs (empty course); still, it needs to be atomic without locking; use exception instead
2013-04-11 18:33:01 +02:00
Axel Uhl
1a5530d20f
fixed typo in log message
2013-04-11 18:20:07 +02:00
Axel Uhl
1753127edc
regarding bug 1341, trying a patch that avoids the NPE due to missing RaceLog; needs to be reviewed by the Berlin team
2013-04-11 17:02:25 +02:00
Axel Uhl
3b5539181c
added missing hamcrest dependency to android.test bundle
2013-04-11 16:00:37 +02:00
Axel Uhl
f83c624e58
added missing hamcrest dependency to manifest of mongodb.test bundle
2013-04-11 15:20:27 +02:00
Axel Uhl
7b6ef0f246
added missing hamcrest dependency to serialization.test manifest
2013-04-11 14:46:43 +02:00
Axel Uhl (Server)
a7a20edbc0
fixed line endings in buildAndUpdateProduct.sh
2013-04-11 14:22:48 +02:00
Axel Uhl
34bab83ba2
Merge remote-tracking branch 'server/master'
...
Conflicts:
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java
java/com.sap.sailing.server.gateway.serialization.test/META-INF/MANIFEST.MF
java/com.sap.sailing.server.gateway.serialization.test/build.properties
2013-04-11 14:13:34 +02:00
Axel Uhl
91af0a81ec
fixed serialization.test mockito dependencies; added logging for start of tracking
2013-04-11 13:57:15 +02:00
Axel Uhl
16e09507c1
first test for parsing XLSX result format for 505 in Barbados
2013-04-11 00:09:10 +02:00
Axel Uhl
9b0ff70e90
moved more of the default score correction implementation to the resultimport bundle to re-use between FREG and other importers
2013-04-10 18:14:37 +02:00
Axel Uhl
5f75cb9464
Merge branch 'master' into winregatta_resultimport
2013-04-10 16:17:55 +02:00
Axel Uhl (Server)
b2d41f24e3
Merge branch 'leaderboardCache'
2013-04-10 04:14:32 +02:00
Axel Uhl
002b680843
moved up hasScoreCorrection for an entire leaderboard column / RaceColumn from SettableScoreCorrection to ScoreCorrection
2013-04-09 15:22:43 +02:00
Axel Uhl
ecdce44d2c
don't enter MarkPassings with guessed time points; instead, only queue and wait for start time to be received later;
...
otherwise, this would let TrackedRace infer the start time from the guessed start mark passing times which ends in a
"vicious circle" with future mark passings not even being queued for re-validation after start time receiving.
2013-04-05 19:12:22 +02:00
Axel Uhl
1505247fde
trying to fix bug 1335 by removing *all* mark passings with guessed time points; doesn't work properly yet
2013-04-05 10:22:10 +02:00
Axel Uhl
08f3426da8
enhanced logging for TMDMessageQueue
2013-04-05 02:17:42 +02:00