From 34ca2905c38d17bbded01cf7497eca790e760a39 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 13 Apr 2016 18:38:47 +0200 Subject: Preparations/changes for global image sync --- src/main/thrift/bwlp.thrift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/main/thrift') diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift index e5478d1..4020be5 100644 --- a/src/main/thrift/bwlp.thrift +++ b/src/main/thrift/bwlp.thrift @@ -584,6 +584,9 @@ service MasterServer { ClientSessionData localAccountLogin(1:string login, 2:string password) throws (1:TAuthorizationException failure, 2:TInvocationException error), + // Client tells us which satellite it is using + void setUsedSatellite(1:Token sessionId, 2:string satelliteName), + // find a user in a given organization by a search term list findUser(1:Token sessionId, 2:string organizationId, 3:string searchTerm) throws (1:TAuthorizationException failure, 2:TInvocationException error), @@ -620,7 +623,7 @@ service MasterServer { throws (1:TAuthorizationException failure, 2: TInvocationException failure2, 3:TNotFoundException f3), // Request upload of an image to the master server - TransferInformation submitImage(1:Token serverSessionId, 2:ImagePublishData imageDescription, 3:list blockHashes) + TransferInformation submitImage(1:Token userToken, 2:ImagePublishData imageDescription, 3:list blockHashes) throws (1:TAuthorizationException failure, 2: TInvocationException failure2, 3: TTransferRejectedException failure3), i32 registerSatellite(6:Token userToken, 5:string displayName, 2:list addresses, 3:string modulus, 4:string exponent, 1:binary certsha256) -- cgit v1.2.3-55-g7522