Skip to content
Snippets Groups Projects
Commit 15e26a45 authored by Ricard Vilalta's avatar Ricard Vilalta
Browse files

Update forecaster.proto

parent 2b6043a9
No related branches found
No related tags found
1 merge request!54Release 2.0.0
...@@ -18,18 +18,22 @@ package forecaster; ...@@ -18,18 +18,22 @@ package forecaster;
import "context.proto"; import "context.proto";
service ForecasterService { service ForecasterService {
rpc GetForecastOfLink(context.LinkId) returns (context.Empty) {} rpc GetForecastOfTopology (context.TopologyId) returns (Forecast) {}
rpc GetForecastOfLink(context.LinkId) returns (Forecast) {}
rpc CheckService (context.ServiceId) returns (ForecastPrediction) {} rpc CheckService (context.ServiceId) returns (ForecastPrediction) {}
} }
Forecast { message SingleForecast {
context.Timestamp = 1; context.Timestamp = 1;
double value = 2; double value = 2;
} }
message LinkForecast { message Forecast {
LinkId link_id = 1; oneof uuid {
repeated Forecast forecast = 2; context.TopologyId = 1;
context.LinkId = 2;
}
repeated SingleForecast forecast = 3;
} }
enum AvailabilityPredictionEnum { enum AvailabilityPredictionEnum {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment