Skip to content

Commit 16d0e4f

Browse files
[CI] api has been built
1 parent 72b9c37 commit 16d0e4f

File tree

9 files changed

+454
-445
lines changed

9 files changed

+454
-445
lines changed

dist/go/spaceone/api/alert-manager/v1/alert.pb.go

+353-349
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/json/cloudforet/api/alert_manager/v1/Alert.json

+28-23
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
]
4949
},
5050
{
51-
"name": "AlertState",
52-
"longName": "AlertInfo.AlertState",
53-
"fullName": "spaceone.api.alert_manager.v1.AlertInfo.AlertState",
51+
"name": "AlertStatus",
52+
"longName": "AlertInfo.AlertStatus",
53+
"fullName": "spaceone.api.alert_manager.v1.AlertInfo.AlertStatus",
5454
"description": "",
5555
"values": [
5656
{
@@ -114,9 +114,9 @@
114114
]
115115
},
116116
{
117-
"name": "AlertState",
118-
"longName": "AlertSearchQuery.AlertState",
119-
"fullName": "spaceone.api.alert_manager.v1.AlertSearchQuery.AlertState",
117+
"name": "AlertStatus",
118+
"longName": "AlertSearchQuery.AlertStatus",
119+
"fullName": "spaceone.api.alert_manager.v1.AlertSearchQuery.AlertStatus",
120120
"description": "",
121121
"values": [
122122
{
@@ -140,16 +140,21 @@
140140
"description": ""
141141
},
142142
{
143-
"name": "ERROR",
143+
"name": "IGNORED",
144144
"number": "4",
145145
"description": ""
146+
},
147+
{
148+
"name": "ERROR",
149+
"number": "5",
150+
"description": ""
146151
}
147152
]
148153
},
149154
{
150-
"name": "AlertState",
151-
"longName": "AlertUpdateRequest.AlertState",
152-
"fullName": "spaceone.api.alert_manager.v1.AlertUpdateRequest.AlertState",
155+
"name": "AlertStatus",
156+
"longName": "AlertUpdateRequest.AlertStatus",
157+
"fullName": "spaceone.api.alert_manager.v1.AlertUpdateRequest.AlertStatus",
153158
"description": "",
154159
"values": [
155160
{
@@ -173,7 +178,7 @@
173178
"description": ""
174179
},
175180
{
176-
"name": "ERROR",
181+
"name": "IGNORED",
177182
"number": "4",
178183
"description": ""
179184
}
@@ -516,12 +521,12 @@
516521
"defaultValue": ""
517522
},
518523
{
519-
"name": "state",
524+
"name": "status",
520525
"description": "",
521526
"label": "",
522-
"type": "AlertState",
523-
"longType": "AlertInfo.AlertState",
524-
"fullType": "spaceone.api.alert_manager.v1.AlertInfo.AlertState",
527+
"type": "AlertStatus",
528+
"longType": "AlertInfo.AlertStatus",
529+
"fullType": "spaceone.api.alert_manager.v1.AlertInfo.AlertStatus",
525530
"ismap": false,
526531
"isoneof": false,
527532
"oneofdecl": "",
@@ -888,12 +893,12 @@
888893
"defaultValue": ""
889894
},
890895
{
891-
"name": "state",
896+
"name": "status",
892897
"description": "+optional",
893898
"label": "",
894-
"type": "AlertState",
895-
"longType": "AlertSearchQuery.AlertState",
896-
"fullType": "spaceone.api.alert_manager.v1.AlertSearchQuery.AlertState",
899+
"type": "AlertStatus",
900+
"longType": "AlertSearchQuery.AlertStatus",
901+
"fullType": "spaceone.api.alert_manager.v1.AlertSearchQuery.AlertStatus",
897902
"ismap": false,
898903
"isoneof": false,
899904
"oneofdecl": "",
@@ -1092,12 +1097,12 @@
10921097
"defaultValue": ""
10931098
},
10941099
{
1095-
"name": "state",
1100+
"name": "status",
10961101
"description": "+optional",
10971102
"label": "",
1098-
"type": "AlertState",
1099-
"longType": "AlertUpdateRequest.AlertState",
1100-
"fullType": "spaceone.api.alert_manager.v1.AlertUpdateRequest.AlertState",
1103+
"type": "AlertStatus",
1104+
"longType": "AlertUpdateRequest.AlertStatus",
1105+
"fullType": "spaceone.api.alert_manager.v1.AlertUpdateRequest.AlertStatus",
11011106
"ismap": false,
11021107
"isoneof": false,
11031108
"oneofdecl": "",

dist/openapi/cloudforet/api/alert_manager/v1/openapi.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -919,11 +919,11 @@
919919
"operationId" : "",
920920
"description": "### Description \n",
921921
"requestBody": {
922-
"description": "\n| Key | Description | Type | Required|\n|-------------------|---------------------------------------------------------------|-----------|-------|\n |alert_id||string|True|\n |title||string||\n |state|TRIGGERED, ACKNOWLEDGED, RESOLVED, ERROR |string||\n |description||string||\n |urgency|HIGH, LOW |string||\n<br>",
922+
"description": "\n| Key | Description | Type | Required|\n|-------------------|---------------------------------------------------------------|-----------|-------|\n |alert_id||string|True|\n |title||string||\n |status|TRIGGERED, ACKNOWLEDGED, RESOLVED, IGNORED |string||\n |description||string||\n |urgency|HIGH, LOW |string||\n<br>",
923923
"content": {
924924
"application/json": {
925925
"schema": {
926-
"properties": {"alert_id" : {"type": "string","title": "ALERT_ID" },"title" : {"type": "string","title": "TITLE" },"state" : {"type": "string","title": "STATE" },"description" : {"type": "string","title": "DESCRIPTION" },"urgency" : {"type": "string","title": "URGENCY" } }
926+
"properties": {"alert_id" : {"type": "string","title": "ALERT_ID" },"title" : {"type": "string","title": "TITLE" },"status" : {"type": "string","title": "STATUS" },"description" : {"type": "string","title": "DESCRIPTION" },"urgency" : {"type": "string","title": "URGENCY" } }
927927
},
928928
"examples":{"Schema":{}
929929
}
@@ -1000,11 +1000,11 @@
10001000
"operationId" : "",
10011001
"description": "### Description \n",
10021002
"requestBody": {
1003-
"description": "\n| Key | Description | Type | Required|\n|-------------------|---------------------------------------------------------------|-----------|-------|\n |query||Query||\n |alert_id||string||\n |state|TRIGGERED, ACKNOWLEDGED, RESOLVED, ERROR |string||\n |urgency|HIGH, LOW |string||\n |severity||EventSeverity||\n |resource||string||\n |provider||string||\n |account||string||\n |triggered_type||string||\n |triggered_by||string||\n |workspace_id||string||\n |service_id||string||\n |webhook_id||string||\n |escalation_policy_id||string||\n<br>",
1003+
"description": "\n| Key | Description | Type | Required|\n|-------------------|---------------------------------------------------------------|-----------|-------|\n |query||Query||\n |alert_id||string||\n |status|TRIGGERED, ACKNOWLEDGED, RESOLVED, IGNORED |string||\n |urgency|HIGH, LOW |string||\n |severity||EventSeverity||\n |resource||string||\n |provider||string||\n |account||string||\n |triggered_type||string||\n |triggered_by||string||\n |workspace_id||string||\n |service_id||string||\n |webhook_id||string||\n |escalation_policy_id||string||\n<br>",
10041004
"content": {
10051005
"application/json": {
10061006
"schema": {
1007-
"properties": {"query" : {"$ref": "#/components/schemas/Query","title": "QUERY" },"alert_id" : {"type": "string","title": "ALERT_ID" },"state" : {"type": "string","title": "STATE" },"urgency" : {"type": "string","title": "URGENCY" },"severity" : {"type": "EventSeverity","title": "SEVERITY" },"resource" : {"type": "string","title": "RESOURCE" },"provider" : {"type": "string","title": "PROVIDER" },"account" : {"type": "string","title": "ACCOUNT" },"triggered_type" : {"type": "string","title": "TRIGGERED_TYPE" },"triggered_by" : {"type": "string","title": "TRIGGERED_BY" },"workspace_id" : {"type": "string","title": "WORKSPACE_ID" },"service_id" : {"type": "string","title": "SERVICE_ID" },"webhook_id" : {"type": "string","title": "WEBHOOK_ID" },"escalation_policy_id" : {"type": "string","title": "ESCALATION_POLICY_ID" } }
1007+
"properties": {"query" : {"$ref": "#/components/schemas/Query","title": "QUERY" },"alert_id" : {"type": "string","title": "ALERT_ID" },"status" : {"type": "string","title": "STATUS" },"urgency" : {"type": "string","title": "URGENCY" },"severity" : {"type": "EventSeverity","title": "SEVERITY" },"resource" : {"type": "string","title": "RESOURCE" },"provider" : {"type": "string","title": "PROVIDER" },"account" : {"type": "string","title": "ACCOUNT" },"triggered_type" : {"type": "string","title": "TRIGGERED_TYPE" },"triggered_by" : {"type": "string","title": "TRIGGERED_BY" },"workspace_id" : {"type": "string","title": "WORKSPACE_ID" },"service_id" : {"type": "string","title": "SERVICE_ID" },"webhook_id" : {"type": "string","title": "WEBHOOK_ID" },"escalation_policy_id" : {"type": "string","title": "ESCALATION_POLICY_ID" } }
10081008
},
10091009
"examples":{"Schema":{}
10101010
}
@@ -2695,11 +2695,11 @@
26952695
"title": "AlertHistoryInfo"
26962696
}
26972697
, "AlertInfo": {
2698-
"properties" : {"alert_id" : {"type": "string","title": "ALERT_ID"},"title" : {"type": "string","title": "TITLE"},"state" : {"type": "string","title": "STATE"},"description" : {"type": "string","title": "DESCRIPTION"},"urgency" : {"type": "string","title": "URGENCY"},"severity" : {"type": "EventSeverity","title": "SEVERITY"},"rule" : {"type": "string","title": "RULE"},"image_url" : {"type": "string","title": "IMAGE_URL"},"resources" : {"items": {"$ref": "#/components/schemas/AlertResource"},
2698+
"properties" : {"alert_id" : {"type": "string","title": "ALERT_ID"},"title" : {"type": "string","title": "TITLE"},"status" : {"type": "string","title": "STATUS"},"description" : {"type": "string","title": "DESCRIPTION"},"urgency" : {"type": "string","title": "URGENCY"},"severity" : {"type": "EventSeverity","title": "SEVERITY"},"rule" : {"type": "string","title": "RULE"},"image_url" : {"type": "string","title": "IMAGE_URL"},"resources" : {"items": {"$ref": "#/components/schemas/AlertResource"},
26992699
"type": "array","$ref": "#/components/schemas/AlertResource","title": "RESOURCES"},"provider" : {"type": "string","title": "PROVIDER"},"account" : {"type": "string","title": "ACCOUNT"},"triggered_type" : {"type": "string","title": "TRIGGERED_TYPE"},"triggered_by" : {"type": "string","title": "TRIGGERED_BY"},"additional_info" : {"type": "object","title": "ADDITIONAL_INFO"},"labels" : {"items": {"type": "string"},
27002700
"type": "array","title": "LABELS"},"domain_id" : {"type": "string","title": "DOMAIN_ID"},"workspace_id" : {"type": "string","title": "WORKSPACE_ID"},"service_id" : {"type": "string","title": "SERVICE_ID"},"webhook_id" : {"type": "string","title": "WEBHOOK_ID"},"escalation_policy_id" : {"type": "string","title": "ESCALATION_POLICY_ID"},"created_at" : {"type": "string","title": "CREATED_AT"},"updated_at" : {"type": "string","title": "UPDATED_AT"},"acknowledged_at" : {"type": "string","title": "ACKNOWLEDGED_AT"},"resolved_at" : {"type": "string","title": "RESOLVED_AT"}},
27012701
"type": "object",
2702-
"required": ["alert_id","title","state","description","urgency","severity","rule","image_url","resources","provider","account","triggered_type","triggered_by","additional_info","labels","domain_id","workspace_id","service_id","webhook_id","escalation_policy_id","created_at","updated_at","acknowledged_at","resolved_at"],
2702+
"required": ["alert_id","title","status","description","urgency","severity","rule","image_url","resources","provider","account","triggered_type","triggered_by","additional_info","labels","domain_id","workspace_id","service_id","webhook_id","escalation_policy_id","created_at","updated_at","acknowledged_at","resolved_at"],
27032703
"title": "AlertInfo"
27042704
}
27052705
, "AlertRequest": {
@@ -2715,7 +2715,7 @@
27152715
"title": "AlertResource"
27162716
}
27172717
, "AlertSearchQuery": {
2718-
"properties" : {"query" : {"$ref": "#/components/schemas/Query","title": "QUERY"},"alert_id" : {"type": "string","title": "ALERT_ID"},"state" : {"type": "string","title": "STATE"},"urgency" : {"type": "string","title": "URGENCY"},"severity" : {"type": "EventSeverity","title": "SEVERITY"},"resource" : {"type": "string","title": "RESOURCE"},"provider" : {"type": "string","title": "PROVIDER"},"account" : {"type": "string","title": "ACCOUNT"},"triggered_type" : {"type": "string","title": "TRIGGERED_TYPE"},"triggered_by" : {"type": "string","title": "TRIGGERED_BY"},"workspace_id" : {"type": "string","title": "WORKSPACE_ID"},"service_id" : {"type": "string","title": "SERVICE_ID"},"webhook_id" : {"type": "string","title": "WEBHOOK_ID"},"escalation_policy_id" : {"type": "string","title": "ESCALATION_POLICY_ID"}},
2718+
"properties" : {"query" : {"$ref": "#/components/schemas/Query","title": "QUERY"},"alert_id" : {"type": "string","title": "ALERT_ID"},"status" : {"type": "string","title": "STATUS"},"urgency" : {"type": "string","title": "URGENCY"},"severity" : {"type": "EventSeverity","title": "SEVERITY"},"resource" : {"type": "string","title": "RESOURCE"},"provider" : {"type": "string","title": "PROVIDER"},"account" : {"type": "string","title": "ACCOUNT"},"triggered_type" : {"type": "string","title": "TRIGGERED_TYPE"},"triggered_by" : {"type": "string","title": "TRIGGERED_BY"},"workspace_id" : {"type": "string","title": "WORKSPACE_ID"},"service_id" : {"type": "string","title": "SERVICE_ID"},"webhook_id" : {"type": "string","title": "WEBHOOK_ID"},"escalation_policy_id" : {"type": "string","title": "ESCALATION_POLICY_ID"}},
27192719
"type": "object",
27202720
"required": [],
27212721
"title": "AlertSearchQuery"
@@ -2727,7 +2727,7 @@
27272727
"title": "AlertStatQuery"
27282728
}
27292729
, "AlertUpdateRequest": {
2730-
"properties" : {"alert_id" : {"type": "string","title": "ALERT_ID"},"title" : {"type": "string","title": "TITLE"},"state" : {"type": "string","title": "STATE"},"description" : {"type": "string","title": "DESCRIPTION"},"urgency" : {"type": "string","title": "URGENCY"}},
2730+
"properties" : {"alert_id" : {"type": "string","title": "ALERT_ID"},"title" : {"type": "string","title": "TITLE"},"status" : {"type": "string","title": "STATUS"},"description" : {"type": "string","title": "DESCRIPTION"},"urgency" : {"type": "string","title": "URGENCY"}},
27312731
"type": "object",
27322732
"required": ["alert_id"],
27332733
"title": "AlertUpdateRequest"

0 commit comments

Comments
 (0)