Commit Graph
118 Commits
Author SHA1 Message Date
Axel Uhl 9be441e110 fixed updating the race course which fixes bug 16 2012-01-27 15:51:49 +01:00
Axel Uhl 882e537136 attempt at fixing bug 202 by checking that race removal *made* the races list(s) empty 2012-01-25 00:13:56 +01:00
Lennart Hensler b07ee43e65 Refactored trac trac ports 2012-01-20 10:18:52 +01:00
Lennart Hensler 94a9bea66a Refactored host name 2012-01-20 09:56:55 +01:00
Axel Uhl 22b24c0450 switched all projects to Java7 except for those used by as GWT source 2012-01-19 10:01:36 +01:00
Lennart Hensler 02a293360e Moved QuadTree to *.common + Added Cache to Geocoder 2012-01-12 18:23:54 +01:00
Lennart Hensler 51d874d192 More Refactoring + Improvements of getRacePlaces() 2012-01-12 14:48:00 +01:00
Lennart Hensler d7108af177 First try to build after using Position in Geocoder 2012-01-11 11:44:14 +01:00
Lennart Hensler ec3bb51440 Refactoring done 2012-01-10 16:33:46 +01:00
Axel Uhl 2ea9ebeb6f explicitly Thread.stop trac trac I/O thread if it doesn't stop by itself after three seconds; improved logging 2012-01-07 17:01:07 +01:00
Axel Uhl 2db36a7896 avoid NPE when no competitor class is provided by a TracTrac competitor 2012-01-05 11:55:16 +01:00
fmittag 531aa0166f clean up of all version in all pom.xml files
- changed 0.0.1-SNAPSHOT to 1.0.0-SNAPSHOT
- changed product version from 1.1.0 to 1.0.0
- removed unnecessary <version> tags in plugins
2012-01-04 16:04:23 +01:00
Axel Uhl 9f3968e07b moved Tack and LegType enumerations to domain.common bundle 2011-12-30 10:00:27 +01:00
Axel Uhl 649451f5fa moved NoWind[Error|Exception] to domain.common package and use in SailingService interface 2011-12-30 09:52:38 +01:00
Axel Uhl 9e388831e3 moved Util class to domain.common and use its Pair/Triple utility classes also in gwt.ui 2011-12-30 09:49:02 +01:00
Axel Uhl 5c8e8a9637 Merge branch 'gwt' into osgi_mvn_refactoring
Conflicts:
	java/com.sap.sailing.domain.test/META-INF/MANIFEST.MF
	java/com.sap.sailing.feature/feature.xml
	java/com.sap.sailing.gwt.ui.test/META-INF/MANIFEST.MF
	java/com.sap.sailing.mongodb.test/META-INF/MANIFEST.MF
2011-12-29 14:56:10 +01:00
Axel Uhl 4398a0e3e2 introduced com.sap.sailing.domain.common project which lets us share between domain and gwt.ui 2011-12-29 10:57:25 +01:00
Axel Uhl c972c9e3d1 Merge branch 'gwt' into osgi_mvn_refactoring
Conflicts:
	java/com.sap.sailing.gwt.ui.test/.gitignore
	java/com.sap.sailing.gwt.ui.test/META-INF/MANIFEST.MF
	java/com.sap.sailing.server.api/.project
	java/com.sap.sailing.server.test/META-INF/MANIFEST.MF
	java/com.sap.sailing.server/META-INF/MANIFEST.MF
	java/com.sap.sailing.server/SailingServer (No Proxy).launch
	java/com.sap.sailing.server/SailingServer (No Proxy, No Tests).launch
	java/com.sap.sailing.server/SailingServer (No Proxy, Remote Debug SAP VM).launch
	java/com.sap.sailing.server/SailingServer (Proxy).launch
	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/Activator.java
