Steffen Schaefer
09290d2425
Bug 4963: Using a proper mime type for sending operations from replica
...
to master. Now that shiro is active for ReplicationServlet, the
unspecified content type caused exceptions while parsing the content.
2019-04-03 17:26:15 +02:00
Steffen Schaefer
5a51aef645
Bug 4963: Fixed sending operations from a replica to the master
2019-04-03 16:52:40 +02:00
Steffen Schaefer
6c6ad3f63e
Bug 4963: Using bearer token in several calls from replica to
...
ReplicationServlet on master
2019-04-03 10:10:56 +02:00
Steffen Schaefer
9f3c5e9dda
Bug 4963: ReplicationMasterDescriptor is now aware of a bearer token.
...
The token is currently not given to remote calls and UI fields are
added.
2019-04-03 09:15:23 +02:00
Axel Uhl
7bfddc6926
refactored User-related methods on SecurityService to avoid sending User objects through replication operations;
...
this way, no patching of the userGroupProvider property after
de-serialization is necessary, and no replacement of a User object in
the UserStore should ever happen.
Change-Id: I23a8ae53b6a53ca89a2a0b8a11dc779f4034db57
2019-02-21 13:21:04 +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
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
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
34b360cc3e
replication status under /replication/replication?action=STATUS
...
Change-Id: I63cfd64609e458690a89da3ed5478ee5f239579b
2019-01-18 17:35:58 +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
88e836bbc8
fixed replication POST connection
...
Change-Id: Id676d77a34d0b579c4d1376cb7332506935418e9
2019-01-16 18:13:11 +01:00
Axel Uhl
bce05a434c
use HttpUrlConnectionHelper in sendReplicaInitiatedOperationToMaster
...
Change-Id: I259341cf80dae6dbd7876a21327442aa6852cdea
2019-01-02 18:31:28 +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