Commit 15e26a45 authored by Ricard Vilalta's avatar Ricard Vilalta
Browse files

Update forecaster.proto

parent 2b6043a9
Loading
Loading
Loading
Loading
+9 −5
Original line number Diff line number Diff line
@@ -18,18 +18,22 @@ package forecaster;
import "context.proto";

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) {}
}

Forecast {
message SingleForecast {
  context.Timestamp = 1;
  double value = 2;    
}

message LinkForecast {
    LinkId link_id = 1;
    repeated Forecast forecast = 2;
message Forecast {
    oneof uuid {
      context.TopologyId = 1;
      context.LinkId = 2;
    }
    repeated SingleForecast forecast = 3;
}

enum AvailabilityPredictionEnum {