Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl 987fbfb30e implemented de-serialization through DomainFactory for Buoy, Competitor, Nationality, Waypoint, ControlPoint 2012-04-23 12:17:04 +02:00
Axel Uhl 652eaa5efa added missing file for class ObjectInputStreamResolvingAgainstDomainFactoryImpl 2012-04-23 08:57:58 +02:00
Axel Uhl a240e53a51 added an ObjectInputStream subclass that can be used to resolve against a base DomainFactory 2012-04-20 18:18:06 +02:00
Axel Uhl 4677f19d50 moved the competitor cache to the base DomainFactory 2012-04-20 18:04:58 +02:00
Axel Uhl 10ef972c75 added an operation execution listener pattern for RacingEventService 2012-04-20 17:53:33 +02:00
Axel Uhl 34124bdd4c refactored SailingServiceImpl to use the RacingEventServiceOperations for ops requiring replication 2012-04-20 16:00:14 +02:00
Axel Uhl 6380d8709a refactored such that RacingEventServiceOperation has internalApplyTo with a logical return type 2012-04-20 14:33:06 +02:00
Axel Uhl fbcf748000 added command to conenct tracked race to leaderboard column 2012-04-20 13:40:38 +02:00
Axel Uhl 2908c840bb formatting / whitespace change only 2012-04-20 13:03:39 +02:00
Axel Uhl e784a6411b fixed endless recursion / StackOverflowError in RacingEventService.getExistingTrackedRace 2012-04-19 14:27:41 +02:00
Axel Uhl 553e891701 added rank for competitor chart detail 2012-04-19 13:47:07 +02:00
Axel Uhl b4fb3c460a added remaining leaderboard manipulation operations 2012-04-19 10:14:57 +02:00
Axel Uhl b9186c5b1d added more commands / operations for replication 2012-04-19 09:16:02 +02:00
Axel Uhl 7dca2507a2 added more commands/operations for server 2012-04-18 17:47:15 +02:00
Axel Uhl 93f99db38f changed updateLeaderboardGroup such that it uses String for Leaderboard identification; added more operations 2012-04-18 17:28:50 +02:00
Axel Uhl 319c58dc79 reverted change regarding adding boat class extracted from raceID to event; was harmful for tests 2012-04-18 16:28:50 +02:00
Axel Uhl 1427cc601c trying to solve the deserialization/OSGi class loading problem by using Thread.getContextClassLoader() 2012-04-18 15:13:30 +02:00
Axel Uhl bb20b56139 use an ObjectInputStream for deserialization that has a configurable class loader for use in OSGi context 2012-04-18 14:02:11 +02:00
Axel Uhl 12f7ae5e4a added synchronization on CourseImpl's serialization routine (writeObject) 2012-04-18 13:38:25 +02:00
Axel Uhl 6821be631c added synchronization to the serialization routines for tracks 2012-04-18 13:37:06 +02:00
Axel Uhl b7b2621d68 added AddRaceDefinition operation 2012-04-18 13:13:47 +02:00
Axel Uhl 1993766ff8 added test case for serialization 2012-04-18 13:12:46 +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 6928decaa3 formatting/whitespace changes 2012-04-17 18:07:42 +02:00
Axel Uhl 0c42ac3ea4 Merge remote-tracking branch 'server/master' 2012-04-17 18:00:48 +02:00
Axel Uhl 871292d599 made more objects serializable 2012-04-17 17:55:38 +02:00
Axel Uhl d4be211589 made most domain objects serializable 2012-04-17 17:32:08 +02:00
Axel Uhl 21cfa7ca71 use boat class in SwissTiming connector when creating the event 2012-04-17 14:15:17 +02:00
Axel Uhl 3acfccc23e added operation to track an event 2012-04-17 14:04:50 +02:00
Axel Uhl cee0c8d37e made operation objects serializable; implemented TrackRace operation 2012-04-17 13:26:49 +02:00
Axel Uhl 6ce3396cd6 generated persistent declination information for 2013 2012-04-10 07:12:22 +02:00
Axel Uhl 054368b65a avoid NPEs when importing declination for a new year; started importing declination for 2013 2012-04-09 21:51:13 +02:00
Axel Uhl 845c766ee5 adjusted more declination test verdicts 2012-04-09 17:38:28 +02:00
Axel Uhl 8f8c24df4b fixing bug 536, adapting to new NOAA service interface and fixing test verdicts for modified results 2012-04-09 17:33:11 +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 3a718acd89 removed premature "return" by inverting "if" condition 2012-04-09 10:02:29 +02:00
Axel Uhl e2ccd71674 use SAP JVM 7 for profiling 2012-04-09 09:51:48 +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 e922f94e80 also use Canvas immediately for wind sensor overlays; untested 2012-04-06 22:52:13 +02:00
Axel Uhl b77ece0e68 use Canvas immediately for boat display, saving the tedious image conversions 2012-04-06 22:51:01 +02:00
Axel Uhl 193d07d8c2 deriving CombinedWindPanel canvas size from image resource's "radius" 2012-04-06 22:16:59 +02:00
Axel Uhl cd4eb14155 formatting; improved encapsulation 2012-04-06 21:30:00 +02:00
Axel Uhl 508a964852 Merge remote-tracking branch 'server/master' 2012-04-02 21:17:46 +02:00
Axel Uhl 85d1f24e2e fixed spelling: calculater-->calculator 2012-04-02 21:15:29 +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
Axel Uhl 328eaa6614 Merge remote-tracking branch 'server/master' 2012-03-30 15:08:41 +02:00
Axel Uhl 8d49f2dcd2 don't convert UUID to String to compare by first checking type for Comparable 2012-03-30 15:06:56 +02:00
Axel Uhl bddd5c7b70 added operationaltransformation bundle to launch configs 2012-03-29 13:49:34 +02:00
Axel Uhl 8302522287 added more OT implementation and another test case 2012-03-28 22:14:24 +02:00
Axel Uhl 2d03493cf3 fixed remove leaderboard operational transformation 2012-03-28 18:23:10 +02:00
Axel Uhl ebbd73c11e use wind bearing instead of inverting redundantly 2012-03-28 15:50:18 +02:00
Axel Uhl 90679bd706 Merge remote-tracking branch 'server/master' 2012-03-28 15:44:34 +02:00
Axel Uhl 52a4706417 Merge remote-tracking branch 'origin/master' 2012-03-28 15:44:32 +02:00
Axel Uhl ff23e68c9f added a second OT test which folds a leaderboard column addition with a leaderboard removal 2012-03-28 15:42:33 +02:00
Axel Uhl 2e603bc6e3 first successful tiny and trivial Operational Transformation test, replicating the addition of a leaderboard 2012-03-28 14:51:13 +02:00
Axel Uhl b35a479d9d preparing the first OT implementation for removing leaderboard columns 2012-03-28 14:06:39 +02:00
Axel Uhl 2fc3fc6173 prepared operations for local transformation by each operation type implementation 2012-03-28 12:30:46 +02:00
Axel Uhl b06c971b51 moved logic for leaderboard column handling to RacingEventService to prepare for a first OT test case 2012-03-28 12:00:23 +02:00
Axel Uhl e95cd424cf a few renames and another finally block to ensure taskFinished() is called also in case of abnormal termination 2012-03-28 11:30:17 +02:00
Axel Uhl 90a27e32a0 wrapped taskFinished call in finally block to ensure it is invoked even in case of abnormal termination 2012-03-28 11:04:40 +02:00
Axel Uhl e9c53ae7d8 eliminated the StatesAndOperations class, only keeping the currentState in PeerImpl 2012-03-28 10:09:22 +02:00
Axel Uhl 9ce1cdcc36 removed list of states in StatesAndOperations and replaced by simple field for only the current state 2012-03-28 09:54:15 +02:00
Axel Uhl 8a95d23f81 removed S return type from StatesAndOperations.apply, trying to avoid passing huge state objects around 2012-03-28 09:52:07 +02:00
Axel Uhl 61d0c68a61 added some javadoc 2012-03-27 00:03:37 +02:00
Axel Uhl 4431c934fc fixing bug 443: adding space between wind source type name and ID 2012-03-26 23:58:21 +02:00
Axel Uhl 430ebb75c5 introduced common base class for chart panels, sharing behavior for fixing checkbox alignment 2012-03-26 23:36:42 +02:00
Axel Uhl 52ede7a8d8 fixing the WindChart checkbox display in the legend; toggling visibility only possible through checkbox now 2012-03-26 23:15:08 +02:00
Axel Uhl 8850b6cab8 renamed test case class so maven can find it 2012-03-26 23:11:38 +02:00
Axel Uhl 1a42433181 renamed OperationTransformationTests to OperationTransformationTest to let maven find it 2012-03-26 22:11:12 +02:00
Axel Uhl 078b7d520f added operational transformation stuff to pom.xml hierarchy for central build 2012-03-26 21:20:30 +02:00
Axel Uhl 85d86b72e2 attempt at a patch to fix checkbox position in Highcharts legend 2012-03-26 21:09:37 +02:00
Axel Uhl 4e34a26f2d renamed from runlet to sailing 2012-03-26 21:07:10 +02:00
Axel Uhl 79709e0fee Moved OT tests into separate bundle; renamed from runlet to sailing 2012-03-26 21:04:39 +02:00
Axel Uhl f956c869c5 spun off test bundle for operationaltransformation tests 2012-03-26 20:55:36 +02:00
Axel Uhl 3d38cc0cff added operational transformation (OT) bundle 2012-03-26 20:40:43 +02:00
Axel Uhl 13e431e8e8 removed spurious empty lines 2012-03-26 13:17:30 +02:00
Axel Uhl a0c0c8b978 Merge remote-tracking branch 'server/master' 2012-03-23 12:15:55 +01:00
Axel Uhl 12f55689d3 fixed NPE in getStart() 2012-03-23 12:10:54 +01:00
Axel Uhl 2bb259a362 fixed DynamicTrackedRaceImpl's getMarkPassingsInOrder 2012-03-23 12:08:14 +01:00
Axel Uhl c65eb44a70 refactored calculation of race start time 2012-03-23 11:58:35 +01: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 469d3ca54d made trackBasedEstimationWindTrackImpl synchronized to fix concurrent modification exception bug 452 2012-03-23 08:58:15 +01:00
Axel Uhl 3e4c6e7846 Nils suggested to use a greater angle for upwind/downwind tolerance; watch the reaching leg classification now! 2012-03-22 23:58:16 +01:00
Axel Uhl 7bd2de771e use checkboxes to show/hide series; the logic isn't initialized properly and Highchart has a display/layout bug 2012-03-22 23:57:45 +01:00
Axel Uhl 178ebd47b6 display checkboxes in wind chart legend to enable showing / hiding series 2012-03-22 23:26:12 +01:00
Axel Uhl 5d9229ee49 Nils: Added angle between boat bearing and wind direction to info window; fixed parentheses in maneuver tool tip 2012-03-22 10:53:35 +01:00
Axel Uhl 982ad9a1fb Merge remote-tracking branch 'server/master' 2012-03-21 18:18:49 +01:00
Axel Uhl 8482cbb239 By Nils: added combined wind to GPSFixDTO to prepare display of wind angle 2012-03-21 18:17:23 +01:00
Axel Uhl cba663b6ed compare competitor ID's toString() representation instead of the UUID itself 2012-03-21 14:24:19 +01:00
Axel Uhl b81e4421ed Merge remote-tracking branch 'server/master' 2012-03-21 13:35:00 +01:00
Axel Uhl 3f66428af7 changed competitor-related update service methods such that they use the ID instead of the name as identification 2012-03-21 13:32:43 +01:00
Axel Uhl c0cf60a049 removed extra closing brace that remained accidentally after merge 2012-03-20 15:14:20 +01:00
Axel Uhl d0e172afa4 Merge remote-tracking branch 'server/master'
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/RaceMap.java
2012-03-20 14:33:15 +01:00
Axel Uhl b9866e28c5 solving bug 479: auto-zoom settings are cleared as soon as user drags/zooms the map 2012-03-20 14:28:52 +01:00
Axel Uhl 3754728109 removed setWrapperCallback method 2012-03-19 02:44:33 +01:00
Axel Uhl acf21fa147 more refactorings in AsyncActionsExecutor 2012-03-19 02:37:24 +01:00
Axel Uhl 41d1bf0983 pass AsyncActionsExecutor also to WindPanel and WindChart and use in WindChart action call 2012-03-19 02:11:08 +01:00
Axel Uhl 9c4e5b3be9 some more formatting convention work; encapsulated wrapperCallback field 2012-03-19 01:53:21 +01:00