Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl 1c7c5ea9d5 Introduced null-safety for file storage service; useful during boot-up phase
Change-Id: I0396d5055cee2ab316b365ad0219df713018bc9d
2017-03-20 17:46:02 +01: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 efb2f88c40 fixed file encoding to UTF-8 for correct degree representation in toString()
Change-Id: Icee7c4f4bec04c337a3287c740ced915e5cb5c14
2017-03-20 13:52:38 +01:00
Axel Uhl dfec04fcc3 introduce custom field serializer for moving PreciseCompactPosition
Change-Id: I0b680a1cfb9da3c5a40475750aba325e16b7073b
2017-03-20 13:31:49 +01:00
Axel Uhl a65deda955 better logging when compacting GPS fix fails
Change-Id: Ic9ba35281c0bd93bcfef3628915c1a9efab5202e
2017-03-20 13:31:13 +01:00
Axel Uhl dd33695f8f allow for null values for SpeedWithBearing when constructing a compact GPS fix
Change-Id: I52e0d681a89f49d51a35adf34139276cc4d23c60
2017-03-20 13:30:38 +01:00
Axel Uhl 55bdd88edc Merge remote-tracking branch 'server/master' 2017-03-18 00:04:44 +01:00
Axel Uhl dbb40a05af Mongo 3.x no longer allows for null values as index ordering; replaced by 1 consistently
Change-Id: Ie3accf61d8eb88d5dc1caa0a0eb7fbda8b61d31b
2017-03-18 00:02:07 +01:00
Axel Uhl edcacbb815 made activator's stop method resilient against uninitialized elements
Change-Id: I90d93f5018f3ee5947d4591240f0dd2c99bfbd64
2017-03-17 23:43:41 +01:00
Axel Uhl e1de1aa956 added TracTrac Javadoc files
Change-Id: I819aeae7bef9d523f6e280ef43553c83704d2a72
2017-03-17 23:42:38 +01:00
Axel Uhl 0a2b0eb773 allowing language switching based on browser's Accept-Language header field 2017-03-16 22:36:05 +01:00
Axel Uhl 99e97d5259 fix for bug 4075: when no startOfRace is set, leg details' maneuvers map is null; avoiding NPEs
Change-Id: Ie85592791c22a9d8a7c3c783bc628ceb675ce54f
2017-03-16 15:48:08 +01:00
Axel Uhl d1cdcba8b2 Merge branch 'master' into bug4072 2017-03-14 18:05:31 +01:00
Axel Uhl eb7a898978 formatting changes
Change-Id: Iba05fd80075fee5711a800c9e95b2003b2754caf
2017-03-14 18:02:17 +01:00
Axel Uhl 25117ae3f8 fixed typo in method name
Change-Id: I444ad7c2cbca215ff6849ffb52a6f0c90960f895
2017-03-14 01:50:51 +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 4381977c5a added test case for new file format
Change-Id: I69762ac38195d4cbe29629b3e2d5d1c12cd03899
2017-03-11 18:01:01 +01:00
Axel Uhl e2fe0019a0 made Bravo parser more lenient, ignoring extra columns
Change-Id: Ieec433b4bd32fa7d283ac0045c37a4dd39aeafa6
2017-03-11 17:52:57 +01:00
Axel Uhl a40f4a2baa removed unused valueNames stuff in sensor fixes
Change-Id: I833a1ee336b1d97a748a3ef4d8483eb2e1c2621e
2017-03-11 17:47:54 +01:00
Axel Uhl 99d3952e3e commented Firefox settings again in ci-test-environment.xml
Change-Id: Ic95aec84cfda0d6499161f9fb3fe1f37c5a1f80e
2017-03-10 00:27:01 +01:00
Axel Uhl 71d5a8397a extended timeout for selenium tests from 60 to 120s, trying to avoid false-negative failures
Change-Id: I4501775183e00062f3b476ff4c5deefb3597a9f8
2017-03-10 00:22:01 +01:00
Axel Uhl 51f5e78bae fixed more serialization issues for VeryCompactPositions; this time, manual tests based on RaceBoard.html all look good
Change-Id: Ieb0910997400fa8a851350536a04177901c30a88
2017-03-10 00:08:01 +01:00
Axel Uhl 448e67fd3c fixed URL path for startorder REST method
Change-Id: Ifb3718a66ac7a2b6e3c19fd2e7d0c70a2a63b42f
2017-03-09 23:32:55 +01:00
Axel Uhl 8c5c123e05 fixed custom field serializer for VeryCompactGPSFixImpl.Position
Change-Id: I221ecd61b46feaf0eb3addeff30174862849d1c3
2017-03-09 18:45:52 +01:00
Axel Uhl ac9bc19f2c added missing custom field serializers for very compact positions
Change-Id: I98628a84f331dd432cb2a3d658dbb8dbe8168aa6
2017-03-09 16:03:05 +01:00
Axel Uhl 2aa07a0ae0 bug 4073: first attempt at computing a start order
Change-Id: I8a1ac51eb5aebe36b86dabc7b4fccb30197c8b29
2017-03-09 07:42:11 +01:00
Axel Uhl cfccd8c5d6 Merge remote-tracking branch 'origin/tracapi-3.6.0' 2017-03-08 21:35:31 +01:00
Axel Uhl d274ded785 Merge branch 'master' into intlatlng 2017-03-08 16:36:02 +01:00
Axel Uhl 09ae405b51 fixed SailingGWT sdm.launch
Change-Id: I9c4488e5bb36b3554439146dd7e873cfd1867587
2017-03-08 16:08:11 +01:00
Axel Uhl 03d68127f1 fixed SailingGWT sdm launch
Change-Id: Ib20d51d7fed08c34751532467706b414630650b3
2017-03-08 15:44:12 +01:00
Axel Uhl 6611b4c3f4 Merge branch 'master' into bug4072 2017-03-08 14:07:36 +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 9d38e8edfa Merge branch 'master' into intlatlng
Change-Id: I1418e457b4124e16c36c86a5f4fb48a987935cc4
2017-03-08 10:33:57 +01:00
Axel Uhl 385b5f72a5 Merge remote-tracking branch 'server/master' 2017-03-08 10:30:04 +01:00
Axel Uhl 4ed4d8e592 Merge remote-tracking branch 'server/ess2017-rule-changes' 2017-03-08 10:28:50 +01:00
Axel Uhl d4913b021e use timeout for TracTrac live tests
Change-Id: I175030144e5ba8f81592257bb43af27f1bc29bf2
2017-03-08 10:27:56 +01:00
Axel Uhl 564cea50a3 use timeout in parallel TracTrac loading test
Change-Id: Icdc5a8b0e5792e27b2d5304ca486a959bb907703
2017-03-08 09:22:42 +01:00
Axel Uhl 309ab43948 upgraded TracAPI readme file# Changes to be committed:
Change-Id: I2bc3e88d6038b93d48eec28a1f57b86c8184addf
2017-03-08 09:17:06 +01:00
Axel Uhl 2027ea8671 upgraded TracAPI from 3.4.1 to 3.6.0;
This makes available new connection methods that support
TimeoutException instead of waiting forever. This now needs to be
integrated.

Change-Id: I81656a258b7a2c99b4375cb953d9ff4ae5aa2f83
2017-03-08 09:14:24 +01:00
Axel Uhl f7033a8f05 relaxed another Wind-related test, using PositionAssert
Change-Id: Ice1499e154aabb31b2001d433222e307f6f8a3b0
2017-03-08 07:13:53 +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 a0bdce9eed use per-test separate exchange name and delete test exchange during tearDown
Change-Id: Ib2660fe79a2fae060d0c6d4c6c613fe1056e9428
2017-03-07 21:18:13 +01:00
Axel Uhl 735b9a8042 relaxed further test verdicts; fixed WindTrackImpl.remove regarding equals and compactify
Change-Id: Iba121c395fb35963df0c6f0a699f4d27f818b723
2017-03-07 20:42:03 +01:00
Axel Uhl 80d6b83d95 adjusted WindTracks test to relaxed accuracy
Change-Id: I7cab91c4c83091f1049cc3b31cf60417d637d0a0
2017-03-07 20:25:28 +01:00
Axel Uhl 19e5dadd22 relaxed interpolation/extrapolation test verdicts a bit for approximating compactification
Change-Id: Idee586429622709f122e4aa984e319ad35679fd0
2017-03-07 07:35:46 +01:00
Axel Uhl 4f98c38ea4 use signed short to allow for negative speeds and bearings; adjusted tests to resolution reduced by one bit;
Javadoc for CompactPositionHelper

