Commit 39504ce4 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Removed Empty message in L3 Centralized Attack Detector to prevent collision with Context.Empty

parent 6f8e1c1a
Loading
Loading
Loading
Loading
+5 −5
Original line number Original line Diff line number Diff line
@@ -18,10 +18,10 @@ import "context.proto";


service L3Centralizedattackdetector {
service L3Centralizedattackdetector {
  // Analyze single input to the ML model in the CAD component
  // Analyze single input to the ML model in the CAD component
  rpc AnalyzeConnectionStatistics (L3CentralizedattackdetectorMetrics) returns (context.Empty) {}
  rpc AnalyzeConnectionStatistics (L3CentralizedattackdetectorMetrics) returns (StatusMessage) {}


  // Analyze a batch of inputs to the ML model in the CAD component
  // Analyze a batch of inputs to the ML model in the CAD component
  rpc AnalyzeBatchConnectionStatistics (L3CentralizedattackdetectorBatchInput) returns (context.Empty) {}
  rpc AnalyzeBatchConnectionStatistics (L3CentralizedattackdetectorBatchInput) returns (StatusMessage) {}


  // Get the list of features used by the ML model in the CAD component
  // Get the list of features used by the ML model in the CAD component
  rpc GetFeaturesIds (context.Empty) returns (AutoFeatures) {}
  rpc GetFeaturesIds (context.Empty) returns (AutoFeatures) {}
@@ -63,6 +63,6 @@ message L3CentralizedattackdetectorBatchInput {
	repeated L3CentralizedattackdetectorMetrics metrics = 1;
	repeated L3CentralizedattackdetectorMetrics metrics = 1;
}
}


// message Empty {
message StatusMessage {
// 	string message = 1;
	string message = 1;
// }
}