Skip to content

Commit 0933b2c

Browse files
committed
feat: fix type and remove 'capability' field at collector response
Signed-off-by: ImMin5 <[email protected]>
1 parent 67fd34a commit 0933b2c

File tree

1 file changed

+5
-21
lines changed

1 file changed

+5
-21
lines changed

proto/spaceone/api/inventory_v2/v1/collector.proto

+5-21
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ service Collector {
1717
// Creates a new Collector with information of the plugin to use. Information of the plugin includes `version`, `provider`, and `upgrade_mode`.
1818
rpc create (CreateCollectorRequest) returns (CollectorInfo) {
1919
option (google.api.http) = {
20-
post: "/inventory-v2/v2/collector/create"
20+
post: "/inventory-v2/v1/collector/create"
2121
body: "*"
2222
};
2323
}
@@ -302,11 +302,6 @@ message VerifyPluginRequest {
302302
// "created_at": "2022-06-17T06:33:27.195Z",
303303
// "domain_id": "domain-58010aa2e451",
304304
// "provider": "aws",
305-
// "capability": {
306-
// "supported_schema": [
307-
// "aws_access_key"
308-
// ]
309-
// },
310305
// "schedule": {
311306
// "state": "ENABLED",
312307
// "hours": [0, 6, 12, 18]
@@ -335,11 +330,10 @@ message CollectorInfo {
335330
string collector_id = 1;
336331
string name = 2;
337332
string provider = 3;
338-
google.protobuf.Struct capability = 4;
339-
SecretFilter secret_filter = 5;
340-
PluginInfo plugin_info = 6;
341-
Scheduled schedule = 7;
342-
google.protobuf.Struct tags = 8;
333+
SecretFilter secret_filter = 4;
334+
PluginInfo plugin_info = 5;
335+
Scheduled schedule = 6;
336+
google.protobuf.Struct tags = 7;
343337

344338
ResourceGroup resource_group = 20;
345339
string domain_id = 21;
@@ -381,11 +375,6 @@ message CollectorInfo {
381375
// "created_at": "2022-06-17T06:33:27.195Z",
382376
// "domain_id": "domain-58010aa2e451",
383377
// "provider": "aws",
384-
// "capability": {
385-
// "supported_schema": [
386-
// "aws_access_key"
387-
// ]
388-
// },
389378
// "schedule": {
390379
// "state": "ENABLED",
391380
// "hours": [0, 6, 12, 18]
@@ -427,11 +416,6 @@ message CollectorInfo {
427416
// "created_at": "2022-06-17T06:33:27.195Z",
428417
// "domain_id": "domain-58010aa2e451",
429418
// "provider": "aws",
430-
// "capability": {
431-
// "supported_schema": [
432-
// "aws_access_key"
433-
// ]
434-
// },
435419
// "schedule": {
436420
// "state": "ENABLED",
437421
// "hours": [0, 6, 12, 18]

0 commit comments

Comments
 (0)