Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl 868ca37fee Merge branch 'master' into bug2823 2021-08-23 23:44:29 +02:00
Axel Uhl 7b87fdfea6 increase GWT compmiler memory to 4g 2021-08-23 23:43:44 +02:00
Axel Uhl 533890ddc6 append env-default-rules.sh to env.sh in Docker environment 2021-08-23 23:02:28 +02:00
Axel Uhl 6174a765f6 Merge remote-tracking branch 'server/master' 2021-08-23 12:31:20 +02:00
Axel Uhl afefd3abad Merge remote-tracking branch 'origin/master' 2021-08-23 12:28:37 +02:00
Axel Uhl 042b74fba2 use latest Debian buildpack-deps docker image 2021-08-23 12:28:15 +02:00
Axel Uhl bb543a04d1 adjusted @Ignore comment for simpleWebSocketEchoTest for what seems like a permanent discontinuation of the service at www.websocket.org 2021-08-23 12:26:14 +02:00
Axel Uhl 1b14e93599 adjusted Dockerfile.tpl to SAP JVM dockerfile 8.1.078 2021-08-22 23:27:00 +02:00
Axel Uhl 9fbd5ae979 updated SAP JVM dockerfile to 8.1.078 2021-08-22 23:24:28 +02:00
Axel Uhl cd5adec912 upgraded SAP JVM docker image to version 7.1.078 2021-08-22 23:04:45 +02:00
Axel Uhl 8f1923fbca fixed lat/lng swap for Event location export to HANA 2021-08-22 11:49:01 +02:00
Axel Uhl 132cf1f60d Merge branch 'master' into translation 2021-08-19 21:10:28 +02:00
Axel Uhl d666fff8c8 ignoring simpleWebSocketEchoTest() because currently echo.websocket.org seems down 2021-08-19 14:41:34 +02:00
Axel Uhl f23f885ece introduced eventid and leaderboardgroupid as parameters for the HANA export method; added dbendpoint/dbuser/dbpassword as optional form params 2021-08-18 13:45:09 +02:00
Axel Uhl a1f25c918f if no event / leaderboard group ID are provided, export all regattas 2021-08-17 18:09:59 +02:00
Axel Uhl 79aa94fb47 refactored HANA export and introduced parameters to select leaderboard groups / events by their ID 2021-08-17 18:07:23 +02:00
Axel Uhl 65a4f201d8 use getName on user's group memberships in user table wrapper search strings 2021-08-16 16:19:00 +02:00
Axel Uhl 8c22922464 adjusted default replica DB configuration to new AMI containing local MongoDB; use localhost:27017?replicaSet=replica now on replicas by default 2021-08-12 16:19:04 +02:00
Axel Uhl 276f3aa3ad on replicas use mongodb://localhost:27017/{dbName}?replicaSet=replica&... as the default DB configuration, in line with new AMI 2021-08-11 17:56:11 +02:00
Axel Uhl 17308336a8 aftermath to 574ca5f69d, adding .well-known to build.properties for security.txt 2021-08-11 17:53:03 +02:00
Axel Uhl b7b77af3c8 wait 30 minutes instead of 10 for a host to appear healthy 2021-08-11 17:52:09 +02:00
Axel Uhl b599fe7075 don't accept any .mtb stored-uri during master data import and use null instead for storing the tracking params 2021-08-11 17:50:38 +02:00
Axel Uhl c4961a9f0f Merge branch 'master' into bug2823 2021-08-10 19:46:52 +02:00
Axel Uhl 574ca5f69d added security.txt file according to SAP policy; see https://jam4.sapjam.com/groups/OOEqERbSIOOISHZUPaBLLU/overview_page/tBFTRoARf1zQNkWkk1XWyt 2021-08-10 10:11:27 +02:00
Axel Uhl 5a68fec1f2 Merge remote-tracking branch 'server/master' 2021-08-05 14:38:20 +09:00
Axel Uhl ec5d168450 Merge branch 'bug5605' 2021-08-05 14:24:34 +09:00
Axel Uhl a1239ed9cc Merge branch 'bug5611' 2021-08-04 17:07:07 +09:00
Axel Uhl 6d118053ff bug5605: fading wind arrows on map based on confidence 2021-08-04 14:22:43 +09:00
Axel Uhl 9dc1a5cf78 bug5609: using storedURI for non-replay/non-prefer-replay params 2021-08-04 08:02:38 +09:00
Axel Uhl 7e5221ccf6 Merge branch 'bug5601' 2021-08-03 09:06:13 +09:00
Axel Uhl 2ac26ada13 bug5614: also refresh the LeaderboardsRefresher after a regatta structure has changed or the regatta has been edited or added or removed 2021-08-02 14:44:07 +09:00
Axel Uhl 311f8ee062 bug5601: fixing the sorting of the user table in the UserGroupManagementPanel 2021-08-02 13:46:47 +09:00
Axel Uhl 144dac7123 bug5611: using more elaborate auto-recovery and topology recovery options and heartbeats for RabbitMQ connections; factored the factory 2021-08-01 12:17:01 +09:00
Axel Uhl ef4b3d791f bug5611: increased wait time in test for replication message to arrive and be processed 2021-08-01 09:42:42 +09:00
Axel Uhl b324831c30 bug5611: updated launch configs and Selenium pom.xml 2021-08-01 09:26:31 +09:00
Axel Uhl 0b863619d4 bug5611: upgraded RabbitMQ Java client to version 3.6.6 and use ConnectionFactory.setAutomaticRecoveryEnabled(true) 2021-08-01 09:20:14 +09:00
Axel Uhl 50d7c4a2af bug5611: trying to switch target platform from com.rabbitmq.client version 2.8.6 to 3.6.6 to get access to auto-recovery features# with '#' will be ignored, and an empty message aborts the commit. 2021-08-01 00:40:33 +09:00
Axel Uhl 8e8c6bc8e1 bug5611: acknowledgement and threading architecture for explicit acks in place; re-connect design needs to be adjusted accordingly;
the new Channel starts delivery tags at 0; what does this mean for queued messages? Are they delivered through this channel at all?
2021-07-31 21:53:23 +09:00
Axel Uhl 17ece89cb0 bug5611: whitespace changes only 2021-07-31 11:12:26 +09:00
Axel Uhl c26428defc bug5610: added release notes 2021-07-31 09:22:51 +09:00
Axel Uhl 83fedcd0c6 bug5610: adjusted test cases to modified algorithm for "center of course" definition 2021-07-31 09:14:41 +09:00
Axel Uhl c31d6d7b85 bug5610: changing how the center of the course is computed, weighing leg middle points by their leg's length 2021-07-30 21:14:58 +09:00
Axel Uhl abab368ab9 updated release notes for bug5603, progression chart, and bug5607 2021-07-30 09:18:57 +09:00
Axel Uhl a4fec5fec5 bug5603: using the map projection's world width instead of the target zoom level to determine if a boat size recalculation is required 2021-07-29 20:36:11 +09:00
Axel Uhl ff33cd5d37 tokyo2020 scripts: use a marker file to warn only once of an expired AWS MFA token 2021-07-29 10:42:46 +09:00
Axel Uhl afe456997f tokyo2020 automation scripts: wait for replica launching background jobs 2021-07-29 10:42:26 +09:00
Axel Uhl 295882671c increased test timeout to allow for more expensive MongoDB setup activity, such as index creation 2021-07-29 00:45:33 +09:00
Axel Uhl 832d1ca004 Merge branch 'bug5608' 2021-07-29 00:13:27 +09:00
Axel Uhl 7eaa65bee5 bug5608: removed redundant put to windTracks in createWindTrack 2021-07-29 00:11:22 +09:00
Axel Uhl bbaf48fcb5 Merge branch 'bug5608' 2021-07-28 21:39:55 +09:00
Axel Uhl ba72f6acdc Merge branch 'master' into bug5608 2021-07-28 20:39:00 +09:00
Axel Uhl e4102d9e0c Merge branch 'master' into bug5606 2021-07-28 20:38:18 +09:00
Axel Uhl b31f82f738 bug5606: changed the leaderboard-based /markpassing fields, providing the raw rounding order in addition to a hypothetical score based on this order 2021-07-28 20:24:32 +09:00
Axel Uhl b6d91342c1 bug5608: removed synchronization on the ConcurrentMap for windTracks; use atomic computeIfAbsent instead 2021-07-28 15:15:28 +09:00
Axel Uhl 07852c7c17 Merge remote-tracking branch 'server/master' 2021-07-28 12:57:52 +09:00
Axel Uhl 2904a8add8 use c5.2xlarge as instance type because c4.2xlarge is no longer available in eu-west-3; fixed (de)registering of multiple targets (space instead of ,) 2021-07-28 12:03:32 +09:00
Axel Uhl 84728e6861 improved script output (targets --> target(s)) 2021-07-28 12:03:01 +09:00
Axel Uhl 866bc892d3 bug5606: fixed PerSeriesResultDiscardingRuleImpl after changes in interface 2021-07-28 01:23:44 +09:00
Axel Uhl b71441eb8b bug5606: making the leaderboard parameter required for producing the new attribute values 2021-07-28 00:24:53 +09:00
Axel Uhl 93d7162604 bug5606: added totalPoints, netPoints and maxPointsReason to /markpassings REST end point 2021-07-27 17:27:10 +09:00
Axel Uhl abb478b1c6 added a getHoursMinutesSeconds to DurationAsHoursMinutesSecondsFormatter that takes a Duration 2021-07-26 20:53:14 +09:00
Axel Uhl bfdb141b16 replaced eu-west-1 by eu-west-3 for Tokyo 2020 regions 2021-07-26 18:39:30 +09:00
Axel Uhl 61f1a68ac9 protect against GridFS synchronization issues when a replica starts up and load wind regression models 2021-07-26 10:57:23 +09:00
Axel Uhl a7fcef7709 added REGION output to configuration/on-site-scripts/wait-for-new-auto-replicas-and-terminate-upgrade-replicas.sh script 2021-07-26 10:56:15 +09:00
Axel Uhl 7eafbbc995 If a race-competitor update is received from TracTrac without valid race, log and ignore 2021-07-25 23:50:09 +09:00
Axel Uhl 975f420cfb fixed calls to notify-operators where stdin was missing in on-site-scripts 2021-07-25 23:37:15 +09:00
Axel Uhl 31f46f7976 upgraded TracAPI to 3.14.2, adding an exception handler for competitor updates 2021-07-25 22:28:43 +09:00
Axel Uhl 86b398e15b bug5602: formatting only 2021-07-25 21:22:43 +09:00
Axel Uhl 9634209d61 Merge branch 'master' into bug5602 2021-07-25 20:57:58 +09:00
Axel Uhl 345084ed8a bug5604: added boatClass property to /sailingserver/api/v[12]/leaderboards/{leaderboard-name} output 2021-07-25 20:40:29 +09:00
Axel Uhl cf799d6986 disable WADL generation for all Jersey RESTlets; it is extremely time-consuming 2021-07-25 20:36:50 +09:00
Axel Uhl ac19faa614 silenced monitor-tokyo2020-reachability-from-regions script a little 2021-07-25 10:27:36 +09:00
Axel Uhl f2622e0e74 added script monitor-tokyo2020-reachability-from-regions for region monitoring (Global Accelerator fails to report outages) 2021-07-25 10:10:51 +09:00
Axel Uhl c45ce79bf1 improved the olympic-setup.md regarding the tunnel to sapsailing.com:443 2021-07-24 18:15:21 +09:00
Axel Uhl e1c43bf286 fixed wait-for-new-auto-replicas-and-terminate-upgrade-replicas.sh script 2021-07-24 12:06:57 +09:00
Axel Uhl dca89990de first shot at waiting for new auto-replicas and terminating upgrade replicas 2021-07-23 18:34:07 +09:00
Axel Uhl 837603d731 Merge branch 'translation' 2021-07-23 16:46:40 +09:00
Axel Uhl 08cb148196 Merge remote-tracking branch 'server/master' 2021-07-23 16:45:31 +09:00
Axel Uhl 1f221a52b8 added currentSpeedOverGround-kts to leaderboards REST API output also when competitor not in any leg currently 2021-07-23 16:40:28 +09:00
Axel Uhl e1c324b830 removed redundant space in log message 2021-07-23 11:20:45 +09:00
Axel Uhl 93d67053ac Merge remote-tracking branch 'server/master' 2021-07-22 19:07:17 +09:00
Axel Uhl b997d5d0ea fixed typo in upgrade-landscape.sh 2021-07-22 19:07:06 +09:00
Axel Uhl 096b317320 updated olympic-setup.md and fixed a few typos in the on-site-scripts 2021-07-22 13:36:30 +09:00
Axel Uhl a07eb71532 lowering the Igtimi heartbeat sending interval from 120s to 15s, avoiding InterruptedExceptions 2021-07-21 13:58:27 +09:00
Axel Uhl 0a8c2ba800 bug5600: (de-)serializing the RacingEventServiceImpl.sailingServerConfiguration attribute during initial load 2021-07-21 04:07:05 +02:00
Axel Uhl 29e8086f63 bug5600: implemented a failing test case 2021-07-21 03:55:25 +02:00
Axel Uhl 63b6636292 fixed test after adding another CountryCode 2021-07-20 12:27:10 +02:00
Axel Uhl eeade3b170 Empty Igtimi WindBot messages, such as a COG message with no payload, no longer causes an uncaught exception 2021-07-20 12:09:26 +02:00
Axel Uhl 5bbdaafa07 Merge remote-tracking branch 'server/master' 2021-07-20 10:18:26 +02:00
Axel Uhl 113edb707a added ROC/RC flag for "Russian Olympic Committee" 2021-07-20 09:51:19 +02:00
Axel Uhl 85c7e4c188 Added Table of Contents to olympic-setup 2021-07-20 04:29:39 +00:00
Axel Uhl 0e3c8ad244 ignore leaderboard group's displayName field which bug 5311 adds to the top-level node of a leaderboard group document 2021-07-19 13:00:59 +02:00
Axel Uhl 4f61f4c925 made loading persistent wind estimation models more resilient against DB race conditions during initialization;
after seeing the following exception:

