Axel Uhl
d9f750287e
using getLastError() to ensure read-your-own-writes in master data import test
2015-01-06 01:05:39 +01:00
Axel Uhl
9a264cb720
using write concern "SAFE" for master data import test to ensure replica reads the previous writes
2015-01-05 23:24:20 +01:00
Axel Uhl
a1389e8d38
in tests, using a write concern to wait for master data import's effects to show
2015-01-05 17:54:10 +01:00
Axel Uhl
636c654700
LeaderboardEditing.gwt.xml was missing Russian locale
2015-01-05 01:59:16 +01:00
Axel Uhl
d6643c0da6
close server socket of test servlet in finally block
2015-01-05 01:52:36 +01:00
EC2 Server
d32e7d008d
after having upgraded the dev server to 16 cores and 30GB RAM, use 15 workers for GWT build to speed up builds
2015-01-04 23:58:23 +00:00
Axel Uhl
e2cc3301cc
preparing for reverse TWA/TWS inference on PolarDataService
2015-01-03 01:57:36 +01:00
Axel Uhl
36d9ef30bd
preparing for inferring the TWA/TWS from the boat speed from an AverageAngleContainer
2015-01-03 01:37:41 +01:00
Axel Uhl
0315dd5a89
fixed port/startboard confusion in PolarSheetAnalyzerImpl after refactoring
2015-01-03 01:31:28 +01:00
Axel Uhl
cf6a0fdb9c
fixing interval contiguousness for polar sheet analyzer
2015-01-03 01:25:41 +01:00
Axel Uhl
5f8f54ee34
working towards a PolarDataService API that enables reverse mapping of SOG to wind speed, assuming average VMG for known tack/leg type
2015-01-03 01:24:45 +01:00
Axel Uhl
5cc957075b
working towards a solution for bug 1562 by starting to use the PolarDataService in ManeuverBasedWindEstimationTrackImpl
2015-01-03 00:39:53 +01:00
Axel Uhl
2b4dc55b0e
require bundle org.junit instead of only package org.junit; this is needed in order to see annotation RunWith; else, NPE will result
2015-01-02 21:34:15 +01:00
Axel Uhl
fddc9bcb96
Merge branch 'master' into bug1562
2015-01-02 20:24:26 +01:00
Axel Uhl
fe5fbe5ca3
fixing NPEs during RegattaLogReplicationTest by setting a valid competitor in competitor registration event
2015-01-02 20:23:57 +01:00
Axel Uhl
aa5eac531b
use Speed in BoatSpeedEstimator interface
2015-01-02 18:15:33 +01:00
Axel Uhl
2dcdd7586d
simplified DataCountAngleSumAndAverage construction
2015-01-02 18:03:50 +01:00
Axel Uhl
1fa912fbf4
simplified and accelerated implementation of AverageAngleContainer
2015-01-02 17:59:55 +01:00
Axel Uhl
0194c68686
more angle renames to reflect "degrees" unit
2015-01-02 17:50:08 +01:00
Axel Uhl
97cbda6e1e
renamed angles to ...Deg when they deal with degrees
2015-01-02 17:47:50 +01:00
Axel Uhl
f2bf1aa57a
renamed angleToWind to trueWindAngle
2015-01-02 17:44:01 +01:00
Axel Uhl
f52c7a470a
renamed WindStepping to WindSpeedStepping; use double[] instead of expensive Double[]
2015-01-02 17:20:06 +01:00
Axel Uhl
c7369cacd5
post-merge clean-up
2015-01-02 15:55:59 +01:00
Axel Uhl
ac48ac2417
Merge branch 'master' into bug1562
...
Conflicts:
java/com.sap.sailing.polars.test/src/com/sap/sailing/polars/test/PolarSheetAnalyzerTest.java
java/com.sap.sailing.polars/src/com/sap/sailing/polars/PolarDataService.java
java/com.sap.sailing.polars/src/com/sap/sailing/polars/analysis/PolarSheetAnalyzer.java
java/com.sap.sailing.polars/src/com/sap/sailing/polars/analysis/impl/PolarSheetAnalyzerImpl.java
java/com.sap.sailing.polars/src/com/sap/sailing/polars/impl/PolarDataServiceImpl.java
java/com.sap.sailing.polars/src/com/sap/sailing/polars/mining/IncrementalRegressionProcessor.java
java/com.sap.sailing.polars/src/com/sap/sailing/polars/mining/PolarDataMiner.java
2015-01-02 15:54:51 +01:00
Axel Uhl
db19302dc8
changed windspeed parameter to windspeedInKnots
2015-01-02 13:48:55 +01:00
Axel Uhl
0c6264dd67
avoid NPE and improved chart series handling
2015-01-02 12:16:01 +01:00
Axel Uhl
aac97d4dbd
added pom.xml for polars.test
2015-01-02 11:43:06 +01:00
Axel Uhl
09e9f3f1c0
added com.sap.sailing.polars.test to java/pom.xml
2015-01-02 11:34:52 +01:00
Axel Uhl
2d5f5c386a
use eq(true) instead of true to satisfy Mockito requirements regarding the use of matchers
2015-01-02 11:32:38 +01:00
Axel Uhl
11b17ce1d1
avoid handling Integer[] with many object references and lots of auto-boxing in polar service; replaced by int[]
2015-01-02 11:26:39 +01:00
Axel Uhl
665d74655f
whitespace/formatting and a parameter re-name
2015-01-02 10:55:28 +01:00
Axel Uhl
fc25761db8
password managers now may work for the default security/ui/Login.html page which now uses a <form> tag; see bug 2561
2015-01-02 10:47:19 +01:00
Axel Uhl
ec35cfddb7
fixed Javadoc typos
2015-01-02 10:02:50 +01:00
Axel Uhl
faf966ffcf
fixed indentation
2014-12-30 18:26:58 +01:00
Axel Uhl
ac12a6f74e
Javadoc and cosmetic changes only
2014-12-30 18:22:59 +01:00
Axel Uhl
a02aff5502
also calculate the maneuver loss for unknown maneuvers with no wind data
2014-12-30 17:29:25 +01:00
Axel Uhl
99c171baeb
working on bug 1560 by classifying all maneuvers as UNKNOWN when we have no wind information
2014-12-30 17:15:46 +01:00
Axel Uhl
553214fb7e
when no course is provided, zoom to the boats once by default; this solves bug 1561
2014-12-30 17:06:26 +01:00
Axel Uhl
2d39c7f37c
avoid ArrayIndexOutOfBoundsException (see bug 1561 comment #12 ) by checking whether there is actually a leg keeping the current SOG
2014-12-30 16:39:27 +01:00
Axel Uhl
cbbec64512
Merge branch 'bug1561'
2014-12-30 16:03:34 +01:00
Axel Uhl
8c7ce7f0ee
use darker water color
2014-12-30 15:59:12 +01:00
Axel Uhl
b7d89983f3
fixed RGBColor error parsing three-digit colors; added test case
2014-12-30 15:31:27 +01:00
Axel Uhl
119052776f
added assertion that no penalty circle maneuver has more than 700deg direction change
2014-12-30 13:42:43 +01:00
Axel Uhl
925ca24256
total course change for penalty circle needs to stop counting after first penalty circle is complete
2014-12-30 13:39:53 +01:00
Axel Uhl
d77ed38e15
project onto course instead of wind for all ...Windward...(...) methods, avoiding NoWindException and producing a leaderboard without wind data
2014-12-30 12:33:39 +01:00
Axel Uhl
8ea7f4c85c
handles the exception described in bug 1561 comment #8
2014-12-30 12:16:36 +01:00
Axel Uhl
d315b3490b
handle exception as described in bug 1561 comment #7 by returning null for cross track errors that cannot be determined without wind data
2014-12-30 12:13:00 +01:00
Axel Uhl
90ca3a8eb9
rewrote a few Callables as lambdas
2014-12-30 11:46:12 +01:00
Axel Uhl
fba4716d3c
added NoWindException handling in SailingServiceImpl.getBoatPositions(...); now we can see the boats move at least (no sails displayed)
2014-12-30 11:38:23 +01:00
Axel Uhl
acd584d69c
starting to work on bug 1561 by falling back to along-track "windward distance" when missing wind information
2014-12-30 11:09:37 +01:00
Axel Uhl
44f94e11ed
compute penalty circle maneuver time point using point of greatest direction change, using computeManeuverTimePoint
2014-12-30 10:58:06 +01:00
Axel Uhl
06130f458d
Javadoc improvements
2014-12-30 10:42:40 +01:00
Axel Uhl
d2a7f560b0
generalized construction of map maneuver markers
2014-12-29 18:36:52 +01:00
Axel Uhl
e2441a5b92
adjusted Tobias Schadewaldt's competitor name in the test case for the broken TracTrac delivery
2014-12-29 18:03:22 +01:00
Axel Uhl
b011f0d511
adjusted test verdicts to the penalty maneuver time points slightly biased towards the beginning of the penalty circle
2014-12-29 17:58:57 +01:00
Axel Uhl
1b31ee4d0f
implemented a recursive split for penalties and subsequent remaining tacks/jibes
2014-12-29 17:50:37 +01:00
Axel Uhl
cd4cff4fbf
added more test cases with other double penalty circle occasions
2014-12-29 16:59:18 +01:00
Axel Uhl
9066456d1b
preparing a solution for bug 2009 by letting BearingChangeAnalyzer count the number of crossings
2014-12-29 16:40:53 +01:00
Axel Uhl
d47ca3fab6
calculate total course change based on individual fixes between approximation points to check for >180deg course change;
...
this finds Philipp's penalty circle with -719deg total course change, meaning that both circles were grouped into
one maneuver. The next step will be to cut this into two penalty circles
2014-12-29 14:52:53 +01:00
Axel Uhl
10f8983a03
added comment for GPSFix.getSpeedAndBearingRequiredToRead
2014-12-29 13:08:03 +01:00
Axel Uhl
d5e2b59ec4
refactored approximate(...) method for Douglas/Peucker points such that it returns an Iterable; adjusted callers accordingly
2014-12-29 11:55:29 +01:00
Axel Uhl
f58c97afad
added a failing test case for bug 2009 (Philipp Buhl's double penalty circle at Kieler Woche 2014)
2014-12-29 11:35:42 +01:00
Axel Uhl
4b61ea7d7c
introduced RaceLogTrackingAdapterFactory.INSTANCE to avoid warnings due to access to unexported package
2014-12-29 11:10:57 +01:00
Axel Uhl
2faa459c4d
Merge branch 'regatta-log'
2014-12-29 11:05:28 +01:00
Axel Uhl
d0b8c66a52
Merge remote-tracking branch 'server/regatta-log' into regatta-log
2014-12-29 11:04:54 +01:00
Axel Uhl
365b8d6bd4
formatting and rename of getDelayedIntentsContents()
2014-12-29 11:04:33 +01:00
Axel Uhl
31e37ba13d
avoid NPE (see bug 2543) in case no restorer is configured for the MessageSendingService
2014-12-23 15:42:49 +01:00
Axel Uhl
d761546343
Merge branch 'master' into regatta-log
2014-12-23 12:24:34 +01:00
Axel Uhl
9b2dab7518
use NamedReentrantReadWriteLock and LockUtil consistently in polar service
2014-12-23 12:12:32 +01:00
Axel Uhl
eff16ef27e
Merge branch 'master' into regatta-log
...
Conflicts:
java/com.sap.sailing.gwt.ui/SailingGWT.launch
2014-12-23 10:34:40 +01:00
Axel Uhl
714c8edabc
using Util.equalsWithNull for brevity
2014-12-23 10:32:23 +01:00
Axel Uhl
d39eb39dc1
solution for bug 2539: clear trackerExists flag explicitly for all RaceColunmDTO/RaceLogTrackingInformation objects pointing to tracked race that got removed
2014-12-22 22:02:41 +01:00
Axel Uhl
3b99659180
fixed an i18n issue
2014-12-22 21:20:11 +01:00
Axel Uhl
df8e50a669
sending push ID and device type
2014-12-22 20:46:47 +01:00
Axel Uhl
edabb39ab1
avoid NPE
2014-12-22 18:24:42 +01:00
Axel Uhl
83161e2c85
tracking app prototype now uses device_mappings/start service to check in
2014-12-22 18:04:20 +01:00
Axel Uhl
c95b15721b
fixed SailingGWT launch configurations
2014-12-22 14:39:13 +01:00
Axel Uhl
608330e826
Merge branch 'master' into regatta-log
...
Conflicts:
java/com.sap.sailing.gwt.ui/SailingGWT Remote Profiling (Run-Mode only).launch
java/com.sap.sailing.gwt.ui/SailingGWT.launch
2014-12-22 14:22:32 +01:00
Axel Uhl
409dc239cf
Merge remote-tracking branch 'origin/bug2511'
...
Conflicts:
java/com.sap.sailing.domain/src/com/sap/sailing/domain/leaderboard/caching/LiveLeaderboardUpdater.java
2014-12-20 13:14:45 +01:00
Axel Uhl
6d9f3f73c3
a fix for bug 2511 comment #4 . An exception in LiveLeaderboardUpdater.run() is notified to getLiveLeaderboard(...), unblocks it and re-throws as ExecutionException;
...
this may end up in the onFailure callback of GetLeaderboardByName where it is set as a browser status.
2014-12-19 16:23:49 +01:00
Axel Uhl
20987a64db
reduced log level for Storage updates from info to fine
2014-12-19 16:22:35 +01:00
Axel Uhl
35b18c1312
implemented ConcurrentHashBag.Iterator.remove() and added test cases
2014-12-19 15:05:34 +01:00
Axel Uhl
1befb86bbd
removed obsolete comment
2014-12-19 14:51:08 +01:00
Axel Uhl
2ac000200d
reduce test case runtime to 2s which still reliably reproduces the error before the fix
2014-12-19 14:50:37 +01:00
Axel Uhl
b0eb0bf0b0
replacing private int size by private AtomicInteger size; this avoids race conditions during decrement/increment operations
2014-12-19 14:37:13 +01:00
Axel Uhl
0a1590b524
found what looks like a reproduction scenario for bug 2502; failing test case
2014-12-19 13:50:58 +01:00
Axel Uhl
30b4657452
inlined Thread.currentThread() consistently
2014-12-19 09:43:03 +01:00
Axel Uhl
b2384b565e
Merge branch 'master' into bug2502
2014-12-19 09:23:16 +01:00
Axel Uhl
91f6576297
Merge remote-tracking branch 'server/master'
2014-12-19 09:22:50 +01:00
Axel Uhl
1a67e2b5b3
Merge branch 'master' into bug2502
2014-12-19 08:48:58 +01:00
Axel Uhl
cdfe598c2a
removed WithImage as it was used nowhere and implemented nowhere in a meaningful way
2014-12-19 08:47:47 +01:00
Axel Uhl
f7a2afcc1f
Fixed typos in Wiki
2014-12-18 15:29:45 +00:00
Axel Uhl
a8482d1874
Fixed typo in wiki
2014-12-18 15:25:53 +00:00
Axel Uhl
45aa1f630f
Updated amazon ec2 (markdown)
2014-12-18 15:18:30 +00:00
Axel Uhl
8acbc3d5fb
updated admin release notes
2014-12-18 16:16:29 +01:00
Axel Uhl
ab3a29b719
Merge remote-tracking branch 'origin/master'; the SAP-internal master was broken by attempts of an early merge of racelog-simulator; watch out when merging that branch later...
2014-12-18 15:45:38 +01:00
Axel Uhl
c886b8d4df
added date fields for regatta structure import
2014-12-18 15:33:23 +01:00
Axel Uhl
8b567a7eca
added start/end date edit fields again
2014-12-18 15:25:38 +01:00
Axel Uhl
cebfa0b7ad
Merge branch 'master' into structureImport
...
Conflicts:
java/com.sap.sailing.gwt.ui/pom.xml
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
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_ru.properties
2014-12-18 09:06:06 +01:00
Axel Uhl
5a6a1da390
adjusting the test case such that only one thread works on one key; problem doesn't occur
2014-12-17 17:12:35 +01:00