Sebastien Jodogne pushed to branch master at Debian Med / orthanc-wsi
Commits: 65d9c6e1 by jodogne-guest at 2025-04-22T11:29:26+02:00 addded Build-Depends on dcmtk-data >= 3.6.9-5 - - - - - e264e54a by jodogne-guest at 2025-04-22T11:38:37+02:00 Upload to unstable - - - - - 3 changed files: - debian/changelog - debian/control - debian/tests/run-dicom-image-transcode-test Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,11 @@ +orthanc-wsi (3.2+dfsg-2) unstable; urgency=medium + + * Fix "d/tests/run-dicom-image-transcode-test" that was not waiting + for the orthanc service to be in a healthy state. + * Added Build-Depends on dcmtk-data >= 3.6.9-5. Closes: #1103505 + + -- Sebastien Jodogne <[email protected]> Tue, 22 Apr 2025 11:00:13 +0200 + orthanc-wsi (3.2+dfsg-1) unstable; urgency=medium * New upstream version ===================================== debian/control ===================================== @@ -16,7 +16,8 @@ Build-Depends: cmake, orthanc-dev, unzip, uuid-dev, - zlib1g-dev + zlib1g-dev, + dcmtk-data (>= 3.6.9-5) Standards-Version: 4.7.2 Vcs-Browser: https://salsa.debian.org/med-team/orthanc-wsi Vcs-Git: https://salsa.debian.org/med-team/orthanc-wsi.git ===================================== debian/tests/run-dicom-image-transcode-test ===================================== @@ -34,10 +34,23 @@ else fi +# Try for 15 seconds to find the REST API of Orthanc in a healthy state +URL=http://localhost:8042/system +tries=15 +while true +do + STATUSCODE=$(curl --silent --output /dev/null --write-out "%{http_code}" ${URL}) + test "$STATUSCODE" -eq 200 && echo "Orthanc initialized!" && break + tries=$(expr "$tries" - 1) + test "$tries" -le 0 && echo "Unable to initialize Orthanc" && exit 1 + sleep 1 +done + + # Transcode data and push to server OrthancWSIDicomizer CMU-1-Small-Region.tiff --orthanc=$orthanc_server if [ $? -eq 0 ]; then echo "TIFF transcoded and pushed to Orthanc server" -fi \ No newline at end of file +fi View it on GitLab: https://salsa.debian.org/med-team/orthanc-wsi/-/compare/e26e6891a2d4f53b8f179120a3e45ddc4bbb872b...e264e54afbb54c93842d320faecf6afe7a85e399 -- View it on GitLab: https://salsa.debian.org/med-team/orthanc-wsi/-/compare/e26e6891a2d4f53b8f179120a3e45ddc4bbb872b...e264e54afbb54c93842d320faecf6afe7a85e399 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ debian-med-commit mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit
