Axel Uhl
39656b5213
fixing redirection issue for course update feedback request to TracTrac
...
Change-Id: I44accbbf05091d56ce7d28f9f12ca324281381c5
2017-10-20 16:12:30 +02:00
Axel Uhl
4fb8b56da6
using improved redirect strategy for TracTrac and Igtimi requests;
...
this can now also redirect POST requests from http to https
Change-Id: Ia380f7e87672ec28255eccc4688741540f9347e1
2017-09-27 16:36:53 +02:00
Axel Uhl
3b5b8bfd9f
bug 4262: introduced new status REMOVED which then won't trigger cache updates;
...
not yet all done, particularly RaceLog tracking needs a closer look
because race/tracker removal there is a bit more complicated
Change-Id: I5fb6decf282f5465c2b5af4a9aac7e1fce15331d
2017-09-15 17:02:43 +02:00
Axel Uhl
9174656b12
TracTrac: instantiate single marks before two-mark control points for better handling with virtual marks
...
Change-Id: I0c47f3234d45c646271f76f3f494018ac6c1bf33
2017-08-23 15:04:53 +02:00
Axel Uhl
0ce9519012
allow TracAPI to set start of race also if race is not in initialized state
...
Change-Id: Ib4de8c7f37b32678bc3bf44e611ba8723260c64c
2017-08-16 15:57:12 +02:00
Axel Uhl
576b22915a
using WeakValueCache for TracTrac DomainFactory;
...
let go of objects no longer strongly referenced by dedicated weak value caches
Change-Id: I0b6ac5d198b689d5fc1ce8aa5eeeee3c39bce1cd
2017-08-03 18:11:31 +02:00
Axel Uhl
0fcc38c73a
avoid NPE if trying to stop tracking for a TracTrac race that hasn't been found
...
Change-Id: Ifa266cc5decd6f1bfa6287c6a87ed0df48baa515
2017-08-03 14:15:53 +02:00
Axel Uhl
bb30d2750b
reduced duration between blue flag down and end of tracking further from 1min to 30s; consolidated with TrackedRace constants
...
Change-Id: I9951f7726de3ed32c1ee5b3b1374137871fefb87
2017-07-22 16:19:21 +02:00
Axel Uhl
56887089c7
upgrade to TracAPI 3.7.1: fixes NPE for IRace.getEvent()
...
Change-Id: I8164b2f6152f119487fc476407ee4c63feacf70e
2017-07-21 13:17:10 +02:00
Axel Uhl
6a91a3ef33
whitespace changes only
...
Change-Id: I42b645cd1c269a2e18bdf3b67fc1e0e76e065b49
2017-07-20 12:55:13 +02:00
Axel Uhl
b6cf205867
removed IControlsListener again after upgrade to TracAPI 3.7.0; it should no longer be required
...
Change-Id: I325c9aee8b3993fb849d3a20f3ebaa661ad38f70
2017-06-29 18:30:33 +02:00
Axel Uhl
7d2feff5bf
add IControlsListener to receive position update for static marks; unsubscribe listeners properly again in onStop
...
Change-Id: I8aa109fd572bc68e8c0d2d14a76e58979e036715
2017-06-20 13:51:02 +02:00
Steffen Schaefer
9123771f34
normalized line endings
2017-05-16 09:42:02 +02:00
Axel Uhl
8b7238370a
Merge branch 'bug4087'
2017-04-18 16:31:31 +02:00
Axel Uhl
b11dca244e
bug3552: refactored Mark.color from String to Color
...
Change-Id: Iddcc26de68dd5c1ecd3fdcbb61e59810e879ae37
2017-04-11 11:20:46 +02:00
Axel Uhl
9e8e5a2c9d
fixed indentation
...
Change-Id: I306485e2586182ccd4ff32291642be46d4741e42
2017-04-07 16:05:06 +02:00
Axel Uhl
2d5651ac44
don't assign additional marks to race if TracTrac doesn't know the course area
...
Change-Id: I7a38ee8c5eab49aea0f8819f1067e255dbda8cd3
2017-04-07 15:39:06 +02:00
Axel Uhl
ee8e2d6bc0
fixed issue with getSecondMarkId(), turning Florianopolis mark passing tests green again
...
Change-Id: Ic6cd332bcca7fd5db72c26c698dd028d811b87d3
2017-04-07 10:34:54 +02:00
Axel Uhl
50bb017e3e
fixed indentation
...
Change-Id: Id936bc41d7cba3d1f152bf9d142ed8c1bc2eb1f5
2017-04-07 10:29:58 +02:00
Axel Uhl
545ba2d0f5
use IControlPoint.getId() for marks where defined
...
Change-Id: I3b3a7416d1dee0f6b0a25aa49bf7d1346810fbce
2017-04-06 18:30:00 +02:00
Axel Uhl
c6025e0b3b
first implementation for bug 4087: re-use existing IControl if marks match
...
Change-Id: I4af7a0ed3fb691b425e35fa333fc52c861ba36fe
2017-04-06 13:03:00 +02:00
Axel Uhl
8180a65da5
bug 4087: using IControl ID + (1/2) for marks' ID; replace control points by existing ones for same set of marks
...
Change-Id: Icec17f89224aa0bef70d681362613bda849a42c2
2017-04-06 12:14:29 +02:00
Axel Uhl
90ac3aff2e
formatting only
...
Change-Id: I21855e68f68a9a2c9df71d454709142284b23bec
2017-04-06 10:15:31 +02:00
Axel Uhl
a32aa8a2ac
bug4099: ignore non-competing ICompetitor objects coming from TracTrac
...
Change-Id: If9a90a9adf59aa228f227a8f01656ebc56782e16
2017-04-04 17:52:22 +02:00
Axel Uhl
8ab46b3660
fixed synchronization for updating initial start/end of tracking time into new TrackedRace;
...
This way, other receivers will not see the TrackedRace as announced to
the DomainFactory before a callback was invoked which in this case
updates the start/stop tracking times.
Change-Id: I3cc513f0c893b116d7ea9dc6af93ac16f50c328b
2017-03-20 16:11:57 +01:00
Axel Uhl
16211b7ec7
using RacingEventService.stopTracking instead of only calling stop() on the tracker;
...
this shall consistently remove the tracker from the tracker cache in
RacingEventService, stop tracking wind and hence allow for re-tracking
such a race.
Change-Id: I39d029c468522ae72e2e2b29c777fa23fcdbdb70
2017-03-13 22:02:39 +01:00
Axel Uhl
cfccd8c5d6
Merge remote-tracking branch 'origin/tracapi-3.6.0'
2017-03-08 21:35:31 +01:00
Axel Uhl
a4b5bfe8d5
use timeout mechanism of TracAPI 3.6.0 for obtaining IRace from TracTrac
...
Change-Id: Ib3ceca870482ce524f647f7c985320c470086a95
2017-03-08 12:17:49 +01:00
Axel Uhl
df6ce38c8f
better clean-up procedures in case race cannot be loaded because its boat class doesn't match
...
Change-Id: If38bf0c197704915e228fff9c4eab6800c1bd443
2017-03-07 22:36:36 +01:00
Axel Uhl
f0bb81b302
added more logging for calling stopTracking by the TracTracRaceTrackerImpl
...
Change-Id: I273278812567369d1a375b5b583f7379f3fe9047
2017-03-05 13:47:45 +01:00
Axel Uhl
35d493ed73
use a background thread waiting with timeout for the RaceDefinition to appear before stopping tracking
...
Change-Id: I1c19b6a539b614f355d81f5ad5e0a2d06e6c9965
2017-03-05 10:57:27 +01:00
Axel Uhl
57a1204d15
simplified implementation of RaceHandleImpl.getRace(long)
...
Change-Id: Ifc1db80a74092d243b27d0b0f720363181aa3715
2017-03-05 10:55:23 +01:00
Axel Uhl
c53e2a9df6
added a minimum amount of synchronization around TracTracRaceTrackerImpl.race to ensure "volatile" works
...
Change-Id: I235f755ba816bd9dc27f07ca28ea1c80a71d1cf0
2017-03-05 02:07:33 +01:00
Axel Uhl
3c7e3824ef
log addRaceDefinition in TracTracRaceTrackerImpl
...
Change-Id: I43d68ae0dfaa841bebf32089de90731d933d743b
2017-03-05 02:00:29 +01:00
Axel Uhl
9f9888b3a0
making the RaceTracker.getRace() call return a "volatile" value;
...
this may be the fix for races not moving to FINISHED state during mass
loading
Change-Id: I5c35d24ee9335819e59288914289a22f72ba1cda
2017-03-04 23:07:18 +01:00
Axel Uhl
51b6a9557b
use Util.addToValueSet to simplify code
...
Change-Id: I83f631a05259266054fc57db1a268f12cdc81e9e
2017-03-04 22:16:48 +01:00
Axel Uhl
0a956e11ce
replaced printStackTrace by logging
...
Change-Id: Ida99ce556a9702f6dd5e5a7f2fc5af29cc300483
2017-03-04 15:28:01 +01:00
Axel Uhl
cd67b2ea2f
fixed synchornization problem that in some cases lead to race definition lookups not getting unblocked properly
...
Change-Id: Icd0cfd3bdfb8c37a8df1997814da4aabe38c6859
2017-03-02 18:59:08 +01:00
Axel Uhl
a84b84b3ce
upgraded TracAPI to 3.4.0
...
Change-Id: Iebec9b40682ef95435c538c05af4edd1a469406f
2017-01-31 16:29:30 +01:00
Axel Uhl
a615173f26
pass through the timeout parameter to the trackers; TracTrac receivers now use it; -1 means wait and is used for restore
...
Change-Id: Iee676ffceb44eb9459c51ba38cddbaf5ba40c9fb
2017-01-27 15:07:56 +01:00
Axel Uhl
9a8df602b4
fix for bug4040: computing update for storedURI/liveURI already in TracTrac connectivity params, keeping tracker ID and params ID equal
...
Change-Id: I8f86770286332a5198ab2ba57b83a52c67759008
2017-01-26 11:55:46 +01:00
Axel Uhl
688d37d27c
bug 4037: automatically "upgrade" to replay format during restore if available;
...
still using a kludge for detecting replay format; TracAPI 3.3.2 will
offer a reliable API for that later today
Change-Id: Ied19e1e787f6f28d2a6e531b9ac1aedf5721ab5b
2017-01-25 08:47:17 +01:00
Axel Uhl
7650af5809
added more upper version constraints for org.apache.httpcomponents.*
...
Change-Id: I2b0e9ecab3449dfe281259ba63d98d69d382c5c8
2017-01-24 00:49:23 +01:00
Axel Uhl
f9b4ac7b50
passing through trackWind and correctByDeclination params into connectivity params
...
Change-Id: I7adbb4f2c84e5352c9f3891b23198b74ca2fce4c
2016-12-30 12:02:06 +01:00
Axel Uhl
d965ead2e8
removed unused code (addRegatta) from TracTracAdapter
...
Change-Id: I1999eb21d550e762fa9ba68c071ca7ee84546fb1
2016-12-30 10:33:42 +01:00
Axel Uhl
9aed690264
implemented RaceCreationListener callback pattern on RaceTracker as prerequisite for linking connectivity parameters to Race/TrackedRace
...
Change-Id: Ib74b2a1c1defe7c89f9a3584cbb230fe73358a13
2016-12-29 20:01:24 +01:00
Axel Uhl
704e4e2a64
refactored RaceTracker such that getRace[Identifier]s() is now getRace[Identifier](), alluding to the always-singular aspect of RaceTracker/RaceHandle
...
Change-Id: I50d202122c3021dd2f852762688d762fb3806d99
2016-12-29 18:10:36 +01:00
Axel Uhl
c20cf52f4d
RaceTracker objects now know the connectivity parmaeter objects from which they were originally created
...
Change-Id: Ifc3b20618b25f5a4a489108b283a44b9087a31c2
2016-12-29 15:33:17 +01:00
Axel Uhl
f81fe95c6f
made connectivity params getters public so that handlers can access them from other bundles
...
Change-Id: I03906cfc4eb4b0c7eba3d7336f7f49a997d11a62
2016-12-29 11:10:55 +01:00
Axel Uhl
5714320b83
minor refactoring regarding how effective regatta is determined for TracTrac adapter
...
Change-Id: I3d14153b21b091a4fd328397b97a396b2afaa826
2016-12-28 16:08:16 +01:00