Skip to content
Snippets Groups Projects
Commit 312a6047 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Fix json uploads to tracking

parent 0b6fa2aa
Branches
Tags
2 merge requests!58Develop,!57Prep of 1.0.0 release
Pipeline #8962 passed with stages
in 2 hours, 6 minutes, and 25 seconds
...@@ -1258,7 +1258,7 @@ process uploadExecutionRun { ...@@ -1258,7 +1258,7 @@ process uploadExecutionRun {
curl -H 'Content-Type: application/json' -X PUT -d \ curl -H 'Content-Type: application/json' -X PUT -d \
'{ \ '{ \
"ID": "${workflow.sessionId}" \ "ID": "${workflow.sessionId}", \
"ExecutionRunRID": "'\${executionRun_rid}'" \ "ExecutionRunRID": "'\${executionRun_rid}'" \
}' \ }' \
"https://9ouc12dkwb.execute-api.us-east-2.amazonaws.com/prod/db/track" "https://9ouc12dkwb.execute-api.us-east-2.amazonaws.com/prod/db/track"
...@@ -2158,7 +2158,7 @@ process finalizeExecutionRun { ...@@ -2158,7 +2158,7 @@ process finalizeExecutionRun {
dt=`date +%FT%T.%3N%:z` dt=`date +%FT%T.%3N%:z`
curl -H 'Content-Type: application/json' -X PUT -d \ curl -H 'Content-Type: application/json' -X PUT -d \
'{ \ '{ \
"ID": "${workflow.sessionId}" \ "ID": "${workflow.sessionId}", \
"Complete": "\${dt}" \ "Complete": "\${dt}" \
}' \ }' \
"https://9ouc12dkwb.execute-api.us-east-2.amazonaws.com/prod/db/track" "https://9ouc12dkwb.execute-api.us-east-2.amazonaws.com/prod/db/track"
...@@ -2248,7 +2248,7 @@ process failPreExecutionRun { ...@@ -2248,7 +2248,7 @@ process failPreExecutionRun {
dt=`date +%FT%T.%3N%:z` dt=`date +%FT%T.%3N%:z`
curl -H 'Content-Type: application/json' -X PUT -d \ curl -H 'Content-Type: application/json' -X PUT -d \
'{ \ '{ \
"ID": "${workflow.sessionId}" \ "ID": "${workflow.sessionId}", \
"Failure": "\${dt}" \ "Failure": "\${dt}" \
}' \ }' \
"https://9ouc12dkwb.execute-api.us-east-2.amazonaws.com/prod/db/track" "https://9ouc12dkwb.execute-api.us-east-2.amazonaws.com/prod/db/track"
...@@ -2339,7 +2339,7 @@ process failExecutionRun { ...@@ -2339,7 +2339,7 @@ process failExecutionRun {
dt=`date +%FT%T.%3N%:z` dt=`date +%FT%T.%3N%:z`
curl -H 'Content-Type: application/json' -X PUT -d \ curl -H 'Content-Type: application/json' -X PUT -d \
'{ \ '{ \
"ID": "${workflow.sessionId}" \ "ID": "${workflow.sessionId}", \
"Failure": "\${dt}" \ "Failure": "\${dt}" \
}' \ }' \
"https://9ouc12dkwb.execute-api.us-east-2.amazonaws.com/prod/db/track" "https://9ouc12dkwb.execute-api.us-east-2.amazonaws.com/prod/db/track"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment