Commit Graph
100 Commits
Author SHA1 Message Date
Axel Uhl 9e130314f3 close socker input stream properly before leaving the socket to GC
Change-Id: I35484bc0523045e450f5c417c61012ef0a79b7a9
2019-01-22 21:16:35 +01:00
Axel Uhl 589df34a03 Merge branch 'master' into bug4018
Change-Id: I4508d0187921733eceea5fa12e04147476eb09b6
2019-01-22 21:03:22 +01:00
Axel Uhl bcb1346555 removed Socket.close() call in replication test frame to avoid killing client-side connection prematurely
Change-Id: I5793a2fdee9e4403323446e2eece9b4a84b1f538
2019-01-22 18:10:32 +01:00
Axel Uhl c35793b76d fixed another issue with to-master-replication-queue running empty but scheduled flag not being reset
Change-Id: I434328d7618aae631330ee53a015e06030d13d7a
2019-01-22 15:04:27 +01:00
Axel Uhl d2c3bdf2b5 ensure in-order delivery of messages from replica to master;
always pass operations to be sent to master into the queue so they
cannot be delivered to the master earlier than other queued operations
after connectivity has been restored

Change-Id: I7b1409dc4663659039058ce2c0511a26009114b4
2019-01-22 14:31:58 +01:00
Axel Uhl 112548b293 now really added test which was missing from previous commit
Change-Id: I22fb542e23dc885e0b5d828f215ecdc6dbd03ad5
2019-01-22 11:04:28 +01:00
Axel Uhl bb07391659 added test for sending replication operation to master through HTTP POST
Change-Id: Ie16a2abb308dc3ae860cf729374362d9b5d21516
2019-01-22 10:50:19 +01:00
Axel Uhl 89b511f198 Merge remote branch 'origin/bug4018' 2019-01-22 07:17:30 +01:00
Axel Uhl de3f602ed6 Updated mail relaying (markdown) 2019-01-21 23:54:48 +00:00
Axel Uhl 4532677c3e register the ReplicationService object on the replicables when they become a replica, not on master
Change-Id: I354ab9b9442307c0b90b44b5949c0d03611e18e7
2019-01-22 00:23:40 +01:00
Axel Uhl 0b1f049496 reverted problematic use of POST in HttpUrlConnectionHelper introduced in bce05a434cb732390dab69aae3d3fcb26218153c;
can't write after having read

Change-Id: Icde37667bb4c6292416bcc761a59c0d91a62517a
2019-01-22 00:19:00 +01:00
Axel Uhl e633e66766 introduced queueing service for operations unsent to master
Change-Id: I0021082ec96b26b4302821a37acf2eb085baf2af
2019-01-21 23:10:45 +01:00
Axel Uhl 4543dd2089 uncompileable interims commit for bug4018: started with an operation re-send queue
Change-Id: I20acb4bd2d10226911055b8b92efa64bd56272a4
2019-01-21 18:49:51 +01:00
Axel Uhl 7154479863 version bump to 1.4.63
Change-Id: Idab6fef44b1eb0a161eff7476bb28d495753fb41
2019-01-21 11:25:54 +01:00
Axel Uhl 024f07e291 removed erroneous port: specification from readinessProbe specification 2019-01-20 23:39:48 +01:00
Axel Uhl 264a5c75f0 use new status check for readiness probe in Sailing pod definitions 2019-01-20 13:25:55 +01:00
Axel Uhl 18dbecea15 release notes update for new availability checks
Change-Id: I6129dfde8181c518c61ec17960697c7ee3d2c9bc
2019-01-18 18:34:26 +01:00
Axel Uhl f8a2d2fb0d java/target/status now delivers an exit code of 0 if the server is available, and 1 if not;
it considers the outputs of /index.html, scanning for a 2XX HTTP
response code, checks the availability of the RacingEventService using
the /sailingserver/api/v1/status end point and checks the replication
stack for availability using /replication/replication?action=STATUS

