Commit Graph
133 Commits
Author SHA1 Message Date
Axel Uhl 4677f19d50 moved the competitor cache to the base DomainFactory 2012-04-20 18:04:58 +02:00
Axel Uhl 598bb96720 made more classes serializable; a first serialization / deserialization test for a GPSFixTrack now works 2012-04-18 13:04:22 +02:00
Axel Uhl 871292d599 made more objects serializable 2012-04-17 17:55:38 +02:00
Axel Uhl cedf9fc427 use a weak identity hash map to cache mapping of TracTrac event objects to SAP sailing domain Event objects 2012-04-09 13:07:39 +02:00
Axel Uhl c1eb61a617 clone listener set into array, moving listener notification out of synchronized block, trying to increase concurrency 2012-04-09 12:43:32 +02:00
Axel Uhl 497ed61a5b print "P" only every 1000 positions received to lower performance requirement for System.out handling 2012-04-09 09:50:22 +02:00
Axel Uhl 8e795aeab4 refactored adding a race tracker in RacingEventService 2012-03-30 18:17:59 +02:00
Axel Uhl 4d8d02d5b1 refactored addRace functionality, introducing polymorphic connectivity parameter objects across connectors 2012-03-30 16:56:05 +02:00
fmittag a9f9a728fe added the forwarding of the StopTracking event from TracTrac
added a new property to the TrackedRace to keep the StopTracking timepoint
2012-03-27 13:54:20 +02:00
Axel Uhl 470b4b0f1d don't set race start time anymore from arbitrary GPS fix; set startOfTracking instead of race start from TracTrac
So far, we confused the start of tracking with the start of race in DynamicTrackedRaceImpl and the TracTrac
provider. This is now fixed by a new setter for startOfTracking. Watch out for negative effects of this
fundamental change...
2012-03-23 09:35:22 +01:00
Axel Uhl 528318fbb9 fixed return types for getTimeInMilliseconds consistently 2012-03-18 10:26:02 +01:00
Axel Uhl 98fbf0cdb5 towards solving bug 394: enhanced SailingService so it can cope with null from/to values for getWindInfo 2012-03-14 14:57:49 +01:00
Axel Uhl 4bec1d8b0f use UTC to parse time stamps from TracTrac JSON document; this now fixes the mark position volume issue 2012-03-09 10:34:57 +01:00
Axel Uhl 8fd3667793 increased resolution for raw COMBINED fixes to 10s; constrain MarkPosition loading to tracked time 2012-03-09 00:04:50 +01:00
Axel Uhl 4af970de4a during wind estimation, ignore boats "going backwards" in a leg; copes with missing mark passings;
needed to adjust one test case which was changing the leg type but didn't change the competitor bearings
2012-03-08 12:36:03 +01:00
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