From e2b944aac834b0cb67b0465081c6c674b67ac2eb Mon Sep 17 00:00:00 2001 From: Giuseppe Lo Presti Date: Mon, 17 Jun 2024 12:53:02 +0200 Subject: [PATCH 1/2] [comment-only] mark OCM provider fields optional --- cs3/ocm/provider/v1beta1/resources.proto | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cs3/ocm/provider/v1beta1/resources.proto b/cs3/ocm/provider/v1beta1/resources.proto index 62b71082..a8ccde5e 100644 --- a/cs3/ocm/provider/v1beta1/resources.proto +++ b/cs3/ocm/provider/v1beta1/resources.proto @@ -81,19 +81,19 @@ message ProviderInfo { // REQUIRED. // The full name of the provider. string full_name = 2; - // REQUIRED. + // OPTIONAL. // A description of the provider. string description = 3; - // REQUIRED. + // OPTIONAL. // The organization to which the provider belongs. string organization = 4; // REQUIRED. // The domain of the sync'n'share provider. string domain = 5; - // REQUIRED. + // OPTIONAL. // The homepage of the provider. string homepage = 6; - // REQUIRED. + // OPTIONAL. // The email at which the provider can be reached. string email = 7; // REQUIRED. From 5baf60fbe6c64ddab4805395a7c7040d6bcdf385 Mon Sep 17 00:00:00 2001 From: Giuseppe Lo Presti Date: Thu, 1 Aug 2024 18:42:11 +0200 Subject: [PATCH 2/2] Add optional lock to TouchFile --- cs3/storage/provider/v1beta1/provider_api.proto | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cs3/storage/provider/v1beta1/provider_api.proto b/cs3/storage/provider/v1beta1/provider_api.proto index eae887d2..e76e5178 100644 --- a/cs3/storage/provider/v1beta1/provider_api.proto +++ b/cs3/storage/provider/v1beta1/provider_api.proto @@ -272,6 +272,11 @@ message TouchFileRequest { // REQUIRED. // The reference to which the action should be performed. Reference ref = 2; + // OPTIONAL. + // A lock_id: should the reference be locked, the stored + // lock_id MUST be equal to the given value. However, implementations + // MAY allow touching an existing file even with a mismatching lock. + string lock_id = 3; } message TouchFileResponse {