cpee 1.3.175 → 1.3.176

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/index.html +1 -1
  3. data/cockpit/js/instance.js +40 -37
  4. data/cockpit/lib/relaxngui.js +4 -0
  5. data/cockpit/lib/ui.css +0 -5
  6. data/cockpit/lib/ui.js +6 -2
  7. data/cockpit/rngtest.html +74 -0
  8. data/cockpit/rngtest.rng +60 -0
  9. data/cockpit/rngtest.xml +15 -0
  10. data/cockpit/testsets/Concurrent.xml +2 -2
  11. data/cockpit/testsets/Coopis Testset.xml +4 -4
  12. data/cockpit/testsets/Linear.xml +3 -3
  13. data/cockpit/testsets/Mangler 1.xml +1 -1
  14. data/cockpit/testsets/Mangler 2.xml +8 -8
  15. data/cockpit/testsets/SOPROMO Test Sonification.xml +10 -10
  16. data/cockpit/testsets/Syncing P34 1.xml +4 -4
  17. data/cockpit/testsets/Syncing P34 2.xml +4 -4
  18. data/cockpit/testsets/Syncing P34 3.xml +4 -4
  19. data/cockpit/testsets/Syncing P34.xml +4 -4
  20. data/cockpit/testsets/TEST - Wrong Positions.xml +20 -20
  21. data/cockpit/testsets/Update.xml +11 -0
  22. data/cockpit/testsets/Worklist Test.xml +39 -0
  23. data/cockpit/testsets/testsets.xml +4 -0
  24. data/cpee.gemspec +1 -1
  25. data/lib/cpee/callback.rb +6 -2
  26. data/lib/cpee/controller.rb +8 -8
  27. data/lib/cpee/handler_notifications.rb +4 -4
  28. data/lib/cpee/handler_properties.rb +5 -5
  29. data/lib/cpee/implementation.rb +1 -1
  30. data/server/handlerwrappers/default.rb +30 -25
  31. data/server/handlerwrappers/soap.rb +13 -13
  32. data/server/instances/1/properties.xml +69 -101
  33. data/server/instances/10/properties.xml +106 -70
  34. data/server/instances/11/properties.xml +133 -73
  35. data/server/instances/12/properties.xml +1 -0
  36. data/server/instances/14/notifications/5bcce90b170116a77fb25aea4e133acc/consumer-secret +1 -0
  37. data/server/instances/14/notifications/5bcce90b170116a77fb25aea4e133acc/producer-secret +1 -0
  38. data/server/instances/{13/notifications/4ff0cde5161c44dae49b263cbc12eaf8 → 14/notifications/5bcce90b170116a77fb25aea4e133acc}/subscription.xml +0 -0
  39. data/server/instances/14/properties.xml +160 -160
  40. data/server/instances/15/properties.xml +28 -314
  41. data/server/instances/16/properties.xml +28 -249
  42. data/server/instances/17/properties.xml +28 -130
  43. data/server/instances/18/properties.xml +3 -2
  44. data/server/instances/19/properties.xml +0 -1
  45. data/server/instances/2/properties.xml +191 -44
  46. data/server/instances/20/properties.xml +46 -0
  47. data/server/instances/21/properties.xml +46 -0
  48. data/server/instances/22/notifications/f9c504b8c715ec94a99fc3c6a660c53a/consumer-secret +1 -0
  49. data/server/instances/22/notifications/f9c504b8c715ec94a99fc3c6a660c53a/producer-secret +1 -0
  50. data/server/instances/22/notifications/f9c504b8c715ec94a99fc3c6a660c53a/subscription.xml +23 -0
  51. data/server/instances/22/properties.xml +112 -0
  52. data/server/instances/23/notifications/0a5a059f4ae897aee1446d560210dec0/consumer-secret +1 -0
  53. data/server/instances/23/notifications/0a5a059f4ae897aee1446d560210dec0/producer-secret +1 -0
  54. data/server/instances/23/notifications/0a5a059f4ae897aee1446d560210dec0/subscription.xml +23 -0
  55. data/server/instances/23/properties.xml +148 -0
  56. data/server/instances/24/properties.xml +66 -0
  57. data/server/instances/25/properties.xml +46 -0
  58. data/server/instances/26/properties.xml +112 -0
  59. data/server/instances/27/properties.xml +212 -0
  60. data/server/instances/28/properties.xml +363 -0
  61. data/server/instances/29/properties.xml +148 -0
  62. data/server/instances/3/properties.xml +70 -44
  63. data/server/instances/30/properties.xml +150 -0
  64. data/server/instances/31/properties.xml +52 -0
  65. data/server/instances/32/properties.xml +52 -0
  66. data/server/instances/33/properties.xml +60 -0
  67. data/server/instances/34/properties.xml +148 -0
  68. data/server/instances/35/properties.xml +148 -0
  69. data/server/instances/36/properties.xml +150 -0
  70. data/server/instances/37/notifications/2b67c793efcea22d88beaa28249001be/consumer-secret +1 -0
  71. data/server/instances/37/notifications/2b67c793efcea22d88beaa28249001be/producer-secret +1 -0
  72. data/server/instances/37/notifications/2b67c793efcea22d88beaa28249001be/subscription.xml +34 -0
  73. data/server/instances/37/notifications/5f979ed943f91ff75d75e551ba0642d6/consumer-secret +1 -0
  74. data/server/instances/37/notifications/5f979ed943f91ff75d75e551ba0642d6/producer-secret +1 -0
  75. data/server/instances/37/notifications/5f979ed943f91ff75d75e551ba0642d6/subscription.xml +33 -0
  76. data/server/instances/37/properties.xml +57 -0
  77. data/server/instances/4/properties.xml +28 -68
  78. data/server/instances/5/properties.xml +10 -70
  79. data/server/instances/6/properties.xml +175 -55
  80. data/server/instances/7/properties.xml +118 -52
  81. data/server/instances/8/properties.xml +112 -50
  82. data/server/instances/9/properties.xml +115 -47
  83. data/server/resources/topics.xml +15 -15
  84. data/server/resources/transformation_dslx.xsl +43 -5
  85. data/test/cb.rb +9 -0
  86. metadata +44 -9
  87. data/server/instances/12/notifications/8d7f2ae546a742fce3a0a488266ea51d/consumer-secret +0 -1
  88. data/server/instances/12/notifications/8d7f2ae546a742fce3a0a488266ea51d/producer-secret +0 -1
  89. data/server/instances/12/notifications/8d7f2ae546a742fce3a0a488266ea51d/subscription.xml +0 -6
  90. data/server/instances/13/notifications/4ff0cde5161c44dae49b263cbc12eaf8/consumer-secret +0 -1
  91. data/server/instances/13/notifications/4ff0cde5161c44dae49b263cbc12eaf8/producer-secret +0 -1
