Skip to content

Commit 4a6ad8e

Browse files
authored
WM-1491 Fixing Cromwell-client (#6943)
* More updated client for use in cbas * Removing excess code
1 parent 269089c commit 4a6ad8e

File tree

2 files changed

+24
-31
lines changed

2 files changed

+24
-31
lines changed

docs/api/RESTAPI.md

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

engine/src/main/resources/swagger/cromwell.yaml

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ paths:
607607
'400':
608608
$ref: '#/responses/BadRequest'
609609
'404':
610-
description: No matching cache entry. Cromwell versions prior to 28 will not have recorded information necessary for this endpoint and thus will also appear to not exist.
610+
description: No matching cache entry. Cromwell versions prior to 28 will not have recorded information necessary for this endpoint and thus will also appear to not exist.
611611
'500':
612612
$ref: '#/responses/ServerError'
613613
'/api/workflows/{version}/backends':
@@ -1035,10 +1035,6 @@ definitions:
10351035
example: Submitted
10361036
WorkflowMetadataResponse:
10371037
description: Workflow and call level metadata
1038-
required:
1039-
- id
1040-
- status
1041-
- submission
10421038
properties:
10431039
id:
10441040
type: string
@@ -1067,12 +1063,11 @@ definitions:
10671063
calls:
10681064
$ref: '#/definitions/CallMetadata'
10691065
failures:
1070-
$ref: '#/definitions/FailureMessage'
1066+
type: array
1067+
items:
1068+
$ref: '#/definitions/FailureMessage'
10711069
CallMetadata:
10721070
description: Call level metadata
1073-
required:
1074-
- inputs
1075-
- executionStatus
10761071
properties:
10771072
inputs:
10781073
type: object
@@ -1098,7 +1093,9 @@ definitions:
10981093
type: string
10991094
description: Backend-specific job ID
11001095
failures:
1101-
$ref: '#/definitions/FailureMessage'
1096+
type: array
1097+
items:
1098+
$ref: '#/definitions/FailureMessage'
11021099
returnCode:
11031100
type: integer
11041101
description: Call execution return code
@@ -1113,17 +1110,14 @@ definitions:
11131110
description: Paths to backend specific logs for this call
11141111
FailureMessage:
11151112
description: Failure messages
1116-
required:
1117-
- failure
1118-
- timestamp
11191113
properties:
1120-
failure:
1114+
message:
11211115
type: string
11221116
description: The failure message
1123-
timestamp:
1124-
type: string
1125-
format: date-time
1126-
description: The time at which this failure occurred
1117+
causedBy:
1118+
type: array
1119+
items:
1120+
$ref: '#/definitions/FailureMessage'
11271121
WorkflowDescription:
11281122
required:
11291123
- valid
@@ -1212,9 +1206,9 @@ definitions:
12121206
typeName: Pair
12131207
pairTypes:
12141208
- leftType:
1215-
- typeName: Int
1209+
- typeName: Int
12161210
- rightType:
1217-
- typeName: String
1211+
- typeName: String
12181212
optional: false
12191213
default: null
12201214
typeDisplayName: Pair[Int, String]
@@ -1959,4 +1953,3 @@ definitions:
19591953
are also allowed. The version should be changed whenever the service
19601954
is updated.
19611955
example: 1.0.0
1962-

0 commit comments

Comments
 (0)