Commit Graph
73 Commits
Author SHA1 Message Date
fmittag b62ce9163a refactoring of DomainObjectFactories to a more service oriented Interface (SwissTimingAdapterPersistence) 2011-11-11 17:21:51 +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 5cd72477e4 append more message without buffering 2011-11-10 21:20:12 +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
fmittag c9f1d5686c Merge remote-tracking branch 'origin/gwt' into lostbranch 2011-11-10 18:08:49 +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
fmittag 09e7beb749 new read and store methods for SailMasterMessages 2011-11-10 17:11:17 +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
fmittag f7a6b84c43 read and store methods for 'race' domain objects 2011-11-10 13:16:09 +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 63a3eecfd9 added loadMessages operation on RaceSpecificMessageLoader 2011-11-10 10:48:43 +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 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 8527092ea1 fixed bug in SailMasterConnectorImpl introduced by changing the handling of _STOPSERVER 2011-11-09 15:41:50 +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 a628b15809 preparing StoreAndForward to record SwissTiming messages in Mongo 2011-11-09 10:30:55 +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 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 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 97b95ea660 compilable (yet entirely untested) version of SwissTiming configuration stuff 2011-11-07 13:17:03 +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 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 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 c32b399a3b removed unnecessary interface 2011-11-03 22:40:15 +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 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 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 37e5ce4c77 minor rename 2011-11-03 11:48:06 +01:00