Skip to content

Commit

Permalink
Merge pull request #547 from whdalsrnt/master
Browse files Browse the repository at this point in the history
feat: add plugin_id field to channel info
  • Loading branch information
whdalsrnt authored Jan 8, 2025
2 parents 17c5bf7 + 44cd4b4 commit b5436ab
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
9 changes: 6 additions & 3 deletions proto/spaceone/api/alert_manager/v1/service_channel.proto
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,13 @@ message ServiceChannelSearchQuery {
ServiceChannelType channel_type = 5;

// +optional
string workspace_id = 11;
string workspace_id = 21;
// +optional
string service_id = 12;
string service_id = 22;
// +optional
string protocol_id = 13;
string protocol_id = 23;
// +optional
string plugin_id = 24;
}

message ServiceChannelStatQuery {
Expand Down Expand Up @@ -195,6 +197,7 @@ message ServiceChannelInfo {
string service_id = 23;
string protocol_id = 24;
string secret_id = 25;
string plugin_id = 26;

string created_at = 31;
}
Expand Down
3 changes: 3 additions & 0 deletions proto/spaceone/api/alert_manager/v1/user_channel.proto
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ message UserChannelSearchQuery {

// +optional
string protocol_id = 21;
// +optional
string plugin_id = 22;
}

message UserChannelStatQuery {
Expand All @@ -132,6 +134,7 @@ message UserChannelInfo {
string protocol_id = 22;
string user_id = 23;
string user_secret_id = 24;
string plugin_id = 25;

string created_at = 31;
}
Expand Down
3 changes: 3 additions & 0 deletions proto/spaceone/api/alert_manager/v1/user_group_channel.proto
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ message UserGroupChannelSearchQuery {
string user_group_id = 23;
// +optional
string protocol_id = 24;
// +optional
string plugin_id = 25;
}

message UserGroupChannelStatQuery {
Expand All @@ -139,6 +141,7 @@ message UserGroupChannelInfo {
string user_group_id = 23;
string protocol_id = 24;
string secret_id = 25;
string plugin_id = 26;

string created_at = 31;
}
Expand Down

0 comments on commit b5436ab

Please sign in to comment.