Armin Zamani
0a23a1498f
worked on Java doc
2013-04-14 12:46:19 +08:00
Armin Zamani
28d6d05de7
Added more javadoc and comments for code explanations
2013-04-14 12:01:40 +08:00
Armin Zamani
7a57e77157
Merge branch 'master' into racecommittee_integrated
2013-04-14 10:10:16 +08:00
Armin Zamani
e97c888369
Refactored Score corrector code
2013-04-13 12:52:56 +08:00
Armin Zamani
490cce4beb
added the case that a MaxPointsReason was set before and is now resetted by the race committee
2013-04-13 12:25:46 +08:00
Armin Zamani
fba0517ac5
Changed score correction comment to look more official by the Race
...
Committee, refactored code in course update handler, added more logging
regarding the result of the course update
2013-04-13 11:50:16 +08:00
Armin Zamani
704bf9d095
Changed competitor in PositioningListEvent to a plain group of
...
competitor id and competitor name
2013-04-13 08:38:55 +08: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
Simon Pamies
2c865cf37a
Make sure that automatic score corrections also update score correction metadata especially the timepoint
2013-04-12 11:52:19 +08:00
Simon Pamies
bf1a97f7e3
Fixed nasty bug where races couldn't be added to a regatta
2013-04-11 12:26:41 +08:00
Armin Zamani
86f7225568
Fixed possible source of NPE in scoring check
2013-04-11 03:24:40 +02:00
Armin Zamani
b501d1ca6f
Merge branch 'racecommittee_integrated' of
...
ssh://armin@sapsailing.com/home/trac/git into racecommittee_integrated
Conflicts:
java/com.sap.sailing.domain/src/com/sap/sailing/domain/leaderboard/impl/AbstractSimpleLeaderboardImpl.java
2013-04-11 00:28:12 +02:00
Armin Zamani
055c341ec1
Implemented a new replicating RaceColumnListener that listens for score
...
correction events in the racelog and checks if a score correction is
needed
2013-04-11 00:23:39 +02:00
Armin Zamani
931d2fe98e
Implemented the throughput of the TracTrac user name and password from
...
the AdminConsole to the CourseDesignChangeHandler in the TracTrac
adapter
2013-04-03 20:33:26 +02:00
Armin Zamani
ac1acc6d18
Merge branch 'master' into racecommittee_integrated
...
Conflicts:
java/com.sap.sailing.domain.tractracadapter.persistence/src/com/sap/sailing/domain/tractracadapter/persistence/impl/DomainObjectFactoryImpl.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/LeaderboardConfigPanel.java
2013-04-01 01:01:12 +02:00
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
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
Armin Zamani
5aeb30b1c9
Merge branch 'master' into racecommittee_integrated
2013-03-22 15:13:45 +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
Armin Zamani
6b4efe7af5
Merge branch 'master' into racecommittee_integrated
...
Conflicts:
java/com.sap.sailing.server.gateway/WEB-INF/web.xml
java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/impl/EventsJsonExportServlet.java
java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/impl/rc/RaceGroupJsonExportServlet.java
2013-03-22 13:51:55 +01:00
fmittag
75751b7550
Merge remote-tracking branch 'origin/master' into leaderboard_json_doc_and_test
2013-03-22 11:51:13 +01:00
fmittag
4681e78b61
Merge remote-tracking branch 'origin/master' into leaderboard_json_doc_and_test
...
Conflicts:
java/com.sap.sailing.server.gateway/WEB-INF/web.xml
java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
java/com.sap.sailing.server/src/com/sap/sailing/server/operationaltransformation/AddDefaultRegatta.java
2013-03-22 10:45:34 +01:00
Armin Zamani
6d0660120b
Merge branch 'master' into racecommittee_integrated
2013-03-22 10:42:10 +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
e8742c504a
Merge branch 'master' into racecommittee_integrated
2013-03-20 23:40:05 +01:00
Armin Zamani
f924559542
introduced the course design update URI as part of the constructors for
...
tractrac race creation
2013-03-20 19:31:23 +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
fmittag
8aa04590ff
Merge remote-tracking branch 'origin/master' into leaderboard_json_doc_and_test
2013-03-20 15:33:54 +01:00
fmittag
123e58bc3d
initial commit for documentation of gateway web services (json exports)
2013-03-20 12:09:45 +01:00
fmittag
26da06454e
cleanup of method parameter name during regatta creation (baseRegattaName instead of baseEventName)
2013-03-20 12:07:47 +01:00
Armin Zamani
d97d442244
added race log specific bundles to run configuration again
2013-03-19 22:08:58 +01:00
Armin Zamani
44d78fadd9
Merge branch 'master' into racecommittee_integrated
...
Conflicts:
java/com.sap.sailing.server/SailingServer (No Proxy, Jetty on 8889).launch
2013-03-19 22:05:33 +01:00
Axel Uhl
937d54b3ed
added XRR import bundle to launch configs; fixed mix-up of boat class name and event name in XRR result import
2013-03-19 21:11:44 +01:00
Armin Zamani
619f0fead9
Merge branch 'master' into racecommittee_integrated
...
Conflicts:
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java
java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/impl/rc/RaceGroupFactory.java
2013-03-19 19:08:36 +01:00
Axel Uhl
8a1c604d99
ultimate fix for bug 1310, now also removing overall leaderboard from racing event service
2013-03-19 18:26:45 +01:00
Axel Uhl
ce81b899d4
fixing bug 1310 by removing the overall leaderboard from the DB when removing the leaderboard group
2013-03-19 18:19:57 +01:00
Axel Uhl
6bef155bc5
Quick fix for bug 1310: return null as leaderboard loading result when trying to load an overall leaderboard as a flexible leaderboard
2013-03-19 18:15:29 +01:00
Lukas Niemeier
e6054b176b
# fixed 8889 launch config
2013-03-19 16:14:37 +01:00
Armin Zamani
f8688f1c94
Bug fix: For races that were loaded as TrackedRaces and race columns
...
were added in the default flexible leaderboard, the race log was missing
2013-03-17 19:32:17 +01:00
Simon Pamies
25b30b420a
More logging for serializing
2013-03-07 16:32:02 +01:00
Simon Pamies
05cedb8f38
As eventsById is already emptied we're not counting old size
2013-03-07 16:14:25 +01:00
Simon Pamies
caceca7647
Added more logging about events being serialized
2013-03-07 16:14:25 +01: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
Simon Pamies
ea739d8e0c
Ensuring that association between tracked race and column is not removed
...
completely
2013-03-05 12:38:00 +01: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
94944464f3
Fixed some errors after merge
2013-03-03 18:24:18 +01:00
Armin Zamani
79a39ef402
Merge branch 'master' into racecommittee_integrated
...
Conflicts:
java/com.sap.sailing.gwt.ui.test/src/com/sap/sailing/gwt/ui/test/GwtTestCaseColumnToggling.java
java/com.sap.sailing.gwt.ui.test/src/com/sap/sailing/gwt/ui/test/TestColumnSwapping.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/AbstractLeaderboardDialog.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/FlexibleLeaderboardCreateDialog.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/FlexibleLeaderboardEditDialog.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/LeaderboardConfigPanel.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/LeaderboardDescriptor.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/RegattaLeaderboardCreateDialog.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/RegattaLeaderboardDialog.java
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/RegattaLeaderboardEditDialog.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.mongodb.test/src/com/sap/sailing/mongodb/test/TestStoringAndLoadingEventsAndRegattas.java
java/com.sap.sailing.server.replication.test/src/com/sap/sailing/server/replication/test/DelayedLeaderboardCorrectionsReplicationTest.java
java/com.sap.sailing.server.replication.test/src/com/sap/sailing/server/replication/test/PrematureOperationReceiptTest.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/TrackRaceReplicationTest.java
java/com.sap.sailing.server.test/src/com/sap/sailing/server/test/LeaderboardDiscardingRulesTest.java
java/com.sap.sailing.server.test/src/com/sap/sailing/server/test/OperationalTransformationTest.java
java/com.sap.sailing.server/src/com/sap/sailing/server/RacingEventService.java
java/com.sap.sailing.server/src/com/sap/sailing/server/impl/RacingEventServiceImpl.java
java/com.sap.sailing.server/src/com/sap/sailing/server/operationaltransformation/CreateFlexibleLeaderboard.java
java/com.sap.sailing.server/src/com/sap/sailing/server/operationaltransformation/CreateRegattaLeaderboard.java
2013-03-03 17:40:51 +01:00
fmittag
be38ea453c
Fixed several issues related to regatta leaderboard creation
...
- Replication issues
- Bug 1249 - Sort regattas in "Create regatta leaderboard" dialog
- Bug 1250 - Display name not applied by Create Regatta Leaderboard dialog
2013-03-03 14:53:19 +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
a96e692b5f
changed SailingGWT.launch again after merge, removed wrong and
...
unnecessary additional workspace_bundles key
2013-03-01 15:52:25 +01:00