a9cd7750f4
CI / detect-changes (push) Waiting to run
CI / build (push) Waiting to run
UI v2 CI / E2E (Mocked) (push) Blocked by required conditions
UI v2 Integration CI / E2E (Integration) (push) Waiting to run
CI / unit-test (push) Blocked by required conditions
CI / test-harness (push) Waiting to run
CI / generate-e2e-matrix (push) Waiting to run
CI / e2e (push) Blocked by required conditions
CI / build-ui (push) Waiting to run
Publish docs via GitHub Pages / Deploy docs (push) Waiting to run
Release Drafter / update_release_draft (push) Waiting to run
UI v2 CI / Lint, Format & Test (push) Waiting to run
34 lines
980 B
JSON
34 lines
980 B
JSON
{
|
|
"name": "hello_workflow",
|
|
"version": 1,
|
|
"tasks": [
|
|
{
|
|
"name": "fetch_data",
|
|
"taskReferenceName": "fetch_ref",
|
|
"type": "HTTP",
|
|
"inputParameters": {
|
|
"http_request": {
|
|
"uri": "https://orkes-api-tester.orkesconductor.com/api",
|
|
"method": "GET"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"name": "parse_response",
|
|
"taskReferenceName": "parse_ref",
|
|
"type": "INLINE",
|
|
"inputParameters": {
|
|
"data": "${fetch_ref.output.response.body}",
|
|
"evaluatorType": "graaljs",
|
|
"expression": "(function() { var d = $.data; return { summary: 'Host ' + d.hostName + ' responded in ' + d.apiRandomDelay + ' with random value ' + d.randomInt, host: d.hostName, randomValue: d.randomInt }; })()"
|
|
}
|
|
}
|
|
],
|
|
"outputParameters": {
|
|
"summary": "${parse_ref.output.result.summary}",
|
|
"apiResponse": "${fetch_ref.output.response.body}"
|
|
},
|
|
"schemaVersion": 2,
|
|
"ownerEmail": "dev@example.com"
|
|
}
|