changeset 502:4e426dec4fee

Object-storage: RootPath
author Alain Mazy <alain@mazy.be>
date Mon, 07 Sep 2020 14:20:50 +0200
parents 4481882d9c83
children 141c2c8e94be
files Sphinx/source/plugins/object-storage.rst
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Sphinx/source/plugins/object-storage.rst	Tue Sep 01 18:22:01 2020 +0200
+++ b/Sphinx/source/plugins/object-storage.rst	Mon Sep 07 14:20:50 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,