Skip to content

Commit

Permalink
Merge pull request #464 from ImMin5/master
Browse files Browse the repository at this point in the history
Remove all duplicate http api at alert manager
  • Loading branch information
ImMin5 authored Nov 29, 2024
2 parents 3fcf12e + c94a056 commit 1e70cab
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions proto/spaceone/api/alert_manager/v1/alert.proto
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ service Alert {
}
rpc history (AlertChangeMemberRequest) returns (ServiceInfo) {
option (google.api.http) = {
post: "/alert-manager/v1/alert/update"
post: "/alert-manager/v1/alert/history"
body: "*"
};
}
rpc analyze (AlertChangeMemberRequest) returns (ServiceInfo) {
option (google.api.http) = {
post: "/alert-manager/v1/alert/update"
post: "/alert-manager/v1/alert/analyze"
body: "*"
};
}
Expand Down
2 changes: 1 addition & 1 deletion proto/spaceone/api/alert_manager/v1/event.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ service Service {
}
rpc change_member (ServiceChangeMemberRequest) returns (ServiceInfo) {
option (google.api.http) = {
post: "/alert-manager/v1/comment/update"
post: "/alert-manager/v1/comment/change-member"
body: "*"
};
}
Expand Down
2 changes: 1 addition & 1 deletion proto/spaceone/api/alert_manager/v1/event_rule.proto
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ service EventRule {
}
rpc change_order (EventRuleChangeMemberRequest) returns (EventRuleInfo) {
option (google.api.http) = {
post: "/alert-manager/v1/comment/update"
post: "/alert-manager/v1/comment/change-order"
body: "*"
};
}
Expand Down
2 changes: 1 addition & 1 deletion proto/spaceone/api/alert_manager/v1/note.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ service Service {
}
rpc change_member (CommentChangeMemberRequest) returns (ServiceInfo) {
option (google.api.http) = {
post: "/alert-manager/v1/comment/update"
post: "/alert-manager/v1/comment/change-member"
body: "*"
};
}
Expand Down
2 changes: 1 addition & 1 deletion proto/spaceone/api/alert_manager/v1/plugin/event.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ service Service {
}
rpc change_member (CommentChangeMemberRequest) returns (ServiceInfo) {
option (google.api.http) = {
post: "/alert-manager/v1/comment/update"
post: "/alert-manager/v1/comment/change-member"
body: "*"
};
}
Expand Down
2 changes: 1 addition & 1 deletion proto/spaceone/api/alert_manager/v1/plugin/webhook.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ service Service {
}
rpc change_member (CommentChangeMemberRequest) returns (ServiceInfo) {
option (google.api.http) = {
post: "/alert-manager/v1/comment/update"
post: "/alert-manager/v1/comment/change-member"
body: "*"
};
}
Expand Down
2 changes: 1 addition & 1 deletion proto/spaceone/api/alert_manager/v1/service_channel.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ service Service {
}
rpc change_member (CommentChangeMemberRequest) returns (ServiceInfo) {
option (google.api.http) = {
post: "/alert-manager/v1/comment/update"
post: "/alert-manager/v1/comment/change-member"
body: "*"
};
}
Expand Down
2 changes: 1 addition & 1 deletion proto/spaceone/api/alert_manager/v1/user_channel.proto
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ service Service {
}
rpc change_member (CommentChangeMemberRequest) returns (ServiceInfo) {
option (google.api.http) = {
post: "/alert-manager/v1/comment/update"
post: "/alert-manager/v1/comment/change-member"
body: "*"
};
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ service Service {
}
rpc change_member (CommentChangeMemberRequest) returns (ServiceInfo) {
option (google.api.http) = {
post: "/alert-manager/v1/comment/update"
post: "/alert-manager/v1/comment/change-member"
body: "*"
};
}
Expand Down

0 comments on commit 1e70cab

Please sign in to comment.