Commit Graph
1444 Commits
Author SHA1 Message Date
Axel Uhl 02c452c398 bug4976: let /sailingserver/v1/gps_fixes POST request declare application/json as output format
Change-Id: Ic888608652f6c2cefdaaeeb62dd86f8b3af35daa
2019-04-08 15:44:52 +02:00
Axel Uhl ea13394841 fixed description of putWind API method
Change-Id: I8d0fe4e3b4697af4fdf72b04e275dd2fbc153579
2019-04-03 14:16:03 +02:00
Axel Uhl 0518a78f50 bug4955: reverting effects of old commits 2446dae76b and 3ce4fe14cb5f5e7b17ea813018f1a150f5eab286;
this restores the CompetitorRaceRankFilter.getName() method so that it
produces the serialized form expected by the de-serializer

Change-Id: I739dde6d4d648cee6af7e8b0798c8338e5988320
2019-03-22 17:31:10 +01:00
Axel Uhl 51ec3034ef added windsummary method for RegattasResource; added documentation
Change-Id: I9c5035364f938c39ac6feeef8b94fd0488847200
2019-03-20 22:58:10 +01:00
Axel Uhl 5c90f024f6 moved logic to grab a wind summary from a TrackedRace or a RaceLog to com.sap.sailing.domain.tracking
Change-Id: Ia8146810829b59b29717d866a195d3d63cc8336b
2019-03-20 18:48:02 +01:00
Axel Uhl 738f126011 bug 4940: added /sailingserver/api/v1/countrycodes end point
Change-Id: Iceaae41d850f8fe2dbf883381c08c14e8da90d8c
2019-03-13 19:42:09 +01:00
Axel Uhl aa378eb9e9 fixed method name (addRaceColumns --> removeRaceColumns) on RegattasResource
Change-Id: Ia8d060b0b343ce68b9f214569836b83b4a9c5edb
2019-02-18 16:58:58 +01:00
Axel Uhl c3cac7df98 Merge remote branch 'origin/master' into bug4469 2019-02-09 17:33:47 +00:00
Axel Uhl a63377fd11 added /gwt/status servlet to probe availability including GWT bundle 2019-02-09 16:38:45 +01:00
Axel Uhl b7e3d0f472 introduced NoSessionStorageSessionDAO for all REST bundles' shiro.ini;
this solves the problem of a new session being created and stored each
time a Bearer token-authenticated request is fired. REST requests are
expected not to produce nor maintain session state.

Change-Id: Ie662718610ed6bc229c07709491e0b2cc3ee051c
2019-02-06 15:31:44 +01:00
Robin Kuck 86ebdc7042 Merge remote-tracking branch 'origin/master' into bug4469 2019-02-04 22:33:01 +01:00
Axel Uhl 17093b4dc6 availability checks now return non-2XX response code if unavailable; status script adjusted;
the java/target/status script now uses the consolidated
/sailingserver/api/v1/status end point and returns a 200 response if and
only if the RacingEventService has loaded all races it needs to load and
replication reports availability. In all other cases, non-2XX codes
are reported, such as 503 (not available) or 404 (not found)

Change-Id: I55ca3c98de993be0e6fff8e02837d17dd54431f6
2019-02-04 13:27:42 +01:00
Axel Uhl 9968b239e6 include the replication status in the gateway server status at /sailingserver/api/v1/status;
With this, the "available" attribute of the response document already is
a good indicator of the instance's availability. The next thing will be
to map this to a 5xx resonse code if the instance is not yet available

Change-Id: I87a179b04a811843bbd8cf85bba58c1eed81d46c
2019-02-04 12:54:29 +01:00
Axel Uhl 81a0e01df7 whitespace/formatting change only
Change-Id: Ibec611853bee1f85b67d312ffb3c2d01836ff515
2019-01-31 11:48:04 +01:00
Axel Uhl a5fcc7f9e3 Merge branch 'master' into bug4469
Change-Id: I44bf821dd2e5d40e88db3a8dc04d4012f71bf564
2019-01-28 16:33:00 +01:00
Axel Uhl 878e5d9dd2 upgraded the MongoDB driver to version 3.6.4; upgraded target platform
Change-Id: I621d4af6d3a3b0bcbf70310f731153cacfecebfc
2019-01-25 16:46:46 +01:00
Axel Uhl 0a9e60eae3 Merge branch 'master' into bug4469
Change-Id: I02601912072116244159d22e4d03fccb55d95e73
2019-01-22 20:58:26 +01:00
Axel Uhl f1a65cc7c1 added a /sailingserver/api/v1/status end point with availability check
Change-Id: Iba11cadebda22fae5b19171c994e21a5244965ea
2019-01-18 18:01:35 +01:00
Axel Uhl 6ce072ee3f raised session timeout from 24h to 1y consistently in all shiro.ini files
Change-Id: Ic6fe7773c8796ad5606c528937cde1b61c4f8fe8
2019-01-15 18:31:57 +01:00
Robin Kuck ab27f9f155 Merge remote-tracking branch 'origin/master' into bug4469
Conflicts:
	java/com.sap.sailing.server/src/com/sap/sailing/server/RacingEventService.java
