From 436e1ab55692920b301354ea772eba25a0ac976e Mon Sep 17 00:00:00 2001 From: Fabian Seidl <fabian.seidl@h-da.de> Date: Fri, 20 Sep 2024 13:31:37 +0000 Subject: [PATCH] add reset all call --- .../subscriptionmanagement.proto | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/api/proto/gosdn/subscriptionmanagement/subscriptionmanagement.proto b/api/proto/gosdn/subscriptionmanagement/subscriptionmanagement.proto index 3838a767b..55b70e2a7 100644 --- a/api/proto/gosdn/subscriptionmanagement/subscriptionmanagement.proto +++ b/api/proto/gosdn/subscriptionmanagement/subscriptionmanagement.proto @@ -27,6 +27,10 @@ service SubscriptionManagementService { body: "*" }; } + + rpc ResetAllSubscriptions(ResetAllSubscriptionsRequest) returns (ResetAllSubscriptionsResponse) { + option (google.api.http) = {get: "/submanagement/reset"}; + } } message Subscription{ @@ -81,3 +85,11 @@ message AddRequest{ message AddResponse{ int64 timestamp = 1; } + +message ResetAllSubscriptionsRequest { + int64 timestamp = 1; +} + +message ResetAllSubscriptionsResponse { + int64 timestamp = 1; +} -- GitLab