Skip to content
Snippets Groups Projects
Commit b2eaa53e authored by jurgenhaas's avatar jurgenhaas
Browse files

Update recipe for ECA 2 compatibility

parent e6fa2be4
Branches
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ id: eca_lib_0001 ...@@ -8,7 +8,7 @@ id: eca_lib_0001
modeller: bpmn_io modeller: bpmn_io
label: 'Route test' label: 'Route test'
version: v2 version: v2
weight: null weight: 0
events: events:
Event_0l86rxh: Event_0l86rxh:
plugin: 'kernel:controller' plugin: 'kernel:controller'
......
...@@ -24,15 +24,15 @@ modeldata: | ...@@ -24,15 +24,15 @@ modeldata: |
This is using the event [Controller found to handle request](https://ecaguide.org/plugins/eca/misc/events/kernel_controller/?h=controller+found+handle+request) as thiss is working even if pages are cached.</bpmn2:documentation> This is using the event [Controller found to handle request](https://ecaguide.org/plugins/eca/misc/events/kernel_controller/?h=controller+found+handle+request) as thiss is working even if pages are cached.</bpmn2:documentation>
<bpmn2:extensionElements> <bpmn2:extensionElements>
<camunda:properties> <camunda:properties>
<camunda:property name="Tags" value="simple,route,token,node" /> <camunda:property name="Tags" value="simple,route,token,node"/>
<camunda:property name="Changelog v1" value="Initial version" /> <camunda:property name="Changelog v1" value="Initial version"/>
<camunda:property name="Changelog v2" value="Updated to latest plugin versions, fixed some typos, change the event from &#34;Start dispatching request&#34; to &#34;Controller found to handle request&#34;" /> <camunda:property name="Changelog v2" value="Updated to latest plugin versions, fixed some typos, change the event from &quot;Start dispatching request&quot; to &quot;Controller found to handle request&quot;"/>
</camunda:properties> </camunda:properties>
</bpmn2:extensionElements> </bpmn2:extensionElements>
<bpmn2:startEvent id="Event_0l86rxh" name="Found controller" camunda:modelerTemplate="org.drupal.event.kernel:controller"> <bpmn2:startEvent id="Event_0l86rxh" name="Found controller" camunda:modelerTemplate="org.drupal.event.kernel:controller">
<bpmn2:extensionElements> <bpmn2:extensionElements>
<camunda:properties> <camunda:properties>
<camunda:property name="pluginid" value="kernel:controller" /> <camunda:property name="pluginid" value="kernel:controller"/>
</camunda:properties> </camunda:properties>
</bpmn2:extensionElements> </bpmn2:extensionElements>
<bpmn2:outgoing>Flow_0vgujvv</bpmn2:outgoing> <bpmn2:outgoing>Flow_0vgujvv</bpmn2:outgoing>
...@@ -40,7 +40,7 @@ modeldata: | ...@@ -40,7 +40,7 @@ modeldata: |
<bpmn2:task id="Activity_0yxnsha" name="Add node from route to token" camunda:modelerTemplate="org.drupal.action.eca_token_load_route_param"> <bpmn2:task id="Activity_0yxnsha" name="Add node from route to token" camunda:modelerTemplate="org.drupal.action.eca_token_load_route_param">
<bpmn2:extensionElements> <bpmn2:extensionElements>
<camunda:properties> <camunda:properties>
<camunda:property name="pluginid" value="eca_token_load_route_param" /> <camunda:property name="pluginid" value="eca_token_load_route_param"/>
</camunda:properties> </camunda:properties>
<camunda:field name="token_name"> <camunda:field name="token_name">
<camunda:string>mynode</camunda:string> <camunda:string>mynode</camunda:string>
...@@ -58,7 +58,7 @@ modeldata: | ...@@ -58,7 +58,7 @@ modeldata: |
<bpmn2:sequenceFlow id="Flow_0vgujvv" name="Is it a node request?" camunda:modelerTemplate="org.drupal.condition.eca_route_match" sourceRef="Event_0l86rxh" targetRef="Activity_0yxnsha"> <bpmn2:sequenceFlow id="Flow_0vgujvv" name="Is it a node request?" camunda:modelerTemplate="org.drupal.condition.eca_route_match" sourceRef="Event_0l86rxh" targetRef="Activity_0yxnsha">
<bpmn2:extensionElements> <bpmn2:extensionElements>
<camunda:properties> <camunda:properties>
<camunda:property name="pluginid" value="eca_route_match" /> <camunda:property name="pluginid" value="eca_route_match"/>
</camunda:properties> </camunda:properties>
<camunda:field name="operator"> <camunda:field name="operator">
<camunda:string>equal</camunda:string> <camunda:string>equal</camunda:string>
...@@ -83,7 +83,7 @@ modeldata: | ...@@ -83,7 +83,7 @@ modeldata: |
<bpmn2:task id="Activity_1bcku98" name="Print node title as message" camunda:modelerTemplate="org.drupal.action.action_message_action"> <bpmn2:task id="Activity_1bcku98" name="Print node title as message" camunda:modelerTemplate="org.drupal.action.action_message_action">
<bpmn2:extensionElements> <bpmn2:extensionElements>
<camunda:properties> <camunda:properties>
<camunda:property name="pluginid" value="action_message_action" /> <camunda:property name="pluginid" value="action_message_action"/>
</camunda:properties> </camunda:properties>
<camunda:field name="message"> <camunda:field name="message">
<camunda:string>You are visiting "[mynode:title]"</camunda:string> <camunda:string>You are visiting "[mynode:title]"</camunda:string>
...@@ -97,7 +97,7 @@ modeldata: | ...@@ -97,7 +97,7 @@ modeldata: |
<bpmn2:sequenceFlow id="Flow_057atra" name="Is it an article?" camunda:modelerTemplate="org.drupal.condition.eca_entity_type_bundle" sourceRef="Activity_0yxnsha" targetRef="Activity_1bcku98"> <bpmn2:sequenceFlow id="Flow_057atra" name="Is it an article?" camunda:modelerTemplate="org.drupal.condition.eca_entity_type_bundle" sourceRef="Activity_0yxnsha" targetRef="Activity_1bcku98">
<bpmn2:extensionElements> <bpmn2:extensionElements>
<camunda:properties> <camunda:properties>
<camunda:property name="pluginid" value="eca_entity_type_bundle" /> <camunda:property name="pluginid" value="eca_entity_type_bundle"/>
</camunda:properties> </camunda:properties>
<camunda:field name="type"> <camunda:field name="type">
<camunda:string>node article</camunda:string> <camunda:string>node article</camunda:string>
...@@ -114,31 +114,31 @@ modeldata: | ...@@ -114,31 +114,31 @@ modeldata: |
<bpmndi:BPMNDiagram id="sid-c4cc2aba-38be-41bc-9c9c-1bd2c06a402f"> <bpmndi:BPMNDiagram id="sid-c4cc2aba-38be-41bc-9c9c-1bd2c06a402f">
<bpmndi:BPMNPlane id="sid-82cbdb3a-43a7-4a22-8b63-5aa1fb0fc600" bpmnElement="ECA_Lib_0001"> <bpmndi:BPMNPlane id="sid-82cbdb3a-43a7-4a22-8b63-5aa1fb0fc600" bpmnElement="ECA_Lib_0001">
<bpmndi:BPMNShape id="Event_0l86rxh_di" bpmnElement="Event_0l86rxh"> <bpmndi:BPMNShape id="Event_0l86rxh_di" bpmnElement="Event_0l86rxh">
<dc:Bounds x="382" y="112" width="36" height="36" /> <dc:Bounds x="382" y="112" width="36" height="36"/>
<bpmndi:BPMNLabel> <bpmndi:BPMNLabel>
<dc:Bounds x="361" y="155" width="80" height="14" /> <dc:Bounds x="361" y="155" width="80" height="14"/>
</bpmndi:BPMNLabel> </bpmndi:BPMNLabel>
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0yxnsha_di" bpmnElement="Activity_0yxnsha"> <bpmndi:BPMNShape id="Activity_0yxnsha_di" bpmnElement="Activity_0yxnsha">
<dc:Bounds x="580" y="90" width="100" height="80" /> <dc:Bounds x="580" y="90" width="100" height="80"/>
<bpmndi:BPMNLabel /> <bpmndi:BPMNLabel/>
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1bcku98_di" bpmnElement="Activity_1bcku98"> <bpmndi:BPMNShape id="Activity_1bcku98_di" bpmnElement="Activity_1bcku98">
<dc:Bounds x="820" y="90" width="100" height="80" /> <dc:Bounds x="820" y="90" width="100" height="80"/>
<bpmndi:BPMNLabel /> <bpmndi:BPMNLabel/>
</bpmndi:BPMNShape> </bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0vgujvv_di" bpmnElement="Flow_0vgujvv"> <bpmndi:BPMNEdge id="Flow_0vgujvv_di" bpmnElement="Flow_0vgujvv">
<di:waypoint x="418" y="130" /> <di:waypoint x="418" y="130"/>
<di:waypoint x="580" y="130" /> <di:waypoint x="580" y="130"/>
<bpmndi:BPMNLabel> <bpmndi:BPMNLabel>
<dc:Bounds x="472" y="96" width="54" height="27" /> <dc:Bounds x="472" y="96" width="54" height="27"/>
</bpmndi:BPMNLabel> </bpmndi:BPMNLabel>
</bpmndi:BPMNEdge> </bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_057atra_di" bpmnElement="Flow_057atra"> <bpmndi:BPMNEdge id="Flow_057atra_di" bpmnElement="Flow_057atra">
<di:waypoint x="680" y="130" /> <di:waypoint x="680" y="130"/>
<di:waypoint x="820" y="130" /> <di:waypoint x="820" y="130"/>
<bpmndi:BPMNLabel> <bpmndi:BPMNLabel>
<dc:Bounds x="715" y="112" width="71" height="14" /> <dc:Bounds x="715" y="112" width="71" height="14"/>
</bpmndi:BPMNLabel> </bpmndi:BPMNLabel>
</bpmndi:BPMNEdge> </bpmndi:BPMNEdge>
</bpmndi:BPMNPlane> </bpmndi:BPMNPlane>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment