Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl e090c78f7f pass queue name to RabbitOutputStream; letting the server choose a queue name only works for exclusive queues which is not what we need here 2014-06-24 23:33:14 +02:00
Axel Uhl 7c39248329 Merge branch 'master' into improved-replication 2014-06-24 15:52:26 +02:00
Axel Uhl c2036cae1d aftermath for 1fe999d299, also waiting for end of tracking time 2014-06-24 15:51:24 +02:00
Axel Uhl aaa6955fac converting initial load to using RabbitOutputStream and RabbitInputStream 2014-06-24 15:50:02 +02:00
Axel Uhl 6a8501e5a2 made the RabbitOutputStream safe for sending the termination message on purpose in the payload 2014-06-24 13:37:18 +02:00
Axel Uhl dcdc33a556 added failing test case for terminator transmission; the terminator needs to be escaped 2014-06-24 13:13:44 +02:00
Axel Uhl 569102ebc6 added test that serializes objects through the RabbitMQOutputStream 2014-06-24 13:06:45 +02:00
Axel Uhl edb0ab283e additionally test to write bytes after the previous bytes were already sent as a message, then close the stream 2014-06-24 13:01:25 +02:00
Axel Uhl c882fc1a0b added a test that works based on the messaging timeout 2014-06-24 12:56:58 +02:00
Axel Uhl b88ef0eb0d added a test case that sends data that needs to be split into two messages 2014-06-24 12:49:27 +02:00
Axel Uhl 3827bd3064 Merge branch 'master' into improved-replication 2014-06-24 12:43:00 +02:00
Axel Uhl 26b41ae9ec better logging for issues with declination service during heading correction in Igtimi receiver; catch and log exception per Igtimi listener 2014-06-24 12:37:18 +02:00
Axel Uhl 3611d4e6ff a first successful mini-test for streaming through RabbitMQ 2014-06-24 12:09:08 +02:00
Axel Uhl 99145a5c96 started with some refactoring and added a number of comments for things that need fixing with the AMPQ streaming 2014-06-24 10:39:28 +02:00
Axel Uhl afe6430adc beginning to implement InputStream/OutputStream across a RabbitMQ queue that splits the stream into messages; this commit based on Simon's proposals on bug 1937 2014-06-24 10:05:15 +02:00
Axel Uhl be115e4c2d Merge branch 'master' into improved-replication 2014-06-24 09:42:50 +02:00
Axel Uhl 36c8cca3cb consolidated imports to avoid warnings 2014-06-24 09:41:41 +02:00
Axel Uhl 16494d9dc9 Merge branch 'master' into improved-replication 2014-06-24 09:37:00 +02:00
Axel Uhl 21643e1c32 use Concurrent[Weak]HashMap and Collections.synchronizedSet to generally reduce synchronization and still make iteration-safe 2014-06-23 13:07:03 +02:00
Axel Uhl bf01daace3 fixing ConcurrentModificationException in LeaderboardCacheManager by moving a modification of an inner map into a synchronized block 2014-06-23 12:22:01 +02:00
Axel Uhl 7bd32e9ba0 Merge branch 'master' into improved-replication 2014-06-22 13:10:56 +02:00
Axel Uhl ae60c37889 Merge remote-tracking branch 'server/master' 2014-06-22 13:09:30 +02:00
Axel Uhl c280bd48f2 making testRaceTimeReplication more robust by waiting until at least the master has received the start of tracking time;
The problem here was that the abstract replication test set-up only waits until the tracked race has been received. Since the
use of the TracAPI the creation of the TrackedRace object doesn't require the successful receiving of the race timings. So we
need to wait for the arrival of the times separately.
2014-06-22 13:02:20 +02:00
Axel Uhl 1fe999d299 making testRaceTimeReplication more robust by waiting until at least the master has received the start of tracking time;
The problem here was that the abstract replication test set-up only waits until the tracked race has been received. Since the
use of the TracAPI the creation of the TrackedRace object doesn't require the successful receiving of the race timings. So we
need to wait for the arrival of the times separately.
2014-06-22 12:59:02 +02:00
Axel Uhl 0a2c7fd422 serialize the operations when they are handed to replication service for broadcast; still group many byte[] into one message by delayed sending 2014-06-22 12:49:48 +02:00
Axel Uhl b040a0a702 Merge commit '5a5cfea780d727c50b99d0e2b4ef8d924d62e045' 2014-06-22 12:00:32 +02:00
Axel Uhl 1b7a4e4891 started working on bundling operations to replicate; still buggy as now the operations are serialized later, upon sending, and objects may have changed until then 2014-06-22 11:54:51 +02:00
Axel Uhl 6f2a77e9da log operations per messages average 2014-06-22 11:06:27 +02:00
Axel Uhl 150c62221a Merge remote-tracking branch 'server/master' 2014-06-22 10:17:51 +02:00
Axel Uhl 2d07c65d37 avoid NPE in RaceMap in case a GPSFixDTO doesn't have an estimated speed/bearing 2014-06-22 10:06:54 +02:00
Axel Uhl 881cb39e9d prepared the Replicator and ReplicationServiceImpl for replicating groups of operations in one sweep 2014-06-22 09:37:25 +02:00
Axel Uhl 212f40606f simplified while-loop in Replicator 2014-06-22 09:22:51 +02:00
Axel Uhl 5a5cfea780 added FIXME comment for bug 2009 2014-06-22 08:51:59 +02:00
Axel Uhl db73fa75ee use single-point-of-exit pattern in CompetitorSelectionModel.getColor 2014-06-21 23:56:29 +02:00
Axel Uhl fa0ff723d3 enable CrossTrackErrorCache to clear the entire cache by using null as update interval which was so far not completely implemented 2014-06-21 23:53:47 +02:00
Axel Uhl 31911c0774 Merge remote-tracking branch 'server/master' 2014-06-21 22:47:47 +02:00
Axel Uhl 62d9632980 made compilable by adding all necessary implementations of waypointAdded/waypointRemoved in all RaceChangeListeners 2014-06-21 22:38:12 +02:00
Axel Uhl bed511e75b removed the otherwise unused BaseRaceChangeListener class and replaced its only use by AbstractRaceChangeListener 2014-06-21 22:25:10 +02:00
Axel Uhl 9adc2c2999 added event forwarding for CourseListener events to DynamicTrackedRace 2014-06-21 22:22:04 +02:00
Axel Uhl f49a34e7cf invalidate cross track error cache entirely when course change is received 2014-06-21 22:14:19 +02:00
Axel Uhl 45b67de6a2 working towards a solution for bug 2011; will cherry-pick to master and then continue there 2014-06-21 22:01:32 +02:00
Axel Uhl faf5ea470d Merge remote-tracking branch 'server/master' 2014-06-21 11:36:13 +02:00
Axel Uhl a0115e0e4c fixed synchronization issues with lastExpeditionMessages collection which was causing ConcurrentModificationExceptions 2014-06-21 11:30:54 +02:00
Axel Uhl e244949a35 fixed UI test after default regatta naming has reverted back to TracTrac event name + boat class name 2014-06-21 10:33:19 +02:00
Axel Uhl d70bc1e817 fixed test after default regatta name is back to TracTrac event name + boat class 2014-06-21 09:05:00 +02:00
Axel Uhl 095d4d1804 use variables PWD and TMP in start script to allow overriding in env.sh 2014-06-21 08:35:54 +02:00
Axel Uhl 21156434e6 Merge remote-tracking branch 'server/master' 2014-06-20 20:13:52 +02:00
Axel Uhl a42db86b6f After reverting the default regatta naming to the TracTrac event name, had to adjust a test verdict that expected different default regattas for different race names 2014-06-20 20:06:38 +02:00
Axel Uhl 1d4db17eb1 Merge remote-tracking branch 'server/master' 2014-06-20 12:20:06 +02:00
Axel Uhl c55b3c2095 fixing construction of default regatta name for TracTrac connector, fixing bug 2007 2014-06-20 12:17:38 +02:00
Axel Uhl b88de98f1f added timeout rule for Igtimi tests 2014-06-19 15:31:30 +02:00
Axel Uhl 48a9b24d58 fixing bug 2005 ordering problem while still parallelizing 2014-06-19 10:02:16 +02:00
Axel Uhl 34c4e58e8a Merge branch 'newhome' 2014-06-19 01:41:30 +02:00
Axel Uhl 4545907218 Merge remote-tracking branch 'server/master' 2014-06-19 01:41:01 +02:00
Axel Uhl 2c558ab6d4 manual tests for bug 2005 fix looking good; added parallelization of total points sum calculation across race columns 2014-06-19 01:16:54 +02:00
Axel Uhl 806a409aad towards a fix for bug 2005: compute regatta points sum for leaderboard charts using back-end scoring rules 2014-06-19 00:13:52 +02:00
Axel Uhl 416992bd29 Merge branch 'streamlets-refactoring' 2014-06-18 23:27:22 +02:00
Axel Uhl cd12aed81b Merge remote-tracking branch 'server/master' 2014-06-18 18:27:49 +02:00
Axel Uhl ee480c086b fixing bug 2006 by stopping tracking in RacingEventService instead of only stopping the tracker when status FINISHED is reached 2014-06-18 18:25:46 +02:00
Axel Uhl a7dfc1d961 Merge remote-tracking branch 'server/master' 2014-06-18 14:37:36 +02:00
Axel Uhl d7b957c9f5 allow slashes in boat class names again; the risk that we'll face with existing boat classes like J/70 at the Bundesliga is just too high 2014-06-18 14:34:24 +02:00
Axel Uhl 135cf7a11f disallow slashes in validators for boat class and regatta names 2014-06-18 13:55:03 +02:00
Axel Uhl ad2387ddd7 fixing bug 2004: mark color interpretation needs to be assume it could be a color name instead of an HTML color 2014-06-17 23:27:20 +02:00
Axel Uhl 0db246f9c4 fixed warning by consolidating imports 2014-06-17 22:41:44 +02:00
Axel Uhl ff2a864268 extended wait period for TrackRaceReplicationTest.testRaceTimeReplication from 1s to 2s 2014-06-17 22:04:05 +02:00
Axel Uhl 353cd998fc Merge branch 'failing-test-bug2003' 2014-06-16 22:35:58 +02:00
Axel Uhl 8a0b424d60 a failing test case for bug 2003 2014-06-16 22:35:41 +02:00
Axel Uhl 2fcd084f74 fixing bug 2003: after master data import of a leaderboard group, the overall leaderboard must be added to the RacingEventService 2014-06-16 22:30:02 +02:00
Axel Uhl 8b54330e00 Merge remote-tracking branch 'server/master' 2014-06-16 15:35:17 +02:00
Axel Uhl aa2562f765 added distanceSinceGun-m to Regatta resource (competitors/legs document) 2014-06-16 15:29:52 +02:00
Axel Uhl 19374a270d added missing String property to russian translation 2014-06-15 23:44:18 +02:00
Axel Uhl dff2a9b792 added test case for handling of null values in JSON event serialization that failed before the previous fix 2014-06-14 22:33:37 +02:00
Axel Uhl 95ec12220a made JSON event deserialization null-safe for new attributes 2014-06-14 22:33:29 +02:00
Axel Uhl e8ac78395e added column for sponsor image URLs in event management panel 2014-06-14 15:44:25 +02:00
Axel Uhl 3af1e7e346 added more logging for modified Igtimi adapter; the modifications seem to let tests hang on Hudson for unknown reasons 2014-06-14 15:36:11 +02:00
Axel Uhl 97bea21d84 UI support for the new EventBase fields (untested as yet) 2014-06-14 11:42:07 +02:00
Axel Uhl 89d8d4c7ba JSON serialization/deserialization of EventBase description/logoImagURL/sponsorImageURLs/officialWebsiteURL 2014-06-14 11:16:19 +02:00
Axel Uhl 42202bc996 added persistence support for the four new EventBase attributes logoImageURL, sponsorImageURLs, officialWebsiteURL and description 2014-06-14 11:03:28 +02:00
Axel Uhl f46bcf39e8 added fields for description, logo URL, official web site URL and sponsor image URLs to EventBase 2014-06-14 10:37:26 +02:00
Axel Uhl b8f3c331ea solving bug 2000 by moving Igtimi adapter initialization to separate executor, using futures that wait in case the services are requested 2014-06-14 00:13:44 +02:00
Axel Uhl 75bfe7bf5f Merge branch 'master' into streamlets-refactoring 2014-06-13 00:28:29 +02:00
Axel Uhl cab6cf8d3a Merge branch 'newhome' 2014-06-13 00:27:33 +02:00
Axel Uhl de6471a6e9 Merge branch 'master' into streamlets-refactoring 2014-06-13 00:25:57 +02:00
Axel Uhl 450c4f5170 fixed NPE for particle's vector and previous pixel position 2014-06-13 00:18:53 +02:00
Axel Uhl 050a149159 formatting 2014-06-12 23:51:56 +02:00
Axel Uhl 724d6054cd made WindData IsSerializable 2014-06-12 23:40:53 +02:00
Axel Uhl 4bd2995d15 copied all intersects tests into intersect tests; all green 2014-06-12 22:43:18 +02:00
Axel Uhl 6c751943b8 introduced Bounds.isEmpty and use it in tests 2014-06-12 22:32:36 +02:00
Axel Uhl 8128c43778 first successful simple intersect test 2014-06-12 22:21:47 +02:00
Axel Uhl 22fe1fd27b a first Bounds.intersect(Bounds) implementation, untested 2014-06-12 22:17:06 +02:00
Axel Uhl fcbf94c2dd fixed intersects implementation, more tests 2014-06-12 21:53:22 +02:00
Axel Uhl 9ca4ec4fc8 first Bounds.intersects implementation with a first set of trivial tests 2014-06-12 21:46:51 +02:00
Axel Uhl efb0ad5462 fixed BoundsImpl.union implementation; tests all green 2014-06-12 21:38:15 +02:00
Axel Uhl ab6387ae12 Merge branch 'master' into streamlets-refactoring 2014-06-12 20:32:56 +02:00
Axel Uhl 45b02aa2f0 added (failing) Bounds.union tests and a first yet incorrect implementation 2014-06-12 12:42:07 +02:00
Axel Uhl 43b9d55657 fixed TimePoint/Duration stuff for step definition in simulator package 2014-06-12 02:30:28 +02:00
Axel Uhl 729415474c added bounds with intersects implementation 2014-06-12 02:16:36 +02:00
Axel Uhl df57ae0065 update Particle in one place; more comments; added FIXME regarding VectorField.getFieldCorners() and the international date line 2014-06-12 01:34:14 +02:00
Axel Uhl 438f47633e removed Particle.speed as it is redundant with Particle.v; added comments 2014-06-12 01:12:55 +02:00
Axel Uhl 1a7a2c3ad8 added comments 2014-06-12 00:29:30 +02:00