Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl f31bab0ba2 added missing org.junit4 dependency 2011-11-14 16:44:07 +01:00
Axel Uhl 34b3d6bb7a reformatting 2011-11-14 16:43:13 +01:00
Axel Uhl f970ea0e39 Merge remote-tracking branch 'server/gwt' into gwt 2011-11-14 15:10:16 +01:00
Axel Uhl 8839f9d5d6 distinguish a listening and a connecting StoreAndForward test 2011-11-14 15:01:38 +01:00
Axel Uhl da39f7f1d6 improved Javadoc 2011-11-14 10:35:07 +01:00
Axel Uhl 98e43267f0 allow StoreAndForward to operate in one of two modes (active/passive connection management) 2011-11-14 10:31:49 +01:00
Axel Uhl 04f1ae19df fixed SwissTiming tests 2011-11-14 09:14:27 +01:00
Axel Uhl 6430364b1e compilable version where SwissTiming connector tests currently don't work 2011-11-14 08:59:49 +01:00
Axel Uhl 694cdaab5b implement race-specific listener concept 2011-11-14 08:35:00 +01:00
Axel Uhl 5ed401251c minor mostly comment changes 2011-11-12 23:35:32 +01:00
Axel Uhl c209501ae2 continued a bit in SwissTimingRaceTrackerImpl 2011-11-11 18:43:40 +01:00
Axel Uhl 27e091bcd0 started SwissTiming RaceTracerImpl 2011-11-11 18:17:42 +01:00
Axel Uhl 4d6b68fcd9 fixed swiss timing tests 2011-11-11 18:14:09 +01:00
Axel Uhl d533f64168 pulled up getRaces() to RaceSpecificMessageLoader 2011-11-11 11:45:52 +01:00
Axel Uhl 8919e65636 added code formatter 2011-11-11 11:43:37 +01:00
Axel Uhl 429cd1022d fixed uncompilable typo 2011-11-10 21:47:55 +01:00
Axel Uhl f6b7df0cc8 turned message-based logging to "fine" except for discarded messages 2011-11-10 21:32:05 +01:00
Axel Uhl b9e1bdee4b removed no longer required System.out test output 2011-11-10 21:22:00 +01:00
Axel Uhl 5cd72477e4 append more message without buffering 2011-11-10 21:20:12 +01:00
Axel Uhl 4830daa0c5 adjusted new test case after merging change in RaceSpecificMessageLoader interface 2011-11-10 21:09:27 +01:00
Axel Uhl 159458e157 Merge remote-tracking branch 'server/gwt' into gwt
Conflicts:
	java/com.sap.sailing.domain.swisstimingadapter.test/src/com/sap/sailing/domain/swisstimingadapter/test/StoreAndForwardTest.java
2011-11-10 21:08:44 +01:00
Axel Uhl 95f79a5024 overlapping stored/received message test case now green 2011-11-10 21:06:17 +01:00
Axel Uhl cf7d8e0364 moved test case for overlapping message send/load cycles into separate class;
this class doesn't use StoreAndForward to keep things separate for now
2011-11-10 20:51:22 +01:00
Axel Uhl 72123b0085 test currently fails; planning to restructure into separate test class 2011-11-10 20:29:27 +01:00
Axel Uhl b4f3dc3957 fixed parsing routine for RAC message where ID and description were accidentally swapped 2011-11-10 17:34:23 +01:00
Axel Uhl 528e76315d testBuffering test green for now 2011-11-10 16:15:27 +01:00
Axel Uhl 8537a5ff9d Merge remote-tracking branch 'server/gwt-2' into gwt
Conflicts:
	java/com.sap.sailing.domain.swisstimingadapter.persistence/src/com/sap/sailing/domain/swisstimingadapter/persistence/DomainObjectFactory.java
	java/com.sap.sailing.domain.swisstimingadapter.persistence/src/com/sap/sailing/domain/swisstimingadapter/persistence/impl/DomainObjectFactoryImpl.java
	java/com.sap.sailing.domain.swisstimingadapter/src/com/sap/sailing/domain/swisstimingadapter/SwissTimingFactory.java
	java/com.sap.sailing.domain.swisstimingadapter/src/com/sap/sailing/domain/swisstimingadapter/impl/SwissTimingFactoryImpl.java
