changeset 503:141c2c8e94be

merge
author Alain Mazy <alain@mazy.be>
date Mon, 07 Sep 2020 14:21:01 +0200
parents 4e426dec4fee (diff) 98592b9e7ad5 (current diff)
children 2845ac3adad2 cf489ab9ca48
files
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/plugins/object-storage.rst	Sat Sep 05 11:20:25 2020 +0200
+++ b/Sphinx/source/plugins/object-storage.rst	Mon Sep 07 14:21:01 2020 +0200
@@ -130,6 +130,7 @@
     "Endpoint": "",                           // custom endpoint
     "ConnectionTimeout": 30,                  // connection timeout in seconds
     "RequestTimeout": 1200,                   // request timeout in seconds (max time to upload/download a file)
+    "RootPath": "",                           // see below
     "MigrationFromFileSystemEnabled": false,  // see below
     "StorageStructure": "flat"                // see below
   }
@@ -152,6 +153,7 @@
   "AzureBlobStorage" : {
     "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=xxxxxxxxx;AccountKey=yyyyyyyy===;EndpointSuffix=core.windows.net",
     "ContainerName" : "test-orthanc-storage-plugin",
+    "RootPath": "",                           // see below
     "MigrationFromFileSystemEnabled": false,  // see below
     "StorageStructure": "flat"                // see below
   }
@@ -165,6 +167,7 @@
   "GoogleCloudStorage" : {
     "ServiceAccountFile": "/path/to/googleServiceAccountFile.json",
     "BucketName": "test-orthanc-storage-plugin",
+    "RootPath": "",                           // see below
     "MigrationFromFileSystemEnabled": false,  // see below
     "StorageStructure": "flat"                // see below
   }
@@ -185,7 +188,10 @@
 when migrating your data from a file system to an object storage since you can copy all the file
 hierarchy as is.
 
-Note that you can not change this configuration once you've uploaded the first files in Orthanc.
+The **RootPath** allows you to store the files in another folder as the root level of the
+object storage.
+
+Note that you can not change these configurations once you've uploaded the first files in Orthanc.
 
 The **MigrationFromFileSystemEnabled** configuration has been for Orthanc to continue working
 while you're migrating your data from the file system to the object storage.  While this option is enabled,