Skip to content

Commit

Permalink
feat: change field name
Browse files Browse the repository at this point in the history
Signed-off-by: Jongmin Kim <[email protected]>
  • Loading branch information
whdalsrnt committed Dec 29, 2024
1 parent 3a63938 commit ac14509
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions proto/spaceone/api/alert_manager/v1/alert.proto
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,19 @@ message AlertCreateRequest {
}

message AlertUpdateRequest {
enum AlertState {
enum AlertStatus {
ALERT_STATE_NONE = 0;
TRIGGERED = 1;
ACKNOWLEDGED = 2;
RESOLVED = 3;
ERROR = 4;
IGNORED = 4;
}

string alert_id = 1;
// +optional
string title = 2;
// +optional
AlertState state = 3;
AlertStatus status = 3;
// +optional
string description = 4;
// +optional
Expand All @@ -125,20 +125,21 @@ message AlertRequest {
}

message AlertSearchQuery {
enum AlertState {
enum AlertStatus {
ALERT_STATE_NONE = 0;
TRIGGERED = 1;
ACKNOWLEDGED = 2;
RESOLVED = 3;
ERROR = 4;
IGNORED = 4;
ERROR = 5;
}

// +optional
spaceone.api.core.v2.Query query = 1;
// +optional
string alert_id = 2;
// +optional
AlertState state = 3;
AlertStatus status = 3;
// +optional
AlertUrgency urgency = 4;
// +optional
Expand Down Expand Up @@ -173,7 +174,7 @@ message AlertStatQuery {
}

message AlertInfo {
enum AlertState {
enum AlertStatus {
ALERT_STATE_NONE = 0;
TRIGGERED = 1;
ACKNOWLEDGED = 2;
Expand All @@ -190,7 +191,7 @@ message AlertInfo {

string alert_id = 1;
string title = 2;
AlertState state = 3;
AlertStatus status = 3;
string description = 4;
AlertUrgency urgency = 5;
spaceone.api.alert_manager.v1.EventSeverity severity = 6;
Expand Down

0 comments on commit ac14509

Please sign in to comment.