changeset 4180:ee9b2e2c7e19

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 08 Sep 2020 07:43:07 +0200
parents 3576616904d3 (diff) 669f588a14b3 (current diff)
children b416b6bf129b
files
diffstat 6 files changed, 7 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancFramework/Sources/Enumerations.cpp	Tue Sep 08 07:42:47 2020 +0200
+++ b/OrthancFramework/Sources/Enumerations.cpp	Tue Sep 08 07:43:07 2020 +0200
@@ -797,9 +797,6 @@
       case ModalityManufacturer_GenericNoUniversalWildcard:
         return "GenericNoUniversalWildcard";
 
-      case ModalityManufacturer_StoreScp:
-        return "StoreScp";
-      
       case ModalityManufacturer_Vitrea:
         return "Vitrea";
       
@@ -1551,10 +1548,6 @@
     {
       return ModalityManufacturer_GenericNoUniversalWildcard;
     }
-    else if (manufacturer == "StoreScp")
-    {
-      return ModalityManufacturer_StoreScp;
-    }
     else if (manufacturer == "Vitrea")
     {
       return ModalityManufacturer_Vitrea;
--- a/OrthancFramework/Sources/Enumerations.h	Tue Sep 08 07:42:47 2020 +0200
+++ b/OrthancFramework/Sources/Enumerations.h	Tue Sep 08 07:43:07 2020 +0200
@@ -645,7 +645,6 @@
     ModalityManufacturer_Generic,
     ModalityManufacturer_GenericNoWildcardInDates,
     ModalityManufacturer_GenericNoUniversalWildcard,
-    ModalityManufacturer_StoreScp,
     ModalityManufacturer_Vitrea,
     ModalityManufacturer_GE
   };
--- a/OrthancServer/Plugins/Samples/ConnectivityChecks/WebResources/app.js	Tue Sep 08 07:42:47 2020 +0200
+++ b/OrthancServer/Plugins/Samples/ConnectivityChecks/WebResources/app.js	Tue Sep 08 07:43:07 2020 +0200
@@ -42,7 +42,7 @@
             this.dicomNodes[alias]['alias'] = alias;
             this.dicomNodes[alias]['status'] = 'testing';
             axios
-              .post('../../modalities/' + alias + '/echo')
+              .post('../../modalities/' + alias + '/echo', {})
               .then(response => {
                 this.dicomNodes[alias]['status'] = 'ok';
                 this.$forceUpdate();
--- a/OrthancServer/Resources/Configuration.json	Tue Sep 08 07:42:47 2020 +0200
+++ b/OrthancServer/Resources/Configuration.json	Tue Sep 08 07:43:07 2020 +0200
@@ -194,7 +194,6 @@
      *   in outgoing C-Find requests originating from Orthanc),
      * - "GenericNoUniversalWildcard" (to replace "*" by "" in all fields
      *   in outgoing C-Find SCU requests originating from Orthanc),
-     * - "StoreScp" (storescp tool from DCMTK),
      * - "Vitrea",
      * - "GE" (Enterprise Archive, MRI consoles and Advantage Workstation
      *   from GE Healthcare).
@@ -222,6 +221,8 @@
      * "EnableTranscoding" is set to "true".
      *
      * By default, all "Allow*" options are true.
+     * "AllowStorageCommitment" is actually an alias for 
+     * "AllowNAction" & "AllowEventReport".
      **/
     //"untrusted" : {
     //  "AET" : "ORTHANC",
--- a/OrthancServer/UnitTestsSources/ServerJobsTests.cpp	Tue Sep 08 07:42:47 2020 +0200
+++ b/OrthancServer/UnitTestsSources/ServerJobsTests.cpp	Tue Sep 08 07:43:07 2020 +0200
@@ -618,7 +618,7 @@
       modality.SetApplicationEntityTitle("REMOTE");
       modality.SetHost("192.168.1.1");
       modality.SetPortNumber(1000);
-      modality.SetManufacturer(ModalityManufacturer_StoreScp);
+      modality.SetManufacturer(ModalityManufacturer_GE);
 
       StoreScuOperation operation(GetContext(), luaManager, "TEST", modality);
 
@@ -633,7 +633,7 @@
       ASSERT_EQ("REMOTE", tmp.GetRemoteModality().GetApplicationEntityTitle());
       ASSERT_EQ("192.168.1.1", tmp.GetRemoteModality().GetHost());
       ASSERT_EQ(1000, tmp.GetRemoteModality().GetPortNumber());
-      ASSERT_EQ(ModalityManufacturer_StoreScp, tmp.GetRemoteModality().GetManufacturer());
+      ASSERT_EQ(ModalityManufacturer_GE, tmp.GetRemoteModality().GetManufacturer());
       ASSERT_EQ("TEST", tmp.GetLocalAet());
     }
   }
@@ -704,7 +704,7 @@
     modality.SetApplicationEntityTitle("REMOTE");
     modality.SetHost("192.168.1.1");
     modality.SetPortNumber(1000);
-    modality.SetManufacturer(ModalityManufacturer_StoreScp);
+    modality.SetManufacturer(ModalityManufacturer_GE);
 
     DicomModalityStoreJob job(GetContext());
     job.SetLocalAet("LOCAL");
@@ -724,7 +724,7 @@
     ASSERT_EQ("REMOTE", tmp.GetParameters().GetRemoteModality().GetApplicationEntityTitle());
     ASSERT_EQ("192.168.1.1", tmp.GetParameters().GetRemoteModality().GetHost());
     ASSERT_EQ(1000, tmp.GetParameters().GetRemoteModality().GetPortNumber());
-    ASSERT_EQ(ModalityManufacturer_StoreScp, tmp.GetParameters().GetRemoteModality().GetManufacturer());
+    ASSERT_EQ(ModalityManufacturer_GE, tmp.GetParameters().GetRemoteModality().GetManufacturer());
     ASSERT_TRUE(tmp.HasMoveOriginator());
     ASSERT_EQ("MOVESCU", tmp.GetMoveOriginatorAet());
     ASSERT_EQ(42, tmp.GetMoveOriginatorId());
--- a/OrthancServer/UnitTestsSources/UnitTestsMain.cpp	Tue Sep 08 07:42:47 2020 +0200
+++ b/OrthancServer/UnitTestsSources/UnitTestsMain.cpp	Tue Sep 08 07:43:07 2020 +0200
@@ -117,7 +117,6 @@
   ASSERT_STREQ("Generic", EnumerationToString(StringToModalityManufacturer("Generic")));
   ASSERT_STREQ("GenericNoWildcardInDates", EnumerationToString(StringToModalityManufacturer("GenericNoWildcardInDates")));
   ASSERT_STREQ("GenericNoUniversalWildcard", EnumerationToString(StringToModalityManufacturer("GenericNoUniversalWildcard")));
-  ASSERT_STREQ("StoreScp", EnumerationToString(StringToModalityManufacturer("StoreScp")));
   ASSERT_STREQ("Vitrea", EnumerationToString(StringToModalityManufacturer("Vitrea")));
   ASSERT_STREQ("GE", EnumerationToString(StringToModalityManufacturer("GE")));
   // backward compatibility tests (to remove once we make these manufacturer really obsolete)