2011-11-10 14:16:38 +01:00
Axel Uhl a5ee6d0a2f first seemingly working test case showing the general mixing of messages loaded / received 2011-11-10 13:04:36 +01:00
Axel Uhl 0231120601 implemented (untested) buffering behavior for SailMasterConnectorImpl 2011-11-10 11:49:17 +01:00
Axel Uhl 89367614ae let SwissTiming DomainObjectFactory implement the RaceSpecificMessageLoader interface 2011-11-10 10:58:48 +01:00
Axel Uhl 30694a0c4b Merge branch 'gwt' into gwt-new 2011-11-10 10:50:46 +01:00
Axel Uhl f71eff5f72 Merge remote-tracking branch 'server/gwt-new' into gwt-new 2011-11-10 10:50:01 +01:00
Axel Uhl 63a3eecfd9 added loadMessages operation on RaceSpecificMessageLoader 2011-11-10 10:48:43 +01:00
Axel Uhl 460628cc79 fixed test after it's required to explicitly track the races we're interested in 2011-11-09 18:22:18 +01:00
Axel Uhl 183fe7f269 trying to fix synchronization of StoreAndForward server sockets 2011-11-09 18:14:06 +01:00
Axel Uhl 8e602e6430 wait longer 2011-11-09 18:14:04 +01:00
Axel Uhl f24b14d592 delay test case to wait for server socket to accept connects 2011-11-09 18:14:03 +01:00
Axel Uhl c6a0121cdb use 127.0.0.1 instead of localhost in tests 2011-11-09 18:14:01 +01:00
Axel Uhl ebdc496dd1 added logging for StoreAndForward to understand why tests fail on server 2011-11-09 18:14:00 +01:00
Axel Uhl c64856e5d3 made SwissTiming message types aware of whether they are race specific 2011-11-09 18:13:58 +01:00
Axel Uhl b517b61ea3 fixed bug in SailMasterConnectorImpl introduced by changing the handling of _STOPSERVER 2011-11-09 18:13:56 +01:00
Axel Uhl 6589894f16 renamed TracTrac-specific stuff accordingly 2011-11-09 18:13:55 +01:00
Axel Uhl c5a00609f0 trying to fix synchronization of StoreAndForward server sockets 2011-11-09 18:02:56 +01:00
Axel Uhl 56bebcc1c1 wait longer 2011-11-09 16:49:09 +01:00
Axel Uhl 8b777adb62 delay test case to wait for server socket to accept connects 2011-11-09 16:44:47 +01:00
Axel Uhl 53bbad51b0 use 127.0.0.1 instead of localhost in tests 2011-11-09 16:39:18 +01:00
Axel Uhl fd714776eb added logging for StoreAndForward to understand why tests fail on server 2011-11-09 16:28:38 +01:00
Axel Uhl e75642eafe made SwissTiming message types aware of whether they are race specific 2011-11-09 16:20:35 +01:00
Axel Uhl 8527092ea1 fixed bug in SailMasterConnectorImpl introduced by changing the handling of _STOPSERVER 2011-11-09 15:41:50 +01:00
Axel Uhl 4934534d80 renamed TracTrac-specific stuff accordingly 2011-11-09 15:34:08 +01:00
Axel Uhl 1669cfc6e3 Merge remote-tracking branch 'server/gwt' into gwt
Conflicts:
	java/com.sap.sailing.domain.swisstimingadapter.test/META-INF/MANIFEST.MF
