Axel Uhl
a04861f57b
fixing bug 1320: wind tracking for SwissTiming races didn't wait until race definition was created
2013-03-31 14:58:12 +02:00
Axel Uhl
d858be97f3
Merge remote-tracking branch 'server/master'
2013-03-29 15:45:28 +01:00
Axel Uhl
465d618fbc
fixed smart future cache test which now failed due to more rigid locking policy;
...
can't suspend the cache(...) method which is holding the write lock while trying to read using get(...).
The get(...) method will simply block because a cache update is currently on its way.
2013-03-29 15:40:01 +01:00
Simon Pamies
3b497e7e95
Moved away from calling logger.throwing because this logs with level FINER that is not catched in most logging configurations. Used logger.log(level, message, throwable).
2013-03-29 15:19:03 +01:00
Axel Uhl
ab7fc9c519
Fixed by 1317: ConcurrentModificationException in SmartFutureCache unpropagating lock set
2013-03-22 15:09:42 +01:00
Axel Uhl
057a479586
Largely fixed bug 1023. While it doesn't show an additional column with the race count, LowPoint and HighPoint and all
...
their derived schemes rank a competitor better if it has more races; all races of those schemes are now always
considered valid for total points score. The old implementation is still in AbstractScoringScheme in case someone
needs them in a specific scheme.
2013-03-22 15:04:18 +01:00
Axel Uhl
eb7245c3dc
added a comment on the minimum size of the thread pool for the SmartFutureCache
2013-03-22 11:26:52 +01:00
Axel Uhl
f9292e64c3
added lock propagation to LeaderboardDTOCache and SmartFutureCache
2013-03-22 00:28:23 +01:00
Axel Uhl
82b464eafe
added comment to SmartFutureCache.triggerUpdate to explain the need for randomization in case of mass updates
2013-03-22 00:09:14 +01:00
Axel Uhl
e73b325db7
Merge remote-tracking branch 'server/master'
2013-03-21 23:59:20 +01:00
Axel Uhl
91b684804b
use a single ThreadPool for all SmartFutureCache instances, 3*availableProcessors in size; shuffle multi-cache-invalidations;
...
when invalidating a SmartFutureCache for a number of keys, if this always happens in the same order, the first few keys
will be re-computed over and over again because cancelling them is not possible as they have already started, but a new
re-calculation needs to be triggered still. All later keys will be appended to the ordered queue but will keep getting
canceled because they haven't started their calculation yet. By shuffling the keys before triggering their invalidation,
all elements will fairly get re-calculated every now and then.
2013-03-21 23:53:39 +01:00
Armin Zamani
d1f64c456d
renamed "CourseData" to "CourseBase", "EventData" to "EventBase" and
...
"SeriesData" to "SeriesBase", and their impl-classes accordingly,
renamed "CourseDataJsonSerializer" to "CourseBaseJsonSerializer"
2013-03-21 18:30:30 +01:00
fmittag
bd9ef9b963
Merge remote-tracking branch 'origin/master'
2013-03-20 19:16:06 +01:00
fmittag
9a3319b5f1
fixed a bug with the replication of default regattas (id replication was broken)
...
added a test case for replicating default regattas
2013-03-20 19:12:15 +01:00
Axel Uhl
7211f60040
fixed use of LowPointWinnerGetsZero scoring scheme
2013-03-20 16:40:54 +01:00
Axel Uhl
77459000c1
bug 1273: added scoring scheme that gives 0 points to race winner
2013-03-14 15:19:34 +01:00
Axel Uhl
3e140802f0
renamed scoring scheme after slightly changing semantics
2013-03-08 19:25:11 +04:00
Axel Uhl
5cf1a46875
in renamed HighPointsForstGets10LastBreaksTie scoring scheme use last race to break tie; fixed net points/total points bug in compareByScores
2013-03-08 18:22:24 +04:00
Axel Uhl
ed76399644
further relaxed wind fix filtering so that race start and start of tracking, when used exactly, still match
2013-03-07 16:35:29 +04:00
Axel Uhl
19b0e87db3
relaxed timing check for wind fix filtering
2013-03-07 15:41:47 +04:00
Axel Uhl
d4fc7d181e
fixed filtering of wind fixes (after/before were swapped)
2013-03-07 12:18:58 +04:00
Axel Uhl
429f545298
Catch IllegalArgumentException during wind estimation in case of a mismatch between mark passing and course layout
2013-03-07 09:10:40 +04:00
Axel Uhl
badcaaf6ca
record wind fix only if it's between startOfTracking and endOfTracking or either of those is null
2013-03-07 09:08:54 +04:00
Axel Uhl
c3ea5cb602
fixed broken (inactive) display of races in leaderboard group / spectator view
...
The problem was the addition of seriesName in FleetDTO which was included in equals/hashCode but not properly initialized
for flexible leaderboards. It was set to "Default" instead of null and hence the comparison to the null value as delivered
by the FlexibleLeaderboard failed.
2013-03-07 00:40:53 +04:00
Axel Uhl
06b1f44134
avoiding cache invalidations because of late wind fixes by suppressing wind after some timeout period after endOfRace
2013-03-06 15:54:21 +04:00
Simon Pamies
792dfd7de2
Made sure that event is correctly replicated upon initial load, also
...
stopping trackers upon initial load on replica
2013-03-05 11:10:54 +01:00
Armin Zamani
948569bb60
added Javadoc
2013-03-03 14:49:28 +01:00
Armin Zamani
76a249ad23
Added some Javadocs for explanation of our implementation and renamed
...
some methods
2013-03-03 14:02:32 +01:00
Armin Zamani
514a8864cb
Added a test for storing and retrieving race log events on regattas,
...
set race log at regatta creation
2013-03-02 17:12:45 +01:00
Armin Zamani
ad4e60fa89
added JavaDoc to Template
2013-03-02 15:36:10 +01:00
Armin Zamani
67375f2a5b
Solved some errors after merge
2013-03-01 15:47:43 +01:00
Armin Zamani
b254437be3
Merge branch 'master' into racecommittee_integrated
...
Conflicts:
java/com.sap.sailing.domain.swisstimingadapter/src/com/sap/sailing/domain/swisstimingadapter/impl/DomainFactoryImpl.java
java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/CourseTest.java
java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/CourseUpdateTest.java
java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/RouteAssemblyTest.java
java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/WindTest.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/RaceCourseReceiver.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/base/Course.java
java/com.sap.sailing.domain/src/com/sap/sailing/domain/base/DomainFactory.java
java/com.sap.sailing.domain/src/com/sap/sailing/domain/base/impl/CourseImpl.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/SailingService.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/server/SailingServiceImpl.java
java/com.sap.sailing.server.replication.test/src/com/sap/sailing/server/replication/test/ServerReplicationTest.java
java/com.sap.sailing.server.replication.test/src/com/sap/sailing/server/replication/test/TrackedRaceContentsReplicationTest.java
2013-03-01 15:10:49 +01:00
Armin Zamani
d7f9bbbaf9
Just formatting: Changed tabs to spaces by formatting hole files (Ctrl +
...
I in Eclipse) that we might have touched while developing on this branch
2013-03-01 14:33:37 +01:00
Axel Uhl
29ed4192ed
reverted unnecessary Java 1.7-->1.6 migrations; applied single return policy; some whitespace changes
2013-03-01 00:13:59 -08:00
Axel Uhl
376e4d7063
adjusted some formatting and whitespaces
2013-02-28 18:09:18 -10:00
fmittag
4a90f84793
Merge remote-tracking branch 'origin/master' into passingSide
2013-02-27 16:05:59 +01:00
fmittag
510b9dda7d
Finalized implementation of the new passingSide for Waypoints
...
cleanup of getRaceCourse() method in Sailingservice and improvement of RaceCourseManagementPanel in gwt UI
2013-02-27 15:53:49 +01:00
Lukas Niemeier
9a04fb0edb
# moved variable to variable declarations
2013-02-27 00:41:27 +01:00
fmittag
88a6ea4f65
work commit..
...
added passingSide for course waypoints (parsed from tractrac metadata) to all course/waypoint creation methods and course updates
next step is adaptation of tests and swisstiming adapter
2013-02-26 20:04:25 +01:00
Armin Zamani
a779640411
Merge branch 'master' into racecommittee_integrated
...
Conflicts:
java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/CourseUpdateTest.java
java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/OnlineTracTracBasedTest.java
java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/ReceiveMarkPassingDataTest.java
java/com.sap.sailing.domain.test/src/com/sap/sailing/domain/test/ReceiveTrackingDataTest.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/TracTracRaceTrackerImpl.java
java/com.sap.sailing.domain/src/com/sap/sailing/domain/leaderboard/impl/AbstractSimpleLeaderboardImpl.java
java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/TrackedRace.java
java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/TrackedRegatta.java
java/com.sap.sailing.domain/src/com/sap/sailing/domain/tracking/impl/TrackedRegattaImpl.java
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.mongodb.test/src/com/sap/sailing/mongodb/test/TestStoringAndRetrievingWindTracksTest.java
2013-02-26 13:26:25 +01:00
Axel Uhl
58ffefff5a
fixing bug 1239 by also passing TrackedRace along with addRaceDefinition
2013-02-26 11:32:48 +01:00
Axel Uhl
53ca470ebe
bug 1235: added overall detail columns for total average speed and total distance traveled
2013-02-26 04:14:15 +01:00
Armin Zamani
566916ece4
Merge branch 'racecommittee_integrated' of ssh://sapsailing.com/home/trac/git into racecommittee_integrated
...
Conflicts:
java/com.sap.sailing.gwt.ui.test/src/com/sap/sailing/gwt/ui/test/MockedTrackedRace.java
2013-02-24 23:19:50 +01:00
Armin Zamani
9d72f87f04
Implemented CourseArea as another field to be selected in the Admin
...
Console for Regattas and propagated it in the Regatta infrastructure
2013-02-24 23:17:21 +01:00
Lukas Niemeier
5e9bff4301
# on racecolumn link race log gets attached to TrackedRace
2013-02-24 21:06:08 +01:00
Lukas Niemeier
1595409c90
# RacingEventService uses RaceLogReplicator to replicate all incoming RaceLogEvents on RaceLogs
...
# Currently only RaceLogs of RaceColumns in Leaderboards supported
# Added some tests
2013-02-24 02:31:23 +01:00
Armin Zamani
bd2bbda196
Merge branch 'racecommittee_integrated' of ssh://sapsailing.com/home/trac/git into racecommittee_integrated
2013-02-23 23:46:54 +01:00
Armin Zamani
fe2ca8196d
Merge branch 'racecommittee_integrated' of ssh://sapsailing.com/home/trac/git into racecommittee_integrated
...
Conflicts:
java/com.sap.sailing.domain/src/com/sap/sailing/domain/leaderboard/impl/FlexibleLeaderboardImpl.java
2013-02-23 23:46:22 +01:00
Lukas Niemeier
3d421a84cb
# replication of racelogs on initial load
...
# preparation of replication on add
# tests (currently testRaceEventReplication is failing)
2013-02-23 23:45:44 +01:00
Armin Zamani
ef620a9a20
had commented RaceLogInformation for testing purpose, taken it out
2013-02-23 23:44:29 +01:00