This add-on enables using Azure Storage Blob as File Storage.
The following table shows which version of the add-on is compatible with which version of the platform:
| Jmix Version | Add-on Version | Implementation |
|---|---|---|
| 1.1.* | 1.1.0 | gr.netmechanics.jmix:azurefs-starter:1.1.0 |
| 1.2.* | 1.2.2 | gr.netmechanics.jmix:azurefs-starter:1.2.2 |
| 1.3.* | 1.3.1 | gr.netmechanics.jmix:azurefs-starter:1.3.1 |
| 1.4.* | 1.4.0 | gr.netmechanics.jmix:azurefs-starter:1.4.0 |
| 1.5.* | 1.5.0 | gr.netmechanics.jmix:azurefs-starter:1.5.0 |
| 2.1.* | 2.1.0 | gr.netmechanics.jmix:azurefs-starter:2.1.0 |
| 2.2.* | 2.2.2 | gr.netmechanics.jmix:azurefs-starter:2.2.2 |
| 2.4.* | 2.3.0 | gr.netmechanics.jmix:azurefs-starter:2.3.0 |
| 2.5.* | 2.4.0 | gr.netmechanics.jmix:azurefs-starter:2.4.0 |
| 2.6.* | 2.5.0 | gr.netmechanics.jmix:azurefs-starter:2.5.0 |
| 2.7.* | 2.6.0 | gr.netmechanics.jmix:azurefs-starter:2.6.0 |
| 2.8.* | 2.7.0 | gr.netmechanics.jmix:azurefs-starter:2.7.0 |
| 3.0.* | 3.0.0 | gr.netmechanics.jmix:azurefs-starter:3.0.0 |
Add to your project's build.gradle dependencies:
implementation 'gr.netmechanics.jmix:azurefs-starter:<addon-version>'You should define your Azure Storage settings in the application.properties:
| Name | Default | Description |
|---|---|---|
| jmix.azurefs.connectionString | Azure Storage account name | |
| jmix.azurefs.containerName | Azure Storage container name | |
| jmix.azurefs.blockSize | 1048576 (1MB) | The block size (chunk size) to transfer at a time. |
| jmix.azurefs.maxConcurrency | 2 | The maximum number of parallel requests that will be issued at any given time as a part of a single parallel transfer. |
Example:
jmix.azurefs.connectionString = DefaultEndpointsProtocol=https;AccountName=myAccount;AccountKey=1WE6oxxWosQ745ClyQP/tfRT1H6zGoDKo8FOOtnVFZ3rkPZy+8J71f9vGcGgcQKXWCsA2iER5Pmnop0wBuU3Gg==;EndpointSuffix=core.windows.net
jmix.azurefs.containerName = myfiles