Mercurial > hg > orthanc
changeset 6314:1b8bea570a80
Fix: DicomGetScu jobs are now saved in DB
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Thu, 18 Sep 2025 14:21:56 +0200 |
| parents | a84bf2926cc3 |
| children | 7736dc6c1e49 |
| files | NEWS OrthancServer/Sources/ServerJobs/DicomGetScuJob.cpp OrthancServer/Sources/ServerJobs/OrthancJobUnserializer.cpp |
| diffstat | 3 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Thu Sep 18 12:36:41 2025 +0200 +++ b/NEWS Thu Sep 18 14:21:56 2025 +0200 @@ -32,7 +32,7 @@ - Reading a DCMTK dictionary ("ExternalDictionaries" configuration) - Using a "TemporaryDirectory" to save zip file or to export DICOMDIR - The "SslCertificate" and other related configurations - +* Fix: DicomGetScu jobs are now saved in DB. Version 1.12.9 (2025-08-11) ===========================
--- a/OrthancServer/Sources/ServerJobs/DicomGetScuJob.cpp Thu Sep 18 12:36:41 2025 +0200 +++ b/OrthancServer/Sources/ServerJobs/DicomGetScuJob.cpp Thu Sep 18 14:21:56 2025 +0200 @@ -117,5 +117,10 @@ } } + DicomGetScuJob::DicomGetScuJob(ServerContext& context, + const Json::Value& serialized) : + DicomRetrieveScuBaseJob(context, serialized) + { + } }
--- a/OrthancServer/Sources/ServerJobs/OrthancJobUnserializer.cpp Thu Sep 18 12:36:41 2025 +0200 +++ b/OrthancServer/Sources/ServerJobs/OrthancJobUnserializer.cpp Thu Sep 18 14:21:56 2025 +0200 @@ -39,6 +39,7 @@ #include "DicomModalityStoreJob.h" #include "DicomMoveScuJob.h" +#include "DicomGetScuJob.h" #include "MergeStudyJob.h" #include "OrthancPeerStoreJob.h" #include "ResourceModificationJob.h" @@ -87,6 +88,10 @@ { return new DicomMoveScuJob(context_, source); } + else if (type == "DicomGetScu") + { + return new DicomGetScuJob(context_, source); + } else if (type == "StorageCommitmentScp") { return new StorageCommitmentScpJob(context_, source);
