Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl d43c365fdf turned updateCount into long; added ExpeditionMessageImpl constructor to allow better time stamp defaulting 2011-06-14 18:05:12 +02:00
Axel Uhl 3791dcc164 introduced system property tractrac.tunnel. If set to true, test cases will use localhost tunnel 2011-06-14 17:33:18 +02:00
Axel Uhl 8bf1516b78 first fairly complete version of ADMIN; beginnings for a more comprehensive README 2011-06-14 16:23:33 +02:00
Axel Uhl be93c794af added meters per second speeds to showwind output 2011-06-14 15:15:44 +02:00
Axel Uhl 519e5a099e added speeds in meters per second to showrace output 2011-06-14 15:14:13 +02:00
Axel Uhl 7d400ead63 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-14 14:48:50 +02:00
Axel Uhl b745acb11f changed time point used for average speed over ground; use time of competitor's last fix if leg not completed;
return null if no fix found at all for competitor
2011-06-14 13:17:07 +02:00
Axel Uhl 910c860e69 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-14 10:53:13 +02:00
Axel Uhl 31b973602f increased max VM heap size to 2G; added comment for refactoring of getEstimatedSpeed 2011-06-14 10:51:51 +02:00
Axel Uhl c7e8fb9032 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-13 22:28:34 +02:00
Axel Uhl 98efb3f4f7 increased timeout for declination read-out; notify about mark passings changes only after
all of a competitor's known mark passings have been re-established
2011-06-13 22:27:49 +02:00
Axel Uhl 6d9ad23575 use timeOfLastEvent instead of timeOfNewestEvent as default for time point in showrace;
increased interval for speed smoothening to 30s of which usually only the left half (15s) is used
2011-06-13 22:05:34 +02:00
Axel Uhl a07a83469b No change 2011-06-13 21:48:40 +02:00
Axel Uhl b749c4e804 added missing getSpeedOverGround implementation 2011-06-13 21:45:53 +02:00
Axel Uhl 0f7daa3ffd added currentSpeedOverGroundInKnots to showrace output 2011-06-13 21:41:21 +02:00
Axel Uhl e7d6006bfb fixed time point check for average velocity made good; fixed localhost default for MongoDB wind store 2011-06-13 21:30:10 +02:00
Axel Uhl c510c3f6c7 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-13 20:57:19 +02:00
Axel Uhl b44c05c5c6 added first simple distance traveled test; made Expedition time conversion test more lenient 2011-06-13 20:56:36 +02:00
Axel Uhl 5dc1e90f86 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-13 20:35:17 +02:00
Axel Uhl 7267e3861a added test that ensures that re-launching tracker for same race parameter yields same tracker 2011-06-13 20:34:34 +02:00
Axel Uhl 9b4ca2fe6a added missing files 2011-06-13 19:51:21 +02:00
Axel Uhl 8831770f00 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-13 19:49:13 +02:00
Axel Uhl 464a1c6e64 first successful test that starts/stops/starts tracking for same race and gets different TrackedRaces 2011-06-13 19:48:25 +02:00
Axel Uhl ad63bef2fd added a failing test case showing the problem regarding stopping/restarting for the same race 2011-06-13 18:58:03 +02:00
Axel Uhl af1c40644b factored out the obtaining of the tracked race 2011-06-13 18:11:25 +02:00
Axel Uhl 0d023e78dd added test code waiting for TrackedRace to show up 2011-06-13 18:00:48 +02:00
Axel Uhl 1e47a20edc added RaceHandle return to addRace so clients can identify what they are tracking
Started working on a server test that works towards starting and stopping trackers for the
same race / event, asserting that tracking structures are cleared in between
2011-06-13 17:48:21 +02:00
Axel Uhl 5354ba7e3f added getTimePointOfLastEvent 2011-06-13 15:28:30 +02:00
Axel Uhl 064e80377c Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-13 15:23:29 +02:00
Axel Uhl e2d726b543 added more items, cleaned completed ones 2011-06-13 15:21:22 +02:00
Axel Uhl 2180e0fb3c Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-13 13:09:18 +02:00
Axel Uhl b9df8dbe32 removing equals/hashCode from WaypointImpl again
Instead, DomainFactoryImpl.updateCourseWaypoints re-uses existing Waypoint objects by
explicit comparison of their ControlPoint objects, in order.
2011-06-13 13:06:42 +02:00
Axel Uhl 0b1cab5dff augmented 2011-06-13 11:54:47 +02:00
Axel Uhl 0f4a542b51 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-13 11:49:58 +02:00
Axel Uhl 7ba5ec49b4 added entries 2011-06-13 11:49:28 +02:00
Axel Uhl b2a3a4426b fixed leg update after course change 2011-06-13 11:11:17 +02:00
Axel Uhl 407cd8761a Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-13 10:09:10 +02:00
Axel Uhl 6411ec6358 small beautification regarding use of domainFactory field 2011-06-13 10:08:22 +02:00
Axel Uhl aa1aed9a81 fixed tracked leg update after addWaypoint 2011-06-12 23:28:22 +02:00
Axel Uhl 18c49c62e5 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-12 23:19:21 +02:00
Axel Uhl 332965617d fixed creation of TrackedLeg[OfCompetitor] after addWaypoint 2011-06-12 23:18:18 +02:00
Axel Uhl b22351e1ec adjusted to refactored createTrackedLeg APIs 2011-06-12 22:29:43 +02:00
Axel Uhl adf935acc1 added -v flag to UDPMirror so we can optionally see what's being forwarded on the console 2011-06-12 14:57:47 +02:00
Axel Uhl 93395921b0 improved comment for construction of waypoint objects 2011-06-12 14:42:18 +02:00
Axel Uhl a8eb81df8f added waypoint ID in leg output for showrace 2011-06-12 14:42:15 +02:00
Axel Uhl 072726df77 provide an ID for waypoints 2011-06-12 14:19:16 +02:00
Axel Uhl 6a88a001a3 fixed leg adding/removal 2011-06-12 13:56:02 +02:00
Axel Uhl 49073eb0ea same Mongo connection pattern also for WindTracks tests 2011-06-12 13:41:57 +02:00
Axel Uhl d77d6ced2c initialize Mongo properties from system properties in default constructor, helps if no OSGi is launched
added first logic in TrackedRaceImpl for course updates
2011-06-12 13:36:22 +02:00
Axel Uhl fb276dd261 added TODOs to TrackedRaceImpl regarding course updates; expose mongo.port property 2011-06-12 13:25:51 +02:00
Axel Uhl def8296c1d use mongo.port property also in mongodb.test bundle 2011-06-12 13:19:21 +02:00
Axel Uhl 368fbfe2eb removed completed TODO 2011-06-12 12:50:15 +02:00
Axel Uhl 933319b155 added test for in-between waypoint removal 2011-06-11 17:13:03 +02:00
Axel Uhl ab391414eb longer timeout in declination test 2011-06-11 17:10:19 +02:00
Axel Uhl d50756c8c7 pass DomainFactory to receivers to allow better testing; fixed removing waypoint from course 2011-06-11 17:08:56 +02:00
Axel Uhl 715065d381 increase wait time for MongoDB to show changes to other sessions 2011-06-11 16:41:04 +02:00
Axel Uhl be3d1f2df7 added a first test for dynamic route update 2011-06-11 16:36:58 +02:00
Axel Uhl 3607a459e7 added wait to let MongoDB make changes visible to other sessions 2011-06-11 14:51:05 +02:00
Axel Uhl dca886bd6c call the new DomainFactory.updateCourseWaypoints method
when the course changes
2011-06-11 14:00:12 +02:00
Axel Uhl f8c36b2297 made a Course observable for changes 2011-06-11 13:57:14 +02:00
Axel Uhl 8c34005aa6 A leg now only refers to the course it belongs to and no longer immediately refers to the waypoints.
As such, the leg now just encodes something like "I'm the i-th leg in course x" which is more stable
against changes in waypoints. On the other hand this means that over time, as the course may change,
the leg's waypoints may change as well.
2011-06-11 13:36:14 +02:00
Axel Uhl 72aedaea6f Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-10 23:27:03 +02:00
Axel Uhl 50441cd2e1 switched to Iterator to make differ more widely applicable 2011-06-10 23:26:24 +02:00
Axel Uhl e05e271d9f Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-10 21:50:23 +02:00
Axel Uhl 2578c084cb switch top-level pom.xml to non-proxy operations (probably the default in our set-up?) 2011-06-10 21:49:49 +02:00
Axel Uhl 687d524171 added regression test for bug fixed by 20a3aa6c2d 2011-06-10 21:49:10 +02:00
Axel Uhl 989fa4258c added regression test for bug fixed by 20a3aa6c2d 2011-06-10 21:46:59 +02:00
Axel Uhl a1daeaedf4 added TODO 2011-06-10 21:37:10 +02:00
Axel Uhl becc95ad49 fixed pattern that at least excludes Java .class files 2011-06-10 21:26:56 +02:00
Axel Uhl 56e99d863e merged old java/TODO in top-level TODO 2011-06-10 21:21:34 +02:00
Axel Uhl 6346b92f2b merged java/TODO with Simon's top-level TODO 2011-06-10 21:21:15 +02:00
Axel Uhl 13813d4261 Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-10 21:18:16 +02:00
Axel Uhl d9aaab2027 implemented removewind REST API in admin app 2011-06-10 21:17:34 +02:00
Axel Uhl 2e2a450fcf longer timeout in declination tests; formatting changes 2011-06-10 17:49:10 +02:00
Axel Uhl c0f6ac453d Merge branch 'master' of ssh://localhost:12347/home/trac/git 2011-06-10 17:40:43 +02:00
Axel Uhl 633aaecb11 deploy master to maven-repositories/dev 2011-06-10 17:39:14 +02:00
Axel Uhl aa6a4aa78d moved Maven repositories on server from ~trac/maven-repository to ~trac/maven-repositories/<branch-name> 2011-06-10 17:34:46 +02:00
Axel Uhl fe88efcce5 adjusted to new java/ directory 2011-06-10 17:22:51 +02:00
Axel Uhl 381f684b9e allow Iterable in diff-utils 2011-06-10 11:53:49 +02:00
Axel Uhl 349b21e59e introduced generics to java-diff-lib 2011-06-10 11:41:46 +02:00
Axel Uhl d25d2fba91 use java-diff-lib for a simple test case that changes a waypoint list 2011-06-10 11:17:25 +02:00
Axel Uhl 13a008fcc4 added java-diff-utils from Google Code (Apache License)
Preparing to diff a waypoint list to find a minimal diff
2011-06-10 11:02:57 +02:00
Axel Uhl 6b5cb8ecf1 preparing a test for course updates 2011-06-10 10:23:19 +02:00
Axel Uhl a2549fb265 renamed firstFinish to finish because it's the finish time received from TracTrac 2011-06-10 01:17:47 +02:00
Axel Uhl 4c83e77597 updated TODO 2011-06-10 01:10:34 +02:00
Axel Uhl c65148005a wait a little for MongoDB to write its stuff so that
other sessions can see
2011-06-10 00:44:59 +02:00
Axel Uhl 34608e1bea better test failure message 2011-06-10 00:31:24 +02:00
Axel Uhl 558a01683d made abstract, avoiding JUnit / Maven to try to instantiate it 2011-06-10 00:00:44 +02:00
Axel Uhl 2a61b64ce6 successfully load/store wind tracks from MongoDB for TrackedRaceImpl instances 2011-06-09 23:41:40 +02:00
Axel Uhl 5e993e7e3f adjusted test case for numeric lack of precision 2011-06-09 17:46:27 +02:00
Axel Uhl d790bec3fb first working test case that dynamically appends to and then retrieves a complete wind track 2011-06-09 17:33:56 +02:00
Axel Uhl 59dc139190 added UDP mirror test 2011-06-09 15:27:50 +02:00
Axel Uhl 5e158c7c75 added com.sap.sailing.mongodb to maven build, removed TODO regarding concurrency issue: can't be reproduced anymore 2011-06-09 10:54:52 +02:00
Axel Uhl 2757097126 fixed NPE issue in case competitor passed mark but has no position fixes 2011-06-09 10:40:43 +02:00
Axel Uhl 2b4aef46b9 added bug issue 2011-06-09 10:20:47 +02:00
Axel Uhl 7a0fd6ffd3 started a bundle that can store and retrieve domain data from MongoDB.
Need this for storing/retrieving wind information
2011-06-09 10:15:50 +02:00
Axel Uhl 6f2bcacbe6 Javadoc for TracTrac ResultAPI client 2011-06-09 10:15:08 +02:00
Axel Uhl 71aab3e3ff With this version, the concurrency issues regarding showwaypoints cannot be reproduced.
Started to add tests for storing wind to and retrieving it from a MongoDB
2011-06-09 10:14:04 +02:00
Axel Uhl 0180e6c1ae drop DB before test 2011-06-08 15:38:16 +02:00
Axel Uhl 18e3931401 added MongoDB driver and test to Maven build 2011-06-08 14:37:01 +02:00