Commit Graph
299 Commits
Author SHA1 Message Date
Axel Uhl 15f0ea0489 renamed com.sap.sailing.mongodb to com.sap.sse.mongodb and removed unnecessary dependency to com.sap.sailing.domain.common; fixes bug 2435 2014-11-05 13:08:09 +01:00
Axel Uhl 86e005d32c solution for bug 2437: clear the replica's state before registering for operation updates which needs to happen before requesting the initial load 2014-10-28 15:47:51 +01:00
Axel Uhl 0eb7b7c51b addressing bug 2345 by upgrading all launch configurations from JavaSE-1.7 to JavaSE-1.8 as their execution environment 2014-10-01 15:57:50 +02:00
Axel Uhl 69de0f2d76 upgraded project settings to Java8, fixed gwt.ui to JavaSE-1.7 explicitly 2014-10-01 15:00:44 +02:00
Axel Uhl 161d823dee updated project compliance settings to JavaSE-1.8 2014-10-01 14:44:22 +02:00
Axel Uhl e9130d38f3 upgraded classpaths to JavaSE-1.8 2014-10-01 14:16:18 +02:00
Axel Uhl 7ece44052d upgraded manifests from JavaSE-1.7 to JavaSE-1.8 as runtime environment 2014-10-01 14:08:19 +02:00
Jens Rommel 7938c550f2 - Refactored naming (regattasAndRaces --> assignedRaces)
- Added more safety checks for legacy masterdata import
2014-09-29 12:09:46 +02:00
Axel Uhl 0fe1c8c4e0 introduced property to configure the exchange name for automatic replication start 2014-09-26 10:43:30 +02:00
Axel Uhl e49193b3e2 worked on replication Javadoc and improved toString() and log outputs regarding messaging vs. servlet hostname 2014-09-26 09:39:19 +02:00
Jens Rommel dc5790881b Fixed replication test.
Secured media track change logic: Changes are expected to be executed on copies only. Then the media library is notified that a copy has been changed.
2014-09-25 09:58:11 +02:00
Jens Rommel a1038f98ba - Minor renaming
- Reverted MediaLibraryTest to cover former overlap-functionality. Tests for query-by-race yet to be provided.
2014-09-24 15:40:57 +02:00
Jens Rommel eb8742ea33 Merge remote-tracking branch 'refs/remotes/external/master' into bug1978-docked-video-component
Conflicts:
	java/com.sap.sailing.gwt.ui/SailingGWT.launch
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/adminconsole/AdminConsoleEntryPoint.java
	java/com.sap.sailing.server/src/com/sap/sailing/server/impl/MediaLibrary.java
2014-09-24 13:54:52 +02:00
Axel Müller 4164f316fd Added update-tests for linked races to MediaReplicationTest 2014-09-22 13:47:18 +02:00
Simon Pamies ee64243cc9 Added race visibility field 2014-09-14 19:19:55 +03:00
Jens Rommel 07e07fe36b Merge remote-tracking branch 'refs/remotes/external/connectMediaWithRaces' into bug2177-race-video-link 2014-09-10 09:48:10 +02:00
Axel Uhl d9810d5338 Merge remote-tracking branch 'server/master' 2014-09-08 22:37:20 +02:00
Nils ff14aa8600 Saves Set of RaceAndRegattaIdentifier instead of just one object 2014-09-03 15:03:39 +02:00
unknown ff0d5d4aa9 dbmediatrack changed 2014-09-03 09:00:00 +02:00
Jens Rommel f89ac62795 - Migrated MediaTrack.durationInMillis from int to Duration including database API but excluding database storage
- Renamed durationInMillis to duration
- Added equals/hashCode to MillisecondsDurationImpl, added tests
- Fixed MillisecondsTimePointImpl.equals, added tests
2014-09-01 15:02:39 +02:00
Jens Rommel 53e9472558 - Changed type of MediaTrack.startTime from java.util.Date to TimePoint.
- Added very basic query for live MediaTracks (--> those with duration = 0).
2014-09-01 12:49:34 +02:00
Axel Uhl a4af7c1128 making locally GWT-compilable again; addressed part of bug 2223 by making AddWaypoint/RemoveWaypoint idempotent, including a test that asserts this 2014-08-29 18:08:52 +02:00
Axel Uhl 00ba9172b3 set description when creating an event 2014-08-27 15:23:11 +02:00
Axel Uhl 33c194e16d working on bug 2079, adding displayName to leaderboard group and various related services and UIs 2014-08-04 23:49:31 +02:00
Axel Uhl 5f48675dff make the sporadically failing race end time replication test a bit more robust by extending the waiting time 2014-07-25 19:06:14 +02:00
Axel Uhl 8f1c888f06 write buffered operations into stream directly, avoiding copying the potentially huge message buffer; more replication logging still 2014-07-16 23:00:09 +02:00
Simon Pamies d640b5c1ea Added more logging 2014-07-16 12:07:30 +02:00
Axel Uhl 93c9ea3a4d Merge branch 'master' into improved-replication
Conflicts:
	java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/client/StringMessages_de.properties
2014-07-15 11:15:14 +02:00
Axel Uhl 52773fefda fixed construction of default regatta name, including related tests 2014-07-10 17:13:13 +02:00
Axel Uhl 79faa7abfb adapted further test cases; creating a new regatta through the UI should now no longer implicitly append boat class name in parentheses 2014-07-10 15:27:31 +02:00
Axel Uhl 4a0fba7eb5 removed Regatta.getBaseName() and modified RegattaImpl constructors to accept the full regatta name instead of the base name 2014-07-10 15:22:50 +02:00
Axel Uhl 22e6948dc9 made compilable by adding missing implementations of setUseStartTimeInference in some mock Regatta implementations 2014-07-07 15:14:01 +02:00
Axel Uhl 4f15a562b3 introduced a manageable flag "useStartTimeInference" on Regatta that is evaluated by TrackedRaceImpl.getStartOfRace(), solving bug 1994 2014-07-07 11:27:25 +02:00
Axel Uhl a9c1c147b2 use a unique test queue name for each initial load test 2014-06-26 15:53:12 +02:00
Axel Uhl 4eb4241a96 Merge branch 'master' into improved-replication
Conflicts:
	java/com.sap.sailing.server.replication/src/com/sap/sailing/server/replication/impl/Replicator.java
2014-06-26 14:55:37 +02:00
Axel Uhl fb3b794b33 fixed wind add/remove replication test now that the wind replication operations may run asynchronously 2014-06-25 23:34:30 +02:00
Axel Uhl d156cfa7e9 and here the aftermath to c2036cae1d which was still missing an initial check for master's end of tracking time to be set 2014-06-25 23:22:10 +02:00
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 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 3611d4e6ff a first successful mini-test for streaming through RabbitMQ 2014-06-24 12:09:08 +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