changeset 2187:ad72fbd700b7

move of third party downloads to the main server
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 29 Nov 2016 12:28:09 +0100
parents 8b51b133bb8b
children 7cfc2e0383b3
files Resources/CMake/LibP11Configuration.cmake Resources/CMake/OpenSslConfiguration.cmake UnitTestsSources/RestApiTests.cpp
diffstat 3 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/LibP11Configuration.cmake	Tue Nov 29 12:22:59 2016 +0100
+++ b/Resources/CMake/LibP11Configuration.cmake	Tue Nov 29 12:28:09 2016 +0100
@@ -1,6 +1,6 @@
 if (STATIC_BUILD OR NOT USE_SYSTEM_LIBP11)
   SET(LIBP11_SOURCES_DIR ${CMAKE_BINARY_DIR}/libp11-0.4.0)
-  SET(LIBP11_URL "www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/beid/libp11-0.4.0.tar.gz")
+  SET(LIBP11_URL "http://www.orthanc-server.com/downloads/third-party/beid/libp11-0.4.0.tar.gz")
   SET(LIBP11_MD5 "00b3e41db5be840d822bda12f3ab2ca7")
  
   if (IS_DIRECTORY "${LIBP11_SOURCES_DIR}")
--- a/Resources/CMake/OpenSslConfiguration.cmake	Tue Nov 29 12:22:59 2016 +0100
+++ b/Resources/CMake/OpenSslConfiguration.cmake	Tue Nov 29 12:28:09 2016 +0100
@@ -4,7 +4,7 @@
   # not always properly handled when uncompressing on Windows.
 
   SET(OPENSSL_SOURCES_DIR ${CMAKE_BINARY_DIR}/openssl-1.0.2d)
-  SET(OPENSSL_URL "www.montefiore.ulg.ac.be/~jodogne/Orthanc/ThirdPartyDownloads/openssl-1.0.2d.zip")
+  SET(OPENSSL_URL "http://www.orthanc-server.com/downloads/third-party/openssl-1.0.2d.zip")
   SET(OPENSSL_MD5 "4b2ac15fc6db17f3dadc54482d3eee85")
 
   if (IS_DIRECTORY "${OPENSSL_SOURCES_DIR}")
--- a/UnitTestsSources/RestApiTests.cpp	Tue Nov 29 12:22:59 2016 +0100
+++ b/UnitTestsSources/RestApiTests.cpp	Tue Nov 29 12:28:09 2016 +0100
@@ -66,9 +66,10 @@
 
 #if UNIT_TESTS_WITH_HTTP_CONNEXIONS == 1
   Json::Value v;
-  c.SetUrl("http://www.montefiore.ulg.ac.be/~jodogne/Orthanc/Configuration.json");
+  c.SetUrl("http://www.orthanc-server.com/downloads/third-party/Product.json");
   c.Apply(v);
-  ASSERT_TRUE(v.isMember("StorageDirectory"));
+  ASSERT_TRUE(v.type() == Json::objectValue);
+  ASSERT_TRUE(v.isMember("Description"));
 #endif
 }