Skip to content
Snippets Groups Projects
Commit 4290e982 authored by Sebastien Merle's avatar Sebastien Merle
Browse files

Use Empty defined in the context to prevent duplication

parent 9ae02c23
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!133Integration of TE component
......@@ -18,13 +18,13 @@ import "context.proto";
service L3Centralizedattackdetector {
// Analyze single input to the ML model in the CAD component
rpc AnalyzeConnectionStatistics (L3CentralizedattackdetectorMetrics) returns (Empty) {}
rpc AnalyzeConnectionStatistics (L3CentralizedattackdetectorMetrics) returns (context.Empty) {}
// Analyze a batch of inputs to the ML model in the CAD component
rpc AnalyzeBatchConnectionStatistics (L3CentralizedattackdetectorBatchInput) returns (Empty) {}
rpc AnalyzeBatchConnectionStatistics (L3CentralizedattackdetectorBatchInput) returns (context.Empty) {}
// Get the list of features used by the ML model in the CAD component
rpc GetFeaturesIds (Empty) returns (AutoFeatures) {}
rpc GetFeaturesIds (context.Empty) returns (AutoFeatures) {}
}
message Feature {
......@@ -63,6 +63,6 @@ message L3CentralizedattackdetectorBatchInput {
repeated L3CentralizedattackdetectorMetrics metrics = 1;
}
message Empty {
string message = 1;
}
// message Empty {
// string message = 1;
// }
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