-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Blob Service Client Registration APIs and Configuration (#1001)
- Update blob service client registration for the following reasons: 1. Integrate blob client and underlying http request pipeline with existing DI service container 2. Reduce boilerplate 3. Streamline configuration whose types integrate with existing APIs - Normalize JSON to 2 spaces for indent - Bump version of Azurite image such that we can leverage latest blob client API
- Loading branch information
Showing
9 changed files
with
127 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,90 +1,101 @@ | ||
{ | ||
"AllowedHosts": "*", | ||
"DicomServer": { | ||
"Security": { | ||
"Enabled": false, | ||
"Authentication": { | ||
"Audience": null, | ||
"Authority": null | ||
} | ||
}, | ||
"Features": { | ||
"EnableOhifViewer": false, | ||
"EnableFullDicomItemValidation": false, | ||
"EnableExtendedQueryTags": false | ||
}, | ||
"Services": { | ||
"DeletedInstanceCleanup": { | ||
"DeleteDelay": "3.00:00:00", | ||
"MaxRetries": 5, | ||
"RetryBackOff": "1.00:00:00", | ||
"PollingInterval": "00:03:00", | ||
"BatchSize": 10 | ||
}, | ||
"StoreServiceSettings": { | ||
"MaxAllowedDicomFileSize": 2147483647 | ||
} | ||
}, | ||
"Audit": { | ||
"CustomAuditHeaderPrefix": "X-MS-AZUREDICOM-AUDIT-" | ||
}, | ||
"ServerIdentity": { | ||
"UserAssignedAppId": null | ||
}, | ||
"Swagger": { | ||
"License": { | ||
"Name": "MIT License", | ||
"Url": "https://github.com/microsoft/dicom-server/blob/main/LICENSE" | ||
} | ||
} | ||
"AllowedHosts": "*", | ||
"DicomServer": { | ||
"Security": { | ||
"Enabled": false, | ||
"Authentication": { | ||
"Audience": null, | ||
"Authority": null | ||
} | ||
}, | ||
"Logging": { | ||
"IncludeScopes": false, | ||
"LogLevel": { | ||
"Default": "Warning" | ||
}, | ||
"ApplicationInsights": { | ||
"LogLevel": { | ||
"Default": "Information", | ||
"Microsoft.Health": "Information", | ||
"Microsoft": "Warning", | ||
"System": "Warning" | ||
} | ||
} | ||
"Features": { | ||
"EnableOhifViewer": false, | ||
"EnableFullDicomItemValidation": false, | ||
"EnableExtendedQueryTags": false | ||
}, | ||
"Services": { | ||
"DeletedInstanceCleanup": { | ||
"DeleteDelay": "3.00:00:00", | ||
"MaxRetries": 5, | ||
"RetryBackOff": "1.00:00:00", | ||
"PollingInterval": "00:03:00", | ||
"BatchSize": 10 | ||
}, | ||
"StoreServiceSettings": { | ||
"MaxAllowedDicomFileSize": 2147483647 | ||
} | ||
}, | ||
"Audit": { | ||
"CustomAuditHeaderPrefix": "X-MS-AZUREDICOM-AUDIT-" | ||
}, | ||
"ServerIdentity": { | ||
"UserAssignedAppId": null | ||
}, | ||
"Swagger": { | ||
"License": { | ||
"Name": "MIT License", | ||
"Url": "https://github.com/microsoft/dicom-server/blob/main/LICENSE" | ||
} | ||
} | ||
}, | ||
"Logging": { | ||
"IncludeScopes": false, | ||
"LogLevel": { | ||
"Default": "Warning" | ||
}, | ||
"ApplicationInsights": { | ||
"InstrumentationKey": "" | ||
"LogLevel": { | ||
"Default": "Information", | ||
"Microsoft.Health": "Information", | ||
"Microsoft": "Warning", | ||
"System": "Warning" | ||
} | ||
} | ||
}, | ||
"ApplicationInsights": { | ||
"InstrumentationKey": "" | ||
}, | ||
"DicomWeb": { | ||
"DicomStore": { | ||
"ContainerName": "dicomwebcontainer" | ||
}, | ||
"MetadataStore": { | ||
"ContainerName": "metadatacontainer" | ||
} | ||
}, | ||
"BlobStore": { | ||
"ConnectionString": null, | ||
"Initialization": { | ||
"RetryDelay": "00:00:15", | ||
"Timeout": "00:06:00" | ||
}, | ||
"DicomWeb": { | ||
"DicomStore": { | ||
"ContainerName": "dicomwebcontainer" | ||
}, | ||
"MetadataStore": { | ||
"ContainerName": "metadatacontainer" | ||
} | ||
"Operations": { | ||
"Download": { | ||
"MaximumConcurrency": 5 | ||
}, | ||
"Upload": { | ||
"MaximumConcurrency": 5 | ||
} | ||
}, | ||
"BlobStore": { | ||
"ConnectionString": null, | ||
"RequestOptions": { | ||
"ExponentialRetryBackoffDeltaInSeconds": 4, | ||
"ExponentialRetryMaxAttempts": 6, | ||
"ServerTimeoutInMinutes": 2, | ||
"DownloadMaximumConcurrency": 5, | ||
"UploadMaximumConcurrency": 5 | ||
} | ||
"Retry": { | ||
"Delay": "00:00:04", | ||
"MaxRetries": 6, | ||
"Mode": "Exponential", | ||
"NetworkTimeout": "00:02:00" | ||
} | ||
}, | ||
"SqlServer": { | ||
"Initialize": "true", | ||
"AllowDatabaseCreation": "true", | ||
"ConnectionString": "server=(local);Initial Catalog=Dicom;Integrated Security=true", | ||
"TransientFaultRetryPolicy": { | ||
"InitialDelay": "00:00:00.100", | ||
"RetryCount": 3, | ||
"Factor": 2, | ||
"FastFirst": true | ||
}, | ||
"SqlServer": { | ||
"Initialize": "true", | ||
"AllowDatabaseCreation": "true", | ||
"ConnectionString": "server=(local);Initial Catalog=Dicom;Integrated Security=true", | ||
"TransientFaultRetryPolicy": { | ||
"InitialDelay": "00:00:00.100", | ||
"RetryCount": 3, | ||
"Factor": 2, | ||
"FastFirst": true | ||
}, | ||
"SchemaOptions": { | ||
"AutomaticUpdatesEnabled": true | ||
} | ||
"SchemaOptions": { | ||
"AutomaticUpdatesEnabled": true | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters