Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl ff5d813ca2 added VO60 (Volvo Ocean 60) as new BoatClassMasterdata entry 2017-01-08 21:21:45 +01:00
Axel Uhl e96d0d5123 fix for bug 4020, carrying hullBeam through BoatClassDTO which is now always defaulted to a non-null Distance 2017-01-08 21:14:01 +01:00
Axel Uhl fbe4f124ee fixed test cases for target time estimation due to computing wind on leg middle instead of center of course
Change-Id: Ibfaddcbf5b6d9296b32b60cfdb95a6817b3548ea
2017-01-06 11:40:48 +01:00
Axel Uhl 26d40a21e4 Merge branch 'master' into bug3108
Change-Id: I1b76015188a437217552eaf9a1d51b5a90f152a7
2017-01-04 15:08:46 +01:00
Axel Uhl 7ad329b78d don't try to produce a URL from null
Change-Id: Ia9944ce6d94d37ee75a193d06c83e9022bfff763
2017-01-04 14:22:15 +01:00
Axel Uhl 51cea7a46d added redundant but useful output to TargetTime JSON format (total duration and leg angle to wind)
Change-Id: I69ce77ce365e27e350e164216f7e38cf2dc6153f
2017-01-04 10:57:08 +01:00
Axel Uhl 1664286df3 introduced JSON format for TargetTimeInfo and use it in RegattasResource's targettime method
Change-Id: I93bf54964c34b0a25b5a15e37f9efb6e962bab01
2017-01-04 10:39:30 +01:00
Axel Uhl 710ea4d23b preparing for more sophisticated target time results provided by leg and race
Change-Id: I242023635df0c6cfd22e2e8ab945f0706a89f6e6
2017-01-03 18:23:42 +01:00
Axel Uhl 99dad9111b fixed calculation of true wind angle for getEstimatedTimeToComplete
Change-Id: I68fa5f80eb2124938f43e0dd801d794ad096ae06
2017-01-03 15:58:10 +01:00
Axel Uhl 27242a89d6 use middle of leg instead of middle of course for wind to estimate leg's target time
Change-Id: Ibb11324c4896b6969987b7f2ec2a1e032af04bba
2017-01-03 15:39:40 +01:00
Axel Uhl ba175fc1c4 Merge remote-tracking branch 'server/bug3848' into bug3848 2017-01-03 12:17:40 +01:00
Axel Uhl b58073c9d0 Merge branch 'master' into bug3848 2017-01-03 12:17:01 +01:00
Axel Uhl 4077952dac fix for bug 4016: LeaderboardGroupsResource now only writes the race columns that belong to the enclosing series
Change-Id: I85aa4fdd4efe778d1c565b148e58fe9071df6266
2017-01-03 11:13:37 +01:00
Axel Uhl ad75744dc2 removed offending import in Util
Change-Id: Id97a62b9cda920fd79f62b2578d43fc921937469
2017-01-02 17:16:07 +01:00
Axel Uhl bc340628de Merge remote-tracking branch 'server/master' 2017-01-02 17:06:43 +01:00
Axel Uhl 23922b7181 added release notes for phrase filter/search
Change-Id: Iaa633ee238090b28221353fec21127fc23b2c0de
2017-01-02 16:33:13 +01:00
Axel Uhl ef5454ff8d be more lenient when splitting keyword strings (ignore unclosed phrases, take trailing backslash as itself)
Change-Id: Ie01cbdc0f1afd8c3dd949d8f6a0f39de409631a3
2017-01-02 16:23:51 +01:00
Axel Uhl 96c3e22ca3 added alias names for Olympic Summar Games 2012 SwissTiming archived races
Change-Id: I54e69fc0b3009be489782adf8dd661131a9e07eb
2017-01-01 16:35:14 +01:00
Axel Uhl a1e6e9cd44 adjusted tests according to simplification of RaceTracker to only one race per tracker 2016-12-31 01:25:13 +01:00
Axel Uhl 94d23f0219 making removal of connectivity params from DB resilient against unset service finder 2016-12-31 00:54:52 +01:00
Axel Uhl a7974cc00f added missing file AbstractRaceTrackingConnectivityParametersHandler.java
Change-Id: I67f789473c0d92e710040abd16c11f58e74a2e48
2016-12-30 18:14:53 +01:00
Axel Uhl 389433556b Merge branch 'master' into bug2 2016-12-30 18:13:10 +01:00
Axel Uhl 9b826652fc use https instead of http as default protocol for the default www.sapsailing.com value for master data import
Change-Id: Id332c21f047611ad6a57b36f7395ac9280f53a38
2016-12-30 18:12:33 +01:00
Axel Uhl 8559a89017 count progress while restoring races; expose as JMX bean attributes
Change-Id: I4ba11ecd761f6acae724a626ca043271ae38c3a5
2016-12-30 18:11:34 +01:00
Axel Uhl 9091ceacaa described the restore feature in the admin release notes
Change-Id: I48d81666e6872e954b1404a1ad12ff9dd0ef5129
2016-12-30 17:35:54 +01:00
Axel Uhl ce46c8f76d Merge branch 'bug2' into bug4011 2016-12-30 16:35:47 +01:00
Axel Uhl 72086f57c9 added AbstractTypeBasedServiceFinder
Change-Id: I630e98a56174c6a0964bbf5d5bb297aa08920226
2016-12-30 16:34:50 +01:00
Axel Uhl 5c5b6d0a25 fixed issue with PolarDataService while it is importing polar data and races are being restored; see bug 4011, comment #5
Change-Id: I95ad332d5fa6826a371da228c24f2800600facb0
2016-12-30 16:32:23 +01:00
Axel Uhl 07b4677b8b moved logic for starting wind tracking to RacingEventServiceImpl.addRace(Regatta, RaceTrackingConnectivityParameters);
Change-Id: I92c7623d64569596868767ba87aa93870e5d6130
2016-12-30 12:21:17 +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 7edbba6c8d formatting only
Change-Id: I829878f26793e02294e254f1567c2b1cdf60d65b
2016-12-30 10:52:00 +01:00
Axel Uhl d965ead2e8 removed unused code (addRegatta) from TracTracAdapter
Change-Id: I1999eb21d550e762fa9ba68c071ca7ee84546fb1
2016-12-30 10:33:42 +01:00
Axel Uhl 6c4c4dc0cf adjusted exception log messages
Change-Id: Ib59fa65be76096f6247771a53ec15e33b97738db
2016-12-30 10:29:06 +01:00
Axel Uhl 334ead181c Merge branch 'master' into bug2 2016-12-30 10:13:11 +01:00
Axel Uhl a37ad7f1ec updated copyright to include 2017; fixed broken playstore badge links
Change-Id: I770e5bfb57eae5d72374eb58ef573c2776c9685c
2016-12-30 10:05:38 +01:00
Axel Uhl 3f98684f5b using Boolean instead of Void on the values side of the ConcurrentHashMap
Change-Id: Ia6b522ac388214fa3fadbe8e5b8e36fb8ff32890
2016-12-29 21:03:31 +01:00
Axel Uhl 5a8de86e7a removed com.sap.sailing.autoload bundle; it is obsoleted by the solution for bug 2
Change-Id: I4b0d7c7472a65605f676e97e5626f767d5bef7ee
2016-12-29 20:18:22 +01:00
Axel Uhl 6cfec72b83 maintaining and using a RaceDefinition-->RaceTrackingConnectivityParameters map in RacingEventServiceImpl to remove races from restore list upon removeRace
Change-Id: I31d7d7da1ad50c6625321f175b9f04b27a1a4525
2016-12-29 20:17:38 +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 19d112115b first working version of tracked race restoring with -Drestore.tracked.races=true;
Change-Id: I2c3968d772c7382589ada66c60874015f46f8996
2016-12-29 17:18:42 +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 6ed29f7d12 added missing SwissTiming replay connectivity params persistence handler
Change-Id: If98a36df511a912bcdb6a95a269865bf800c00db
2016-12-29 13:23:48 +01:00
Axel Uhl 2de65963c4 added tests for removing the connectivity params from the DB again
Change-Id: I0d0c8d34f1ac3e1e95951b356d3ae8877be4f78e
2016-12-29 13:22:11 +01:00
Axel Uhl ce52b0cf05 added a test case for SwissTimingReplay connectivity params persistence
Change-Id: I5b32606540bb6c008cedfe8ee8c3423459f45680
2016-12-29 13:10:19 +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 48adae8aa0 pass through the SwissTiming race name and use the replay ID as technical RaceDefinition ID;
this way, races are now properly found again once they have been assigned to a modeled regatta