2011-12-28 15:37:10 +01:00
Axel Uhl 32e594b8bf make "true" the default for upwind start; explicitly exclude other boat classes on demand 2011-12-22 13:47:41 +01:00
Axel Uhl be6c9eb6b7 end-to-end support for first-leg-is-upwind identification 2011-12-20 17:23:56 +01:00
Axel Uhl 82077866ce started to introduce a flag on TrackedRace identifying whether the first leg is known to be upwind 2011-12-20 16:10:56 +01:00
Axel Uhl 8f78b274de create TrackedRace after having added RaceDefinition to Event 2011-12-19 18:50:01 +01:00
Axel Uhl 58a20e9bdd add new RaceDefinition to Event before notifying waiters 2011-12-19 14:46:40 +01:00
Axel Uhl b7ac55ae5f added logging for events dropped due to missing TrackedRace 2011-12-19 14:22:45 +01:00
Axel Uhl 90d887be9a changed getOrCreateRaceDefinition such that TracTrac connector creates RaceDefinition and TrackedRace;
The problem was that AbstractReceiverWithQueue.getTrackedRace(Race race) waited for the RaceDefinition
and started fetching the TrackedRace immediately after it was unblocked by the notifyAll that
happened upon creating the RaceDefinition. At this point the RaceCourseReceiver may not have had
issued the creation of the TrackedRace. Hence, the lookup of the TrackedRace may have failed,
resulting in events being dropped instead of having gotten added to the TrackedRace.
2011-12-19 14:17:57 +01:00
Axel Uhl e3548080eb added proper super.tearDown call to CourseUpdateTest which should avoid orphan threads and receivers 2011-12-19 13:37:20 +01:00
Axel Uhl da77b6def9 set receivedEventDuringTimeout when event is enqueued, not when it's taken from queue 2011-12-18 00:37:46 +01:00
Axel Uhl 0f2649e0ef yet improved logging 2011-12-18 00:25:41 +01:00
Axel Uhl 8435a77e96 improved logging 2011-12-18 00:20:55 +01:00
Axel Uhl 33102070c0 for test cases, give TracTrac receivers a timeout instead of preemptively stopping them as more events arrive 2011-12-16 11:15:29 +01:00
Axel Uhl 5faea262cd updated Javadocs that talk about lack of synchronization between master and tracking data 2011-12-13 23:03:22 +01:00
Axel Uhl 5a9ef811b5 refactored TracTracRaceTrackerImpl such that it doesn't update TrackedRaces no longer part of the (Tracked)Event 2011-12-13 16:25:16 +01:00
Axel Uhl d970be5348 more fixes regarding race removal and leaderboard configuration 2011-12-09 13:00:15 +01:00
fmittag 6ef85a92ef moved org.json.simple from bundle project to target-base 2011-12-08 15:42:43 +01:00
Axel Uhl 32cc72e7dd fixed Bug 58: turned RaceHandle into RacesHandle and adjusted getRace(...) to getRaces(...) accordingly 2011-12-03 11:11:12 +01:00
Axel Uhl ee8e750957 moved boat class cache and creation to base domain factory 2011-12-01 18:00:35 +01:00
Axel Uhl a372fa9b12 pulled createMarkPassing into base domain factory 2011-12-01 16:13:01 +01:00
Axel Uhl dacf7a7197 factored course update functionality into Course / CourseImpl 2011-12-01 15:49:24 +01:00
Axel Uhl ef3c013f77 move common functionality from tracking provider-specific domain factories to base domain factory 2011-12-01 14:26:05 +01:00
Axel Uhl d620a33753 use only one getManeuvers() call to fill leg entry 2011-11-30 21:25:31 +01:00
Axel Uhl 3764f06c74 added leg detail column for number of maneuvers; added race detail column for number of manuevers 2011-11-30 11:17:54 +01:00
Axel Uhl 80c75c031d use boat class's approximate maneuver duration as time over which to average speed 2011-11-30 00:09:23 +01:00
Axel Uhl e945d39eb6 renamed DynamicTrack to DynamicGPSFixTrack because it only tracks GPSFixes 2011-11-25 12:59:11 +01:00
Axel Uhl 9699896de3 clean up SwissTiming Event/Race/TrackedEvent/TrackedRace after stopping tracking it;
this may need to be adjusted once we add BoatClass support and hence group several
races in one Event object
2011-11-21 23:06:41 +01:00
Axel Uhl 4c96d2e23c factored out the common stop() functionality of RaceTrackers 2011-11-21 21:30:28 +01:00
Axel Uhl b38242f251 more robust exception handling within SailMasterConnectorImpl, catching exceptions caused by handlers 2011-11-15 13:10:06 +01:00
Axel Uhl 93ccfe55d6 refactored: moved functionality for TrackedRace creation including constants for default averaging times 2011-11-14 22:37:06 +01:00
Axel Uhl e4ad871221 removed no longer necessary comment 2011-11-14 22:01:12 +01:00
Axel Uhl 00b2749202 refactored to get rid of the "token" approach for updating / retrieving RaceDefinitions from tracker 2011-11-14 21:55:31 +01:00
Axel Uhl ef4547357f Moved top-level cache for TrackedEvent from TracTrac-specific DomainFactory to RacingEventService;
introduced a TrackedEventRegistry interface in com.sap.sailing.domain that is now extended by
RacingEventService as well as a dummy implementation for use by tests
2011-11-14 17:00:17 +01:00