Mercurial > hg > orthanc
diff OrthancServer/ServerJobs/OrthancJobUnserializer.cpp @ 2853:52b017d22a4f
New URI: "/studies/.../merge" to merge a study
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 02 Oct 2018 17:05:07 +0200 |
parents | 218e2c864d1d |
children | 251614c2edac |
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/OrthancJobUnserializer.cpp Mon Oct 01 14:19:45 2018 +0200 +++ b/OrthancServer/ServerJobs/OrthancJobUnserializer.cpp Tue Oct 02 17:05:07 2018 +0200 @@ -48,6 +48,7 @@ #include "DicomModalityStoreJob.h" #include "OrthancPeerStoreJob.h" #include "ResourceModificationJob.h" +#include "MergeStudyJob.h" #include "SplitStudyJob.h" namespace Orthanc @@ -79,6 +80,10 @@ { return new ResourceModificationJob(context_, source); } + else if (type == "MergeStudy") + { + return new MergeStudyJob(context_, source); + } else if (type == "SplitStudy") { return new SplitStudyJob(context_, source);