Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ctk/features/call.feature
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Feature: Call Task
with:
document:
endpoint: "https://petstore.swagger.io/v2/swagger.json"
operation: findPetsByStatus
operationId: findPetsByStatus
parameters:
status: ${ .status }
output:
Expand Down Expand Up @@ -132,7 +132,7 @@ Feature: Call Task
with:
document:
endpoint: "https://petstore.swagger.io/v2/swagger.json"
operation: getPetById
operationId: getPetById
parameters:
petId: ${ .petId }
output: response
Expand Down
2 changes: 1 addition & 1 deletion ctk/features/raise.feature
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ Feature: Raise Task
status: 400
type: https://serverlessworkflow.io/errors/types/compliance
title: Compliance Error
instance: /do/raiseComplianceError
instance: /do/0/raiseError
"""
2 changes: 1 addition & 1 deletion ctk/features/try.feature
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Feature: Try Task
And the workflow output should have properties 'error', 'error.type', 'error.status', 'error.title'
And the workflow output should have a 'error.instance' property with value:
"""yaml
/do/tryGetPet/try
/do/0/tryGetPet/try/0/getPet
"""

# Tests that try tasks fault when an uncaught error is raised
Expand Down