Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ECA and http services
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Drupal
Recipes
ECA and http services
Commits
80454a65
Commit
80454a65
authored
10 months ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Update recipe for ECA 2 compatibility
parent
1f13c0e3
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config/eca.eca.eca_lib_0032.yml
+1
-1
1 addition, 1 deletion
config/eca.eca.eca_lib_0032.yml
config/eca.model.eca_lib_0032.yml
+53
-53
53 additions, 53 deletions
config/eca.model.eca_lib_0032.yml
with
54 additions
and
54 deletions
config/eca.eca.eca_lib_0032.yml
+
1
−
1
View file @
80454a65
...
...
@@ -10,7 +10,7 @@ id: eca_lib_0032
modeller
:
bpmn_io
label
:
'
ECA
and
http
services'
version
:
v1
weight
:
null
weight
:
0
events
:
Event_1s3uc5u
:
plugin
:
'
eca_base:eca_custom'
...
...
This diff is collapsed.
Click to expand it.
config/eca.model.eca_lib_0032.yml
+
53
−
53
View file @
80454a65
...
...
@@ -35,14 +35,14 @@ modeldata: |
The creation of this module was recorded and the video with additional explanations can be [watched here](https://tube.tchncs.de/w/eTrzr42LFCmpGv682rqrgz).</bpmn2:documentation>
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="Changelog v1" value="Initial release."
/>
<camunda:property name="Tags" value="simple,http,API,endpoint,access"
/>
<camunda:property name="Changelog v1" value="Initial release."/>
<camunda:property name="Tags" value="simple,http,API,endpoint,access"/>
</camunda:properties>
</bpmn2:extensionElements>
<bpmn2:startEvent id="Event_1s3uc5u" name="Custom event" camunda:modelerTemplate="org.drupal.event.eca_base:eca_custom">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="eca_base:eca_custom"
/>
<camunda:property name="pluginid" value="eca_base:eca_custom"/>
</camunda:properties>
<camunda:field name="event_id">
<camunda:string>http01</camunda:string>
...
...
@@ -53,17 +53,17 @@ modeldata: |
<bpmn2:task id="Activity_0goldzj" name="Receive all posts" camunda:modelerTemplate="org.drupal.action.http_client_manager_preconfigured_request:all_posts">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="http_client_manager_preconfigured_request:all_posts"
/>
<camunda:property name="pluginid" value="http_client_manager_preconfigured_request:all_posts"/>
</camunda:properties>
</bpmn2:extensionElements>
<bpmn2:incoming>Flow_0z31vm2</bpmn2:incoming>
<bpmn2:outgoing>Flow_04o6qb0</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="Flow_0z31vm2" sourceRef="Event_1s3uc5u" targetRef="Activity_0goldzj"
/>
<bpmn2:sequenceFlow id="Flow_0z31vm2" sourceRef="Event_1s3uc5u" targetRef="Activity_0goldzj"/>
<bpmn2:task id="Activity_0edcvqy" name="Store result in a token" camunda:modelerTemplate="org.drupal.action.eca_privatetempstore_read">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="eca_privatetempstore_read"
/>
<camunda:property name="pluginid" value="eca_privatetempstore_read"/>
</camunda:properties>
<camunda:field name="collection">
<camunda:string>http_client_manager</camunda:string>
...
...
@@ -78,11 +78,11 @@ modeldata: |
<bpmn2:incoming>Flow_04o6qb0</bpmn2:incoming>
<bpmn2:outgoing>Flow_0av152f</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="Flow_04o6qb0" sourceRef="Activity_0goldzj" targetRef="Activity_0edcvqy"
/>
<bpmn2:sequenceFlow id="Flow_04o6qb0" sourceRef="Activity_0goldzj" targetRef="Activity_0edcvqy"/>
<bpmn2:task id="Activity_1c777zu" name="Print result" camunda:modelerTemplate="org.drupal.action.action_message_action">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="action_message_action"
/>
<camunda:property name="pluginid" value="action_message_action"/>
</camunda:properties>
<camunda:field name="message">
<camunda:string>Result was:
...
...
@@ -95,11 +95,11 @@ modeldata: |
</bpmn2:extensionElements>
<bpmn2:incoming>Flow_0av152f</bpmn2:incoming>
</bpmn2:task>
<bpmn2:sequenceFlow id="Flow_0av152f" sourceRef="Activity_0edcvqy" targetRef="Activity_1c777zu"
/>
<bpmn2:sequenceFlow id="Flow_0av152f" sourceRef="Activity_0edcvqy" targetRef="Activity_1c777zu"/>
<bpmn2:startEvent id="Event_0nbwyol" name="Define API access" camunda:modelerTemplate="org.drupal.event.eca_endpoint:access">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="eca_endpoint:access"
/>
<camunda:property name="pluginid" value="eca_endpoint:access"/>
</camunda:properties>
<camunda:field name="first_path_argument">
<camunda:string>tv</camunda:string>
...
...
@@ -113,7 +113,7 @@ modeldata: |
<bpmn2:task id="Activity_0em35dt" name="allow access" camunda:modelerTemplate="org.drupal.action.eca_access_set_result">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="eca_access_set_result"
/>
<camunda:property name="pluginid" value="eca_access_set_result"/>
</camunda:properties>
<camunda:field name="access_result">
<camunda:string>allowed</camunda:string>
...
...
@@ -121,11 +121,11 @@ modeldata: |
</bpmn2:extensionElements>
<bpmn2:incoming>Flow_0udtyn8</bpmn2:incoming>
</bpmn2:task>
<bpmn2:sequenceFlow id="Flow_0udtyn8" sourceRef="Event_0nbwyol" targetRef="Activity_0em35dt"
/>
<bpmn2:sequenceFlow id="Flow_0udtyn8" sourceRef="Event_0nbwyol" targetRef="Activity_0em35dt"/>
<bpmn2:startEvent id="Event_0505h6i" name="Define API response" camunda:modelerTemplate="org.drupal.event.eca_endpoint:response">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="eca_endpoint:response"
/>
<camunda:property name="pluginid" value="eca_endpoint:response"/>
</camunda:properties>
<camunda:field name="first_path_argument">
<camunda:string>tv</camunda:string>
...
...
@@ -139,7 +139,7 @@ modeldata: |
<bpmn2:task id="Activity_1w2b9qc" name="Define response content" camunda:modelerTemplate="org.drupal.action.eca_endpoint_set_response_content">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="eca_endpoint_set_response_content"
/>
<camunda:property name="pluginid" value="eca_endpoint_set_response_content"/>
</camunda:properties>
<camunda:field name="content">
<camunda:string>[
...
...
@@ -151,11 +151,11 @@ modeldata: |
<bpmn2:incoming>Flow_0bp7212</bpmn2:incoming>
<bpmn2:outgoing>Flow_10n5gup</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="Flow_0bp7212" sourceRef="Event_0505h6i" targetRef="Activity_1w2b9qc"
/>
<bpmn2:sequenceFlow id="Flow_0bp7212" sourceRef="Event_0505h6i" targetRef="Activity_1w2b9qc"/>
<bpmn2:task id="Activity_1vwcl5y" name="Set response code" camunda:modelerTemplate="org.drupal.action.eca_endpoint_set_response_status_code">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="eca_endpoint_set_response_status_code"
/>
<camunda:property name="pluginid" value="eca_endpoint_set_response_status_code"/>
</camunda:properties>
<camunda:field name="code">
<camunda:string>201</camunda:string>
...
...
@@ -164,11 +164,11 @@ modeldata: |
<bpmn2:incoming>Flow_10n5gup</bpmn2:incoming>
<bpmn2:outgoing>Flow_1lvwkuu</bpmn2:outgoing>
</bpmn2:task>
<bpmn2:sequenceFlow id="Flow_10n5gup" sourceRef="Activity_1w2b9qc" targetRef="Activity_1vwcl5y"
/>
<bpmn2:sequenceFlow id="Flow_10n5gup" sourceRef="Activity_1w2b9qc" targetRef="Activity_1vwcl5y"/>
<bpmn2:task id="Activity_0echpli" name="Set json content type" camunda:modelerTemplate="org.drupal.action.eca_endpoint_set_response_content_type">
<bpmn2:extensionElements>
<camunda:properties>
<camunda:property name="pluginid" value="eca_endpoint_set_response_content_type"
/>
<camunda:property name="pluginid" value="eca_endpoint_set_response_content_type"/>
</camunda:properties>
<camunda:field name="content_type">
<camunda:string>application/json; charset=UTF-8</camunda:string>
...
...
@@ -176,83 +176,83 @@ modeldata: |
</bpmn2:extensionElements>
<bpmn2:incoming>Flow_1lvwkuu</bpmn2:incoming>
</bpmn2:task>
<bpmn2:sequenceFlow id="Flow_1lvwkuu" sourceRef="Activity_1vwcl5y" targetRef="Activity_0echpli"
/>
<bpmn2:sequenceFlow id="Flow_1lvwkuu" sourceRef="Activity_1vwcl5y" targetRef="Activity_0echpli"/>
</bpmn2:process>
<bpmndi:BPMNDiagram id="sid-a4599e79-d74f-4ebe-b2bf-a455aa57add6">
<bpmndi:BPMNPlane id="sid-f423eab8-48ae-42e4-b70f-4a9fca6946ef" bpmnElement="eca_lib_0032">
<bpmndi:BPMNShape id="Event_1s3uc5u_di" bpmnElement="Event_1s3uc5u">
<dc:Bounds x="452" y="92" width="36" height="36"
/>
<dc:Bounds x="452" y="92" width="36" height="36"/>
<bpmndi:BPMNLabel>
<dc:Bounds x="436" y="135" width="68" height="14"
/>
<dc:Bounds x="436" y="135" width="68" height="14"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0goldzj_di" bpmnElement="Activity_0goldzj">
<dc:Bounds x="540" y="70" width="100" height="80"
/>
<bpmndi:BPMNLabel
/>
<dc:Bounds x="540" y="70" width="100" height="80"/>
<bpmndi:BPMNLabel/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0edcvqy_di" bpmnElement="Activity_0edcvqy">
<dc:Bounds x="700" y="70" width="100" height="80"
/>
<bpmndi:BPMNLabel
/>
<dc:Bounds x="700" y="70" width="100" height="80"/>
<bpmndi:BPMNLabel/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1c777zu_di" bpmnElement="Activity_1c777zu">
<dc:Bounds x="860" y="70" width="100" height="80"
/>
<bpmndi:BPMNLabel
/>
<dc:Bounds x="860" y="70" width="100" height="80"/>
<bpmndi:BPMNLabel/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0nbwyol_di" bpmnElement="Event_0nbwyol">
<dc:Bounds x="452" y="182" width="36" height="36"
/>
<dc:Bounds x="452" y="182" width="36" height="36"/>
<bpmndi:BPMNLabel>
<dc:Bounds x="426" y="225" width="90" height="14"
/>
<dc:Bounds x="426" y="225" width="90" height="14"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0em35dt_di" bpmnElement="Activity_0em35dt">
<dc:Bounds x="540" y="160" width="100" height="80"
/>
<bpmndi:BPMNLabel
/>
<dc:Bounds x="540" y="160" width="100" height="80"/>
<bpmndi:BPMNLabel/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0505h6i_di" bpmnElement="Event_0505h6i">
<dc:Bounds x="452" y="272" width="36" height="36"
/>
<dc:Bounds x="452" y="272" width="36" height="36"/>
<bpmndi:BPMNLabel>
<dc:Bounds x="444" y="315" width="53" height="27"
/>
<dc:Bounds x="444" y="315" width="53" height="27"/>
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1w2b9qc_di" bpmnElement="Activity_1w2b9qc">
<dc:Bounds x="540" y="250" width="100" height="80"
/>
<bpmndi:BPMNLabel
/>
<dc:Bounds x="540" y="250" width="100" height="80"/>
<bpmndi:BPMNLabel/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1vwcl5y_di" bpmnElement="Activity_1vwcl5y">
<dc:Bounds x="700" y="250" width="100" height="80"
/>
<bpmndi:BPMNLabel
/>
<dc:Bounds x="700" y="250" width="100" height="80"/>
<bpmndi:BPMNLabel/>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0echpli_di" bpmnElement="Activity_0echpli">
<dc:Bounds x="860" y="250" width="100" height="80"
/>
<bpmndi:BPMNLabel
/>
<dc:Bounds x="860" y="250" width="100" height="80"/>
<bpmndi:BPMNLabel/>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_0z31vm2_di" bpmnElement="Flow_0z31vm2">
<di:waypoint x="488" y="110"
/>
<di:waypoint x="540" y="110"
/>
<di:waypoint x="488" y="110"/>
<di:waypoint x="540" y="110"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_04o6qb0_di" bpmnElement="Flow_04o6qb0">
<di:waypoint x="640" y="110"
/>
<di:waypoint x="700" y="110"
/>
<di:waypoint x="640" y="110"/>
<di:waypoint x="700" y="110"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0av152f_di" bpmnElement="Flow_0av152f">
<di:waypoint x="800" y="110"
/>
<di:waypoint x="860" y="110"
/>
<di:waypoint x="800" y="110"/>
<di:waypoint x="860" y="110"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0udtyn8_di" bpmnElement="Flow_0udtyn8">
<di:waypoint x="488" y="200"
/>
<di:waypoint x="540" y="200"
/>
<di:waypoint x="488" y="200"/>
<di:waypoint x="540" y="200"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0bp7212_di" bpmnElement="Flow_0bp7212">
<di:waypoint x="488" y="290"
/>
<di:waypoint x="540" y="290"
/>
<di:waypoint x="488" y="290"/>
<di:waypoint x="540" y="290"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_10n5gup_di" bpmnElement="Flow_10n5gup">
<di:waypoint x="640" y="290"
/>
<di:waypoint x="700" y="290"
/>
<di:waypoint x="640" y="290"/>
<di:waypoint x="700" y="290"/>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1lvwkuu_di" bpmnElement="Flow_1lvwkuu">
<di:waypoint x="800" y="290"
/>
<di:waypoint x="860" y="290"
/>
<di:waypoint x="800" y="290"/>
<di:waypoint x="860" y="290"/>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment