diff --git a/templates/da_cache_to_shub.json.j2 b/templates/da_cache_to_shub.json.j2 index 6c5329c..3231fed 100644 --- a/templates/da_cache_to_shub.json.j2 +++ b/templates/da_cache_to_shub.json.j2 @@ -176,18 +176,19 @@ } }, { - "name" : "http", + "name" : "pyrest", "taskReferenceName" : "send_json_report", - "type" : "HTTP", + "type" : "SIMPLE", "inputParameters" : { - "http_request": { - "uri" : "${workflow.input.callback.url}", - "method" : "POST", - "body" : "${build_json_report.output.result.report}", - "expect" : [200, 301] - } + "expect" : [200, 301], + "url" : "${workflow.input.callback.url}", + "method" : "POST", + "headers" : { + "Content-type": "application/json" + }, + "body" : "${build_json_report.output.result.report}" } - } + }, ], [ {