Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl 0480da7cb6 support course change replication 2012-05-05 01:00:46 +02:00
Axel Uhl 3abf105822 exclude bin/ from git 2012-05-03 15:50:44 +02:00
Axel Uhl 928e05efea made ActiveMQ / JMS parameters configurable 2012-05-03 15:18:01 +02:00
Axel Uhl 49979a1bae don't use JMX; it results in port binding conflicts for the various VMs we have running 2012-05-03 14:32:24 +02:00
Axel Uhl e5550d5bf9 added replication to the list of features 2012-05-03 13:46:17 +02:00
Axel Uhl d4249af98a removed OSGi framework dependency from replication.test manifest 2012-05-03 11:27:48 +02:00
Axel Uhl 52d13a0207 added activemq-data in replication.test to gitignore 2012-05-03 00:45:52 +02:00
Axel Uhl 69247c66a4 shortened timeouts for JMS tests a bit; require replica to initially NOT contain replicated leaderboard 2012-05-03 00:42:12 +02:00
Axel Uhl 2f2901355c true local replication test case that creates a leaderboard which is replicated automatically 2012-05-03 00:26:01 +02:00
Axel Uhl 9d74329444 made JMS test work locally with mocked in-VM connection 2012-05-02 21:50:30 +02:00
Axel Uhl fd71724cec a first replication test through JMS that works as long as a server is running locally on port 8888;
we need to extend the test such that it gets along without the whole servlet machinery running, where
we mock the client/server REST connection through a direct Java method call to the "server"
2012-05-02 21:31:35 +02:00
Axel Uhl d1e6226f2d Merge remote-tracking branch 'server/master' 2012-04-27 10:24:14 +02:00
Axel Uhl f5eedadced added Javadoc for test cases 2012-04-27 10:20:46 +02:00
Axel Uhl 95cfd4e644 fixed deserialization class loading for array classes, added first in-VM replication test case 2012-04-27 10:18:38 +02:00
Axel Uhl 53e1172232 Merge remote-tracking branch 'server/master' 2012-04-26 15:46:00 +02:00
Axel Uhl 792991b71c removed distributionManagement tag 2012-04-26 15:44:51 +02:00
Axel Uhl 348b1af497 fixed bug 572: concurrent modification exception during computing XTE while receiving fixes 2012-04-26 11:16:18 +02:00
Axel Uhl 51d424b53a return null for XTE if competitor has no respective data yet 2012-04-26 01:02:07 +02:00
Axel Uhl e22a22bc71 removed resolved FIXME comments 2012-04-26 00:08:56 +02:00
Axel Uhl 3e57544637 register replica's RacingEventService as RaceListener on all TrackedEvents 2012-04-26 00:00:53 +02:00
Axel Uhl c66dd4a1bc made MockedTrackedRace compilable 2012-04-25 23:02:31 +02:00
Axel Uhl 5c29b9c771 fixed other calls to getOrCreateWindTrack by introducing a variant that doesn't require a delay argument 2012-04-25 23:00:46 +02:00
Axel Uhl d53c576b42 fixed test cases that require 0 cache invalidation timeout 2012-04-25 22:50:12 +02:00
Axel Uhl 2b248df21e return empty set of races instead of null from SwissTimingraceTrackerImpl if no race was loaded 2012-04-25 22:18:02 +02:00
Axel Uhl 2c85825214 fixed serialization of an entire RacingEventService with loaded races to the degree that it doesn't crash anymore 2012-04-25 21:54:15 +02:00
Axel Uhl 4cdb8b85d0 Merge remote-tracking branch 'server/master' 2012-04-25 18:14:38 +02:00
Axel Uhl b877ca998a increased buoy icons 2012-04-25 18:14:17 +02:00
Axel Uhl dd276b17ce replaced buoy icon, made Position serializable 2012-04-25 18:11:18 +02:00
Axel Uhl f40ecf63ac initial replication end-to-end works for the first time for a more or less empty server 2012-04-25 15:20:33 +02:00
Axel Uhl 7c0448fb85 cancel the timers when done to clean up threads; clean up WindTracker threads properly now 2012-04-25 12:21:34 +02:00
Axel Uhl 89cfb5be93 fixed sorting and display for 0 total points; see also bug 509 2012-04-25 11:43:30 +02:00
Axel Uhl 2310819b99 fixed bug 471: sorting 0 races always to the bottom 2012-04-25 10:31:06 +02:00
Axel Uhl 667881f69e eliminate NPE when trying to access specific mark passing of a competitor that doesn't (yet) have mark passings 2012-04-25 09:34:00 +02:00
Axel Uhl 49c97bb43d increased timeout waiting for receiving a race to 5min 2012-04-25 09:26:20 +02:00
Axel Uhl 42bba01f90 compilable interims-version of replication 2012-04-24 18:26:37 +02:00
Axel Uhl b94af1c2c0 made Replicator compile; not tested in any way yet 2012-04-24 15:27:24 +02:00
Axel Uhl 17f22a0d35 made race XTE propagation null-safe 2012-04-24 15:23:45 +02:00
Axel Uhl dde49f87e5 provided empty replication test class with a test method to avoid Maven / Surefire error message 2012-04-24 15:06:20 +02:00
Axel Uhl 155ca6800b shows cross-track error in leaderboard 2012-04-24 14:49:22 +02:00
Axel Uhl 841624b482 Merge remote-tracking branch 'server/master' 2012-04-24 13:31:02 +02:00
Axel Uhl 4c39000801 broken activemq import package declarations 2012-04-24 13:30:09 +02:00
Axel Uhl 938d406fe9 preparing replication service 2012-04-24 12:37:23 +02:00
Axel Uhl d676e1eea7 Merge remote-tracking branch 'server/master' 2012-04-23 18:08:53 +02:00
Axel Uhl 5b69aec2de made more objects serializable; changed to ReplicationService and obtain it in SailingServiceImpl 2012-04-23 18:08:05 +02:00
Axel Uhl f21a26a763 adjusted build.properties by removing non-existing broker.xml 2012-04-23 15:08:28 +02:00
Axel Uhl e935d350b9 added type parameter to avoid warning 2012-04-23 14:56:56 +02:00
Axel Uhl ad21b3bb14 added bundle and launch configuration to re-generate / update target platform 2012-04-23 14:55:50 +02:00
Axel Uhl 3fe01d2587 Merge remote-tracking branch 'server/activemq' 2012-04-23 13:10:21 +02:00
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