/orthanc-mssql-storage-plugin

Primary LanguageCMakeBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Orthanc Plugin for storing in Azure Blob Storage

Configuration

To enable the plugin within your Orthanc server, setup the location of the plugin within the Orthanc configuration file.

Windows:

"Plugins" : [
"OrthancAzureBlobStorage.dll"
]

Linux:

"Plugins" : [
"OrthancAzureBlobStorage.so"
]

MacOS:

"Plugins" : [
"OrthancAzureBlobStorage.dll"
]

After that either add the plugin specific configuration into Orthanc's main configuration file, or setup Orthanc to parse all json files within a folder.

"AzureBlobStorage" : {
    "EnableStorage" : true,
    "ConnectionString" : "DefaultEndpointsProtocol=https;AccountName=XXXXXXXXXXXXXX;AccountKey=YYYYYYYYYYYYYYYYY;EndpointSuffix=core.windows.net",
    "ContainerName" : "orthanc-storage"
}

Building

The plugin can be build on all major platforms.

Unix/MacOS

# bootstrap the system in order to retrieve necessary thridparties libraries as well as the orthanc sources
./bootstrap.sh

cd build
cmake --build . --config release --target install -- -j
cmake --build . --config debug --target install -- -j