From 312a6047e9914ce2d25c398cf2226ca227d9d06a Mon Sep 17 00:00:00 2001 From: "Gervaise H. Henry" <gervaise.henry@utsouthwestern.edu> Date: Mon, 11 Jan 2021 23:48:43 -0600 Subject: [PATCH] Fix json uploads to tracking --- workflow/rna-seq.nf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/workflow/rna-seq.nf b/workflow/rna-seq.nf index 7d9f92e..0990fdc 100644 --- a/workflow/rna-seq.nf +++ b/workflow/rna-seq.nf @@ -1258,7 +1258,7 @@ process uploadExecutionRun { curl -H 'Content-Type: application/json' -X PUT -d \ '{ \ - "ID": "${workflow.sessionId}" \ + "ID": "${workflow.sessionId}", \ "ExecutionRunRID": "'\${executionRun_rid}'" \ }' \ "https://9ouc12dkwb.execute-api.us-east-2.amazonaws.com/prod/db/track" @@ -2158,7 +2158,7 @@ process finalizeExecutionRun { dt=`date +%FT%T.%3N%:z` curl -H 'Content-Type: application/json' -X PUT -d \ '{ \ - "ID": "${workflow.sessionId}" \ + "ID": "${workflow.sessionId}", \ "Complete": "\${dt}" \ }' \ "https://9ouc12dkwb.execute-api.us-east-2.amazonaws.com/prod/db/track" @@ -2248,7 +2248,7 @@ process failPreExecutionRun { dt=`date +%FT%T.%3N%:z` curl -H 'Content-Type: application/json' -X PUT -d \ '{ \ - "ID": "${workflow.sessionId}" \ + "ID": "${workflow.sessionId}", \ "Failure": "\${dt}" \ }' \ "https://9ouc12dkwb.execute-api.us-east-2.amazonaws.com/prod/db/track" @@ -2339,7 +2339,7 @@ process failExecutionRun { dt=`date +%FT%T.%3N%:z` curl -H 'Content-Type: application/json' -X PUT -d \ '{ \ - "ID": "${workflow.sessionId}" \ + "ID": "${workflow.sessionId}", \ "Failure": "\${dt}" \ }' \ "https://9ouc12dkwb.execute-api.us-east-2.amazonaws.com/prod/db/track" -- GitLab