-
Notifications
You must be signed in to change notification settings - Fork 197
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(cloud-element-templates): add undefined input binding (optional)…
… test case
- Loading branch information
Showing
1 changed file
with
79 additions
and
0 deletions.
There are no files selected for viewing
79 changes: 79 additions & 0 deletions
79
test/spec/provider/cloud-element-templates/fixtures/undefined-input-binding-optional.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,79 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json", | ||
"name": "Undefined input binding (optional)", | ||
"id": "undefined-input-binding-optional", | ||
"appliesTo": [ | ||
"bpmn:Task" | ||
], | ||
"elementType": { | ||
"value": "bpmn:ServiceTask" | ||
}, | ||
"properties": [ | ||
{ | ||
"id": "default-changer", | ||
"label": "Change the default", | ||
"type": "Dropdown", | ||
"choices": [ | ||
{ | ||
"name": "Set it as 1", | ||
"value": "set-1" | ||
}, | ||
{ | ||
"name": "Set it as 2", | ||
"value": "set-2" | ||
}, | ||
{ | ||
"name": "Set it as 3", | ||
"value": "set-3" | ||
} | ||
], | ||
"binding": { | ||
"type": "zeebe:input", | ||
"name": "ignore" | ||
}, | ||
"optional": true | ||
}, | ||
{ | ||
"label": "Input Test", | ||
"type": "String", | ||
"binding": { | ||
"type": "zeebe:input", | ||
"name": "test" | ||
}, | ||
"optional": true | ||
}, | ||
{ | ||
"label": "Property test", | ||
"type": "String", | ||
"binding": { | ||
"type": "zeebe:property", | ||
"name": "test" | ||
}, | ||
"optional": true | ||
}, | ||
{ | ||
"label": "Output Test", | ||
"type": "String", | ||
"binding": { | ||
"type": "zeebe:output", | ||
"source": "test" | ||
}, | ||
"optional": true | ||
}, | ||
{ | ||
"label": "Task Header Test", | ||
"type": "String", | ||
"binding": { | ||
"type": "zeebe:taskHeader", | ||
"key": "test" | ||
} | ||
}, | ||
{ | ||
"label": "Task Definition Type", | ||
"type": "String", | ||
"binding": { | ||
"type": "zeebe:taskDefinition:type" | ||
} | ||
} | ||
] | ||
} |