From 294e541bee2c8924e6613c0ee3f1eae40a550f69 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 18 Dec 2015 17:16:33 +0100 Subject: [thrift] added Location definition in thrift file --- src/main/thrift/bwlp.thrift | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift index b241b1a..5034a03 100644 --- a/src/main/thrift/bwlp.thrift +++ b/src/main/thrift/bwlp.thrift @@ -253,6 +253,7 @@ struct LectureWrite { 15: LecturePermissions defaultPermissions, 11: optional list addAllowedUsers, // add allowed to see/select image in vmchooser. These are local accounts, not bwIDM/Master 16: optional list remAllowedUsers, // users to remove from that list + 17: list locationIds, } struct LectureSummary { @@ -298,6 +299,7 @@ struct LectureRead { 18: bool hasInternetAccess, 19: LecturePermissions defaultPermissions, 22: optional LecturePermissions userPermissions, + 25: list locationIds, } struct MasterTag { @@ -353,6 +355,12 @@ struct SatelliteUserConfig { 1: bool emailNotifications, } +// Location of a Lecture +struct Location { + 1: i32 locationId, + 2: string locationName, +} + // ############ EXCEPTION ###################### exception TTransferRejectedException { @@ -453,6 +461,7 @@ service SatelliteServer { list getOperatingSystems(), list getVirtualizers(), list getAllOrganizations(), + list getLocations(), SatelliteStatus getStatus(), -- cgit v1.2.3-55-g7522