2011-11-09 13:54:17 +01:00
Axel Uhl f2a93777ac first StoreAndForward test that tests whether a raw message was successfully written to the DB 2011-11-09 13:44:42 +01:00
Axel Uhl cc6d9f330c first successful test with numbering forwarded SailMaster messages 2011-11-09 12:57:38 +01:00
Axel Uhl 46092d9321 fixed compile errors caused by last refactoring of receiveMessage 2011-11-09 10:32:16 +01:00
Axel Uhl a628b15809 preparing StoreAndForward to record SwissTiming messages in Mongo 2011-11-09 10:30:55 +01:00
Axel Uhl 9cf6f5e423 added a placeholder for the SwissTiming StoreAndForward standalone application 2011-11-08 18:20:23 +01:00
Axel Uhl 1309a47f43 added pom.xml files for new bundles 2011-11-08 18:06:17 +01:00
Axel Uhl e62231feaa introduced separate persistence bundles for domain, tractrac and swisstiming bundles 2011-11-08 18:06:44 +01:00
Axel Uhl aa3a1e6b8b Merge branch 'gwt' of ssh://localhost:12347/home/trac/git into gwt 2011-11-08 17:31:00 +01:00
Axel Uhl 2a12d45fc0 refactored Mongo DB connector: new Activator which encapsulates DB connection 2011-11-08 17:10:10 +01:00
Axel Uhl 68aaec81df fixed RPD test after Kai changed the protocol regarding time stamp format 2011-11-07 20:52:55 +01:00
Axel Uhl 0f6fea93ea added missing file 2011-11-07 20:09:19 +01:00
Axel Uhl 557619696e starting to introduce polymorphism across RaceTracker for SwissTiming and TracTrac 2011-11-07 18:18:27 +01:00
Axel Uhl c12a0d74fc listing races offered by SwissTiming SailMaster server seems to work 2011-11-07 15:45:46 +01:00
Axel Uhl d59a2f0294 more swiss timing connectivity stuff; relaxed test with reverse distance a bit because distances
are taken at slightly different times (one after the other)
2011-11-07 13:50:14 +01:00
Axel Uhl 3000cfe90f first successful connect through SwissTiming event management panel 2011-11-07 13:40:51 +01:00
Axel Uhl 97b95ea660 compilable (yet entirely untested) version of SwissTiming configuration stuff 2011-11-07 13:17:03 +01:00
Axel Uhl 6c84c19cc3 first attempt to implement a SwissTiming config panel for AdminConsole web app 2011-11-07 12:46:07 +01:00
Axel Uhl 649ee87113 moved TODO items from TODO file to bugzilla at http://bugzilla.web4sap.com 2011-11-04 23:40:37 +01:00
Axel Uhl b929285def ignore live SwissTiming tests 2011-11-04 17:26:57 +01:00
Axel Uhl 742697267a factored out the common parsing functionality for event and response messages;
implemented the notification methods for SwissTiming events
2011-11-04 17:25:42 +01:00
Axel Uhl ee4f0db2ce added flimsy test for mark passing times 2011-11-04 17:06:48 +01:00
Axel Uhl f5d38da9e4 flimsy test for distance between boats 2011-11-04 16:40:24 +01:00
Axel Uhl f6f894d2ed added test case (that currently suffers from stale data about distances) for distance between boats 2011-11-04 16:27:07 +01:00
Axel Uhl d870388e65 added test for delta clock at mark 2011-11-04 16:15:42 +01:00
Axel Uhl e9709e0b4c ignore entire live SwissTiming test to not confuse kielweek server (firewall issue!) 2011-11-04 15:20:45 +01:00
Axel Uhl d44a19431b minor cosmetic refactoring 2011-11-04 15:05:05 +01:00
Axel Uhl a8c2d7f2ca Merge branch 'gwt' of ssh://localhost:12347/home/trac/git into gwt 2011-11-04 15:04:01 +01:00
Axel Uhl fcdd551b0f ignore live ST RPD test for now because the server cannot be guaranteed to be online 2011-11-04 14:59:38 +01:00
Axel Uhl 5d1eeff627 Benjamin and Fabian: fixed bug in FormattedDoubleLegDetailColumn.getPercentage regarding NPE 2011-11-04 14:42:36 +01:00
Axel Uhl 4ad6881f02 added logic and first basic test for clock at mark; doesn't work yet 2011-11-04 14:33:06 +01:00
Axel Uhl 5db51a48f3 removed extra loop 2011-11-04 13:32:16 +01:00
Axel Uhl 8892ca5dbd Merge remote-tracking branch 'server/gwt' into gwt 2011-11-04 11:00:54 +01:00
Axel Uhl b23ac38cc7 continued with SwissTiming connector and tests 2011-11-04 11:00:41 +01:00
Axel Uhl f1d962a001 fixed test data for SwissTiming RPD test 2011-11-04 09:43:27 +01:00
Axel Uhl 1e13b3c32c moved a few TODO items to Bugzilla 2011-11-03 23:27:16 +01:00
Axel Uhl c32b399a3b removed unnecessary interface 2011-11-03 22:40:15 +01:00
Axel Uhl 29109ca901 Merge branch 'up_down' into gwt 2011-11-03 22:38:49 +01:00
Axel Uhl 79fb156d6f trimmed the RPD test case such that it runs for now;
There seem to be contradictions with the SwissTiming Sail Master protocol specifications
which I've now addressed to Kai Hahndorf. It seems that except for COMPETITOR tracker types
the AverageSpeedOverGround field is missing.
2011-11-03 22:37:00 +01:00
Axel Uhl 526652fdbc Merge branch 'gwt' into up_down 2011-11-03 20:53:47 +01:00
Axel Uhl d9247287a0 refactored SwissTiming tests to use the MessageType constants instead of string literals 2011-11-03 20:52:47 +01:00
Axel Uhl 2f9e488016 fixed SwissTiming tests with new rendevous design 2011-11-03 20:48:37 +01:00
Axel Uhl 5a27f646ed Merge branch 'gwt' into up_down 2011-11-03 19:59:54 +01:00
Axel Uhl 02df84e69b preserve log from Hamburg MdM event
We suspect the course configuration / RouteData event not to have been
sent when one race changed course in flight. This log may help to
identify what went wrong.
2011-11-03 19:23:19 +01:00
Axel Uhl 6f962d9dc8 first implementation of a SwissTiming RPD message parsing algorithm; untested 2011-11-03 18:22:33 +01:00
Axel Uhl 50bb919f43 started to prepare structures for receiving fixes from SwissTiming sail master 2011-11-03 12:25:56 +01:00
Axel Uhl e26ecf0c84 added a wait interval after stopping sail master dummy to give socket a chance to clean up 2011-11-03 11:53:06 +01:00
Axel Uhl 37e5ce4c77 minor rename 2011-11-03 11:48:06 +01:00
Axel Uhl df0ae8df87 added interface method for getMarkPassingTimesInMillisecondsSinceStart 2011-11-03 11:47:39 +01:00
Axel Uhl ba3fd9ea94 made sail master tests work off new protocol version 2011-11-03 11:44:51 +01:00