Skip to content

Commit

Permalink
chore(cloud-templates): add demo example
Browse files Browse the repository at this point in the history
  • Loading branch information
smbea committed Aug 25, 2023
1 parent 93ffaac commit f07fc39
Showing 1 changed file with 42 additions and 27 deletions.
69 changes: 42 additions & 27 deletions test/spec/cloud-element-templates/fixtures/complex.json
Original file line number Diff line number Diff line change
Expand Up @@ -814,52 +814,67 @@
"choices": [
{
"name": "Get an issue by ID",
"value": "getIssueById"
"value": "getIssueById",
"condition": {
"property": "operationGroup",
"equals": "issues"
}
},
{
"name": "Create an issue",
"value": "createAnIssue"
"value": "createAnIssue",
"condition": {
"property": "operationGroup",
"equals": "issues"
}
},
{
"name": "Delete an issue",
"value": "deleteAnIssue"
"value": "deleteAnIssue",
"condition": {
"property": "operationGroup",
"equals": "issues"
}
},
{
"name": "Comment to an issue",
"value": "commentToAnIssue"
"value": "commentToAnIssue",
"condition": {
"property": "operationGroup",
"equals": "issues"
}
},
{
"name": "Search issues",
"value": "searchIssues"
}
],
"binding": {
"type": "zeebe:input",
"name": "operation"
},
"condition": {
"property": "operationGroup",
"equals": "issues"
}
},
{
"label": "Operation",
"id": "operation",
"group": "operation",
"description": "Choose operation to perform",
"type": "Dropdown",
"choices": [
"value": "searchIssues",
"condition": {
"property": "operationGroup",
"equals": "issues"
}
},
{
"name": "List all releases by project ID",
"value": "getReleasesByProjectId"
"value": "getReleasesByProjectId",
"condition": {
"property": "operationGroup",
"equals": "releases"
}
},
{
"name": "Get release by a tag name",
"value": "getReleaseByTagName"
"value": "getReleaseByTagName",
"condition": {
"property": "operationGroup",
"equals": "releases"
}
},
{
"name": "Create a release",
"value": "createRelease"
"value": "createRelease",
"condition": {
"property": "operationGroup",
"equals": "releases"
}
}
],
"binding": {
Expand All @@ -868,7 +883,7 @@
},
"condition": {
"property": "operationGroup",
"equals": "releases"
"oneOf": ["issues", "releases"]
}
},
{
Expand Down

0 comments on commit f07fc39

Please sign in to comment.