comparison README.md @ 20:968eb1c78aed

Added 'RootPath' configuration
author Alain Mazy
date Mon, 07 Sep 2020 14:12:49 +0200
parents 2a02b21f0a19
children 7ddd840563c9
comparison
equal deleted inserted replaced
18:44de9edf2443 20:968eb1c78aed
37 37
38 ``` 38 ```
39 "GoogleCloudStorage" : { 39 "GoogleCloudStorage" : {
40 "ServiceAccountFile" : "/.../googleServiceAccountFile.json", 40 "ServiceAccountFile" : "/.../googleServiceAccountFile.json",
41 "BucketName": "test-orthanc-storage-plugin", 41 "BucketName": "test-orthanc-storage-plugin",
42 "RootPath": "", // optional: folder in which files are stored (ex: my/path/to/myfolder)
42 "StorageEncryption" : {...}, 43 "StorageEncryption" : {...},
43 "StorageStructure" : "flat", 44 "StorageStructure" : "flat",
44 "MigrationFromFileSystemEnabled" : false 45 "MigrationFromFileSystemEnabled" : false
45 } 46 }
46 47
64 65
65 ``` 66 ```
66 "AzureBlobStorage" : { 67 "AzureBlobStorage" : {
67 "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=xxxxxxxxx;AccountKey=yyyyyyyy===;EndpointSuffix=core.windows.net", 68 "ConnectionString": "DefaultEndpointsProtocol=https;AccountName=xxxxxxxxx;AccountKey=yyyyyyyy===;EndpointSuffix=core.windows.net",
68 "ContainerName" : "test-orthanc-storage-plugin", 69 "ContainerName" : "test-orthanc-storage-plugin",
70 "RootPath": "", // optional: folder in which files are stored (ex: my/path/to/myfolder)
69 "StorageEncryption" : {...}, 71 "StorageEncryption" : {...},
70 "StorageStructure" : "flat", 72 "StorageStructure" : "flat",
71 "MigrationFromFileSystemEnabled" : false 73 "MigrationFromFileSystemEnabled" : false
72 } 74 }
73 ``` 75 ```
110 "AccessKey" : "AKXXX", 112 "AccessKey" : "AKXXX",
111 "SecretKey" : "RhYYYY", 113 "SecretKey" : "RhYYYY",
112 "Endpoint": "", // optional: custom endpoint 114 "Endpoint": "", // optional: custom endpoint
113 "ConnectionTimeout": 30, // optional: connection timeout in seconds 115 "ConnectionTimeout": 30, // optional: connection timeout in seconds
114 "RequestTimeout": 1200, // optional: request timeout in seconds (max time to upload/download a file) 116 "RequestTimeout": 1200, // optional: request timeout in seconds (max time to upload/download a file)
115 "StorageEncryption" : {...}, 117 "RootPath": "", // optional: folder in which files are stored (ex: my/path/to/myfolder)
116 "StorageStructure" : "flat", 118 "StorageEncryption" : {...}, // optional
117 "MigrationFromFileSystemEnabled" : false 119 "StorageStructure" : "flat", // optional
120 "MigrationFromFileSystemEnabled" : false // optional
118 } 121 }
119 ``` 122 ```