summaryrefslogtreecommitdiffstats
path: root/src/main/thrift/bwlp.thrift
diff options
context:
space:
mode:
authorSimon Rettberg2015-07-23 13:49:37 +0200
committerSimon Rettberg2015-07-23 13:49:37 +0200
commitfd83c92d2eff723c3747be76652c8ec43bcec298 (patch)
tree2ec77209ebaa3530ea17c772a976bf054abc68a7 /src/main/thrift/bwlp.thrift
parentMinor changes to file transfer classes (diff)
downloadmaster-sync-shared-fd83c92d2eff723c3747be76652c8ec43bcec298.tar.gz
master-sync-shared-fd83c92d2eff723c3747be76652c8ec43bcec298.tar.xz
master-sync-shared-fd83c92d2eff723c3747be76652c8ec43bcec298.zip
New/changed RPC calls
Diffstat (limited to 'src/main/thrift/bwlp.thrift')
-rw-r--r--src/main/thrift/bwlp.thrift21
1 files changed, 16 insertions, 5 deletions
diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift
index 3edbe5a..1968a3e 100644
--- a/src/main/thrift/bwlp.thrift
+++ b/src/main/thrift/bwlp.thrift
@@ -341,20 +341,31 @@ service SatelliteServer {
// Get number of items returned per page (for calls that have a page parameter)
i32 getPageSize(),
- // File transfer related
- TransferInformation requestImageVersionUpload(1: Token userToken, 2: UUID imageBaseId, 3: i64 fileSize, 4: list<binary> blockHashes)
+ /*
+ * File transfer related
+ */
+ TransferInformation requestImageVersionUpload(1: Token userToken, 2: UUID imageBaseId, 3: i64 fileSize, 4: list<binary> blockHashes, 5: binary machineDescription)
throws (1:TTransferRejectedException rejection, 2:TAuthorizationException authError, 3:TInternalServerError ffff, 4:TNotFoundException sdf),
- void cancelUpload(1: Token uploadToken),
+
+ void cancelUpload(1: Token uploadToken)
+ throws (1:TInvalidTokenException ex1),
+
TransferStatus queryUploadStatus(1: Token uploadToken)
throws (1:TInvalidTokenException ex1),
TransferInformation requestDownload(1: Token userToken, 2: UUID imageVersionId)
- throws (1:TAuthorizationException authError),
- void cancelDownload(1: string downloadToken),
+ throws (1:TTransferRejectedException rejection, 2:TAuthorizationException authError, 3:TInternalServerError ffff, 4:TNotFoundException sdf),
+
+ void cancelDownload(1: string downloadToken)
+ throws (1:TInvalidTokenException ex1),
+
+ binary getMachineDescription(1: Token userToken, 2: UUID imageVersionId)
+ throws (1:TAuthorizationException authError, 2:TInternalServerError ffff, 3:TNotFoundException sdf),
// Authentication
void isAuthenticated(1: Token userToken)
throws (1:TAuthorizationException authError, 2:TInternalServerError serverError),
+
void invalidateSession(1: Token userToken),
// find a user in a given organization by a search term