Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl ade850c42b removed SynchronizationUtil which is no longer needed after TracTrac made the getRaces() call thread safe 2014-05-21 00:35:19 +02:00
Axel Uhl 59f8d49640 Merge branch 'master' into tracapi 2014-05-21 00:14:05 +02:00
Axel Uhl ca4448d014 added release notes entry for the fix regarding the wind speed axis in the wind chart 2014-05-20 23:58:22 +02:00
Axel Uhl 3ee490216b use setMin(0) and setMaxPadding(0.05) for the wind speed axis to avoid errors with single value charts 2014-05-20 23:48:15 +02:00
Axel Uhl 055de5b4ba don't explicitly turn off first label in wind charts 2014-05-20 22:49:42 +02:00
Axel Uhl 1d4663e220 Merge remote-tracking branch 'server/master' 2014-05-20 15:59:26 +02:00
Axel Uhl 2cd8569019 Whitespace change only 2014-05-20 15:51:31 +02:00
Axel Uhl c51ded4a92 fixed initial load serialization for remote sailing server references with proper logging 2014-05-19 23:20:03 +02:00
Axel Uhl b6fc523852 moved functionality of remote server reference and event cache management to new class RemoteSailingServerSet 2014-05-19 23:02:35 +02:00
Axel Uhl 3d14fbc546 made robust for remote server URLs entered without http:// prefix; fixed error handling for remote server refs 2014-05-19 22:37:45 +02:00
Axel Uhl 732551bcc5 named event cache updater thread 2014-05-19 22:23:30 +02:00
Axel Uhl f6a41cbb7e renamed RemoveSailingServer to RemoveRemoteSailingServerReference 2014-05-19 22:16:59 +02:00
Axel Uhl 5d552525ec hold remote server references in memory in RacingEventService and periodically update event cache 2014-05-19 22:13:44 +02:00
Axel Uhl 2e4cb0176c Merge branch 'master' into bug1930 2014-05-19 17:37:55 +02:00
Axel Uhl 2ad2466728 remote server editing functionality working again 2014-05-19 17:36:22 +02:00
Axel Uhl 43a33214d5 more formatting 2014-05-19 17:20:03 +02:00
Axel Uhl a1b80d9695 worked through remote server config UI 2014-05-19 17:14:52 +02:00
Axel Uhl 5bea924a78 fixed compile error introduced by previous commit 2014-05-19 16:17:23 +02:00
Axel Uhl d5442bd2e8 slight change in how obtaining the remote events works 2014-05-19 16:16:21 +02:00
Axel Uhl 50ec91568a more formatting issues 2014-05-19 15:50:00 +02:00
Axel Uhl ef42a0cf76 expose only public events by default in the /events REST service. Queries for specific IDs will be satisfied regardless the publicness 2014-05-19 15:48:15 +02:00
Axel Uhl a60be3850a formatting and naming 2014-05-19 15:47:45 +02:00
Axel Uhl 62f1e5620c Merge branch 'master' into bug1930 2014-05-19 14:48:00 +02:00
Axel Uhl fe230d7812 Merge branch 'master' into tracapi 2014-05-19 11:02:48 +02:00
Axel Uhl 5fbb6a5f68 Merge branch 'natural-comparator-test' 2014-05-17 00:34:05 +02:00
Axel Uhl 34758852c4 added failing test case for bug 1954 2014-05-17 00:33:47 +02:00
Axel Uhl f8771c3de7 fixing bug 1954 (credits to Petra :-) ). The problem was in converting the two string to lower case; b=a.toLowerCase()... 2014-05-17 00:30:31 +02:00
Axel Uhl 060e667141 updated release notes about the modified maneuver analysis and left a note about how we call cleared OCSs 2014-05-16 22:03:04 +02:00
Axel Uhl bce5aa95f7 Merge branch 'master' into tracapi 2014-05-16 18:36:28 +02:00
Axel Uhl 44121d1057 Merge remote-tracking branch 'server/master' 2014-05-16 18:36:20 +02:00
Axel Uhl fa89463bf2 Merge branch 'master' into tracapi 2014-05-16 18:35:33 +02:00
Axel Uhl 1593ba8d1a added missing exceptions to test set up method 2014-05-16 18:35:04 +02:00
Axel Uhl 61991d6440 made robust against competitors that are not found in SwissTiming start lists 2014-05-16 18:33:33 +02:00
Axel Uhl 8e8eeba77a Talk about /etc/security/limits.d and nproc 2014-05-16 15:13:02 +00:00
Axel Uhl e2712b62de Merge branch 'master' into tracapi 2014-05-16 17:05:25 +02:00
Axel Uhl dfaa72cff0 Merge branch 'bug1950' 2014-05-16 15:26:19 +02:00
Axel Uhl ab03589e23 allow HighPointFirstGetsFixedScore with parameterizable minimum score from rank and use it for the new Bundesliga high-point-with-max-5 to set min to 0 2014-05-16 14:21:07 +02:00
Axel Uhl a71823feec Merge branch 'master' into tracapi 2014-05-16 14:16:28 +02:00
Axel Uhl f3f83aa6cd formatting only 2014-05-16 14:15:36 +02:00
Axel Uhl f1fc788b22 added fix for mark passing maneuver position 2014-05-16 11:30:13 +02:00
Axel Uhl 01d8422025 Merge branch 'master' into bug1950 2014-05-16 10:34:52 +02:00
Axel Uhl f9536cd799 Merge branch 'master' into tracapi 2014-05-16 01:10:20 +02:00
Axel Uhl a456b4ce3e Merge branch 'master' into bug1950 2014-05-16 01:10:11 +02:00
Axel Uhl 2e3bdc531f use ConcurrentWeakHashMap again to see if simply not overloading the CPU during maneuver calculation recursion already fixes the problem 2014-05-16 01:07:46 +02:00
Axel Uhl d1abac0c8d resolved the deep maneuver analysis recursion by setting strict time bounds for start/end of maneuver in case of recursions 2014-05-16 00:57:01 +02:00
Axel Uhl efe9fb6295 avoid NPE in getLeaderboardEntryDTO in case competitor has no tracked race associated 2014-05-15 23:56:01 +02:00
Axel Uhl 28cd92a88a Merge branch 'master' into tracapi 2014-05-15 23:34:07 +02:00
Axel Uhl f2e1735562 Merge branch 'master' into bug1950 2014-05-15 23:33:14 +02:00
Axel Uhl 3c86721f2d (temporarily) replacing the ConcurrentWeakHashMaps in LockUtil by ConcurrentHashMaps again to see if it fixes bug 1921 2014-05-15 23:31:28 +02:00
Axel Uhl 1aa9e091e3 removed redundant synchronization on getCurrentThreadsPropagationCounts() in LockUtil.unlockAfterWrite 2014-05-15 22:19:19 +02:00
Axel Uhl fe0fcb4b83 Merge branch 'master' into bug1950 2014-05-15 21:19:14 +02:00
Axel Uhl 52ea7b1e57 working on bug 1954: first of all, reducing the number of constructor invocatoins for NaturalComparator 2014-05-15 16:25:25 +02:00
EC2 Server 076e5d3ee5 Merge remote branch 'origin/tracapi' into tracapi 2014-05-15 13:27:38 +00:00
EC2 Server ee820ed9bf Merge remote branch 'origin/master' into tracapi 2014-05-15 13:27:21 +00:00
Axel Uhl ea73edf91c Merge remote-tracking branch 'server/master' 2014-05-15 15:26:44 +02:00
Axel Uhl 2018364a55 keep de-serialization compatible with earlier versions by creating the lock object if it doesn't exist in readObject 2014-05-15 15:24:53 +02:00
Axel Uhl 2b55c3d2ec Merge branch 'master' into tracapi 2014-05-15 13:39:58 +02:00
Axel Uhl de4b2fb13e Merge branch 'master' into bug1950 2014-05-15 13:17:03 +02:00
Axel Uhl 4e3769e527 added test and fix for nationality setting and null handling on Competitor / Team 2014-05-15 11:44:27 +02:00
Axel Uhl 5349f5459e fixed NPE in TeamImpl.getNationality() in case there was no nationality set yet 2014-05-15 11:34:21 +02:00
Axel Uhl 2b2094e14a Merge branch 'master' into bug1950 2014-05-15 11:22:14 +02:00
Axel Uhl 54bf542d2a Merge branch 'master' into tracapi 2014-05-15 11:00:40 +02:00
Axel Uhl 0abe9c4a41 added a test case that without the fix of 98707dfc9b fails 2014-05-15 10:58:46 +02:00
Axel Uhl 98707dfc9b determine boat class from race ID in SwissTiming replay adapter; fixes a bug introduced by a refactoring that tries to get the boat class from Manage2Sail 2014-05-15 10:52:26 +02:00
Axel Uhl 0de90765a3 avoid NPE in leaderboard DTO calculation in case competitor track is not found (e.g., untracked competitor) 2014-05-15 10:31:22 +02:00
Axel Uhl beed4ed4ea use recursion if mark passing and tack and/or jibe are recognized in one group of unidirectional changes; see bug 1950 comment 3 2014-05-15 10:26:30 +02:00
Axel Uhl 46df62fb30 Merge branch 'master' into bug1950 2014-05-15 09:49:03 +02:00
Axel Uhl c47259dfea Merge branch 'master' into tracapi 2014-05-15 09:45:57 +02:00
Axel Uhl 6d9cfbd637 fixed an unlocking statement (had accidentally used unlockAfterRead after a lockForWrite) 2014-05-15 09:44:40 +02:00
Axel Uhl 5a811465cd Merge branch 'master' into tracapi 2014-05-15 07:39:29 +02:00
Axel Uhl 102caa8f76 replaced ConcurrentSkipListSet by Collections.newSetFromMap(new ConcurrentHashMap()) which doesn't require comparability 2014-05-15 07:37:21 +02:00
Axel Uhl 4dac3e571b seems to fix bug 1950 by not calling it a penalty if a mark passing was between the tack and the jibe 2014-05-15 00:44:56 +02:00
Axel Uhl 9e6c41aa53 added a failing test case for bug 1950: the Alinghi penalty that is none because a mark passing is between jibe and tack 2014-05-15 00:38:14 +02:00
Axel Uhl 4428f71388 Merge branch 'master' into tracapi 2014-05-15 00:06:30 +02:00
Axel Uhl aff7ecef7a added missing concurrency protection to regattasByName by using a lock 2014-05-15 00:04:54 +02:00
Axel Uhl ab960a0c9d Merge remote-tracking branch 'server/master' 2014-05-14 23:52:14 +02:00
Axel Uhl 56b61bfc21 added test for re-entrance of write locks with in-between read lock 2014-05-14 23:50:39 +02:00
Axel Uhl 17e58bb6cc Added hint on how to use MeasurementXMLFile to plot measurements in Hudson/Jenkins 2014-05-14 21:46:30 +00:00
Axel Uhl 9c9f8b4693 simplified construction of MeasurementXMLFile for Jenkins/Hudson measurements; use this to measure locking performance 2014-05-14 23:42:32 +02:00
Axel Uhl cdac144759 fixed type of tracker set to ConcurrentSkipListSet in test mock after changing it in RacingEventServiceImpl 2014-05-14 23:19:42 +02:00
Axel Uhl 77bea92fde implemented locking instead of synchronization (see bug 1935) for regattaTrackingCache 2014-05-14 23:13:16 +02:00
Axel Uhl 587824d807 replaced use of synchronized for raceTrackersByRegatta by the use of a corresponding lock 2014-05-14 22:57:58 +02:00
Axel Uhl 5a3defcf82 avoid needless iteration across all regattas' trackers when regatta is known in all callers 2014-05-14 21:31:46 +02:00
Axel Uhl de395104b1 turned regattasObservedForDefaultLeaderboard into a ConcurrentSkipListSet to avoid the use of synchronized 2014-05-14 21:23:40 +02:00
Axel Uhl cf49175417 fixed the consistent use of raceTrackersByIDLocks for write access to raceTrackersByID 2014-05-14 21:20:34 +02:00
Axel Uhl 40d57dbdda working on the completion of bug 1935 regarding the consistent use of locks instead of synchronized where possible 2014-05-14 21:09:05 +02:00
Axel Uhl 958d7b15e2 fixing bug 1935 by initializing the RaceLogInformation after deserializing RegattaImpl and FlexibleLeaderboardImpl objects; 2014-05-14 14:26:57 +02:00
Axel Uhl 2ea2457409 added net.sf.marineapi to Jetty on 8889 launch config with Proxy 2014-05-14 13:11:59 +02:00
Axel Uhl 18d6856a67 Merge remote-tracking branch 'origin/master' 2014-05-14 11:12:04 +02:00
Axel Uhl c539f050ae Merge branch 'master' into tracapi 2014-05-14 11:07:52 +02:00
Axel Uhl 858b2b55fe Merge remote-tracking branch 'origin/master'
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_ru.properties
2014-05-14 10:53:17 +02:00
Axel Uhl f6a616f7ca fixed merge problem 2014-05-14 10:30:43 +02:00
Axel Uhl 5bf931b781 Merge remote-tracking branch 'server/tracapi' into tracapi 2014-05-14 10:28:31 +02:00
Axel Uhl 774584fc13 Merge branch 'master' into tracapi
Conflicts:
	java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/markpassing/FlorianopolisMarkPassingTest.java
	java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/markpassing/KW470MarkPassingTest.java
	java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/markpassing/OBMR2012VRMarkPassingTest.java
