|
@@ -3,8 +3,13 @@ package llnwApi.Delivery;
|
|
service DeliveryService {
|
|
service DeliveryService {
|
|
rpc ListDeliveryServiceInstances(ShortName)returns(DeliveryList);
|
|
rpc ListDeliveryServiceInstances(ShortName)returns(DeliveryList);
|
|
}
|
|
}
|
|
|
|
+message Base{
|
|
|
|
+ string username = 1;
|
|
|
|
+ string key = 2;
|
|
|
|
+}
|
|
message ShortName{
|
|
message ShortName{
|
|
- string shortName = 1;
|
|
|
|
|
|
+ Base base = 1;
|
|
|
|
+ string shortName = 2;
|
|
}
|
|
}
|
|
message ProtocolSetOptions{
|
|
message ProtocolSetOptions{
|
|
string name = 1;
|
|
string name = 1;
|
|
@@ -16,7 +21,7 @@ message ProtocolSet{
|
|
string publishedProtocol = 2;
|
|
string publishedProtocol = 2;
|
|
repeated ProtocolSetOptions options = 3;
|
|
repeated ProtocolSetOptions options = 3;
|
|
}
|
|
}
|
|
-message Delivery{
|
|
|
|
|
|
+message DeliveryEntity{
|
|
string uuid = 1;
|
|
string uuid = 1;
|
|
bool isEnabled = 2;
|
|
bool isEnabled = 2;
|
|
string shortname = 3;
|
|
string shortname = 3;
|
|
@@ -26,8 +31,8 @@ message Delivery{
|
|
string publishedHostname = 6;
|
|
string publishedHostname = 6;
|
|
string sourceUrlPath = 7;
|
|
string sourceUrlPath = 7;
|
|
string publishedUrlPath = 8;
|
|
string publishedUrlPath = 8;
|
|
- ProtocolSet protocolSets = 9;
|
|
|
|
|
|
+ repeated ProtocolSet protocolSets = 9;
|
|
}
|
|
}
|
|
message DeliveryList{
|
|
message DeliveryList{
|
|
- repeated Delivery deliveries = 1;
|
|
|
|
|
|
+ repeated DeliveryEntity deliveries = 1;
|
|
}
|
|
}
|