changeset 3853:ba53d51ffa9a

leaving bitbucket
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 20 Apr 2020 18:13:31 +0200
parents ee0a1211419f
children 8aeb0c6e4628
files Core/DicomParsing/ParsedDicomFile.cpp Plugins/Include/orthanc/OrthancCPlugin.h Resources/DownloadOrthancFramework.cmake Resources/Samples/README.txt UnitTestsSources/RestApiTests.cpp
diffstat 5 files changed, 13 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/Core/DicomParsing/ParsedDicomFile.cpp	Mon Apr 20 17:39:11 2020 +0200
+++ b/Core/DicomParsing/ParsedDicomFile.cpp	Mon Apr 20 18:13:31 2020 +0200
@@ -952,7 +952,7 @@
        * equals the empty string, then proceed. In Orthanc <= 1.5.6,
        * an exception "Bad file format" was generated.
        * https://groups.google.com/d/msg/orthanc-users/aphG_h1AHVg/rfOTtTPTAgAJ
-       * https://bitbucket.org/sjodogne/orthanc/commits/4c45e018bd3de3cfa21d6efc6734673aaaee4435
+       * https://hg.orthanc-server.com/orthanc/rev/4c45e018bd3de3cfa21d6efc6734673aaaee4435
        **/
       patientId.clear();
     }        
--- a/Plugins/Include/orthanc/OrthancCPlugin.h	Mon Apr 20 17:39:11 2020 +0200
+++ b/Plugins/Include/orthanc/OrthancCPlugin.h	Mon Apr 20 18:13:31 2020 +0200
@@ -180,7 +180,7 @@
 /**
  * For Microsoft Visual Studio, a compatibility "stdint.h" can be
  * downloaded at the following URL:
- * https://bitbucket.org/sjodogne/orthanc/raw/default/Resources/ThirdParty/VisualStudio/stdint.h
+ * https://hg.orthanc-server.com/orthanc/raw-file/tip/Resources/ThirdParty/VisualStudio/stdint.h
  **/
 #include <stdint.h>
 
--- a/Resources/DownloadOrthancFramework.cmake	Mon Apr 20 17:39:11 2020 +0200
+++ b/Resources/DownloadOrthancFramework.cmake	Mon Apr 20 18:13:31 2020 +0200
@@ -216,7 +216,7 @@
   else()
     message("Forking the Orthanc source repository using Mercurial")
     execute_process(
-      COMMAND ${ORTHANC_FRAMEWORK_HG} clone "https://bitbucket.org/sjodogne/orthanc"
+      COMMAND ${ORTHANC_FRAMEWORK_HG} clone "https://hg.orthanc-server.com/orthanc/"
       WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
       RESULT_VARIABLE Failure
       )    
--- a/Resources/Samples/README.txt	Mon Apr 20 17:39:11 2020 +0200
+++ b/Resources/Samples/README.txt	Mon Apr 20 18:13:31 2020 +0200
@@ -2,6 +2,6 @@
 the "OrthancContributed" repository on GitHub:
 https://github.com/jodogne/OrthancContributed
 
-The integration tests of Orthanc provide a lot of samples about the
+The integration tests of Orthanc provide many samples about the
 features of the REST API of Orthanc:
-https://bitbucket.org/sjodogne/orthanc-tests/src/default/Tests/Tests.py
+https://hg.orthanc-server.com/orthanc-tests/file/tip/Tests/Tests.py
--- a/UnitTestsSources/RestApiTests.cpp	Mon Apr 20 17:39:11 2020 +0200
+++ b/UnitTestsSources/RestApiTests.cpp	Mon Apr 20 18:13:31 2020 +0200
@@ -121,22 +121,26 @@
   HttpClient c;
   c.SetHttpsVerifyPeers(true);
   c.SetHttpsCACertificates("UnitTestsResults/bitbucket.cert");
-  c.SetUrl("https://bitbucket.org/sjodogne/orthanc/raw/Orthanc-0.9.3/Resources/Configuration.json");
+
+  // Test file modified on 2020-04-20, in order to use a git
+  // repository on BitBucket instead of a Mercurial repository
+  // (because Mercurial support disappears on 2020-05-31)
+  c.SetUrl("https://bitbucket.org/osimis/orthanc-setup-samples/raw/master/docker/serve-folders/orthanc/serve-folders.json");
 
   Json::Value v;
   c.Apply(v);
-  ASSERT_TRUE(v.isMember("LuaScripts"));
+  ASSERT_TRUE(v.isMember("ServeFolders"));
 }
 
 TEST(HttpClient, SslNoVerification)
 {
   HttpClient c;
   c.SetHttpsVerifyPeers(false);
-  c.SetUrl("https://bitbucket.org/sjodogne/orthanc/raw/Orthanc-0.9.3/Resources/Configuration.json");
+  c.SetUrl("https://bitbucket.org/osimis/orthanc-setup-samples/raw/master/docker/serve-folders/orthanc/serve-folders.json");
 
   Json::Value v;
   c.Apply(v);
-  ASSERT_TRUE(v.isMember("LuaScripts"));
+  ASSERT_TRUE(v.isMember("ServeFolders"));
 }
 
 #endif