# HG changeset patch # User Alain Mazy # Date 1728470641 -7200 # Node ID cba575de51b708b0c9683867a60ee2b508c286ed # Parent 833abb2f82f406be3d5b5b887aaff1ac203e3f37 DataSource new default value is now dicom-web diff -r 833abb2f82f4 -r cba575de51b7 NEWS --- a/NEWS Fri Jul 12 15:49:18 2024 +0200 +++ b/NEWS Wed Oct 09 12:44:01 2024 +0200 @@ -1,3 +1,11 @@ +Pending changes in the mainline +=============================== + +* The default value for the "DataSource" configuration is now "dicom-web" + instead of "dicom-json" since "dicom-web" is usually + more optimized. + + Version 1.3 (2024-07-12) ======================== diff -r 833abb2f82f4 -r cba575de51b7 Sources/Plugin.cpp --- a/Sources/Plugin.cpp Fri Jul 12 15:49:18 2024 +0200 +++ b/Sources/Plugin.cpp Wed Oct 09 12:44:01 2024 +0200 @@ -944,7 +944,7 @@ } routerBasename_ = configuration.GetStringValue("RouterBasename", "/ohif/"); - std::string s = configuration.GetStringValue("DataSource", "dicom-json"); + std::string s = configuration.GetStringValue("DataSource", "dicom-web"); std::string userConfigurationPath = configuration.GetStringValue("UserConfiguration", ""); preload_ = configuration.GetBooleanValue("Preload", true); @@ -960,7 +960,7 @@ { throw Orthanc::OrthancException(Orthanc::ErrorCode_ParameterOutOfRange, "Configuration option \"OHIF.DataSource\" must be either " - "\"dicomweb\" or \"dicom-json\", but found: " + s); + "\"dicom-web\" or \"dicom-json\", but found: " + s); } if (userConfigurationPath.empty())