mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-20 04:35:32 +00:00
bug5221: adjusted AbstractServerReplicationTestSetUp such that it handles the POST requests for replication operations properly now
This commit is contained in:
+1
@@ -44,6 +44,7 @@ public interface OperationsToMasterSender<S, O extends OperationWithResult<S, ?>
|
||||
final OperationWithResultWithIdWrapper<S, T> operationWithResultWithIdWrapper = new OperationWithResultWithIdWrapper<S, T>(operation);
|
||||
addOperationSentToMasterForReplication(operationWithResultWithIdWrapper);
|
||||
URL url = masterDescriptor.getSendReplicaInitiatedOperationToMasterURL(this.getId().toString());
|
||||
// TODO shouldn't this also use the HttpUrlConnectionHelper?
|
||||
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
|
||||
connection.setRequestProperty("Content-Type", "application/octet-stream");
|
||||
String optionalBearerToken = masterDescriptor.getBearerToken();
|
||||
|
||||
Reference in New Issue
Block a user