Axel Uhl
c09dc9fc6a
fix for ignoring Igtimi fixes of unknown fix type
...
Change-Id: Idf29655423586f9c827e56c09c5da4d90a431e9d
2017-11-09 17:44:42 +01: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
dbc9135a33
fixed handling of empty Igtimi redirect port specification
...
Change-Id: Ia49b930e17c75f12b0014f5cec3b0d9ae5dc3f84
2017-09-20 11:19:29 +02:00
Axel Uhl
5e0796e69a
implementation for bug4207: Igtimi OAuth authentication
...
Change-Id: Iee1f38876aa643d4e4a5f46d2d056b205cfae722
2017-09-19 16:18:17 +02:00
Axel Uhl
bcd7ee1723
Merge branch 'master' into bug4105
2017-07-16 00:47:24 +02:00
Axel Uhl
6dab62140d
bug 4207: adjusted Igtimi connector to work with new sign-on form; tested successfully
...
Change-Id: I1852a1f72f465b17d0380a9ccda2e24397bb3164
2017-07-10 15:04:51 +02:00
Axel Uhl
d64b8f5a8d
use getBaseUrl() where possible; prepared testing against
...
staging.igtimi.com
Change-Id: I1f38e93205949ffdea3686f4060f3afd37e141f1
2017-07-01 10:47:54 +02:00
Axel Uhl
c005ff7bb7
fixed wind from/to issue, turning test cases green
...
Change-Id: Ifea55f17419a7e8fb474699f7ad65ec1a55dcf8b
2017-04-21 17:57:32 +02:00
Axel Uhl
3a1cf15ba4
using Track.getInterpolatedValue in IgtimiWindReceiver; breaks a few tests that may point at issues in the implementation
...
Change-Id: I26a7c1dfd22d288817fd60aee30fe29d7717a12c
2017-04-21 17:35:11 +02:00
Axel Uhl
82da2ccb51
added Track.getInterpolatedValue, preparing for re-use across NMEA and Igtimi connector
...
Change-Id: Ia956d8ca0d9e40f275ade9f2c3764887e0de195a
2017-04-21 17:18:41 +02:00
Axel Uhl
369f7cf9ee
restrict httpcomponents versions to below 4.3.0 because of an incompatible change in 4.3.0; see bug 4035
...
Change-Id: I9908daa756f55308c02b47c45f3e159d702bd253
2017-01-23 23:58:57 +01:00
Axel Uhl
3239f28581
fixing Igtimi redirect URI construction if Window.Location.getProtocol() contains trailing colon
...
Change-Id: I6710b62ffc9592b860621b977f972a9c07eba5fa
2017-01-23 23:54:22 +01:00
Axel Uhl
e78f81a707
removed igtimi.client.redirecturi system property; use https://www.sapsailing.com/ ... for a default Igtimi redirect URI;
...
use the client side Window.Location base URL as the redirect URI for Oauth web-based account adding;
this usually has problems with non-matching redirect URIs with the app
described on Igtimi's side, but it will help avoid accidentally adding
accounts to the archive server
Change-Id: Id2a6c34bb8846d5675d4c9e3b6bd1397cf149da0
2017-01-11 14:30:06 +01:00
Axel Uhl
11d66f2fb5
use lambdas instead of if (isLoggable...) for efficient logging; use per-replicable listener de-registration
...
Change-Id: I516fdfab4daa10d4a162f08f66952275c43ad655
2016-12-22 15:34:44 +01:00
Axel Uhl
5f1978aaf4
Merge remote-tracking branch 'server/raceboardmodes' into raceboardmodes
2016-07-14 16:27:06 +02:00
Axel Uhl
51fbcae88d
in Igtimi WebSocketConnector handle the case where client is null
...
Change-Id: I64f5e8cd4adaef72ac02df05784edf0c19c504f4
2016-07-14 16:24:01 +02:00
Axel Uhl
5c350d6f8a
turned all Timer usages into daemon threads to ensure clean VM shut-down
...
Change-Id: I933cda5e4a9b6b5c9f7a7090e0dad9b00154bd35
2016-07-13 18:34:16 +02:00
Axel Uhl
6c2b1f16fb
also ensure that the WebSocketClient is nulled when no successful connection could be established
...
Change-Id: Ibcadd8330fd99edaf1cbd82174f2ce4c3f627a87
2016-07-07 01:23:38 +02:00
Axel Uhl
920ca128bd
ensure that only one call to connect(...) happens per client; otherwise the client ends up in the shutdown hooks several times
...
Change-Id: Icbaaedc94b4e6263407966f0834cf10e6c9d4ca3
2016-07-07 01:21:56 +02:00
Axel Uhl
3c6df87650
when destroying the WebSocketClient, deregister from ShutdownThread.
...
Change-Id: Icd21191fd77521f5c87228d2cff1ad7e0744a9c6
2016-07-07 00:43:31 +02:00
Axel Uhl
eabdff2ce7
fixed Igtimi connector issue: server timestamp was not properly reset when launching a new connection;
...
this would have suggested to the server that the connection was immediately available although it wasn't; this way,
an unsuccessful connection would not have been recognized properly
Change-Id: I199847cead792de00fb0467541f220f095b87898
2016-07-06 22:02:52 +02:00
Axel Uhl
aa9a7a8c15
less re-use of WebSocketClient, using new one and new ClientUpgradeRequest after each disconnect; new listener object each time
...
Change-Id: I088d4c30af6c12f9e7117dbdc97f8a2ca57ca960
2016-07-06 20:41:00 +02:00
Axel Uhl
b884ad9677
a somewhat more robust way of closing and reconnecting to Igtimi WebSocket servers;
...
ignore the onWebSocketClose event if it is caused by the reconnect() call
Change-Id: I0b735d17168855e66ade684f5953a1faaa8e82e4
2016-07-06 16:50:17 +02:00
Axel Uhl
0364016e09
trying a more careful handling of Igtimi websocket resources; not done yet
...
Change-Id: I4b258cb82c9411bbff60df4e6eba1f72379a4735
2016-07-06 11:19:51 +02:00
fmittag
034d5209b3
removed method on interface which I added but did not use
2016-06-21 12:39:58 +02:00
fmittag
f395c33cf2
added a getRemoteAddress() method to LiveDataConnection to enable the display of it.
...
added the display of the igtimi connection uri to the WindStatusservlet
2016-06-20 16:05:11 +02:00
Axel Uhl
32daae4ad3
where concurrency support plays a role, changed field declarations from ConcurrentHashMap to ConcurrentMap which is sufficiently specific
...
Change-Id: I71254d96d495a1a8d79e009d70fd8928b720b31e
2016-06-07 17:08:07 +02:00
Axel Uhl
dff84353ac
removed preference for ws: over wss: in Igtimi connector because Jetty 9.2.2 can handle wss: just fine
...
Change-Id: I5fb059daf27278a16fb3256d04b73a94cd7f28c8
2016-04-19 00:48:23 +02:00
Axel Uhl
37158839b5
shuffle Igtimi server list so a fail-over will eventually end up at a working server
...
Change-Id: Id29af12d9c57060b6a2d8463db2f3173f0762a03
2016-04-19 00:18:22 +02:00
Axel Uhl
6169f54e25
Merge branch 'master' into bug2589
...
Conflicts:
java/com.sap.sailing.domain.igtimiadapter/META-INF/MANIFEST.MF
java/com.sap.sailing.gwt.ui/src/main/java/com/sap/sailing/gwt/ui/server/SailingServiceImpl.java
java/com.sap.sailing.server.gateway/META-INF/MANIFEST.MF
java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/jaxrs/RestServletContainer.java
java/com.sap.sailing.server.gateway/src/com/sap/sailing/server/gateway/jaxrs/api/RestApiApplication.java
Change-Id: I8cbb797ba64d221ea401b90b22d21a813204a6f2
2016-01-04 11:34:01 +01:00
Axel Uhl
6d88a75b87
in Igtimi WebSocketConnectionManager.reconnect() wait for the connection for 5s; if not connected, try again with failover URL
...
Change-Id: I52737084334cdf918fff78643447822de93c2bd6
2015-12-21 10:21:26 +01:00
Axel Uhl
b9ecb366e5
use Jetty SslContextFactory to enable wss:// connection to Igtimi Websocket server
...
Change-Id: Id6045e7370ae5750d1e7b85c6806f9e2676651fa
2015-12-21 10:11:50 +01:00
Axel Uhl
d90bc57e4c
bug 3181: set "daemon" property on all our thread pool threads that are intended for background updates;
...
this lets the VM exit upon shutdown / close
2015-07-24 17:53:27 +02:00
Axel Uhl
6a20efa1d9
fixing bug 2906: wind listeners didn't get de-registered proprely when removing a race and when re-starting the wind status servlet;
...
this should solve the problem with duplicate key exceptions hammering the DB
Conflicts:
java/com.sap.sailing.domain/src/com/sap/sailing/domain/markpassingcalculation/impl/WaypointPositionAndDistanceCache.java
java/com.sap.sailing.domain/src/com/sap/sailing/domain/ranking/AbstractRankingMetric.java
2015-05-27 17:57:20 +02:00
Axel Uhl
094234b654
moved all Position-related classes including Compact... representations to common bundle; provided CustomFieldSerializer for all Position subclasses that require it
2015-04-03 16:12:21 +02:00
Axel Uhl
58bd451481
moved other Position implementations to common packages to share them with GWT and make then GWT-serializable
2015-04-02 16:42:10 +02:00
Axel Uhl
0ef534d450
load Igtimi wind up to "now" when no end timpoint can be determined otherwise
2015-03-26 11:39:53 +01:00
Axel Uhl
f04fb321a2
improved Igtimi logging in case HDG/HDGM are missing
2015-03-25 13:36:15 +01:00
Axel Uhl
041b50cc3d
introduced Jersey ExceptionMapper for Shiro's AuthorizationException
2015-02-26 17:26:45 +01:00
Fredrik Teschke
f637d50c41
add old jackson bundle as dependency to MANIFESTS to avoid NoClassDefFoundErrors
2015-02-12 13:14:47 +01:00
Simon Pamies
39a51ff5de
Lowering priority of debug messages
2015-02-05 18:51:30 +08:00
Axel Uhl
dd60863858
moved scalablevalue stuff and KMeansClusterer to SSE; added better maneuver-based wind estimation reporting features
2015-01-22 00:49:34 +01:00
Axel Uhl
d842579e48
Refactored SecurityServiceImpl such that operations can be implemented as lambdas, seeing the ReplicableSecurityService extension with the internal methods
2014-11-21 20:15:55 +01:00
Axel Uhl
bbc2796d59
renamed com.sap.sailing.server.replication bundle to com.sap.sse.replication
2014-11-07 21:47:57 +01:00
Axel Uhl
5d2163a45d
added new javax.servlet method to DelegatingServletContext; fixed GWT launch config (removing security.ui from classpath)
2014-10-06 00:17:04 +02:00
Axel Uhl
69de0f2d76
upgraded project settings to Java8, fixed gwt.ui to JavaSE-1.7 explicitly
2014-10-01 15:00:44 +02:00
Axel Uhl
161d823dee
updated project compliance settings to JavaSE-1.8
2014-10-01 14:44:22 +02:00
Axel Uhl
e9130d38f3
upgraded classpaths to JavaSE-1.8
2014-10-01 14:16:18 +02:00
Axel Uhl
7ece44052d
upgraded manifests from JavaSE-1.7 to JavaSE-1.8 as runtime environment
2014-10-01 14:08:19 +02:00
Axel Uhl
ff23160814
fixed potential concurrency issues in WindStatusServlet
2014-09-30 18:16:48 +02:00