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
Axel Uhl
c7264e3b7c
fixed interval construction for Igtimi resource loading
2014-09-23 10:08:14 +02:00
Axel Uhl
db65465c7c
improved logging for split interval Igtimi resource loading
2014-09-23 10:00:19 +02:00
Axel Uhl
a22dc20a8e
splitting Igtimi resource requests in intervals of one week as a pragmatic solution of bug 2002
2014-09-23 09:57:29 +02:00
Axel Uhl
733e7ea470
improve error handling for Igtimi wind import; see bug 2002
2014-09-22 16:04:51 +02:00
Axel Uhl
44a481b58a
fixing bug 2197, NPE in Igtimi wind receiver
2014-08-16 11:13:25 +02:00
Axel Uhl
26fff28560
bug 2086: avoid NPE by no trying to correct declination with a null position when the Wind fix wouldn't be constructed anyway
2014-07-23 22:41:54 +02:00
Axel Uhl
4707d527ab
disable directory listing for further web bundles
2014-07-21 23:58:37 +02:00
Axel Uhl
1164b573fe
improved logging of picking the right Igtimi WebSocket server
2014-07-15 17:08:12 +02:00
Axel Uhl
22d0d5a82d
sort Igtimi WebSocket URLs to the top that don't do wss:// nor port 443; Jetty can't do wss://
2014-07-14 21:45:35 +02:00
Axel Uhl
47b0b000ce
create a new Igtimi connection only if none exists yet for the account requested
2014-06-27 12:32:27 +02:00
Axel Uhl
d5042456f1
removed extra parameter correctByDeclination on IgtimiConnectionFactory.connect where it wasn't used
2014-06-27 09:39:24 +02:00
Axel Uhl
26b41ae9ec
better logging for issues with declination service during heading correction in Igtimi receiver; catch and log exception per Igtimi listener
2014-06-24 12:37:18 +02:00
Axel Uhl
3af1e7e346
added more logging for modified Igtimi adapter; the modifications seem to let tests hang on Hudson for unknown reasons
2014-06-14 15:36:11 +02:00
Axel Uhl
b8f3c331ea
solving bug 2000 by moving Igtimi adapter initialization to separate executor, using futures that wait in case the services are requested
2014-06-14 00:13:44 +02:00