Skip to content

Commit 22c5bec

Browse files
committed
feat: add method to notification protocol
Signed-off-by: Jongmin Kim <[email protected]>
1 parent b83f52a commit 22c5bec

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

proto/spaceone/api/alert_manager/v1/notification_protocol.proto

+7-2
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ service NotificationProtocol {
2929
body: "*"
3030
};
3131
}
32-
rpc verify_plugin (NotificationProtocolRequest) returns (google.protobuf.Empty) {
32+
rpc update_secret_data (NotificationProtocolUpdateSecretDataRequest) returns (NotificationProtocolInfo) {
3333
option (google.api.http) = {
34-
post: "/alert-manager/v1/notification-protocol/verify-plugin"
34+
post: "/alert-manager/v1/notification-protocol/update-secret-data"
3535
body: "*"
3636
};
3737
}
@@ -110,6 +110,11 @@ message NotificationProtocolRequest {
110110
string protocol_id = 1;
111111
}
112112

113+
message NotificationProtocolUpdateSecretDataRequest {
114+
string protocol_id = 1;
115+
google.protobuf.Struct secret_data = 2;
116+
}
117+
113118
message NotificationProtocolSearchQuery {
114119
enum NotificationProtocolState {
115120
PROTOCOL_STATE_NONE = 0;

0 commit comments

Comments
 (0)