From 4fdf63c883aad4e2957fb4e6827d57a4242b2c90 Mon Sep 17 00:00:00 2001 From: Jongmin Kim Date: Fri, 13 Oct 2023 18:34:17 +0900 Subject: [PATCH] feat: add order field to Provider APIs (cherry picked from commit 96485c480c4cb2c65aedd89d8add0d810e34a546) --- proto/spaceone/api/identity/v1/provider.proto | 34 +++++++++++-------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/proto/spaceone/api/identity/v1/provider.proto b/proto/spaceone/api/identity/v1/provider.proto index e87ecdbc..5e0c2059 100644 --- a/proto/spaceone/api/identity/v1/provider.proto +++ b/proto/spaceone/api/identity/v1/provider.proto @@ -52,14 +52,15 @@ message CreateProviderRequest { string provider = 1; string name = 2; // +optional - google.protobuf.Struct template = 3; + int32 order = 3; + google.protobuf.Struct template = 4; // +optional - google.protobuf.Struct metadata = 4; + google.protobuf.Struct metadata = 5; // +optional - google.protobuf.Struct capability = 5; + google.protobuf.Struct capability = 6; // +optional - google.protobuf.Struct tags = 6; - string domain_id = 7; + google.protobuf.Struct tags = 7; + string domain_id = 11; } message UpdateProviderRequest { @@ -67,14 +68,16 @@ message UpdateProviderRequest { // +optional string name = 2; // +optional - google.protobuf.Struct template = 3; + int32 order = 3; // +optional - google.protobuf.Struct metadata = 4; + google.protobuf.Struct template = 4; // +optional - google.protobuf.Struct capability = 5; + google.protobuf.Struct metadata = 5; // +optional - google.protobuf.Struct tags = 6; - string domain_id = 7; + google.protobuf.Struct capability = 6; + // +optional + google.protobuf.Struct tags = 7; + string domain_id = 11; } message ProviderRequest { @@ -102,11 +105,12 @@ message ProviderQuery { message ProviderInfo { string provider = 1; string name = 2; - google.protobuf.Struct template = 3; - google.protobuf.Struct metadata = 4; - google.protobuf.Struct capability = 5; - google.protobuf.Struct tags = 6; - string domain_id = 7; + int32 order = 3; + google.protobuf.Struct template = 4; + google.protobuf.Struct metadata = 5; + google.protobuf.Struct capability = 6; + google.protobuf.Struct tags = 7; + string domain_id = 8; string created_at = 11; }