dicom-server icon indicating copy to clipboard operation
dicom-server copied to clipboard

Refactor DICOM Server Registrations

Open brandonpollett opened this issue 3 years ago • 0 comments

Description

This PR refactors some of the DICOM Server Registrations to make it easier to integrate the core libraries and capabilities into a non REST-fronted service. While most of the changes should be transparent to the end-user, the registration of the web API has changed. There is now a registration extension AddWebApi which must be called after AddDicomServer to enable the REST API to the services.

Previous

services.AddDicomServer(Configuration)
            .AddBlobDataStores(Configuration)
            .AddSqlServer(Configuration)

New

services.AddDicomCore(Configuration)
            .AddWebApi(Configuration)
            .AddBlobDataStores(Configuration)
            .AddSqlServer(Configuration)

Related issues

Addresses AB#94685

Testing

Existing tests continue to pass and tested use without the AddWebApi manually downstream.

+semver: breaking

brandonpollett avatar Aug 29 '22 12:08 brandonpollett