Change-Id: Ifd9dc3e8ccaa23b377e42ea39422af9dcbd06652
2017-03-07 01:13:19 +01:00
Axel Uhl e48e3dbb8e allowing for optional precise compactification; in case other applications need it, e.g., for non-GPS-sampled position data
Change-Id: I448bdf17bdd8003bf3b0490d5e7caa586d3984ff
2017-03-07 01:00:02 +01:00
Axel Uhl 763901dc9f Merge branch 'master' into intlatlng 2017-03-06 22:25:03 +01:00
Axel Uhl 8c28aca098 added release notes entry for the three new languages
Change-Id: I854d7c05b67a540b73757bd45d51cbcde813ef59
2017-03-06 22:24:10 +01:00
Axel Uhl 892de5a45d updated serialVersionUID of CompactGPSFixImpl
Change-Id: I233cded503281347e85b217f0ccb6007f4f54c2c
2017-03-06 21:24:03 +01:00
Axel Uhl f77f35a61b added CompactionNotPossibleException and handle properly, leaving original fix in place in such cases
Change-Id: I3bd911dc17076228d663635b5dfe8f12ddcfdd1f
2017-03-06 21:04:00 +01:00
Axel Uhl dae16f4596 throw an IllegalArgumentException if attempting to compact a speed too high
Change-Id: I4bafc8a26a85b2d1c80b10c3f0a91a815cdb7117
2017-03-06 20:43:37 +01:00
Axel Uhl 169086ca88 adjusted test case that used insane speeds, therefore not fitting into a CompactGPSFixImpl
Change-Id: I724c40a0bb0c35dd69215bf06c9abfa092699a53
2017-03-06 20:39:48 +01:00
Axel Uhl e69a645bb1 adjusted more test cases for decreased accuracy
Change-Id: I6f6b1de1c01487f2e3c771421d7d75d1a3220596
2017-03-06 18:29:17 +01:00
Axel Uhl 7f3e004d8c more compactification by using short and int in even more cases; bit field saves two more bytes
Change-Id: I738b09b4bfeb47936685c1410846b43296442d4e
2017-03-06 18:18:28 +01:00
Axel Uhl d22eaee96f Merge branch 'master' into translation 2017-03-06 16:49:22 +01:00
Axel Uhl 7564b54825 Merge branch 'master' into intlatlng 2017-03-06 16:48:54 +01:00
Axel Uhl 547e2e2372 after TracTrac changed what they return as stored URI, adjusted test case accordingly
Change-Id: Ib653da911857e88eba0366b5eaceb854d2b0f0e9
2017-03-06 16:48:25 +01:00
Axel Uhl 78a436b39e more test relaxations due to change from double to int
Change-Id: I992db29317be8f766cefc426eae4d6d5809ec6ce
2017-03-06 16:48:02 +01:00
Axel Uhl 7f1d26333c iafter using int to represent lat/lng, made tests slightly more lenient regarding position comparison
Change-Id: Id0eb4059f0d93967d817277df4376e3772ce6fcf
2017-03-06 16:40:56 +01:00
Axel Uhl 80add79485 implemented int-based more compact representation of lat/lng in CompactGPSFixImpl plus tests
Change-Id: I9c12315a4e0a27c98c4439196a85b8b95be3321c
2017-03-06 16:11:50 +01:00
Axel Uhl 609e963ce1 fix for bug 4070: adding synchronization to CandidateChooserImpl
Change-Id: I11695c0c50b000afe8376de6e72ba097998b730a
2017-03-06 14:38:23 +01:00
Axel Uhl 2cb8b56c76 added missing {0} parameter to "es" locale's message string
Change-Id: I156eaf6e6363e257a3434ed93db9c4f597354cb3
2017-03-06 12:22:33 +01:00
Axel Uhl 4d02cd0caa Merge branch 'master' into translation 2017-03-06 12:13:45 +01:00
Axel Uhl 5ccf76d781 during restore, wait 1min for race to appear before moving on to restoring next race;
This shall avoid flooding tracking providers as well as our own server
by too many concurrent restore requests. Waiting at least for the
RaceDefinition to appear should help serialize requests a little more.

Change-Id: I271612512fa7e1e9de42e76abeee6e47a62bf09b
2017-03-06 11:37:26 +01:00
Axel Uhl 476c43330d fixed single quote issues in _fr.properties files
Change-Id: Ib911c1f281159b5512790a363fe4b661e81bce17
2017-03-06 11:01:41 +01:00
Axel Uhl c3f5417598 added locales es, fr and pt to *LocalesAllPermutations.gwt.xml
Change-Id: I186c5310ff4aa13b3b404fbdcf566d1b6eb8e43c
2017-03-06 08:40:12 +01:00
Axel Uhl faa88017da Merge branch 'master' into translation 2017-03-06 08:35:00 +01:00
Axel Uhl 3b7d518db6 start counting races restored with 1
Change-Id: I3384b968eefb83fe7ed03c06b1af1d8bb8dd01a1
2017-03-05 13:52:57 +01:00
Axel Uhl cee2a3a25b Scheduling the loading of races during restore as one background task per race for better throttling
Change-Id: I8578f31465d0cbaf80f6ceaacd2539e9f6fb7060
2017-03-05 13:48:24 +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 bfe1b5468b after using ConcurrentHashMap, make service finder null-safe for the "type" attribute again
Change-Id: Ia3ae2703e23dff5c75af66f7d6bcd3b2fc0710a3
2017-03-05 01:40:36 +01:00
Axel Uhl fc0817977a avoid MongoDB cursor timeouts while restoring races
Change-Id: I3a33f9a20d6bc8b7e8bb8fa95b628b5cf4c288ab
2017-03-04 23:42:48 +01:00
Axel Uhl 6b48748701 added "done" log message for restoring races loop
Change-Id: I38f4b91af53b78bc5ff9fae46828282c4bd1c5f0
2017-03-04 23:19:44 +01:00
Axel Uhl 0bac8a872d fixed log output by adding missing blank
Change-Id: I338efcc592f5aa679a8b65a8cca013c0bf314abb
2017-03-04 23:13:03 +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 19eb2d7327 further improved restore logging
Change-Id: I7d08a6e5db70c2a479fa02b52dddc450fa3daada
2017-03-04 22:16:39 +01:00
Axel Uhl 1a4d5c2ee4 more logging for restoring races
Change-Id: I6682788a59ba9e84e2d41cfe90aab84b9d3a86e7
2017-03-04 20:40:54 +01:00
Axel Uhl d215e048bf re-added synchronization where necessary to CachedOsgiTypeBasedServiceFinder
Change-Id: I311676d36849c2a913caac3ae915abc767b4d6c7
2017-03-04 20:40:21 +01:00
Axel Uhl cf7e6c2154 use ConcurrentHashMap for services map in CachedOsgiTypeBasedServiceFinder;
this should avoid excessive wait times on synchronized(services)

Change-Id: Ibe8dc785e91760913d6e410227e2dc22ca836685
2017-03-04 15:39:26 +01:00
Axel Uhl 0a956e11ce replaced printStackTrace by logging
Change-Id: Ida99ce556a9702f6dd5e5a7f2fc5af29cc300483
2017-03-04 15:28:01 +01:00
Axel Uhl 312ec84263 only alter connectivity params regarding track wind if wind was previously to be tracked
Change-Id: I77ec33cea2228e8959ec0d2fb12020dcbd42399d
2017-03-04 15:09:46 +01:00
Axel Uhl 587a529a8f fixed connectivity params loading tests by introducing a waitable future
Change-Id: If099c72964f9785df73ac80022eb514d177644a7
2017-03-04 12:39:37 +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 2c42cd0653 changed threading for server restore; number of races to load now is available again
Change-Id: I2896f3dddb90607190b09031daef9bb9b73ebd77
2017-03-02 18:33:44 +01:00
Axel Uhl effd9a41c5 dded field firstColumnIsNonDiscardableCarryForward to regatta's series serialization
Change-Id: I3166bbabf724531ddabb5cf4599176c94add9a06
2017-03-02 15:17:50 +01:00
Axel Uhl 12f7d237aa the one-liner fix for bug 2600: add RacingEventServiceImpl as regatta listener on regattas received through initial load
Change-Id: I264e01dee5016c79e43ab7e6af6fb25b6520ca0c
2017-02-24 20:25:46 +01:00
Axel Uhl d4d3b3d7fe added FINE logging for operation replication and application
Change-Id: I1f1aa5a6a971be5de8adb3a5ba1cff48a44c8c14
2017-02-24 18:32:44 +01:00
Axel Uhl b408b7966e in AbstractServerReplicationTestSetUp fixed replica UUID written to stream
Change-Id: I777f06fe8e157670fe2787c361aa2093e6a579de
2017-02-24 11:39:27 +01:00
Axel Uhl 29d0c32cbd formatting only
Change-Id: I88aebbc3ccd71d7d4c463d08e1f44b4b72c9de71
2017-02-24 11:39:15 +01:00
Axel Uhl 09a5fa3844 Merge branch 'master' into translation by removing English texts from _ja, _ru, and _zh
Change-Id: Icf46b1b97750e5974d7389cbf70c943dd5c6519e
2017-02-23 17:50:33 +01:00
Axel Uhl 7db8586d7a set properties for SAP code signing for central Android builds
Change-Id: Ie6e66b9c544181c14d366141915cb23ed9aaab11
2017-02-23 00:04:13 +01:00
Axel Uhl e5d2f3a880 use -Dldi.releaseBuild=true for Android version upgrade
Change-Id: I21555a78a8e7da317d6339f8d79b63eedcf49554
2017-02-22 23:50:44 +01:00
Axel Uhl 3e0025bce9 use ${tycho-version} in targetplatform.base pom.xml too
Change-Id: Ife6b6c0ebf15e01dc82cc2abf73fc2876503aedd
2017-02-22 21:33:45 +01:00
Axel Uhl 3179cb5812 fixed proxy settings for android release script
Change-Id: I8b9c0f1cc003b48fd22e6e0ea5e7feb6ddefded2
2017-02-22 16:24:01 +01:00