Change-Id: Ic277aa5a248b5bc31a7042f46b388e734655c980
2019-01-18 18:24:48 +01:00
Axel Uhl 5cb9ea1bbe simplified apt-get install in docker file
Change-Id: I30532fbb0dfa41f045693eb552879db1431c6b32
2019-01-18 18:11:00 +01:00
Axel Uhl 72a035f2e6 Merge branch 'master' into bug4018
Change-Id: Ic192ecc479ba1c5e8293652b0d924c6bc6b99587
2019-01-18 18:10:05 +01:00
Axel Uhl d93a8f3695 also install jq in Docker image
Change-Id: Ia5bd13275c2600112b56d545fea8c3a891c7c75e
2019-01-18 18:09:49 +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 34b360cc3e replication status under /replication/replication?action=STATUS
Change-Id: I63cfd64609e458690a89da3ed5478ee5f239579b
2019-01-18 17:35:58 +01:00
Axel Uhl 313552dd24 added security.persistence bundle to more launch configs
Change-Id: I0bf8855ba47899931ccaac284c2be80d8b434c0a
2019-01-18 14:08:32 +01:00
Axel Uhl 548b437cde don't forward exception during sending replication operation to master, only log; better log message
Change-Id: I9afe7860cab381ccab3aed91e11b631903ebced9
2019-01-18 14:08:01 +01:00
Axel Uhl 546cac6548 added persistence support for clearing ReplicatingCacheManager and ReplicatingCache; added session garbage collection upon SecurityService construction
Change-Id: I78475411ef01916678e383922d9d0bd11dfd5aec
2019-01-18 13:45:12 +01:00
EC2 Server dfb68eda21 added missing apt-get update to Dockerfile.tpl 2019-01-17 20:11:09 +00:00
Axel Uhl 0c9bcf8b15 version bump for apps to 1.4.62
Change-Id: I65e347f15f8786dcedc17f34670284a7d5e3bf0a
2019-01-17 16:56:33 +01:00
Axel Uhl d15dca7dff Merge branch 'bug4018'
Change-Id: I989dc53079d432099d6606e972eb4abcdf5da67a
2019-01-17 14:01:06 +01:00
Axel Uhl eb587c7959 added release notes for session persistence
Change-Id: I93c1f52809f6e4b8550aab313b486af90d3100e2
2019-01-17 13:59:33 +01:00
Axel Uhl 88e836bbc8 fixed replication POST connection
Change-Id: Id676d77a34d0b579c4d1376cb7332506935418e9
2019-01-16 18:13:11 +01:00
Axel Uhl d8464b230a working session persistence; don't store again while loading
Change-Id: Ibcf368d0a5000234db3a48da4ea70c01a6565235
2019-01-16 14:36:22 +01:00
Axel Uhl 065e427da5 handle PrincipalCollection in Session with persistence
Change-Id: I661366e1dcb9d3583da9bbe26b6e2646571320ca
2019-01-16 14:16:03 +01:00
Axel Uhl 7f6eb7efc4 preparing for session persistence, including a first test case
Change-Id: I07550a16f770bf6dbdb7301dabde98a7a41a89d1
2019-01-16 10:36:09 +01:00
Axel Uhl 3fe627fbe3 Merge branch 'master' into bug4018
Change-Id: I4b1b931293c73e2e85228189f13500044eaa990e
2019-01-16 09:53:38 +01:00
Axel Uhl 90ed65d8b9 error handling for createHudsonJobForBug.sh
Change-Id: I028b1c436cf51b4578c09b92c7d7169ab01de7c2
2019-01-16 09:53:13 +01:00
Axel Uhl 821bea8b76 Merge branch 'master' into bug4018
Change-Id: I9be209dc04cc658cb52cd703d09d415cbc1ebd30
2019-01-16 09:33:19 +01:00
Axel Uhl c1f149166e output URL of Hudson job generated to stdout 2019-01-15 23:39:34 +01:00
Axel Uhl 768c890c25 added script to create a Hudson job for a Bugzilla bug from CopyTemplate 2019-01-15 23:33:20 +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
Axel Uhl 7b1e360e51 added com.sap.sse.security.persistence also to java/pom.xml
Change-Id: Ied205bf7b23ca491548a2dcadf2a75b1edb89526
2019-01-15 18:20:03 +01:00
Axel Uhl 6fb12d9258 added com.sap.sailing.security.persistence bundle
Change-Id: I7184c49262b1efa5e912ccd5eca20be4995739b0
2019-01-15 17:54:05 +01:00
Axel Uhl 8427d1e0da Merge branch 'master' into bug4018
Change-Id: If3941490c857c8e6e795deb293acc11859e1dc16
2019-01-15 17:02:59 +01:00
Axel Uhl b9d8f0fabf Merge branch 'master' into bug4412
Change-Id: I2c61ece01bfc7e35dc6bc3e86b3d85d6a3d27dd9
2019-01-15 17:00:06 +01:00
Axel Uhl 93b679ce15 bug4853: introduced priority fields for Course management dialogs
Change-Id: I721be462d53fbdcf3638f372785bb7123ca5e4a2
2019-01-15 16:54:58 +01:00
Axel Uhl d9be5d65ca bug4853: quick fix for server author also for copy course feature
Change-Id: Ib9449d1e64cd7fcfe405496df1d95bce60d32fcf
2019-01-15 15:07:29 +01:00
Axel Uhl 496ea9f278 enforce creation of new Subject; added Subject-related tests
Change-Id: Ie126133d7ee25b452cefd6c15ca3225c7aae656b
2019-01-14 17:46:30 +01:00
Axel Uhl 791b5db05b bug4853: temporary quick fix is setting author priority to 1, matching Race Manager App
Change-Id: I06c682fcd4827106d8d4fc9d41f98541be3e8152
2019-01-14 16:36:45 +01:00
Axel Uhl 46bf0baae1 Merge branch 'master' into translation
Change-Id: I7fee6ae7de7527afc4ef3868cc4c8871f75fc3e8
2019-01-14 14:01:52 +01:00
Axel Uhl d8b1190c5b whitespace changes only
Change-Id: I926f622b1e604af6392facd1c67e76be9c842344
2019-01-14 13:52:19 +01:00
Axel Uhl 5e33731ea8 notify end of LOADING status only after all Receiver queues have been processed
Change-Id: I0b5ea06d562b5be408ea5f145a1179d411b845c8
2019-01-14 13:44:14 +01:00
Axel Uhl d48ab421fa renamed test case and raised timeout to 5min;
the log at https://hudson.sapsailing.com/job/SAPSailingAnalytics-master/3538/consoleText
shows that not all raw fixes were loaded after 3min when the timeout
kicked in (loading started around Jan 11, 2019 9:05:59 PM, tear down
invoked at Jan 11, 2019 9:08:59 PM).