@@ -0,0 +1,46 @@
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ This file is part of CPEE.
4
+
5
+ CPEE is free software: you can redistribute it and/or modify it under the terms
6
+ of the GNU General Public License as published by the Free Software Foundation,
7
+ either version 3 of the License, or (at your option) any later version.
8
+
9
+ CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
10
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11
+ PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
+
13
+ You should have received a copy of the GNU General Public License along with
14
+ CPEE (file COPYING in the main directory). If not, see
15
+ <http://www.gnu.org/licenses/>.
16
+ -->
17
+
18
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
19
+ <attributes>
20
+ <info/>
21
+ <modeltype>CPEE</modeltype>
22
+ </attributes>
23
+ <state>ready</state>
24
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
25
+ <positions/>
26
+ <dataelements/>
27
+ <endpoints>
28
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
29
+ </endpoints>
30
+ <dsl/>
31
+ <dslx>
32
+ <description xmlns="http://cpee.org/ns/description/1.0"/>
33
+ </dslx>
34
+ <status>
35
+ <id>0</id>
36
+ <message>undefined</message>
37
+ </status>
38
+ <description>
39
+ <description xmlns="http://cpee.org/ns/description/1.0"/>
40
+ </description>
41
+ <transformation>
42
+ <description type='copy'/>
43
+ <dataelements type='none'/>
44
+ <endpoints type='none'/>
45
+ </transformation>
46
+ </properties>
@@ -0,0 +1,112 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <info>Enter info here</info>
4
+ <modeltype>CPEE</modeltype>
5
+ </attributes>
6
+ <state>ready</state>
7
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
8
+ <positions>
9
+ <a1>after</a1>
10
+ </positions>
11
+ <dataelements>
12
+ <x/>
13
+ </dataelements>
14
+ <endpoints>
15
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
16
+ </endpoints>
17
+ <dsl>call :a1, :timeout, { :method =&gt; :post, :parameters =&gt; {:timeout =&gt; 2} }, &lt;&lt;-end
18
+ data.x += "a1,"
19
+ end
20
+ call :a2, :timeout, { :method =&gt; :post, :parameters =&gt; {:timeout =&gt; 4} }, &lt;&lt;-end
21
+ data.x += "a2,"
22
+ end
23
+ call :a3, :timeout, { :method =&gt; :post, :parameters =&gt; {:timeout =&gt; 4} }, &lt;&lt;-end
24
+ data.x += "a3,"
25
+ end
26
+ </dsl>
27
+ <dslx>
28
+ <description xmlns="http://cpee.org/ns/description/1.0">
29
+ <!--{{{-->
30
+ <call id="a1" endpoint="timeout">
31
+ <parameters>
32
+ <!--{{{-->
33
+ <method>:post</method>
34
+ <parameters>
35
+ <timeout>2</timeout>
36
+ </parameters>
37
+ </parameters>
38
+ <!--}}}-->
39
+ <manipulate output="result"> data.x += "a1,"</manipulate>
40
+ </call>
41
+ <call id="a2" endpoint="timeout">
42
+ <parameters>
43
+ <!--{{{-->
44
+ <method>:post</method>
45
+ <parameters>
46
+ <timeout>4</timeout>
47
+ </parameters>
48
+ </parameters>
49
+ <!--}}}-->
50
+ <manipulate output="result"> data.x += "a2,"</manipulate>
51
+ </call>
52
+ <call id="a3" endpoint="timeout">
53
+ <parameters>
54
+ <!--{{{-->
55
+ <method>:post</method>
56
+ <parameters>
57
+ <timeout>4</timeout>
58
+ </parameters>
59
+ </parameters>
60
+ <!--}}}-->
61
+ <manipulate output="result"> data.x += "a3,"</manipulate>
62
+ </call>
63
+ </description>
64
+ </dslx>
65
+ <status>
66
+ <id>0</id>
67
+ <message>undefined</message>
68
+ </status>
69
+ <description>
70
+ <description xmlns="http://cpee.org/ns/description/1.0">
71
+ <!--{{{-->
72
+ <call id="a1" endpoint="timeout">
73
+ <parameters>
74
+ <!--{{{-->
75
+ <method>:post</method>
76
+ <parameters>
77
+ <timeout>2</timeout>
78
+ </parameters>
79
+ </parameters>
80
+ <!--}}}-->
81
+ <manipulate output="result"> data.x += "a1,"</manipulate>
82
+ </call>
83
+ <call id="a2" endpoint="timeout">
84
+ <parameters>
85
+ <!--{{{-->
86
+ <method>:post</method>
87
+ <parameters>
88
+ <timeout>4</timeout>
89
+ </parameters>
90
+ </parameters>
91
+ <!--}}}-->
92
+ <manipulate output="result"> data.x += "a2,"</manipulate>
93
+ </call>
94
+ <call id="a3" endpoint="timeout">
95
+ <parameters>
96
+ <!--{{{-->
97
+ <method>:post</method>
98
+ <parameters>
99
+ <timeout>4</timeout>
100
+ </parameters>
101
+ </parameters>
102
+ <!--}}}-->
103
+ <manipulate output="result"> data.x += "a3,"</manipulate>
104
+ </call>
105
+ </description>
106
+ </description>
107
+ <transformation>
108
+ <description type="copy"/>
109
+ <dataelements type="rest"/>
110
+ <endpoints type="rest"/>
111
+ </transformation>
112
+ </properties>
@@ -0,0 +1,212 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <info>Enter info here</info>
4
+ <modeltype>CPEE</modeltype>
5
+ </attributes>
6
+ <state>ready</state>
7
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
8
+ <positions/>
9
+ <dataelements>
10
+ <a/>
11
+ </dataelements>
12
+ <endpoints>
13
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
14
+ </endpoints>
15
+ <dsl>manipulate :a1, &lt;&lt;-end
16
+ data.a = 0
17
+
18
+ end
19
+ call :a2, :timeout, { :label =&gt; B
20
+ , :method =&gt; nil, :parameters =&gt; {:timeout =&gt; 1} }, &lt;&lt;-end
21
+ data.a += 1
22
+
23
+ end
24
+ loop pre_test{data.a &lt; 3} do
25
+ call :a, :timeout, { :label =&gt; B
26
+ , :method =&gt; nil, :parameters =&gt; {:timeout =&gt; 1} }, &lt;&lt;-end
27
+ data.a += 1
28
+
29
+ end
30
+ end
31
+ </dsl>
32
+ <dslx>
33
+ <description xmlns="http://cpee.org/ns/description/1.0">
34
+ <manipulate id="a1" svg-label="A">data.a = 0
35
+ </manipulate>
36
+ <call id="a2" svg-label="B&#10;" endpoint="timeout">
37
+ <parameters>
38
+ <label>B
39
+ </label>
40
+ <method/>
41
+ <parameters>
42
+ <timeout>1</timeout>
43
+ </parameters>
44
+ </parameters>
45
+ <manipulate>data.a += 1
46
+ </manipulate>
47
+ </call>
48
+ <loop pre_test="data.a &lt; 3" svg-label="">
49
+ <call id="a" svg-label="B&#10;" endpoint="timeout">
50
+ <parameters>
51
+ <label>B
52
+ </label>
53
+ <method/>
54
+ <parameters>
55
+ <timeout>1</timeout>
56
+ </parameters>
57
+ </parameters>
58
+ <manipulate>data.a += 1
59
+ </manipulate>
60
+ </call>
61
+ </loop>
62
+ </description>
63
+ </dslx>
64
+ <status>
65
+ <id>0</id>
66
+ <message>undefined</message>
67
+ </status>
68
+ <description>
69
+ <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:signavio="http://www.signavio.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exporter="Signavio Process Editor, http://www.signavio.com" exporterVersion="7.6.0" expressionLanguage="http://www.w3.org/1999/XPath" id="sid-3defc3e5-0d9d-49ab-a544-09f484e9665e" targetNamespace="http://www.signavio.com/bpmn20" typeLanguage="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/2.0/20100501/BPMN20.xsd">
70
+ <itemDefinition id="timeout" isCollection="false" structureRef="http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php"/>
71
+ <process id="sid-e7ec7f0f-533f-46b9-8508-e6cab411a15d" isClosed="false" isExecutable="true" processType="None">
72
+ <property id="sid-8b87c302-5376-421b-9cd9-e41aaa198a14" itemSubjectRef="timeout">
73
+ <dataState id="sid-1117f953-b5d5-42ef-b707-c082dc3d978b" name="cpee:endpoint"/>
74
+ </property>
75
+ <property id="sid-d0b230e9-4665-40da-8d4c-cfdbd2c30c3a" name="a">
76
+ <dataState id="sid-41a3c137-21ff-488f-920a-66bd2de5e2de" name="cpee:dataelement"/>
77
+ </property>
78
+ <scriptTask completionQuantity="1" id="sid-AE367C8A-F10A-4D12-A504-D9D1F26EC9DB" isForCompensation="false" name="A" scriptFormat="application/javascript" startQuantity="1">
79
+ <extensionElements>
80
+ <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffcc"/>
81
+ <signavio:signavioMetaData metaKey="risklevel" metaValue=""/>
82
+ <signavio:signavioMetaData metaKey="externaldocuments" metaValue="[]"/>
83
+ </extensionElements>
84
+ <incoming>sid-94FB40DD-638F-456C-98F7-1A1C1D7289DA</incoming>
85
+ <outgoing>sid-564DD764-715A-4CE7-9041-049B1378F1E9</outgoing>
86
+ <script>data.a = 0
87
+ </script>
88
+ </scriptTask>
89
+ <exclusiveGateway default="sid-50971135-760B-4E94-A668-750D20161820" gatewayDirection="Diverging" id="sid-13A34C12-BE7A-4B17-A6C9-064F97F5C720" name="">
90
+ <extensionElements>
91
+ <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffff"/>
92
+ </extensionElements>
93
+ <incoming>sid-5767BE20-FA77-40C8-8BA1-5CE7F08BE49A</incoming>
94
+ <outgoing>sid-50971135-760B-4E94-A668-750D20161820</outgoing>
95
+ <outgoing>sid-6287006E-67AC-4F0B-957B-DAA1B25481BB</outgoing>
96
+ </exclusiveGateway>
97
+ <endEvent id="sid-A9E292EC-7A6E-477C-9FB7-CBBF0FCEB65A" name="">
98
+ <extensionElements>
99
+ <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffff"/>
100
+ </extensionElements>
101
+ <incoming>sid-50971135-760B-4E94-A668-750D20161820</incoming>
102
+ </endEvent>
103
+ <startEvent id="sid-2A054430-1FC6-495B-B993-C52D7E8F4C5A" name="">
104
+ <extensionElements>
105
+ <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffff"/>
106
+ </extensionElements>
107
+ <outgoing>sid-94FB40DD-638F-456C-98F7-1A1C1D7289DA</outgoing>
108
+ </startEvent>
109
+ <serviceTask completionQuantity="1" id="sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819" implementation="unspecified" isForCompensation="false" name="B&#10;" startQuantity="1">
110
+ <extensionElements>
111
+ <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffcc"/>
112
+ <signavio:signavioMetaData metaKey="risklevel" metaValue=""/>
113
+ <signavio:signavioMetaData metaKey="externaldocuments" metaValue="[]"/>
114
+ </extensionElements>
115
+ <incoming>sid-564DD764-715A-4CE7-9041-049B1378F1E9</incoming>
116
+ <incoming>sid-6287006E-67AC-4F0B-957B-DAA1B25481BB</incoming>
117
+ <outgoing>sid-4D71E4A1-65DE-482D-934B-A8DA84976540</outgoing>
118
+ <ioSpecification id="sid-fd521444-b8e5-4112-852b-e97dc282c7bc">
119
+ <dataInput id="sid-267030ed-8cfb-4efc-864a-7c76731717df" itemSubjectRef="1" name="timeout"/>
120
+ <dataOutput id="result" isCollection="true" name="result"/>
121
+ </ioSpecification>
122
+ <property id="sid-3c14c71f-a713-43cb-a97e-8e0feef6c76f" itemSubjectRef="timeout" name="cpee:endpoint"/>
123
+ <dataOutputAssociation id="sid-d12149f5-e3fe-4be8-9572-ac6f52590e6c">
124
+ <sourceRef>result</sourceRef>
125
+ <targetRef>sid-2B36B8D1-1C12-42B0-B9F4-95B8D987A952</targetRef>
126
+ </dataOutputAssociation>
127
+ </serviceTask>
128
+ <scriptTask completionQuantity="1" id="sid-2B36B8D1-1C12-42B0-B9F4-95B8D987A952" isForCompensation="false" name="BS" scriptFormat="application/javascript" startQuantity="1">
129
+ <extensionElements>
130
+ <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffcc"/>
131
+ <signavio:signavioMetaData metaKey="risklevel" metaValue=""/>
132
+ <signavio:signavioMetaData metaKey="externaldocuments" metaValue="[]"/>
133
+ </extensionElements>
134
+ <incoming>sid-4D71E4A1-65DE-482D-934B-A8DA84976540</incoming>
135
+ <outgoing>sid-5767BE20-FA77-40C8-8BA1-5CE7F08BE49A</outgoing>
136
+ <script>data.a += 1
137
+ </script>
138
+ </scriptTask>
139
+ <sequenceFlow id="sid-94FB40DD-638F-456C-98F7-1A1C1D7289DA" name="" sourceRef="sid-2A054430-1FC6-495B-B993-C52D7E8F4C5A" targetRef="sid-AE367C8A-F10A-4D12-A504-D9D1F26EC9DB"/>
140
+ <sequenceFlow id="sid-564DD764-715A-4CE7-9041-049B1378F1E9" name="" sourceRef="sid-AE367C8A-F10A-4D12-A504-D9D1F26EC9DB" targetRef="sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819"/>
141
+ <sequenceFlow id="sid-50971135-760B-4E94-A668-750D20161820" name="" sourceRef="sid-13A34C12-BE7A-4B17-A6C9-064F97F5C720" targetRef="sid-A9E292EC-7A6E-477C-9FB7-CBBF0FCEB65A"/>
142
+ <sequenceFlow id="sid-5767BE20-FA77-40C8-8BA1-5CE7F08BE49A" name="" sourceRef="sid-2B36B8D1-1C12-42B0-B9F4-95B8D987A952" targetRef="sid-13A34C12-BE7A-4B17-A6C9-064F97F5C720"/>
143
+ <sequenceFlow id="sid-4D71E4A1-65DE-482D-934B-A8DA84976540" name="" sourceRef="sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819" targetRef="sid-2B36B8D1-1C12-42B0-B9F4-95B8D987A952"/>
144
+ <sequenceFlow id="sid-6287006E-67AC-4F0B-957B-DAA1B25481BB" name="" sourceRef="sid-13A34C12-BE7A-4B17-A6C9-064F97F5C720" targetRef="sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819">
145
+ <conditionExpression id="sid-396bdaa2-591f-41ab-842f-e3e7b0e21f79" xsi:type="tFormalExpression">data.a &lt; 3</conditionExpression>
146
+ </sequenceFlow>
147
+ </process>
148
+ <bpmndi:BPMNDiagram id="sid-386eba6e-be23-4074-b5d6-90b0941ad55e">
149
+ <bpmndi:BPMNPlane bpmnElement="sid-e7ec7f0f-533f-46b9-8508-e6cab411a15d" id="sid-31933578-8c41-4391-9a75-accbd8fc04a2">
150
+ <bpmndi:BPMNShape bpmnElement="sid-AE367C8A-F10A-4D12-A504-D9D1F26EC9DB" id="sid-AE367C8A-F10A-4D12-A504-D9D1F26EC9DB_gui">
151
+ <omgdc:Bounds height="80.0" width="100.0" x="135.0" y="75.0"/>
152
+ <bpmndi:BPMNLabel>
153
+ <omgdc:Bounds height="12.0" width="8.571426391601562" x="180.71428680419922" y="108.0"/>
154
+ </bpmndi:BPMNLabel>
155
+ </bpmndi:BPMNShape>
156
+ <bpmndi:BPMNShape bpmnElement="sid-13A34C12-BE7A-4B17-A6C9-064F97F5C720" id="sid-13A34C12-BE7A-4B17-A6C9-064F97F5C720_gui" isMarkerVisible="true">
157
+ <omgdc:Bounds height="40.0" width="40.0" x="585.0" y="95.0"/>
158
+ </bpmndi:BPMNShape>
159
+ <bpmndi:BPMNShape bpmnElement="sid-A9E292EC-7A6E-477C-9FB7-CBBF0FCEB65A" id="sid-A9E292EC-7A6E-477C-9FB7-CBBF0FCEB65A_gui">
160
+ <omgdc:Bounds height="28.0" width="28.0" x="670.0" y="101.0"/>
161
+ </bpmndi:BPMNShape>
162
+ <bpmndi:BPMNShape bpmnElement="sid-2A054430-1FC6-495B-B993-C52D7E8F4C5A" id="sid-2A054430-1FC6-495B-B993-C52D7E8F4C5A_gui">
163
+ <omgdc:Bounds height="30.0" width="30.0" x="60.0" y="100.0"/>
164
+ </bpmndi:BPMNShape>
165
+ <bpmndi:BPMNShape bpmnElement="sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819" id="sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819_gui">
166
+ <omgdc:Bounds height="80.0" width="100.0" x="278.0" y="75.0"/>
167
+ <bpmndi:BPMNLabel>
168
+ <omgdc:Bounds height="12.0" width="8.571426391601562" x="323.7142868041992" y="108.0"/>
169
+ </bpmndi:BPMNLabel>
170
+ </bpmndi:BPMNShape>
171
+ <bpmndi:BPMNShape bpmnElement="sid-2B36B8D1-1C12-42B0-B9F4-95B8D987A952" id="sid-2B36B8D1-1C12-42B0-B9F4-95B8D987A952_gui">
172
+ <omgdc:Bounds height="80.0" width="100.0" x="440.0" y="75.0"/>
173
+ <bpmndi:BPMNLabel>
174
+ <omgdc:Bounds height="12.0" width="17.142852783203125" x="481.42857360839844" y="108.0"/>
175
+ </bpmndi:BPMNLabel>
176
+ </bpmndi:BPMNShape>
177
+ <bpmndi:BPMNEdge bpmnElement="sid-50971135-760B-4E94-A668-750D20161820" id="sid-50971135-760B-4E94-A668-750D20161820_gui">
178
+ <omgdi:waypoint x="625.0" y="115.37579617834395"/>
179
+ <omgdi:waypoint x="670.0" y="115.08917197452229"/>
180
+ </bpmndi:BPMNEdge>
181
+ <bpmndi:BPMNEdge bpmnElement="sid-6287006E-67AC-4F0B-957B-DAA1B25481BB" id="sid-6287006E-67AC-4F0B-957B-DAA1B25481BB_gui">
182
+ <omgdi:waypoint x="605.5" y="135.0"/>
183
+ <omgdi:waypoint x="605.5" y="214.0"/>
184
+ <omgdi:waypoint x="328.0" y="214.0"/>
185
+ <omgdi:waypoint x="328.0" y="155.0"/>
186
+ </bpmndi:BPMNEdge>
187
+ <bpmndi:BPMNEdge bpmnElement="sid-4D71E4A1-65DE-482D-934B-A8DA84976540" id="sid-4D71E4A1-65DE-482D-934B-A8DA84976540_gui">
188
+ <omgdi:waypoint x="378.0" y="115.0"/>
189
+ <omgdi:waypoint x="440.0" y="115.0"/>
190
+ </bpmndi:BPMNEdge>
191
+ <bpmndi:BPMNEdge bpmnElement="sid-5767BE20-FA77-40C8-8BA1-5CE7F08BE49A" id="sid-5767BE20-FA77-40C8-8BA1-5CE7F08BE49A_gui">
192
+ <omgdi:waypoint x="540.0" y="115.5"/>
193
+ <omgdi:waypoint x="585.0" y="115.5"/>
194
+ </bpmndi:BPMNEdge>
195
+ <bpmndi:BPMNEdge bpmnElement="sid-94FB40DD-638F-456C-98F7-1A1C1D7289DA" id="sid-94FB40DD-638F-456C-98F7-1A1C1D7289DA_gui">
196
+ <omgdi:waypoint x="90.0" y="115.0"/>
197
+ <omgdi:waypoint x="135.0" y="115.0"/>
198
+ </bpmndi:BPMNEdge>
199
+ <bpmndi:BPMNEdge bpmnElement="sid-564DD764-715A-4CE7-9041-049B1378F1E9" id="sid-564DD764-715A-4CE7-9041-049B1378F1E9_gui">
200
+ <omgdi:waypoint x="235.0" y="115.0"/>
201
+ <omgdi:waypoint x="278.0" y="115.0"/>
202
+ </bpmndi:BPMNEdge>
203
+ </bpmndi:BPMNPlane>
204
+ </bpmndi:BPMNDiagram>
205
+ </definitions>
206
+ </description>
207
+ <transformation>
208
+ <description type="rest">http://wwwlab.cs.univie.ac.at/~a1100570/des.php</description>
209
+ <dataelements type="rest">http://wwwlab.cs.univie.ac.at/~a1100570/de.php</dataelements>
210
+ <endpoints type="rest">http://wwwlab.cs.univie.ac.at/~a1100570/ep.php</endpoints>
211
+ </transformation>
212
+ </properties>
@@ -0,0 +1,363 @@
1
+ <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
+ <attributes>
3
+ <info>asdad</info>
4
+ <modeltype>CPEE</modeltype>
5
+ </attributes>
6
+ <state>stopped</state>
7
+ <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
8
+ <positions>
9
+ <a3>at</a3>
10
+ </positions>
11
+ <dataelements>
12
+ <a_name>Christoph</a_name>
13
+ <a_versicherungsnummer>5381</a_versicherungsnummer>
14
+ <a_email>a0926251@unet.univie.ac.at</a_email>
15
+ <a_garage>2</a_garage>
16
+ <a_schadenssumme>2030</a_schadenssumme>
17
+ <b_klassifikation>gering</b_klassifikation>
18
+ </dataelements>
19
+ <endpoints>
20
+ <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
21
+ <a>http://wwwlab.cs.univie.ac.at/~a1276754/appservice_a.php</a>
22
+ <b>http://wwwlab.cs.univie.ac.at/~a1276754/appservice_b.php</b>
23
+ <c>http://wwwlab.cs.univie.ac.at/~a1276754/appservice_c.php</c>
24
+ <d>http://wwwlab.cs.univie.ac.at/~a1276754/appservice_d.php</d>
25
+ <e>http://wwwlab.cs.univie.ac.at/~a1276754/appservice_e.php</e>
26
+ <f>http://wwwlab.cs.univie.ac.at/~a1276754/appservice_f.php</f>
27
+ <g>http://wwwlab.cs.univie.ac.at/~a1276754/appservice_g.php</g>
28
+ </endpoints>
29
+ <dsl>call :a1, :a, { :label =&gt; "Schadensmeldung registrieren", :method =&gt; :get, :parameters =&gt; nil }, &lt;&lt;-end
30
+ data.a_name = result['Name']
31
+ data.a_versicherungsnummer = result['Versicherungsnummer']
32
+ data.a_email = result['Email']
33
+ data.a_garage = result['Garage']
34
+ data.a_schadenssumme = result['Schadenssumme']
35
+ end
36
+ call :a2, :b, { :label =&gt; "Schadensmeldung klassifizieren", :method =&gt; :post, :parameters =&gt; {:name =&gt; data.a_name, :schadenssumme =&gt; data.a_schadenssumme} }, &lt;&lt;-end
37
+ data.b_klassifikation=result
38
+ end
39
+ choose :inclusive do
40
+ alternative "data.b_klassifikation=='gering'" do
41
+ parallel do
42
+ parallel_branch do
43
+ call :a3, :c, { :label =&gt; "Versicherungssumme ermitteln", :method =&gt; :post, :parameters =&gt; {:schadenssumme =&gt; data.a_schadenssumme} }, &lt;&lt;-end
44
+ data.c_versicherungssumme=result
45
+ end
46
+ end
47
+ parallel_branch do
48
+ call :a6, :d, { :label =&gt; "Garage kontaktieren", :method =&gt; post, :parameters =&gt; {:name =&gt; data.a_name, :schadenssumme =&gt; data.a_schadenssumme, :garage =&gt; data.a_garage} }
49
+ end
50
+ end
51
+ end
52
+ otherwise do
53
+ call :a8, :c, { :label =&gt; "Versicherungssumme ermitteln", :method =&gt; :post, :parameters =&gt; {:schadenssumme =&gt; data.a_schadenssumme} }, &lt;&lt;-end
54
+ data.c_versicherungssumme=result
55
+ end
56
+ call :a5, :e, { :label =&gt; "Schadenshistorie ermitteln", :method =&gt; :get, :parameters =&gt; nil }, &lt;&lt;-end
57
+ data.e_schadenstext=result
58
+ end
59
+ call :a9, :d, { :label =&gt; "Garage kontaktieren", :method =&gt; post, :parameters =&gt; {:name =&gt; data.a_name, :schadenssumme =&gt; data.a_schadenssumme, :garage =&gt; data.a_garage} }
60
+ end
61
+ end
62
+ call :a4, :f, { :label =&gt; "Entscheidung treffen", :method =&gt; :post, :parameters =&gt; {:name =&gt; data.a_name, :schadenssumm =&gt; data.a_schadenssumme, :garage =&gt; data.a_garage, :klassifikation =&gt; data.b_klassifikation, :schadenstext =&gt; data.e_historie, :versicherungssumme =&gt; data.c_versicherungssumme} }, &lt;&lt;-end
63
+ data.f_entscheidung=result
64
+ end
65
+ choose :inclusive do
66
+ alternative "data.f_entscheidung=='OK'" do
67
+ call :a7, :g, { :label =&gt; "Benachrichtigung schicken wenn Versicherung zahlt", :method =&gt; :post, :parameters =&gt; {:garage =&gt; data.a_garage, :name =&gt; data.a_name, :email =&gt; data.a_email, :entscheidung =&gt; 'Schaden von unserer Versicherung gedeckt', :versicherungsnummer =&gt; data.a_versicherungsnummer, :schadenssumme =&gt; data.a_schadenssumme, :versicherungssumme =&gt; data.c_versicherungssumme} }
68
+ end
69
+ otherwise do
70
+ call :a10, :g, { :label =&gt; "Benachrichtigung schicken wenn Versicherung nicht bezahlt", :method =&gt; :post, :parameters =&gt; {:garage =&gt; data.a_garage, :email =&gt; data.a_email, :name =&gt; data.a_name, :entscheidung =&gt; 'Schaden von unserer Versicherung nicht gedeckt', :versicherungsnummer =&gt; data.a_versicherungsnummer, :schadenssumme =&gt; data.a_schadenssumme, :versicherungssumme =&gt; data.c_versicherungssumme} }
71
+ end
72
+ end
73
+ </dsl>
74
+ <dslx>
75
+ <description xmlns="http://cpee.org/ns/description/1.0">
76
+ <call id="a1" endpoint="a" svg-label="Schadensmeldung registrieren">
77
+ <parameters>
78
+ <label>"Schadensmeldung registrieren"</label>
79
+ <method>:get</method>
80
+ <parameters/>
81
+ </parameters>
82
+ <manipulate>data.a_name = result['Name']
83
+ data.a_versicherungsnummer = result['Versicherungsnummer']
84
+ data.a_email = result['Email']
85
+ data.a_garage = result['Garage']
86
+ data.a_schadenssumme = result['Schadenssumme']</manipulate>
87
+ </call>
88
+ <call id="a2" endpoint="b" svg-label="Schadensmeldung klassifizieren">
89
+ <parameters>
90
+ <label>"Schadensmeldung klassifizieren"</label>
91
+ <method>:post</method>
92
+ <parameters>
93
+ <name>data.a_name</name>
94
+ <schadenssumme>data.a_schadenssumme</schadenssumme>
95
+ </parameters>
96
+ </parameters>
97
+ <manipulate>data.b_klassifikation=result</manipulate>
98
+ </call>
99
+ <choose svg-label="">
100
+ <alternative condition="data.b_klassifikation=='gering'" svg-label="">
101
+ <parallel svg-label="">
102
+ <parallel_branch svg-label="">
103
+ <call id="a3" endpoint="c" svg-label="Versicherungssumme ermitteln">
104
+ <parameters>
105
+ <label>"Versicherungssumme ermitteln"</label>
106
+ <method>:post</method>
107
+ <parameters>
108
+ <schadenssumme>data.a_schadenssumme</schadenssumme>
109
+ </parameters>
110
+ </parameters>
111
+ <manipulate>data.c_versicherungssumme=result</manipulate>
112
+ </call>
113
+ </parallel_branch>
114
+ <parallel_branch svg-label="">
115
+ <call id="a6" endpoint="d" svg-label="Garage kontaktieren">
116
+ <parameters>
117
+ <label>"Garage kontaktieren"</label>
118
+ <method>post</method>
119
+ <parameters>
120
+ <name>data.a_name</name>
121
+ <schadenssumme>data.a_schadenssumme</schadenssumme>
122
+ <garage>data.a_garage</garage>
123
+ </parameters>
124
+ </parameters>
125
+ </call>
126
+ </parallel_branch>
127
+ </parallel>
128
+ </alternative>
129
+ <otherwise svg-label="">
130
+ <call id="a8" endpoint="c" svg-label="Versicherungssumme ermitteln">
131
+ <parameters>
132
+ <label>"Versicherungssumme ermitteln"</label>
133
+ <method>:post</method>
134
+ <parameters>
135
+ <schadenssumme>data.a_schadenssumme</schadenssumme>
136
+ </parameters>
137
+ </parameters>
138
+ <manipulate>data.c_versicherungssumme=result</manipulate>
139
+ </call>
140
+ <call id="a5" endpoint="e" svg-label="Schadenshistorie ermitteln">
141
+ <parameters>
142
+ <label>"Schadenshistorie ermitteln"</label>
143
+ <method>:get</method>
144
+ <parameters/>
145
+ </parameters>
146
+ <manipulate>data.e_schadenstext=result</manipulate>
147
+ </call>
148
+ <call id="a9" endpoint="d" svg-label="Garage kontaktieren">
149
+ <parameters>
150
+ <label>"Garage kontaktieren"</label>
151
+ <method>post</method>
152
+ <parameters>
153
+ <name>data.a_name</name>
154
+ <schadenssumme>data.a_schadenssumme</schadenssumme>
155
+ <garage>data.a_garage</garage>
156
+ </parameters>
157
+ </parameters>
158
+ </call>
159
+ </otherwise>
160
+ </choose>
161
+ <call id="a4" endpoint="f" svg-label="Entscheidung treffen">
162
+ <parameters>
163
+ <label>"Entscheidung treffen"</label>
164
+ <method>:post</method>
165
+ <parameters>
166
+ <name>data.a_name</name>
167
+ <schadenssumm>data.a_schadenssumme</schadenssumm>
168
+ <garage>data.a_garage</garage>
169
+ <klassifikation>data.b_klassifikation</klassifikation>
170
+ <schadenstext>data.e_historie</schadenstext>
171
+ <versicherungssumme>data.c_versicherungssumme</versicherungssumme>
172
+ </parameters>
173
+ </parameters>
174
+ <manipulate>data.f_entscheidung=result</manipulate>
175
+ </call>
176
+ <choose svg-label="">
177
+ <alternative condition="data.f_entscheidung=='OK'" svg-label="">
178
+ <call id="a7" endpoint="g" svg-label="Benachrichtigung schicken wenn Versicherung zahlt">
179
+ <parameters>
180
+ <label>"Benachrichtigung schicken wenn Versicherung zahlt"</label>
181
+ <method>:post</method>
182
+ <parameters>
183
+ <garage>data.a_garage</garage>
184
+ <name>data.a_name</name>
185
+ <email>data.a_email</email>
186
+ <entscheidung>'Schaden von unserer Versicherung gedeckt'</entscheidung>
187
+ <versicherungsnummer>data.a_versicherungsnummer</versicherungsnummer>
188
+ <schadenssumme>data.a_schadenssumme</schadenssumme>
189
+ <versicherungssumme>data.c_versicherungssumme</versicherungssumme>
190
+ </parameters>
191
+ </parameters>
192
+ </call>
193
+ </alternative>
194
+ <otherwise svg-label="">
195
+ <call id="a10" endpoint="g">
196
+ <parameters>
197
+ <label>"Benachrichtigung schicken wenn Versicherung nicht bezahlt"</label>
198
+ <method>:post</method>
199
+ <parameters>
200
+ <garage>data.a_garage</garage>
201
+ <email>data.a_email</email>
202
+ <name>data.a_name</name>
203
+ <entscheidung>'Schaden von unserer Versicherung nicht gedeckt'</entscheidung>
204
+ <versicherungsnummer>data.a_versicherungsnummer</versicherungsnummer>
205
+ <schadenssumme>data.a_schadenssumme</schadenssumme>
206
+ <versicherungssumme>data.c_versicherungssumme</versicherungssumme>
207
+ </parameters>
208
+ </parameters>
209
+ </call>
210
+ </otherwise>
211
+ </choose>
212
+ </description>
213
+ </dslx>
214
+ <status>
215
+ <id>0</id>
216
+ <message>undefined</message>
217
+ </status>
218
+ <description>
219
+ <description xmlns="http://cpee.org/ns/description/1.0">
220
+ <call id="a1" endpoint="a" svg-label="Schadensmeldung registrieren">
221
+ <parameters>
222
+ <label>"Schadensmeldung registrieren"</label>
223
+ <method>:get</method>
224
+ <parameters/>
225
+ </parameters>
226
+ <manipulate>data.a_name = result['Name']
227
+ data.a_versicherungsnummer = result['Versicherungsnummer']
228
+ data.a_email = result['Email']
229
+ data.a_garage = result['Garage']
230
+ data.a_schadenssumme = result['Schadenssumme']</manipulate>
231
+ </call>
232
+ <call id="a2" endpoint="b" svg-label="Schadensmeldung klassifizieren">
233
+ <parameters>
234
+ <label>"Schadensmeldung klassifizieren"</label>
235
+ <method>:post</method>
236
+ <parameters>
237
+ <name>data.a_name</name>
238
+ <schadenssumme>data.a_schadenssumme</schadenssumme>
239
+ </parameters>
240
+ </parameters>
241
+ <manipulate>data.b_klassifikation=result</manipulate>
242
+ </call>
243
+ <choose svg-label="">
244
+ <alternative condition="data.b_klassifikation=='gering'" svg-label="">
245
+ <parallel svg-label="">
246
+ <parallel_branch svg-label="">
247
+ <call id="a3" endpoint="c" svg-label="Versicherungssumme ermitteln">
248
+ <parameters>
249
+ <label>"Versicherungssumme ermitteln"</label>
250
+ <method>:post</method>
251
+ <parameters>
252
+ <schadenssumme>data.a_schadenssumme</schadenssumme>
253
+ </parameters>
254
+ </parameters>
255
+ <manipulate>data.c_versicherungssumme=result</manipulate>
256
+ </call>
257
+ </parallel_branch>
258
+ <parallel_branch svg-label="">
259
+ <call id="a6" endpoint="d" svg-label="Garage kontaktieren">
260
+ <parameters>
261
+ <label>"Garage kontaktieren"</label>
262
+ <method>post</method>
263
+ <parameters>
264
+ <name>data.a_name</name>
265
+ <schadenssumme>data.a_schadenssumme</schadenssumme>
266
+ <garage>data.a_garage</garage>
267
+ </parameters>
268
+ </parameters>
269
+ </call>
270
+ </parallel_branch>
271
+ </parallel>
272
+ </alternative>
273
+ <otherwise svg-label="">
274
+ <call id="a8" endpoint="c" svg-label="Versicherungssumme ermitteln">
275
+ <parameters>
276
+ <label>"Versicherungssumme ermitteln"</label>
277
+ <method>:post</method>
278
+ <parameters>
279
+ <schadenssumme>data.a_schadenssumme</schadenssumme>
280
+ </parameters>
281
+ </parameters>
282
+ <manipulate>data.c_versicherungssumme=result</manipulate>
283
+ </call>
284
+ <call id="a5" endpoint="e" svg-label="Schadenshistorie ermitteln">
285
+ <parameters>
286
+ <label>"Schadenshistorie ermitteln"</label>
287
+ <method>:get</method>
288
+ <parameters/>
289
+ </parameters>
290
+ <manipulate>data.e_schadenstext=result</manipulate>
291
+ </call>
292
+ <call id="a9" endpoint="d" svg-label="Garage kontaktieren">
293
+ <parameters>
294
+ <label>"Garage kontaktieren"</label>
295
+ <method>post</method>
296
+ <parameters>
297
+ <name>data.a_name</name>
298
+ <schadenssumme>data.a_schadenssumme</schadenssumme>
299
+ <garage>data.a_garage</garage>
300
+ </parameters>
301
+ </parameters>
302
+ </call>
303
+ </otherwise>
304
+ </choose>
305
+ <call id="a4" endpoint="f" svg-label="Entscheidung treffen">
306
+ <parameters>
307
+ <label>"Entscheidung treffen"</label>
308
+ <method>:post</method>
309
+ <parameters>
310
+ <name>data.a_name</name>
311
+ <schadenssumm>data.a_schadenssumme</schadenssumm>
312
+ <garage>data.a_garage</garage>
313
+ <klassifikation>data.b_klassifikation</klassifikation>
314
+ <schadenstext>data.e_historie</schadenstext>
315
+ <versicherungssumme>data.c_versicherungssumme</versicherungssumme>
316
+ </parameters>
317
+ </parameters>
318
+ <manipulate>data.f_entscheidung=result</manipulate>
319
+ </call>
320
+ <choose svg-label="">
321
+ <alternative condition="data.f_entscheidung=='OK'" svg-label="">
322
+ <call id="a7" endpoint="g" svg-label="Benachrichtigung schicken wenn Versicherung zahlt">
323
+ <parameters>
324
+ <label>"Benachrichtigung schicken wenn Versicherung zahlt"</label>
325
+ <method>:post</method>
326
+ <parameters>
327
+ <garage>data.a_garage</garage>
328
+ <name>data.a_name</name>
329
+ <email>data.a_email</email>
330
+ <entscheidung>'Schaden von unserer Versicherung gedeckt'</entscheidung>
331
+ <versicherungsnummer>data.a_versicherungsnummer</versicherungsnummer>
332
+ <schadenssumme>data.a_schadenssumme</schadenssumme>
333
+ <versicherungssumme>data.c_versicherungssumme</versicherungssumme>
334
+ </parameters>
335
+ </parameters>
336
+ </call>
337
+ </alternative>
338
+ <otherwise svg-label="">
339
+ <call id="a10" endpoint="g">
340
+ <parameters>
341
+ <label>"Benachrichtigung schicken wenn Versicherung nicht bezahlt"</label>
342
+ <method>:post</method>
343
+ <parameters>
344
+ <garage>data.a_garage</garage>
345
+ <email>data.a_email</email>
346
+ <name>data.a_name</name>
347
+ <entscheidung>'Schaden von unserer Versicherung nicht gedeckt'</entscheidung>
348
+ <versicherungsnummer>data.a_versicherungsnummer</versicherungsnummer>
349
+ <schadenssumme>data.a_schadenssumme</schadenssumme>
350
+ <versicherungssumme>data.c_versicherungssumme</versicherungssumme>
351
+ </parameters>
352
+ </parameters>
353
+ </call>
354
+ </otherwise>
355
+ </choose>
356
+ </description>
357
+ </description>
358
+ <transformation>
359
+ <description type="copy"/>
360
+ <dataelements type="none"/>
361
+ <endpoints type="none"/>
362
+ </transformation>
363
+ </properties>