Change-Id: I716bf3ee3f050d6c3fe4d97d94e0d301994ad2f3
2016-12-29 10:47:51 +01:00
Axel Uhl 80637e2623 Merge branch 'master' into bug2 2016-12-29 09:49:08 +01:00
Axel Uhl dc053eca18 Merge branch 'master' into bug2 2016-12-29 00:58:59 +01:00
Axel Uhl 9ec3d39b19 trying to use MarkType from SwissTiming; however, the "competitor" records announcing mark positions come first, so it doesn't help
Change-Id: Ib4f85b63b56999d3f2f5f63a192f8e3c0022a937
2016-12-29 00:56:10 +01:00
Axel Uhl f5850bdf26 passing on MarkType information from SwissTiming adapter to domain model
Change-Id: I078ac2e100f82092d1a32d14380904c659e93f12
2016-12-29 00:35:48 +01:00
Axel Uhl 9fe507092d emergency fix for bug 4012: markType null caused exception in switch/case; handled by additional if check
Change-Id: Ibac47ac88b03e90d5eae58c5c73aee416a771508
2016-12-28 21:12:59 +01:00
Axel Uhl c9c78a694c made stuff compile again with SwissTiming replay adapter using connectivity params; not tested yet...
Change-Id: I71e5090eb6e0178e4cf4ccf41aaa0249563ff11e
2016-12-28 18:21: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
Axel Uhl c907a474a0 comment change only
Change-Id: Id5f80f86d941bc9563fd507e588baf2d5e3ad0b8
2016-12-28 16:07:03 +01:00
Axel Uhl 8934f08f0a formatting
Change-Id: Ifeaa5018cedbb128c4e6c0ab39f109ccd1142c58
2016-12-28 16:04:13 +01:00
Axel Uhl 186808b31b Merge branch 'master' into bug2 2016-12-28 15:57:23 +01:00
Axel Uhl 00eac58051 Merge remote-tracking branch 'server/master' 2016-12-28 15:56:43 +01:00
Axel Uhl 90c5a50c15 added missing WEB-INF folder to com.sap.sailing.polars' build.properties file; this should fix the 404 for the polars/api/polar_data RESTlet
Change-Id: Idc48333a7cce73584c7e7e866388e6c6b2a30549
2016-12-28 15:55:11 +01:00
Axel Uhl b1f0ea0f0b whitespace change only
Change-Id: Ife380e0e906ad00a2038ae825d10a673e862ecde
2016-12-28 15:54:52 +01:00
Axel Uhl 1e5b463e00 made SwissTimingReplayAdapter abstract
Change-Id: I4668233245278ccefc9512cebe216a031f928745
2016-12-28 15:54:03 +01:00
Axel Uhl 92c8da31c3 implemented successful test for Race Log tracking connectivity persistence
Change-Id: Id7ad561769fa1756865329b7bf66a65d30778fb1
2016-12-28 15:15:14 +01:00
Axel Uhl 9b85c73d93 registering race log tracking connectivity params persistence handler in RaceLog tracking bundle's activator
Change-Id: I2d7c188f57946eab0265807d4806049324aea930
2016-12-28 14:39:34 +01:00
Axel Uhl eff61001a5 added OSGi registration of SwissTiming connectivity params handler to SwissTiming persistence bundle's activator
Change-Id: I1eb896cda5c42a319304d378a1054a3f4d17fe34
2016-12-28 14:17:46 +01:00
Axel Uhl 0887e2d1aa introduced connectivity parameter persistence for SwissTiming live race tracking
Change-Id: If3a9911c1706739965784630eefc7fc6d6e8f440
2016-12-28 14:11:58 +01:00
Axel Uhl e6e4da08fd formatted according to conventions
Change-Id: I94fee2165c52e1ac9389ebbb88b7fe5422b094ba
2016-12-28 13:13:15 +01:00
Axel Uhl 02896f1993 formatted according to guidelines
Change-Id: Ia51586bbb7056426a9a04a5a04aef4fc057b0aef
2016-12-28 13:03:22 +01:00
Axel Uhl 87de492a1b added more test verdicts for TracTrac connectivity parameter persistence
Change-Id: Ib4c12ee50c7f43a124a18f116b99bd472f7643e3
2016-12-28 12:01:50 +01:00
Axel Uhl c949c21450 first attempt to load and store a TracTrac connectivity params object with service finder approach
Change-Id: I8a42e772a31ab074b561154ec42fa1ac28e79bb9
2016-12-28 11:49:22 +01:00
Axel Uhl 48ffb76e11 interims commit with a first test frame for connectivity params storage
Change-Id: I8263efba8cececfc2f5ec696eaaa66eb1dbf4dc4
2016-12-27 18:36:11 +01:00
Axel Uhl 366dcecfce added parameter {5} to string message "replicatingFromMaster" in other locales, with TODO hint for translation unit
Change-Id: Ie2cb6c977434257076cc43e8f559bcbe827e17ca
2016-12-27 17:37:41 +01:00
Axel Uhl 931adfc757 started a service provider pattern-based implementation for storing / loading connectivity params in MongoDB
Change-Id: I6a2c0e2ff93ff8b003ec27f072e5b3331ca00d75
2016-12-27 17:35:15 +01:00
Axel Uhl 812476a375 Javadoc and formatting changes only
Change-Id: Ic98144ddd3bb4dd71913eeb624a8ee68b14bea41
2016-12-27 16:00:57 +01:00
Axel Uhl 71bc9ee8ef improved section on partial replication (bug 2465) in admin release notes
Change-Id: I4cd1f1a630bd5df595397c05565cfacc817ebb37
2016-12-27 15:21:43 +01:00
Axel Uhl 30c67700cd added release notes entry for partial replication (bug2465)
Change-Id: I851b2918a6753bc074e3b5151719c44f7c9465e4
2016-12-27 14:48:05 +01:00
Axel Uhl a5ec8a8c51 moved replication-related interface methods from SailingService to new RemoteReplicationService, matching RemoteReplicationServiceAsync;
based on this, implemented replication warning dependent on whether RacingEventService is replicated, giving no
warning in case, e.g., only the SecurityService is replicated