2014-05-14 10:14:12 +02:00
Axel Uhl c00c68597e ftes-rltracking merge had to adjust RacesHandle-->RaceHandle and added a missing gpsFixStore parameter to a constructor 2014-05-13 21:04:00 +02:00
Axel Uhl 5c2fc3b888 Merge branch 'master' into tracapi
Conflicts:
	java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/markpassing/FlorianopolisMarkPassingTest.java
	java/com.sap.sailing.domain.tractracadapter/src/com/sap/sailing/domain/tractracadapter/DomainFactory.java
	java/com.sap.sailing.domain.tractracadapter/src/com/sap/sailing/domain/tractracadapter/impl/DomainFactoryImpl.java
	java/com.sap.sailing.domain.tractracadapter/src/com/sap/sailing/domain/tractracadapter/impl/RaceTrackingConnectivityParametersImpl.java
	java/com.sap.sailing.domain.tractracadapter/src/com/sap/sailing/domain/tractracadapter/impl/TracTracRaceTrackerImpl.java
	java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/TrackedRaceImpl.java
	java/com.sap.sailing.gwt.ui.test/src/com/sap/sailing/gwt/ui/test/SailingServiceImplMock.java
	java/com.sap.sailing.mongodb.test/src/com/sap/sailing/mongodb/test/TestStoringAndRetrievingWindTracksTest.java
	java/com.sap.sailing.server.replication.test/src/com/sap/sailing/server/replication/test/AbstractServerReplicationTest.java
2014-05-13 20:21:33 +02:00
Axel Uhl cc37019222 Merge remote-tracking branch 'server/master' 2014-05-13 14:38:12 +02:00
Axel Uhl 78b65ae114 the randomized wait interval in the SwissTiming connector killed a bunch of tests assuming faster response; withdrew the random wait;
This was a workaround for bug 171 (see comment #2). We need to wait for what I expect to be a fix coming from SwissTiming.
2014-05-13 14:38:05 +02:00
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