Skip to content

Commit

Permalink
tests: add incompatible template to complex example
Browse files Browse the repository at this point in the history
  • Loading branch information
jarekdanielak committed Dec 9, 2024
1 parent 19d724a commit d66afd3
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/spec/cloud-element-templates/fixtures/complex.bpmn
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@
<zeebe:property name="property-3-name" value="property-3-value" />
</zeebe:properties>
</bpmn:extensionElements>
</bpmn:serviceTask>
</bpmn:serviceTask>
<bpmn:serviceTask id="Activity_1dnqc94" name="incompatible template" zeebe:modelerTemplate="example.engines.test.incompatible">
</bpmn:serviceTask>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_0vvlc66">
Expand Down Expand Up @@ -139,6 +141,10 @@
<bpmndi:BPMNShape id="Activity_0xl49z8_di" bpmnElement="Activity_070m932">
<dc:Bounds x="270" y="690" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="BPMNShape_0wdqmez" bpmnElement="Activity_1dnqc94">
<dc:Bounds x="410" y="690" width="100" height="80" />
<bpmndi:BPMNLabel />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0gw5hlt_di" bpmnElement="Flow_0gw5hlt">
<di:waypoint x="215" y="117" />
<di:waypoint x="270" y="117" />
Expand Down
24 changes: 24 additions & 0 deletions test/spec/cloud-element-templates/fixtures/engines.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,5 +84,29 @@
"bpmn:Task"
],
"properties": []
},

{
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
"id": "example.engines.test.incompatible",
"name": "<engines> Test - incompatible",
"description": "incompatible with all camunda versions",
"engines": {
"camunda": "0"
},
"appliesTo": [
"bpmn:Task"
],
"properties": [
{
"label": "Task Header 2",
"type": "String",
"value": "header-2-value",
"binding": {
"type": "zeebe:taskHeader",
"key": "header-2-key"
}
}
]
}
]

0 comments on commit d66afd3

Please sign in to comment.