com.mongodb.MongoGridFSException: No file found with the filename: SERIALIZATION.modelForDistanceBasedTwdDeltaStdRegressor.IncrementalSingleDimensionPolynomialRegressor.DistanceBasedTwdTransitionRegressorFrom1368.0ToMaximum.clf and revision: -1
        at com.mongodb.client.gridfs.GridFSBucketImpl.getFileByName(GridFSBucketImpl.java:558)
        at com.mongodb.client.gridfs.GridFSBucketImpl.openDownloadStream(GridFSBucketImpl.java:265)
        at com.mongodb.client.gridfs.GridFSBucketImpl.openDownloadStream(GridFSBucketImpl.java:260)
        at com.sap.sailing.windestimation.model.store.MongoDbModelStoreImpl.loadAllPersistedModels(MongoDbModelStoreImpl.java:147)
        at com.sap.sailing.windestimation.model.ModelLoader.loadBestModelsForAllContexts(ModelLoader.java:132)
        at com.sap.sailing.windestimation.model.AbstractModelCache.preloadAllModels(AbstractModelCache.java:66)
        at com.sap.sailing.windestimation.model.AbstractModelCache.clearCache(AbstractModelCache.java:121)
        at com.sap.sailing.windestimation.model.regressor.twdtransition.GaussianBasedTwdTransitionDistributionCache.clearCache(GaussianBasedTwdTransitionDistributionCache.java:92)
        at com.sap.sailing.windestimation.integration.WindEstimationFactoryServiceImpl.reloadWindEstimationModels(WindEstimationFactoryServiceImpl.java:164)
        at com.sap.sailing.windestimation.integration.WindEstimationFactoryServiceImpl.clearReplicaState(WindEstimationFactoryServiceImpl.java:150)
        at com.sap.sse.replication.impl.ReplicationServiceImpl.startToReplicateFrom(ReplicationServiceImpl.java:825)
        at com.sap.sse.replication.impl.Activator$1.run(Activator.java:207)

