Skip to content

Commit b83f52a

Browse files
[CI] api has been built
1 parent dd9b32f commit b83f52a

File tree

9 files changed

+371
-950
lines changed

9 files changed

+371
-950
lines changed

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

+308-647
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/Notification_protocol.json

+6-220
Original file line numberDiff line numberDiff line change
@@ -32,52 +32,6 @@
3232
}
3333
]
3434
},
35-
{
36-
"name": "NotificationProtocolUpgradeMode",
37-
"longName": "NotificationProtocolRequestPluginInfo.NotificationProtocolUpgradeMode",
38-
"fullName": "spaceone.api.alert_manager.v1.NotificationProtocolRequestPluginInfo.NotificationProtocolUpgradeMode",
39-
"description": "",
40-
"values": [
41-
{
42-
"name": "UPGRADE_MODE_NONE",
43-
"number": "0",
44-
"description": ""
45-
},
46-
{
47-
"name": "AUTO",
48-
"number": "1",
49-
"description": ""
50-
},
51-
{
52-
"name": "MANUAL",
53-
"number": "2",
54-
"description": ""
55-
}
56-
]
57-
},
58-
{
59-
"name": "NotificationProtocolUpgradeMode",
60-
"longName": "NotificationProtocolResponsePluginInfo.NotificationProtocolUpgradeMode",
61-
"fullName": "spaceone.api.alert_manager.v1.NotificationProtocolResponsePluginInfo.NotificationProtocolUpgradeMode",
62-
"description": "",
63-
"values": [
64-
{
65-
"name": "UPGRADE_MODE_NONE",
66-
"number": "0",
67-
"description": ""
68-
},
69-
{
70-
"name": "AUTO",
71-
"number": "1",
72-
"description": ""
73-
},
74-
{
75-
"name": "MANUAL",
76-
"number": "2",
77-
"description": ""
78-
}
79-
]
80-
},
8135
{
8236
"name": "NotificationProtocolState",
8337
"longName": "NotificationProtocolSearchQuery.NotificationProtocolState",
@@ -153,9 +107,9 @@
153107
"name": "plugin_info",
154108
"description": "",
155109
"label": "",
156-
"type": "NotificationProtocolRequestPluginInfo",
157-
"longType": "NotificationProtocolRequestPluginInfo",
158-
"fullType": "spaceone.api.alert_manager.v1.NotificationProtocolRequestPluginInfo",
110+
"type": "PluginRequest",
111+
"longType": "spaceone.api.core.v2.PluginRequest",
112+
"fullType": "spaceone.api.core.v2.PluginRequest",
159113
"ismap": false,
160114
"isoneof": false,
161115
"oneofdecl": "",
@@ -225,9 +179,9 @@
225179
"name": "plugin_info",
226180
"description": "",
227181
"label": "",
228-
"type": "NotificationProtocolResponsePluginInfo",
229-
"longType": "NotificationProtocolResponsePluginInfo",
230-
"fullType": "spaceone.api.alert_manager.v1.NotificationProtocolResponsePluginInfo",
182+
"type": "PluginInfo",
183+
"longType": "spaceone.api.core.v2.PluginInfo",
184+
"fullType": "spaceone.api.core.v2.PluginInfo",
231185
"ismap": false,
232186
"isoneof": false,
233187
"oneofdecl": "",
@@ -295,174 +249,6 @@
295249
}
296250
]
297251
},
298-
{
299-
"name": "NotificationProtocolRequestPluginInfo",
300-
"longName": "NotificationProtocolRequestPluginInfo",
301-
"fullName": "spaceone.api.alert_manager.v1.NotificationProtocolRequestPluginInfo",
302-
"description": "",
303-
"hasExtensions": false,
304-
"hasFields": true,
305-
"hasOneofs": false,
306-
"extensions": [],
307-
"fields": [
308-
{
309-
"name": "plugin_id",
310-
"description": "",
311-
"label": "",
312-
"type": "string",
313-
"longType": "string",
314-
"fullType": "string",
315-
"ismap": false,
316-
"isoneof": false,
317-
"oneofdecl": "",
318-
"defaultValue": ""
319-
},
320-
{
321-
"name": "version",
322-
"description": "",
323-
"label": "",
324-
"type": "string",
325-
"longType": "string",
326-
"fullType": "string",
327-
"ismap": false,
328-
"isoneof": false,
329-
"oneofdecl": "",
330-
"defaultValue": ""
331-
},
332-
{
333-
"name": "options",
334-
"description": "",
335-
"label": "",
336-
"type": "Struct",
337-
"longType": "google.protobuf.Struct",
338-
"fullType": "google.protobuf.Struct",
339-
"ismap": false,
340-
"isoneof": false,
341-
"oneofdecl": "",
342-
"defaultValue": ""
343-
},
344-
{
345-
"name": "secret_data",
346-
"description": "+optional",
347-
"label": "",
348-
"type": "Struct",
349-
"longType": "google.protobuf.Struct",
350-
"fullType": "google.protobuf.Struct",
351-
"ismap": false,
352-
"isoneof": false,
353-
"oneofdecl": "",
354-
"defaultValue": ""
355-
},
356-
{
357-
"name": "schema",
358-
"description": "+optional",
359-
"label": "",
360-
"type": "Struct",
361-
"longType": "google.protobuf.Struct",
362-
"fullType": "google.protobuf.Struct",
363-
"ismap": false,
364-
"isoneof": false,
365-
"oneofdecl": "",
366-
"defaultValue": ""
367-
},
368-
{
369-
"name": "upgrade_mode",
370-
"description": "",
371-
"label": "",
372-
"type": "NotificationProtocolUpgradeMode",
373-
"longType": "NotificationProtocolRequestPluginInfo.NotificationProtocolUpgradeMode",
374-
"fullType": "spaceone.api.alert_manager.v1.NotificationProtocolRequestPluginInfo.NotificationProtocolUpgradeMode",
375-
"ismap": false,
376-
"isoneof": false,
377-
"oneofdecl": "",
378-
"defaultValue": ""
379-
}
380-
]
381-
},
382-
{
383-
"name": "NotificationProtocolResponsePluginInfo",
384-
"longName": "NotificationProtocolResponsePluginInfo",
385-
"fullName": "spaceone.api.alert_manager.v1.NotificationProtocolResponsePluginInfo",
386-
"description": "",
387-
"hasExtensions": false,
388-
"hasFields": true,
389-
"hasOneofs": false,
390-
"extensions": [],
391-
"fields": [
392-
{
393-
"name": "plugin_id",
394-
"description": "",
395-
"label": "",
396-
"type": "string",
397-
"longType": "string",
398-
"fullType": "string",
399-
"ismap": false,
400-
"isoneof": false,
401-
"oneofdecl": "",
402-
"defaultValue": ""
403-
},
404-
{
405-
"name": "version",
406-
"description": "",
407-
"label": "",
408-
"type": "string",
409-
"longType": "string",
410-
"fullType": "string",
411-
"ismap": false,
412-
"isoneof": false,
413-
"oneofdecl": "",
414-
"defaultValue": ""
415-
},
416-
{
417-
"name": "options",
418-
"description": "",
419-
"label": "",
420-
"type": "Struct",
421-
"longType": "google.protobuf.Struct",
422-
"fullType": "google.protobuf.Struct",
423-
"ismap": false,
424-
"isoneof": false,
425-
"oneofdecl": "",
426-
"defaultValue": ""
427-
},
428-
{
429-
"name": "metadata",
430-
"description": "+optional",
431-
"label": "",
432-
"type": "Struct",
433-
"longType": "google.protobuf.Struct",
434-
"fullType": "google.protobuf.Struct",
435-
"ismap": false,
436-
"isoneof": false,
437-
"oneofdecl": "",
438-
"defaultValue": ""
439-
},
440-
{
441-
"name": "upgrade_mode",
442-
"description": "",
443-
"label": "",
444-
"type": "NotificationProtocolUpgradeMode",
445-
"longType": "NotificationProtocolResponsePluginInfo.NotificationProtocolUpgradeMode",
446-
"fullType": "spaceone.api.alert_manager.v1.NotificationProtocolResponsePluginInfo.NotificationProtocolUpgradeMode",
447-
"ismap": false,
448-
"isoneof": false,
449-
"oneofdecl": "",
450-
"defaultValue": ""
451-
},
452-
{
453-
"name": "secret_id",
454-
"description": "+optional",
455-
"label": "",
456-
"type": "string",
457-
"longType": "string",
458-
"fullType": "string",
459-
"ismap": false,
460-
"isoneof": false,
461-
"oneofdecl": "",
462-
"defaultValue": ""
463-
}
464-
]
465-
},
466252
{
467253
"name": "NotificationProtocolSearchQuery",
468254
"longName": "NotificationProtocolSearchQuery",

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

+4-16
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,11 @@
183183
"operationId" : "",
184184
"description": "### Description \n",
185185
"requestBody": {
186-
"description": "\n| Key | Description | Type | Required|\n|-------------------|---------------------------------------------------------------|-----------|-------|\n |name||string|True|\n |plugin_info||NotificationProtocolRequestPluginInfo|True|\n |tags||Struct||\n<br>",
186+
"description": "\n| Key | Description | Type | Required|\n|-------------------|---------------------------------------------------------------|-----------|-------|\n |name||string|True|\n |plugin_info||PluginRequest|True|\n |tags||Struct||\n<br>",
187187
"content": {
188188
"application/json": {
189189
"schema": {
190-
"properties": {"name" : {"type": "string","title": "NAME" },"plugin_info" : {"$ref": "#/components/schemas/NotificationProtocolRequestPluginInfo","title": "PLUGIN_INFO" },"tags" : {"type": "object","title": "TAGS" } }
190+
"properties": {"name" : {"type": "string","title": "NAME" },"plugin_info" : {"type": "PluginRequest","title": "PLUGIN_INFO" },"tags" : {"type": "object","title": "TAGS" } }
191191
},
192192
"examples":{"Schema":{}
193193
}
@@ -2499,13 +2499,13 @@
24992499
"title": "Unwind"
25002500
}
25012501
, "NotificationProtocolCreateRequest": {
2502-
"properties" : {"name" : {"type": "string","title": "NAME"},"plugin_info" : {"$ref": "#/components/schemas/NotificationProtocolRequestPluginInfo","title": "PLUGIN_INFO"},"tags" : {"type": "object","title": "TAGS"}},
2502+
"properties" : {"name" : {"type": "string","title": "NAME"},"plugin_info" : {"type": "PluginRequest","title": "PLUGIN_INFO"},"tags" : {"type": "object","title": "TAGS"}},
25032503
"type": "object",
25042504
"required": ["name","plugin_info"],
25052505
"title": "NotificationProtocolCreateRequest"
25062506
}
25072507
, "NotificationProtocolInfo": {
2508-
"properties" : {"protocol_id" : {"type": "string","title": "PROTOCOL_ID"},"name" : {"type": "string","title": "NAME"},"state" : {"type": "string","title": "STATE"},"plugin_info" : {"$ref": "#/components/schemas/NotificationProtocolResponsePluginInfo","title": "PLUGIN_INFO"},"tags" : {"type": "object","title": "TAGS"},"domain_id" : {"type": "string","title": "DOMAIN_ID"},"created_at" : {"type": "string","title": "CREATED_AT"}},
2508+
"properties" : {"protocol_id" : {"type": "string","title": "PROTOCOL_ID"},"name" : {"type": "string","title": "NAME"},"state" : {"type": "string","title": "STATE"},"plugin_info" : {"type": "PluginInfo","title": "PLUGIN_INFO"},"tags" : {"type": "object","title": "TAGS"},"domain_id" : {"type": "string","title": "DOMAIN_ID"},"created_at" : {"type": "string","title": "CREATED_AT"}},
25092509
"type": "object",
25102510
"required": ["protocol_id","name","state","plugin_info","tags","domain_id","created_at"],
25112511
"title": "NotificationProtocolInfo"
@@ -2516,18 +2516,6 @@
25162516
"required": ["protocol_id"],
25172517
"title": "NotificationProtocolRequest"
25182518
}
2519-
, "NotificationProtocolRequestPluginInfo": {
2520-
"properties" : {"plugin_id" : {"type": "string","title": "PLUGIN_ID"},"version" : {"type": "string","title": "VERSION"},"options" : {"type": "object","title": "OPTIONS"},"secret_data" : {"type": "object","title": "SECRET_DATA"},"schema" : {"type": "object","title": "SCHEMA"},"upgrade_mode" : {"type": "string","title": "UPGRADE_MODE"}},
2521-
"type": "object",
2522-
"required": ["plugin_id","version","options","upgrade_mode"],
2523-
"title": "NotificationProtocolRequestPluginInfo"
2524-
}
2525-
, "NotificationProtocolResponsePluginInfo": {
2526-
"properties" : {"plugin_id" : {"type": "string","title": "PLUGIN_ID"},"version" : {"type": "string","title": "VERSION"},"options" : {"type": "object","title": "OPTIONS"},"metadata" : {"type": "object","title": "METADATA"},"upgrade_mode" : {"type": "string","title": "UPGRADE_MODE"},"secret_id" : {"type": "string","title": "SECRET_ID"}},
2527-
"type": "object",
2528-
"required": ["plugin_id","version","options","upgrade_mode"],
2529-
"title": "NotificationProtocolResponsePluginInfo"
2530-
}
25312519
, "NotificationProtocolSearchQuery": {
25322520
"properties" : {"query" : {"$ref": "#/components/schemas/Query","title": "QUERY"},"protocol_id" : {"type": "string","title": "PROTOCOL_ID"},"name" : {"type": "string","title": "NAME"},"state" : {"type": "string","title": "STATE"}},
25332521
"type": "object",

0 commit comments

Comments
 (0)