changeset 3675:340bdcc298e9 storage-commitment

test pausing storage commitment plugin jobs
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 17 Feb 2020 17:54:40 +0100
parents 9201a7858cce
children 9dac85e807c2
files Plugins/Samples/StorageCommitmentScp/Plugin.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Samples/StorageCommitmentScp/Plugin.cpp	Mon Feb 17 10:15:10 2020 +0100
+++ b/Plugins/Samples/StorageCommitmentScp/Plugin.cpp	Mon Feb 17 17:54:40 2020 +0100
@@ -57,6 +57,9 @@
                                                    const char*         remoteAet,
                                                    const char*         calledAet)
 {
+  /*std::string s;
+    OrthancPlugins::RestApiPost(s, "/jobs/" + std::string(jobId) + "/pause", NULL, 0, false);*/
+  
   printf("[%s] [%s] [%s] [%s]\n", jobId, transactionUid, remoteAet, calledAet);
 
   for (uint32_t i = 0; i < countInstances; i++)