Change-Id: I84c8520a64d1f51ba00666b41e8eed4ec6c00f7f
2016-12-27 14:23:16 +01:00
Axel Uhl 1d4d322e37 moved admin console ReplicationPanel to SSE, introducing ReplicationServiceAsync as new base interface for SailingServiceAsync used by ReplicationPanel
Change-Id: I2a037a4df84e823102d361ab8d757580a9d7febf
2016-12-27 12:37:30 +01:00
Axel Uhl 68a1d7c827 manual tests for replicating only SecurityService successful; AdminConsole's ReplicationPanel adjusted to show replicables for master/replicas
Change-Id: I19dfab43b7bdc0bd771659d0a30ad8c34efc855b
2016-12-27 12:04:38 +01:00
Axel Uhl d023b09f63 obtain replicables from master descriptor always
Change-Id: Ibc364f27b2835b8265b5db48f47988353f29c32c
2016-12-27 10:32:18 +01:00
Axel Uhl 12d034e95c Merge branch 'master' into bug2465 2016-12-27 10:14:50 +01:00
Axel Uhl ce6d7c0522 Merge branch 'bug4008' 2016-12-27 10:14:39 +01:00
Axel Uhl 39648df5dd consolidated imports to avoid warnings
Change-Id: I6bf4db59684f5f11578590e67c520381672e26af
2016-12-24 00:14:02 +01:00
Axel Uhl 8e9863eee9 Merge branch 'master' into bug2465 2016-12-24 00:08:30 +01:00
Axel Uhl c176d999fe Merge remote-tracking branch 'server/master' 2016-12-23 21:02:29 +01:00
Axel Uhl e94ea2b072 Merge remote-tracking branch 'server/bug4008' 2016-12-23 21:02:02 +01:00
Axel Uhl 75ba5b5deb Merge remote-tracking branch 'server/bug4008' into bug4008 2016-12-23 21:01:27 +01:00
Axel Uhl f300f706e4 Merge branch 'master' into bug4008 2016-12-23 11:55:14 +01:00
Axel Uhl 70214614fe removed obsolete commented styles
Change-Id: If127aea89c04b64b63bfb87ea21a34db4e759466
2016-12-23 11:54:14 +01:00
Axel Uhl eec7dac320 use replace==true when adding fixes to track while loading from fix store; should fix non-determinism for mark re-pings
Change-Id: I275e92872b2288ed67511e55fa7c994856a94413
2016-12-23 11:40:55 +01:00
Axel Uhl 976bfd5aa0 in RegattaLogDeviceMappings.isSame consider regatta log event's ID, ensuring that only modifications of the *same* mapping are considered
Change-Id: I19f9394d778fb9b8cb677e7d5c922f8cb20252c3
2016-12-23 11:29:42 +01:00
Axel Uhl 9fafcd3257 fixed issue in loadFixesForNewMappings: only load fixes for all mappings if mark track is really empty
Change-Id: I4f557696fc8ffe33d872f9b677437f473a029c34
2016-12-23 11:28:13 +01:00
Axel Uhl 2808793b0e use Iterable instead of List where possible
Change-Id: If74a2ba3b42d19ff1daf45dbe664c7e975541f3d
2016-12-23 10:50:04 +01:00
Axel Uhl 6a2d39db82 added TimeRange.subtract as preparation for a fix of bug 4008
Change-Id: Iebca4a6f7b79ad689415fccadda3ec9400fa57c5
2016-12-22 18:44:24 +01:00
Axel Uhl 7c76a78291 added a sporadically failing test case
Change-Id: Id59238faf8e03c6afe54a0fbafb877b07d79bea9
2016-12-22 17:41:37 +01:00
Axel Uhl ea06c590bb added comments, fixed formatting
Change-Id: I9d2ce65e48888306e5960c5c34f8bdf5c3de6193
2016-12-22 16:44:11 +01:00
Axel Uhl 766120e1c8 formatting changes
Change-Id: I9af3271439cb4157bb37cdea4d662d78054b7a62
2016-12-22 16:33:21 +01:00
Axel Uhl d91e4c1eeb formatting changes
Change-Id: Ia2cd233156b2c98793946250ece7bd11b36d8682
2016-12-22 16:20:53 +01:00
Axel Uhl 8ef1b3ee59 further formatting
Change-Id: I4cef25b30816f270d4d849d8675d84b182cf6e9b
2016-12-22 16:02:55 +01:00
Axel Uhl 60a6c37f60 further formatting
Change-Id: Ib409e21c6d46939124668957bf439613fe1d48ba
2016-12-22 16:01:23 +01:00
Axel Uhl 26bea4eb1f some formatting aspects
Change-Id: I82fe202009b58c944b2c05c89aee2c0a625aee6a
2016-12-22 15:53:16 +01:00