Axel Uhl
48fecf1512
commented debug option again
2012-05-07 14:56:13 +02:00
Axel Uhl
e54a1605e5
set context class loader for current thread before deserializing
2012-05-07 14:55:18 +02:00
Axel Uhl
21f658a52d
avoid NPE in case no event has yet been received for a race
2012-05-07 13:28:44 +02:00
Axel Uhl
2254f9501e
reverted pom.xml changes to proxy mode in master branch
2012-05-07 12:52:08 +02:00
Axel Uhl
f56b0e926c
removed failover:// prefix from JMS / ActiveMQ broker URL; it caused an RMI registry to bind to 1099 always
...
This caused trouble with other running VM instances
2012-05-07 12:49:13 +02:00
Axel Uhl
ab3aeaa8c4
trying to solve bug 595, temporarily moved LeaderboardImplWithDelayedCarriedPoints to exported package
2012-05-07 11:42:26 +02:00
Axel Uhl
c213501e76
defined JMS port for ActiveMQ for test VMs to be 61615 so as to not collide with any running VM
2012-05-05 22:02:27 +02:00
Axel Uhl
800c61a913
fixed problem caused by trying to replicate all wind tracks, including the virtual ones;
...
Now restricted replication to those wind tracks whose source types can generally be stored. This
in particular excludes the combined and the estimated wind tracks.
2012-05-05 21:44:30 +02:00
Axel Uhl
839c325918
fixed bug 593, replicating wind fixes loaded from a wind store by notifying the race change listeners about them
2012-05-05 20:52:39 +02:00
Axel Uhl
4039a27538
added failing test case for bug 593 (replicate wind tracks loaded from Mongo)
2012-05-05 19:00:02 +02:00
Axel Uhl
0ac11d5d47
Fixed bug 594, avoiding too frequent creation of CombinedWindTrackImpl
2012-05-05 18:36:19 +02:00
Axel Uhl
f4b495468b
wind addition/removal replication tests added
2012-05-05 18:18:51 +02:00
Axel Uhl
bcb9147d0f
added buoy fix replication test case
2012-05-05 18:10:36 +02:00
Axel Uhl
b351c23b5f
fixed tracked race lookup in RacingEventService; test case for GPS fix replication works
2012-05-05 18:04:09 +02:00
Axel Uhl
424d207142
added operation implementations to replicate dynamic tracked race data
2012-05-05 15:33:29 +02:00
Axel Uhl
023cb406ab
Merge remote-tracking branch 'server/master'
2012-05-05 01:08:02 +02:00
Axel Uhl
5fae086ef6
adjusted another test for new event name "Academy Training 2011"
2012-05-05 01:07:08 +02:00
Axel Uhl
4914b97c3a
adjusted STG data-based test(s) to new event name "Academy Training 2011"
2012-05-05 01:05:34 +02:00
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