Skip to content

Commit 72b9c37

Browse files
authored
Merge pull request #524 from whdalsrnt/master
feat: change field name
2 parents 3a63938 + ac14509 commit 72b9c37

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

proto/spaceone/api/alert_manager/v1/alert.proto

+9-8
Original file line numberDiff line numberDiff line change
@@ -101,19 +101,19 @@ message AlertCreateRequest {
101101
}
102102

103103
message AlertUpdateRequest {
104-
enum AlertState {
104+
enum AlertStatus {
105105
ALERT_STATE_NONE = 0;
106106
TRIGGERED = 1;
107107
ACKNOWLEDGED = 2;
108108
RESOLVED = 3;
109-
ERROR = 4;
109+
IGNORED = 4;
110110
}
111111

112112
string alert_id = 1;
113113
// +optional
114114
string title = 2;
115115
// +optional
116-
AlertState state = 3;
116+
AlertStatus status = 3;
117117
// +optional
118118
string description = 4;
119119
// +optional
@@ -125,20 +125,21 @@ message AlertRequest {
125125
}
126126

127127
message AlertSearchQuery {
128-
enum AlertState {
128+
enum AlertStatus {
129129
ALERT_STATE_NONE = 0;
130130
TRIGGERED = 1;
131131
ACKNOWLEDGED = 2;
132132
RESOLVED = 3;
133-
ERROR = 4;
133+
IGNORED = 4;
134+
ERROR = 5;
134135
}
135136

136137
// +optional
137138
spaceone.api.core.v2.Query query = 1;
138139
// +optional
139140
string alert_id = 2;
140141
// +optional
141-
AlertState state = 3;
142+
AlertStatus status = 3;
142143
// +optional
143144
AlertUrgency urgency = 4;
144145
// +optional
@@ -173,7 +174,7 @@ message AlertStatQuery {
173174
}
174175

175176
message AlertInfo {
176-
enum AlertState {
177+
enum AlertStatus {
177178
ALERT_STATE_NONE = 0;
178179
TRIGGERED = 1;
179180
ACKNOWLEDGED = 2;
@@ -190,7 +191,7 @@ message AlertInfo {
190191

191192
string alert_id = 1;
192193
string title = 2;
193-
AlertState state = 3;
194+
AlertStatus status = 3;
194195
string description = 4;
195196
AlertUrgency urgency = 5;
196197
spaceone.api.alert_manager.v1.EventSeverity severity = 6;

0 commit comments

Comments
 (0)