-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
65 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions
4
...c/test/resources/schedule-testwf-def.json → .../check_conductor_health_schedule_def.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"wfName": "testwf", | ||
"wfName": "check-conductor-health-workflow", | ||
"wfVersion": 1, | ||
"status": "RUN", | ||
"cronExpression": "0 0/1 * 1/1 * ? *", | ||
"wfInput": { | ||
"name": "Jasbir Singh" | ||
"testInput": "test input. just for example." | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
scheduledwf-server/src/test/resources/check_conductor_health_task_def.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ | ||
{ | ||
"name": "check-conductor-health-task", | ||
"description": "This task will check health of conductor server at http://localhost:8080/api/health", | ||
"inputKeys": [], | ||
"outputKeys": [], | ||
"timeoutPolicy": "TIME_OUT_WF", | ||
"retryLogic": "FIXED", | ||
"retryDelaySeconds": 2, | ||
"responseTimeoutSeconds": 5, | ||
"retryCount": 2, | ||
"timeoutSeconds": 15, | ||
"concurrentExecLimit": 0, | ||
"ownerEmail": "jasbirsinghkamboj@gmail.com", | ||
"pollTimeoutSeconds": 100, | ||
"type": "HTTP" | ||
} | ||
] |
33 changes: 33 additions & 0 deletions
33
scheduledwf-server/src/test/resources/check_conductor_health_workflow_def.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"name": "check-conductor-health-workflow", | ||
"description": "This workflow will check health of conductor server.", | ||
"version": 1, | ||
"tasks": [ | ||
{ | ||
"name": "check-conductor-health-task", | ||
"taskReferenceName": "check-conductor-health-task", | ||
"inputParameters": { | ||
"http_request": { | ||
"uri": "http://localhost:8080/api/health", | ||
"method": "GET" | ||
} | ||
}, | ||
"type": "HTTP", | ||
"decisionCases": {}, | ||
"defaultCase": [], | ||
"forkTasks": [], | ||
"startDelay": 0, | ||
"joinOn": [], | ||
"optional": false, | ||
"defaultExclusiveJoinTask": [], | ||
"asyncComplete": false, | ||
"loopOver": [] | ||
} | ||
], | ||
"inputParameters": [], | ||
"outputParameters": {}, | ||
"schemaVersion": 2, | ||
"ownerEmail": "jasbirsinghkamboj@gmail.com", | ||
"restartable": true, | ||
"workflowStatusListenerEnabled": true | ||
} |
13 changes: 0 additions & 13 deletions
13
scheduledwf-server/src/test/resources/log-name-task-def.json
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.