Axel Uhl
2f693569f6
fix for bug 4883: principal collection now stored such that principal/user name may contain any characters
...
Change-Id: Ifb32acd377fcfdb137f7092958309bf88d1b0017
2019-01-28 14:38:29 +01:00
Axel Uhl
d67eddd9d5
Merge remote-tracking branch 'server_ext/master'
...
Change-Id: I0204464de33cffa29b3c7ed501da95634a6d4d44
2019-01-28 10:06:13 +01:00
Axel Uhl
777949afa5
updated the release notes for the MongoDB driver upgrade to 3.6.4
2019-01-28 00:24:16 +01:00
Axel Uhl
c34c47bbaa
Merge branch 'master' into bug4876
2019-01-28 00:20:05 +01:00
EC2 Server
d6637b8133
fixed implementation of mongohash -a param
2019-01-27 20:00:17 +00:00
EC2 Server
54318d6a19
Merge remote-tracking branch 'origin/master'
2019-01-27 19:47:47 +00:00
EC2 Server
7627943eb5
added -a option ("all") to mongohash
2019-01-27 19:47:29 +00:00
Axel Uhl
240565bf5d
Merge branch 'master' into bug4876
2019-01-27 18:32:50 +01:00
Axel Uhl
9313701ba4
Added test for Competitor Date-based field storing/loading
...
Change-Id: I88ca8a4417b0f526e06aff7672edd9fbd25678df
2019-01-27 13:11:51 +01:00
Axel Uhl
9568cb5a4a
Merge branch 'translation'
2019-01-27 11:30:15 +01:00
Axel Uhl
a515cd02b2
Merge remote-tracking branch 'server/bug4876' into bug4876
...
Change-Id: Ifbc21ec5b33d2934b42b010de4ebf4445176e449
2019-01-27 11:11:57 +01:00
Axel Uhl
0d5f583cad
toJson() now needs JsonMode.RELAXED to remain compatible with org.simple.json.JSONParser;
...
otherwise, with the MongoDB 3.6 driver update, parsing documents
serialized using Document.toJson() will be unable to parse values of
type long properly. Those were usually represented either simply as the
number literal, or as NumberLong() constructor call. However, with the
new default behavior, they are represented as a nested Document with
a { $numberLong:...} format which cannot be cast to a Long object.
The RELAXED WriterSetting fixes this and reverts to the previous
version's default behavior.
Change-Id: I686439b7a332f2edddc6d0acb5423d80aecd1c0b
2019-01-27 10:54:38 +01:00
Axel Uhl
b4d168b836
Merge remote-tracking branch 'server/master' into bug4876
...
Change-Id: Ie3103aacead7f3a2d1c344e32540ad3dd7f55e32
2019-01-27 10:53:49 +01:00
Axel Uhl
2971652d8c
Merge remote-tracking branch 'server/master'
...
Change-Id: Ic8e0696303080d76a0bb17bc4c3a1e51f7c4d18d
2019-01-26 02:26:53 +01:00
Axel Uhl
bb7d1549a0
Merge remote-tracking branch 'origin/master' into translation
2019-01-26 01:07:54 +01:00
Axel Uhl
e910cc2313
Merge branch 'master' into bug4876
2019-01-25 23:12:26 +01:00
Axel Uhl
43550d1569
made WindFinderPollerTest robust against ConcurrentModificationException by adding synchronization
2019-01-25 23:09:24 +01:00
Axel Uhl
c50bf0e2ef
Merge remote-tracking branch 'origin/master'
2019-01-25 21:51:35 +01:00
Axel Uhl
8952ce5b34
fiex createHidsonJobForBug regarding response code matching
2019-01-25 19:53:16 +01:00
Axel Uhl
c0a7785adc
upgraded launch configs to include mongo java client 3.6.4
...
Change-Id: I93f99201df11aaf4405a4d214fd26a091b190f83
2019-01-25 16:57:37 +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
e7ba880c6d
use latest image instead of a specific one for Sailing Pods
...
Change-Id: Ic892a978101adb8a89affea03063238653429958
2019-01-25 16:22:30 +01:00
Axel Uhl
14d990ecb0
fixed helm install script
...
Change-Id: I8f6e8cb1d9dbd8468aab06b3eb5c83c02c25bd32
2019-01-25 16:22:09 +01:00
Axel Uhl
30622b0673
Updated creating ec2 mongodb image from scratch (markdown)
2019-01-25 09:52:48 +00:00
Axel Uhl
a6cabe0edb
Merge remote-tracking branch 'origin/master'
2019-01-24 22:47:48 +01:00
Axel Uhl
4289557e5a
the refreshInstance.sh script's "install-release" option now defaults to the newest build-* release
2019-01-24 22:35:48 +01:00
Axel Uhl
b7b934037d
added mongohash script to calculate hash of a MongoDB database
2019-01-24 20:53:03 +01:00
Axel Uhl
b6f0d0b71e
Merge branch 'translation_2' into translation
2019-01-24 18:29:30 +01:00
Axel Uhl
a71a7ba2d0
updated Wiki
...
Change-Id: I3c562ed84ca9c2269b780e4e1d6ce799230c2aa4
2019-01-24 12:05:39 +01:00
Axel Uhl
f887d772ab
Updated creating ec2 mongodb image from scratch (markdown)
2019-01-24 00:35:26 +00:00
Axel Uhl
78fca99c15
added tagging as "latest" to docker script
2019-01-23 20:28:44 +01:00
Axel Uhl
b07f1711e3
added scripts and config for MongoDB replica set set-up on AWS instances with ephemeral storage
...
Change-Id: I17c0afd256351463c95730098766118529f16376
2019-01-23 18:45:54 +01:00
Axel Uhl
ff8fe2ea0d
also try to push a Docker image built to the dockerhub registry
...
Change-Id: I67d17de18a39dcec094edb25e599dd213e2e7b96
2019-01-23 17:09:19 +01:00
Axel Uhl
1ee408a87e
Merge remote-tracking branch 'server/master'
...
Change-Id: I885eb7276576560efc6af0c7b4f35c1a0640639b
2019-01-23 17:05:25 +01:00
Axel Uhl
919444b0c4
bug 4875: using replaceOne instead of updateOne when during migration a RaceLogEvent must be replaced
...
Change-Id: I4b59a63ccb0abf27c014f40002342e130795c1fe
2019-01-23 16:25:29 +01:00
Axel Uhl
723e3381c6
fixed directory handling in Docker image creation script
...
Change-Id: I0bbb38d09e461cc3c3c70a20e3f4c6af61ef4eaa
2019-01-23 15:18:51 +01:00
Axel Uhl
8c44936e2d
Merge branch 'bug4018'
...
Change-Id: I68f5cb416a377aee3f8edb587f19f536add680e1
2019-01-23 13:28:49 +01:00
Axel Uhl
a92aa70b87
Merge remote-tracking branch 'server/master'
...
Change-Id: I08706c7536d3264245ebf994166bf1e44b211e9d
2019-01-23 13:27:42 +01:00
Axel Uhl
2599fe22a8
Merge branch 'master' into bug4018
...
Change-Id: I28265fc4273923adff87146776e64d26a891cef7
2019-01-23 13:26:12 +01:00
Axel Uhl
6a2552a3fa
try closing the socket instead of the streams;
...
this is also what happens in a try-with-resource
Change-Id: I53686c84f69149173e1894d0b9b3d26778c55b08
2019-01-23 11:14:28 +01:00
Axel Uhl
dbf33e1693
catch SocketException; it seems a valid alternative to reading -1 if the server has closed the connection
...
Change-Id: Iaee1dd2a35cea0b00f338fd3bb8f2e13067813f8
2019-01-23 10:51:53 +01:00
Axel Uhl
6a26465cc5
reverted to per-byte request reading but close input stream before closing output stream on server
...
Change-Id: I711b6652838b53bda91e209c9573d58cfe73ad79
2019-01-23 10:27:13 +01:00
Axel Uhl
07ede58212
temporarily reverted request reading to the use of BufferedReader;
...
knowing it will kill the POST case I'd like to see whether this fixes
the "Connection reset" issue observed during test execution on Linux
Change-Id: I74879dc4a682759dad63184ed38cf5c575281fda
2019-01-23 10:13:51 +01:00
Axel Uhl
a757c72553
Updated creating ec2 mongodb image from scratch (markdown)
2019-01-23 09:06:59 +00:00
Axel Uhl
1a2d585b0e
fixed paths in makeImageForLatestRelease so it can be called from anywhere
...
Change-Id: I7f5d9ac9ce32449b4f50e81d0072280b5e7c9b15
2019-01-23 09:28:34 +01:00
Axel Uhl
9f0c5d62f9
Updated creating ec2 mongodb image from scratch (markdown)
2019-01-22 23:44:13 +00:00
Axel Uhl
6717e8f177
Updated creating ec2 mongodb image from scratch (markdown)
2019-01-22 23:30:44 +00:00
Axel Uhl
59fd86bb71
Updated creating ec2 mongodb image from scratch (markdown)
2019-01-22 23:02:57 +00:00
Axel Uhl
66cba6fe0a
Created creating ec2 mongodb image from scratch (markdown)
2019-01-22 22:53:36 +00:00
Axel Uhl
540556cc10
Updated home (markdown)
2019-01-22 22:12:12 +00:00
Axel Uhl
119ab574ca
also close socket (again) after properly closing input stream
...
Change-Id: I74d9b6fe74decb8d1f43ed8bff8d2f72d2c8fe2b
2019-01-22 22:17:10 +01:00
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