changeset 52:cba575de51b7

DataSource new default value is now dicom-web
author Alain Mazy <am@orthanc.team>
date Wed, 09 Oct 2024 12:44:01 +0200
parents 833abb2f82f4
children 0032e89777a9
files NEWS Sources/Plugin.cpp
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)
 ========================
 
--- 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())