From 3dce4dc800e040296dd37d1d7f626ee5806c5d6b Mon Sep 17 00:00:00 2001 From: Hugo Labrador Date: Thu, 8 Aug 2019 17:59:31 +0200 Subject: [PATCH] fix user share provider to use resource info instead of resource id (#23) --- cs3/usershareprovider/v0alpha/usershareprovider.proto | 4 ++-- docs/index.html | 6 +++--- proto.lock | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/cs3/usershareprovider/v0alpha/usershareprovider.proto b/cs3/usershareprovider/v0alpha/usershareprovider.proto index 5c4949d..cbc01f2 100644 --- a/cs3/usershareprovider/v0alpha/usershareprovider.proto +++ b/cs3/usershareprovider/v0alpha/usershareprovider.proto @@ -83,8 +83,8 @@ message CreateShareRequest { // Opaque information. cs3.types.Opaque opaque = 1; // REQUIRED. - // The unique identifier for the shared storage resource. - cs3.storageproviderv0alpha.ResourceId resource_id = 2; + // The information of the resource to be shared. + cs3.storageproviderv0alpha.ResourceInfo resource_info = 2; // REQUIRED. // The share grant for the share. ShareGrant grant = 3; diff --git a/docs/index.html b/docs/index.html index b126e3d..0390a42 100644 --- a/docs/index.html +++ b/docs/index.html @@ -7516,11 +7516,11 @@

CreateShareRequest

- resource_id - cs3.storageproviderv0alpha.ResourceId + resource_info + cs3.storageproviderv0alpha.ResourceInfo

REQUIRED. -The unique identifier for the shared storage resource.

+The information of the resource to be shared.

diff --git a/proto.lock b/proto.lock index 0a7b428..8680cdc 100644 --- a/proto.lock +++ b/proto.lock @@ -197,10 +197,10 @@ "path": "cs3/appregistry/v0alpha/resources.proto" }, { - "path": "cs3/storageprovider/v0alpha/resources.proto" + "path": "cs3/rpc/status.proto" }, { - "path": "cs3/rpc/status.proto" + "path": "cs3/storageprovider/v0alpha/resources.proto" }, { "path": "cs3/types/types.proto" @@ -3266,8 +3266,8 @@ }, { "id": 2, - "name": "resource_id", - "type": "cs3.storageproviderv0alpha.ResourceId" + "name": "resource_info", + "type": "cs3.storageproviderv0alpha.ResourceInfo" }, { "id": 3,