From e48a7c0c45cf002e8865dc316766dd9074790d90 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 23 Nov 2018 15:06:52 +0100 Subject: [thrift] Sat interface for getting predefined shares/filters --- src/main/thrift/bwlp.thrift | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/main/thrift/bwlp.thrift') diff --git a/src/main/thrift/bwlp.thrift b/src/main/thrift/bwlp.thrift index 02fb1f5..0d82503 100644 --- a/src/main/thrift/bwlp.thrift +++ b/src/main/thrift/bwlp.thrift @@ -249,11 +249,19 @@ struct NetShare { 6: optional string mountpoint, 2: optional string username, 3: optional string password, + 7: optional i32 shareId, } struct LdapFilter { 1: string attribute, 2: string value, + 3: optional i32 filterId, + 4: optional string title, +} + +struct PredefinedData { + 1: list netShares, + 2: list ldapFilter, } // Write lecture to sat. if optional fields are not set or null, their value stays unchanged @@ -614,6 +622,11 @@ service SatelliteServer { // Set new owner of lecture void setLectureOwner(1: Token userToken, 2: UUID lectureId 3: UUID newOwnerId) throws (1:TAuthorizationException authError, 2:TNotFoundException notFound, 3:TInvocationException serverError), + + // Get predefined stuff + PredefinedData getPredefinedData(1: Token userToken) + throws (1:TAuthorizationException authError, 2:TInvocationException serverError), + } // Central master server -- cgit v1.2.3-55-g7522