it seems that during replica initialization a DB dropping / clearing may race against the
loading of the models. The gridFs.find() method has listed a file which then doesn't exist when trying to
open it. This would break the entire replication initialization process, and the replica will not
become available. By catching and logging the exception and simply leaving the model empty,
the initial load can then take over, and all models should be fine.
2021-07-16 12:19:04 +02:00
Axel Uhl de79a89da8 send env.sh output in status script to stderr (&2) so stdout is valid JSON eligible for parsing with 'jq' 2021-07-16 11:56:19 +02:00
Axel Uhl 2ed425d995 added release notes for new Slovenian translation 2021-07-15 22:42:31 +02:00
Axel Uhl 93e527ff29 Merge branch 'translation' 2021-07-15 22:17:01 +02:00
Axel Uhl 39cd5d1379 added "sl" (Slovenian) to locale list 2021-07-15 18:42:18 +02:00
Axel Uhl 37d6e6e70e introduced a new dropTargetFirst() setter on the builder for CopyAndCompareMongoDatabase 2021-07-15 16:06:57 +02:00
Axel Uhl 764f21a3f7 Merge branch 'master' into bug5597 2021-07-13 00:48:40 +02:00
Axel Uhl 9e4aeeeb79 bug5597: don't store preference updates received through initial load 2021-07-13 00:47:49 +02:00