2019-01-05 14:30:00 +01:00
Axel Uhl 72bc50fc0d move RacingEventService into a separate com.sap.sailing.server.interface bundle
Change-Id: Ib75bf6a46be9eaf2d9ccfad85832a3be8a7686be
2018-12-14 23:56:24 +01:00
Axel Uhl 4c4752a748 extracted replication interfaces into separate bundle to avoid having to activate the replication service only for registering a replicable
Change-Id: I22e423efee06e653a9ed3b9bea13b3b0153f7156
2018-12-14 21:27:17 +01:00
Axel Uhl d8c2cf8cd3 upgraded target platform to newer MongoDB driver from org.eclipse.orbit;
A 3.x driver is required to connect to Microsoft Azure Cosmos. Upgrading
the target platform accordingly requires further upgrades, including Hamcrest
and JUnit libraries. This, in turn, deprecates or obsoletes numerous APIs,
parts of which that caused compilation *errors* I've replaced by their new
counterparts. Several more warnings still remain and need to be tackled by
replacing the usages to their new counterparts.
2018-12-10 03:00:59 +01:00
Vladislav Chumak 0814d43350 Merge remote-tracking branch 'origin/maneuver_refactoring' 2018-12-07 15:06:54 +01:00
Vladislav Chumak a9d9d21b8a Added new REST method for wind data retrieval 2018-12-06 16:55:37 +01:00
Axel Uhl 9e9252de24 added documentation on new boatclass REST end point
Change-Id: I55e224cba69f7236dcc729f64c2f7672e0f7091c
2018-12-06 16:22:10 +01:00
Axel Uhl 52205ea7ee added a BoatClassesResource
Change-Id: Ie77872820e44439c8789d953a1ea6fad93a5ccec
2018-12-06 16:02:06 +01:00
Axel Uhl 49db8126bb allow solution to run with both, Java8 and Java11 with same target platform
Change-Id: I4f7772aaa1d9d1b65a2452ad98d8c51809fef2b4
2018-11-30 21:20:06 +01:00
Axel Uhl d5eaaa1051 Merge branch 'master' into docker
Change-Id: I85fb11435ed1052739f6b49861ce71f3cf201e07
2018-11-30 13:39:58 +01:00
Axel Uhl 51508b660e bug4426: added a one-minute interval starting at the track's beginning/end for start/finish line construction
Change-Id: Iad5297c7057474ea74a68be6fce753d32d42fbad
2018-11-29 21:24:02 +01:00
Axel Uhl df911ce509 Merge branch 'master' into docker
Change-Id: I7cbe3400d0265083708a37016b80c4deb1dbb388
2018-11-29 15:05:30 +01:00
Axel Uhl 199f3693a8 added null-safety for start/finish line construction in case COG/SOG is unknown
Change-Id: I04e2890a354355f1c6b160667a1ebe0cd0769859
2018-11-28 11:02:29 +01:00
Axel Uhl 8d772196de Adding com.sun.istack bundle to satisby jaxb implementation bundle's imports
Change-Id: Ia2a93ad709c16f81dcb3d9d15d2117e509f9c4e1
2018-11-26 22:11:52 +01:00
Axel Uhl 6c04f43d54 added jaxb-api and jaxb-impl as well as com.sun.activation.javax.activation to local p2 and target platform definition
Change-Id: I26de811d87e83660642e526f35a05baa0fbb53bb
2018-11-26 01:13:01 +01:00
Axel Uhl bc94bcfad4 added dependency from polars to javax.xml.bind
Change-Id: I4db95f12a09618954c223b57b52e16e59e2a9f37
2018-11-25 19:52:18 +01:00
Axel Uhl bc76da1e88 preserve .mp4 extension for video/mp4 mime type
Change-Id: I06277b72f37d4329117d7004b722cc0a61e15240
2018-11-19 10:30:43 +01:00
Axel Uhl f287822177 Merge branch 'master' into bug4469
Change-Id: I333586d8ee9d41eb6b53048e34e05cd384adaaab
2018-11-16 09:22:13 +01:00
Kai Börnert 61e0f6aa7c fixed multiple points interacting with the userstore directly, that
might cause issues with replication
2018-11-14 09:34:38 +01:00
Robin Kuck 21d9a1261c Merge remote-tracking branch 'origin/master' into bug4469 2018-11-06 20:42:15 +01:00
Kai Börnert 3386891aeb Merge branch 'master' into bug4757_2
Conflicts:
	java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/jaxrs/api/RestApiApplication.java
	java/com.sap.sailing.server.gateway/webservices/api/v1/index.html
2018-10-23 14:24:36 +02:00
Kai Börnert da4c562ae5 bug4757 first implementation for using existing boats on competitor
creation
2018-10-12 10:17:23 +02:00
Kai Börnert 85631cfd75 Merge branch 'master' into bug4757_2 2018-10-12 09:13:19 +02:00
Axel Uhl e6e322d358 Merge branch 'master' into bug4104
Change-Id: Iaa1100b38a5197a5ede4e3a175d177dbfad94dca
2018-10-09 18:01:29 +02:00
Axel Uhl 52c819d6e7 fixed passing on of quoted keyword queries through REST API
Change-Id: I2cb64dca46d7688ec5224dd17ef04f50249d5e45
2018-10-09 17:57:48 +02:00
Axel Uhl c9616c55f7 updated API v2 doc
Change-Id: Ia4fb8423e6753a1e42fe476b9771960a59ecd30d
2018-10-08 17:47:03 +02:00
Axel Uhl 558c376471 added support for max speed in LeaderboardsResourceV2
Change-Id: I150b3861a490f26f08e1458ba3b918b72e5ef291
2018-10-08 17:46:55 +02:00
Kai Börnert 990b8aac51 bug4757 added PreferencesRessource to REST api and adjusted the
documentation accordingly
2018-10-04 20:01:19 +02:00
Kai Börnert 934d951cb8 bug4757 improved formating of documentation 2018-10-04 17:23:17 +02:00
Kai Börnert b73f3ec717 bug4757 added documentation for optional parameters in maneuvers rest
api
2018-10-04 17:07:42 +02:00
Kai Börnert b6cc740ab1 bug4757 fixed null check for getManeuvers 2018-10-04 16:51:20 +02:00