Change-Id: I77853bf89f1fed223ba540f90373887c0a1b403d
2019-01-14 10:36:58 +01:00
Axel Uhl 6883cb9087 added logging output in TaggingServiceTest showing the threads executing the critical methods
Change-Id: I7d90a2031c963983a5adce0e865990e71f0cf159
2019-01-14 09:44:03 +01:00
Axel Uhl fb415416ab Merge remote-tracking branch 'server/master'
Change-Id: I02ed78fd155096125765c578dde3f1ccd61eeddf
2019-01-14 09:43:44 +01:00
Axel Uhl fd0cc2e388 added synchronization to avoid possible threading issues in JUnit execution order
Change-Id: I5e0b3fdcab8bf0349e25149a79557e5b8cc60a4f
2019-01-14 09:32:57 +01:00
Axel Uhl 1961deab68 set focus in ChangePasswordDialog to first password field 2019-01-13 01:13:12 +01:00
Axel Uhl 9cd9213e07 Updated mail relaying (markdown) 2019-01-12 23:29:49 +00:00
Axel Uhl a4818d2b3c Merge remote-tracking branch 'server/master'
Change-Id: I0cf1ff7ffbcc0340f1d101da10841f1cc56ce178
2019-01-12 16:00:47 +01:00
Axel Uhl 04f5b8304e provide explicit short names for WIND_TRACKS indices
Change-Id: I1445a0f79cfe8a95c49cf416d525ea4fa8fa759b
2019-01-12 15:56:07 +01:00
EC2 Server cc16072f30 eliminate username/password information from MONGODB_URI in version.txt 2019-01-11 20:03:22 +00:00
Axel Uhl c1970b38c3 trying to work with ThreadState.bind() / .restore() symmetrically in TaggingServiceTest
Change-Id: I745b31b1fcbb229f280fb35635595641089f2da0
2019-01-11 18:34:09 +01:00
Axel Uhl b367b86636 Updated creating ec2 image from scratch (markdown) 2019-01-11 14:38:21 +00:00
Axel Uhl d0bccd7997 relax the write concern for bulk data such as GPS and Wind fixes to UNACKNOWLEDGED;
this to increase throughput

Change-Id: I27a5e9a1a8ca4959f9a33297b6726fd2dd84a893
2019-01-11 15:06:12 +01:00
Axel Uhl 7654aaaa61 install the AWS RDS certificate so DocumentDB MongoDB URIs can be used
Change-Id: I8059d76f568c871b8f54e451e487b1e75df7f740
2019-01-11 15:05:47 +01:00
Axel Uhl d014617cbd Merge remote-tracking branch 'server/master'
Change-Id: Ic6931f936c222c20bc0e006a5317ee7181cd0d7f
2019-01-11 12:29:17 +01:00
Axel Uhl 806089a395 added handling of new debug.properties config file in buildAndUpdateProduct.sh and refreshInstance.sh
Change-Id: Ie5280dba773e2ee406ebf01d966e20ad68ff3b92
2019-01-11 12:28:19 +01:00
Axel Uhl cd4b99e312 provide a sufficiently short Index name to make AWS DocumentDB happy
Change-Id: I2130cccd5db2fc76aaa145521325306daa32eee8
2019-01-11 01:38:34 +01:00
Axel Uhl 8eb4da6cf7 provide a shorter name for the WIND_TRACKS collection index
Change-Id: I85c83cc9cf98b14e4ebd85887483e3ab021df702
2019-01-11 01:27:01 +01:00
Axel Uhl 2b8d447adb re-established necessary optional requirements to gwt.user and gwt.dev
Change-Id: I553731b3a2b954847ffc3b497c3c13cbec57e0b8
2019-01-11 01:06:30 +01:00
Axel Uhl b0b503284c removed AWS DocumentDB-directed mongo.uri property from launch config
Change-Id: I775af719b08f70acc62e944333df91dbbc52a417
2019-01-11 00:53:29 +01:00
Axel Uhl 81284e434b moved com.google.gwt.servlet to sse feature (it's not target platform);
shortened MongoDB index names... AWS Document DB doesn't like long index names

Change-Id: I842e75b34b67dbf05df1948a970bf50b1349162f
2019-01-11 00:51:23 +01:00
Axel Uhl abf4ea3c03 added debug.properties for OSGi framework so activator exceptions are properly logged
Change-Id: Ib950166d06026db192c576f142beb3006aceb813
2019-01-10 22:22:56 +01:00
Axel Uhl b167b1cfd0 Merge remote-tracking branch 'server/master'
Change-Id: I17ed17de6a57d05a12f06da6bff46d266e552452
2019-01-10 20:43:49 +01:00
Axel Uhl 138990131b fixed system string regarding MONGODB_URI variable
Change-Id: I9d2e0bc93856c6b13e19c86eb79ab208663ca83b
2019-01-10 20:41:54 +01:00
Axel Uhl dc677abd1b Merge branch 'master' into translation
Change-Id: Ib04fb1a639d45b1ef0c30d2b4e3d49fbcd52040a
2019-01-10 18:52:53 +01:00
Axel Uhl b40015bbdf Merge remote-tracking branch 'server/translation' into translation
Change-Id: Iaed2952f4b5c6384b6f3c86fd2a7e7f88760ca65
2019-01-10 18:52:11 +01:00
Axel Uhl 01c9efed4a version bump to 1.4.61
Change-Id: Iad396bec8f06e9ab378b7d4df89a86d7c5dd56d1

# Conflicts:
#	cfg/VERSION
#	cfg/files2sign.json
#	mobile/com.sap.sailing.android.buoy.positioning.app/AndroidManifest.xml
#	mobile/com.sap.sailing.android.buoy.positioning.app/project.properties
#	mobile/com.sap.sailing.android.tracking.app/AndroidManifest.xml
#	mobile/com.sap.sailing.android.tracking.app/project.properties
#	mobile/com.sap.sailing.racecommittee.app/AndroidManifest.xml
#	mobile/com.sap.sailing.racecommittee.app/project.properties
2019-01-10 13:40:17 +01:00
Axel Uhl a3c39e97f7 attach subject to thread state in TaggingServiceTest 2019-01-10 00:58:19 +01:00
Axel Uhl 0421eeb471 bug 4856: tackling a ConcurrentModificationException by a retry-under-lock approach
Change-Id: I0c2e8059d59b7a4ba7073a97dfd163b858ed81e9
2019-01-09 14:32:41 +01:00
Axel Uhl 2ede9c12c2 reverted mail generation-related changes on bug4412; see also bug4720_mail
Change-Id: I3fb3eeeb9881c1888c2cfa18744a808ff712e6b0
2019-01-07 14:49:22 +01:00
Axel Uhl 5fda18ecf0 removed spotless stuff; it procudes errors; see https://hudson.sapsailing.com/job/bug4412/lastBuild/console
Change-Id: I369f575e40e2cde5797ee8e1891864f8e6ce402c
2019-01-06 01:00:03 +01:00
Axel Uhl 435aed6090 removed strange and unnecessary diffs from top-level pom.xml
Change-Id: I1b677b132292f6feee1cde4c218c3564338c3fa3
2019-01-06 00:17:13 +01:00
Axel Uhl b222ea332a un-commented the version.info file generation again in the build.gradle files;
it seems to work OK for the Sail InSight app; let's find out why it may
go wrong for the two other apps

Change-Id: I2aee40f2a5531da073b4e03ae7775a1f36a01594
2019-01-06 00:13:27 +01:00
Axel Uhl 3142e24c76 Merge branch 'master' into bug4412
Change-Id: I1a6ceb9145021c7b6f8a502157c26a356546099d
2019-01-05 23:39:10 +01:00
Axel Uhl 29e700c2f6 fixed buttonBarButtonStyle for buoy pinger app; commented out the copying of .apk files to wrong target directory (mobile/java/... instead of mobile/...)
Change-Id: I7f84611b191cbcd9bca928b62ac005f859a25149
2019-01-05 23:28:28 +01:00
Axel Uhl 4270d37c81 bug4843: deactivating the translucent status bar seems to solve the adjustPan issue with our preferences dialogs
Change-Id: I02ba99b24f80b7518844412add26aae1c55a12e3
2019-01-05 17:58:29 +01:00
Axel Uhl 0fc365b63a Merge remote branch 'origin/translation' 2019-01-04 19:50:03 +01:00
Axel Uhl fac4e06bd8 Merge branch 'master' into bug4412
Change-Id: I16452be874cc6964d79acc9fa349b1df1e71818f
2019-01-04 15:53:20 +01:00
Axel Uhl c8897dfb40 fixed SearchServiceTest, ensuring the Shiro thread state is bound
Change-Id: I093bab634260af7a25981ed987ce163a9fda73d7
2019-01-04 15:47:09 +01:00
Axel Uhl 6d8398e33d Merge remote-tracking branch 'server/master'
Change-Id: I1a5d7ca1ce70fb413025842231fd59ce2691f36a
2019-01-04 13:07:49 +01:00
Axel Uhl 4b97284a26 removed the extra client-only GWT bundles from the com.sap.sse.feature.runtime feature
Change-Id: I55410ca19fbb778f8a369128fed46685f937a39e
2019-01-04 13:06:18 +01:00
Axel Uhl c94a077620 Merge remote branch 'origin/master' 2019-01-03 23:47:19 +01:00
Axel Uhl f59cd41d4c updated to new docker image 2019-01-03 23:45:11 +01:00
Axel Uhl 53539ccb0d Merge remote-tracking branch 'server/bug4412' into bug4412
Change-Id: Ic913be365b17c3509243d9e9c52cec7265dd1c73
2019-01-03 18:31:57 +01:00
Axel Uhl 8fc812c151 Merge branch 'master' into bug4412
Change-Id: Ib9c8c136fe6d6b0330822f0b583319a61c1400e7
2019-01-03 16:16:20 +01:00
Axel Uhl a13a94a008 bug 4842: reverted barcode scanner problem introduced by 4ad8683915:
while introducing the use of the built-in barcode/QR-code scanner, a
comparison of the requestCode with the requestCodeQRCode was changed for
no obvious reason. Changing it back to the old comparison made this work
again for me.

Change-Id: I9fe7268d8a9c12a2877568157a4752dd96b77756
2019-01-03 16:08:46 +01:00
Axel Uhl bce05a434c use HttpUrlConnectionHelper in sendReplicaInitiatedOperationToMaster
Change-Id: I259341cf80dae6dbd7876a21327442aa6852cdea
2019-01-02 18:31:28 +01:00
Axel Uhl 77a243dbf3 ensure sessions are pinged/bumped even if timeouts are much longer than server life span
Change-Id: I3d3eade0c5cbd6001e9cfe40794ca7e3ea783c22
2019-01-02 15:44:28 +01:00
Axel Uhl e546618946 complete 2019 declination data included
Change-Id: I26f94041b2086be14a6ca3f73de0fc4dede377ad
2019-01-02 15:03:30 +01:00
Axel Uhl 2dac583429 avoid exception while querying private tags without logged-in user
Change-Id: I138cd5ff83284ba647a9af4d1ff9bcd129697b89
2019-01-02 10:55:38 +01:00