cpee 2.1.29 → 2.1.50
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/cockpit/config.json +1 -1
- data/cockpit/css/graph.css +13 -0
- data/cockpit/css/track.css +1 -1
- data/cockpit/css/wfadaptor.css +9 -2
- data/cockpit/edit.html +1 -1
- data/cockpit/graph.html +1 -0
- data/cockpit/index.html +2 -2
- data/cockpit/js/details.js +2 -2
- data/cockpit/js/instance.js +162 -112
- data/cockpit/js/wfadaptor.js +20 -14
- data/cockpit/js_libs.zip +0 -0
- data/cockpit/templates/Coopis 2010.xml +109 -14
- data/cockpit/templates/Frames.xml +297 -0
- data/cockpit/templates/Subprocess.xml +54 -6
- data/cockpit/templates/Wait.xml +5 -11
- data/cockpit/templates/Worklist.xml +58 -26
- data/cockpit/themes/compact/rngs/call.rng +127 -86
- data/cockpit/themes/compact/rngs/callmanipulate.rng +32 -7
- data/cockpit/themes/compact/rngs/closed_loop_control.rng +2 -2
- data/cockpit/themes/compact/rngs/closed_loop_measuring.rng +3 -3
- data/cockpit/themes/compact/rngs/start.rng +110 -72
- data/cockpit/themes/compact/symbols/call_sensor.svg +9 -0
- data/cockpit/themes/compact/symbols/callmanipulate.svg +3 -3
- data/cockpit/themes/compact/symbols/callmanipulate_sensor.svg +11 -0
- data/cockpit/themes/compact/symbols/delete.svg +4 -0
- data/cockpit/themes/compact/symbols/start_event.svg +5 -0
- data/cockpit/themes/compact/symbols/test.svg +74 -0
- data/cockpit/themes/compact/theme.js +105 -9
- data/cockpit/themes/control/rngs/call.rng +127 -86
- data/cockpit/themes/control/rngs/callmanipulate.rng +32 -7
- data/cockpit/themes/control/rngs/closed_loop_control.rng +2 -2
- data/cockpit/themes/control/rngs/closed_loop_measuring.rng +3 -3
- data/cockpit/themes/control/rngs/start.rng +110 -72
- data/cockpit/themes/control/symbols/call_sensor.svg +9 -0
- data/cockpit/themes/control/symbols/callmanipulate.svg +3 -3
- data/cockpit/themes/control/symbols/callmanipulate_sensor.svg +11 -0
- data/cockpit/themes/control/symbols/delete.svg +4 -0
- data/cockpit/themes/control/symbols/start_event.svg +5 -0
- data/cockpit/themes/control/symbols/test.svg +74 -0
- data/cockpit/themes/control/theme.js +53 -7
- data/cockpit/themes/default/rngs/call.rng +127 -86
- data/cockpit/themes/default/rngs/callmanipulate.rng +32 -7
- data/cockpit/themes/default/rngs/closed_loop_control.rng +2 -2
- data/cockpit/themes/default/rngs/closed_loop_measuring.rng +3 -3
- data/cockpit/themes/default/rngs/start.rng +110 -72
- data/cockpit/themes/default/symbols/call_sensor.svg +9 -0
- data/cockpit/themes/default/symbols/callmanipulate.svg +3 -3
- data/cockpit/themes/default/symbols/callmanipulate_sensor.svg +11 -0
- data/cockpit/themes/default/symbols/delete.svg +4 -0
- data/cockpit/themes/default/symbols/start_event.svg +5 -0
- data/cockpit/themes/default/symbols/test.svg +74 -0
- data/cockpit/themes/default/theme.js +105 -9
- data/cockpit/themes/extended/rngs/call.rng +127 -86
- data/cockpit/themes/extended/rngs/callmanipulate.rng +32 -7
- data/cockpit/themes/extended/rngs/closed_loop_control.rng +2 -2
- data/cockpit/themes/extended/rngs/closed_loop_measuring.rng +3 -3
- data/cockpit/themes/extended/rngs/start.rng +110 -72
- data/cockpit/themes/extended/symbols/call_sensor.svg +9 -0
- data/cockpit/themes/extended/symbols/callmanipulate.svg +3 -3
- data/cockpit/themes/extended/symbols/callmanipulate_sensor.svg +11 -0
- data/cockpit/themes/extended/symbols/delete.svg +4 -0
- data/cockpit/themes/extended/symbols/start_event.svg +5 -0
- data/cockpit/themes/extended/symbols/test.svg +74 -0
- data/cockpit/themes/extended/theme.js +105 -9
- data/cockpit/themes/model/symbols/call_sensor.svg +9 -0
- data/cockpit/themes/model/symbols/callmanipulate.svg +3 -3
- data/cockpit/themes/model/symbols/callmanipulate_sensor.svg +11 -0
- data/cockpit/themes/model/symbols/delete.svg +4 -0
- data/cockpit/themes/model/symbols/start_event.svg +5 -0
- data/cockpit/themes/model/symbols/test.svg +74 -0
- data/cockpit/themes/model/theme.js +50 -4
- data/cockpit/themes/packed/rngs/call.rng +127 -86
- data/cockpit/themes/packed/rngs/callmanipulate.rng +32 -7
- data/cockpit/themes/packed/rngs/closed_loop_control.rng +2 -2
- data/cockpit/themes/packed/rngs/closed_loop_measuring.rng +3 -3
- data/cockpit/themes/packed/rngs/start.rng +110 -72
- data/cockpit/themes/packed/symbols/call_sensor.svg +9 -0
- data/cockpit/themes/packed/symbols/callmanipulate.svg +3 -3
- data/cockpit/themes/packed/symbols/callmanipulate_sensor.svg +11 -0
- data/cockpit/themes/packed/symbols/delete.svg +4 -0
- data/cockpit/themes/packed/symbols/start_event.svg +5 -0
- data/cockpit/themes/packed/symbols/test.svg +74 -0
- data/cockpit/themes/packed/theme.js +105 -9
- data/cockpit/themes/preset/rngs/call.rng +127 -86
- data/cockpit/themes/preset/rngs/callmanipulate.rng +32 -7
- data/cockpit/themes/preset/rngs/closed_loop_control.rng +2 -2
- data/cockpit/themes/preset/rngs/closed_loop_measuring.rng +3 -3
- data/cockpit/themes/preset/rngs/start.rng +110 -72
- data/cockpit/themes/preset/symbols/call_sensor.svg +9 -0
- data/cockpit/themes/preset/symbols/callmanipulate.svg +3 -3
- data/cockpit/themes/preset/symbols/callmanipulate_sensor.svg +11 -0
- data/cockpit/themes/preset/symbols/delete.svg +4 -0
- data/cockpit/themes/preset/symbols/start_event.svg +5 -0
- data/cockpit/themes/preset/symbols/test.svg +74 -0
- data/cockpit/themes/preset/theme.js +105 -9
- data/cpee.gemspec +6 -5
- data/lib/cpee/fail.rb +23 -0
- data/lib/cpee/implementation.rb +144 -49
- data/lib/cpee/implementation_callbacks.rb +11 -10
- data/lib/cpee/implementation_notifications.rb +4 -3
- data/lib/cpee/implementation_properties.rb +2 -2
- data/lib/cpee/message.rb +49 -15
- data/lib/cpee/persistence.rb +34 -12
- data/lib/cpee.xml +1 -1
- data/server/executionhandlers/ruby/backend/instance.template +1 -1
- data/server/executionhandlers/ruby/backend/run +4 -4
- data/server/executionhandlers/ruby/connection.rb +93 -34
- data/server/executionhandlers/ruby/controller.rb +29 -19
- data/server/executionhandlers/ruby/desc.xml +107 -0
- data/server/executionhandlers/ruby/dsl_to_dslx.xsl +67 -24
- data/server/executionhandlers/ruby/execution.rb +1 -0
- data/server/resources/states.xml +3 -0
- data/server/resources/test.pdf +0 -0
- data/server/resources/topics.xml +4 -2
- data/server/routing/end.pid +1 -0
- data/server/routing/end.rb +3 -2
- data/server/routing/forward-events-00.pid +1 -0
- data/server/routing/forward-events.rb +26 -13
- data/server/routing/forward-votes.pid +1 -0
- data/server/routing/forward-votes.rb +4 -4
- data/server/routing/persist.pid +1 -0
- data/server/routing/persist.rb +41 -31
- data/server/server.pid +1 -0
- data/tools/cpee +99 -24
- metadata +80 -32
- data/cockpit/templates/Coopis 2010.xml.active +0 -1
- data/cockpit/templates/Coopis 2010.xml.active-uuid +0 -1
- data/cockpit/templates/Subprocess.xml.active +0 -1
- data/cockpit/templates/Subprocess.xml.active-uuid +0 -1
- data/cockpit/templates/Track Test.xml.active +0 -1
- data/cockpit/templates/Track Test.xml.active-uuid +0 -1
- data/cockpit/templates/UR-VUE 2020 Solution Baseline.xml.active +0 -1
- data/cockpit/templates/UR-VUE 2020 Solution Baseline.xml.active-uuid +0 -1
- data/cockpit/templates/Wait.xml.active +0 -1
- data/cockpit/templates/Wait.xml.active-uuid +0 -1
- data/cockpit/templates/Wait.xml.attrs +0 -13
- data/server/executionhandlers/ruby/test.xml +0 -43
@@ -1,9 +1,10 @@
|
|
1
|
+
<?xml version="1.0"?>
|
1
2
|
<testset xmlns="http://cpee.org/ns/properties/2.0">
|
2
3
|
<executionhandler>ruby</executionhandler>
|
3
4
|
<dataelements>
|
4
5
|
<persons>3</persons>
|
5
6
|
<card>Visa_12345</card>
|
6
|
-
<airline
|
7
|
+
<airline/>
|
7
8
|
<hotels>[]</hotels>
|
8
9
|
<from>Vienna</from>
|
9
10
|
<to>Prague</to>
|
@@ -11,7 +12,9 @@
|
|
11
12
|
</dataelements>
|
12
13
|
<endpoints>
|
13
14
|
<bookAir>http://gruppe.wst.univie.ac.at/~mangler/services/airline.php</bookAir>
|
15
|
+
<timeout>https://cpee.org/services/timeout.php</timeout>
|
14
16
|
<bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel>
|
17
|
+
<subprocess>https://cpee.org/flow/start/url/</subprocess>
|
15
18
|
<approve>http://gruppe.wst.univie.ac.at/~mangler/services/approval.php</approve>
|
16
19
|
</endpoints>
|
17
20
|
<attributes>
|
@@ -19,28 +22,64 @@
|
|
19
22
|
<info>Coopis 2010</info>
|
20
23
|
<creator>Christine Ashcreek</creator>
|
21
24
|
<author>Christine Ashcreek</author>
|
25
|
+
<modeltype>CPEE</modeltype>
|
22
26
|
<design_stage>development</design_stage>
|
27
|
+
<guarded>none</guarded>
|
23
28
|
<design_dir>Templates.dir</design_dir>
|
29
|
+
<guarded_id/>
|
30
|
+
<model_uuid>a1cbb855-90e3-4d8c-b44b-d3ba7bff9f4e</model_uuid>
|
31
|
+
<model_version/>
|
24
32
|
</attributes>
|
25
33
|
<description>
|
26
34
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
27
35
|
<call id="a1" endpoint="bookAir">
|
28
36
|
<parameters>
|
29
|
-
<label>Book Airline</label>
|
37
|
+
<label>Book Airline 1</label>
|
30
38
|
<method>:post</method>
|
31
39
|
<arguments>
|
32
|
-
<from
|
33
|
-
<to
|
34
|
-
<persons
|
40
|
+
<from>!data.from</from>
|
41
|
+
<to>!data.to</to>
|
42
|
+
<persons>!data.persons</persons>
|
35
43
|
</arguments>
|
36
44
|
</parameters>
|
37
45
|
<code>
|
46
|
+
<prepare/>
|
38
47
|
<finalize output="result">data.airline = result.value('id')
|
39
48
|
data.costs += result.value('costs').to_f
|
40
49
|
status.update 1, 'Hotel'</finalize>
|
50
|
+
<update output="result"/>
|
51
|
+
<rescue output="result"/>
|
41
52
|
</code>
|
42
|
-
<annotations
|
43
|
-
|
53
|
+
<annotations>
|
54
|
+
<_timing>
|
55
|
+
<_timing_weight/>
|
56
|
+
<_timing_avg/>
|
57
|
+
<explanations/>
|
58
|
+
</_timing>
|
59
|
+
<_shifting>
|
60
|
+
<_shifting_type>Duration</_shifting_type>
|
61
|
+
</_shifting>
|
62
|
+
<_context_data_analysis>
|
63
|
+
<probes/>
|
64
|
+
<ips/>
|
65
|
+
</_context_data_analysis>
|
66
|
+
<report>
|
67
|
+
<url/>
|
68
|
+
</report>
|
69
|
+
<_notes>
|
70
|
+
<_notes_general/>
|
71
|
+
</_notes>
|
72
|
+
</annotations>
|
73
|
+
<documentation>
|
74
|
+
<input/>
|
75
|
+
<output/>
|
76
|
+
<implementation>
|
77
|
+
<description/>
|
78
|
+
</implementation>
|
79
|
+
<code>
|
80
|
+
<description/>
|
81
|
+
</code>
|
82
|
+
</documentation>
|
44
83
|
</call>
|
45
84
|
<parallel wait="-1" cancel="last">
|
46
85
|
<loop mode="pre_test" condition="data.persons > 0">
|
@@ -50,15 +89,46 @@ status.update 1, 'Hotel'</finalize>
|
|
50
89
|
<label>Book Hotel</label>
|
51
90
|
<method>:post</method>
|
52
91
|
<arguments>
|
53
|
-
<to
|
92
|
+
<to>!data.to</to>
|
54
93
|
</arguments>
|
55
94
|
</parameters>
|
56
95
|
<code>
|
96
|
+
<prepare/>
|
57
97
|
<finalize output="result">data.hotels << result.value('id')
|
58
98
|
data.costs += result.value('costs').to_f</finalize>
|
99
|
+
<update output="result"/>
|
100
|
+
<rescue output="result"/>
|
59
101
|
</code>
|
60
|
-
<annotations
|
61
|
-
|
102
|
+
<annotations>
|
103
|
+
<_timing>
|
104
|
+
<_timing_weight/>
|
105
|
+
<_timing_avg/>
|
106
|
+
<explanations/>
|
107
|
+
</_timing>
|
108
|
+
<_shifting>
|
109
|
+
<_shifting_type>Duration</_shifting_type>
|
110
|
+
</_shifting>
|
111
|
+
<_context_data_analysis>
|
112
|
+
<probes/>
|
113
|
+
<ips/>
|
114
|
+
</_context_data_analysis>
|
115
|
+
<report>
|
116
|
+
<url/>
|
117
|
+
</report>
|
118
|
+
<_notes>
|
119
|
+
<_notes_general/>
|
120
|
+
</_notes>
|
121
|
+
</annotations>
|
122
|
+
<documentation>
|
123
|
+
<input/>
|
124
|
+
<output/>
|
125
|
+
<implementation>
|
126
|
+
<description/>
|
127
|
+
</implementation>
|
128
|
+
<code>
|
129
|
+
<description/>
|
130
|
+
</code>
|
131
|
+
</documentation>
|
62
132
|
</call>
|
63
133
|
</parallel_branch>
|
64
134
|
<manipulate id="a3">data.persons -= 1</manipulate>
|
@@ -71,11 +141,36 @@ data.costs += result.value('costs').to_f</finalize>
|
|
71
141
|
<label>Approve Hotel</label>
|
72
142
|
<method>:post</method>
|
73
143
|
<arguments>
|
74
|
-
<costs
|
144
|
+
<costs>!data.costs</costs>
|
75
145
|
</arguments>
|
76
146
|
</parameters>
|
77
|
-
<annotations
|
78
|
-
|
147
|
+
<annotations>
|
148
|
+
<_timing>
|
149
|
+
<_timing_weight/>
|
150
|
+
<_timing_avg/>
|
151
|
+
<explanations/>
|
152
|
+
</_timing>
|
153
|
+
<_shifting>
|
154
|
+
<_shifting_type>Duration</_shifting_type>
|
155
|
+
</_shifting>
|
156
|
+
<_context_data_analysis>
|
157
|
+
<probes/>
|
158
|
+
<ips/>
|
159
|
+
</_context_data_analysis>
|
160
|
+
<report>
|
161
|
+
<url/>
|
162
|
+
</report>
|
163
|
+
<_notes>
|
164
|
+
<_notes_general/>
|
165
|
+
</_notes>
|
166
|
+
</annotations>
|
167
|
+
<documentation>
|
168
|
+
<input/>
|
169
|
+
<output/>
|
170
|
+
<implementation>
|
171
|
+
<description/>
|
172
|
+
</implementation>
|
173
|
+
</documentation>
|
79
174
|
</call>
|
80
175
|
</alternative>
|
81
176
|
</choose>
|
@@ -86,4 +181,4 @@ data.costs += result.value('costs').to_f</finalize>
|
|
86
181
|
<dataelements type="none"/>
|
87
182
|
<endpoints type="none"/>
|
88
183
|
</transformation>
|
89
|
-
</testset>
|
184
|
+
</testset>
|
@@ -0,0 +1,297 @@
|
|
1
|
+
<?xml version="1.0"?>
|
2
|
+
<testset xmlns="http://cpee.org/ns/properties/2.0">
|
3
|
+
<executionhandler>ruby</executionhandler>
|
4
|
+
<dataelements/>
|
5
|
+
<endpoints>
|
6
|
+
<timeout>https://cpee.org/services/timeout.php</timeout>
|
7
|
+
<subprocess>https://cpee.org/flow/start/url/</subprocess>
|
8
|
+
<frames_init>https-post://cpee.org/out/frames/simple/</frames_init>
|
9
|
+
<send>https-post://cpee.org/ing/correlators/message/send/</send>
|
10
|
+
<frames_display>https-put://cpee.org/out/frames/simple/</frames_display>
|
11
|
+
<receive>https-get://cpee.org/ing/correlators/message/receive/</receive>
|
12
|
+
<user>https-post://cpee.org/services/timeout-user.php</user>
|
13
|
+
<auto>https-post://cpee.org/services/timeout-auto.php</auto>
|
14
|
+
</endpoints>
|
15
|
+
<attributes>
|
16
|
+
<info>Frames</info>
|
17
|
+
<creator>Christine Ashcreek</creator>
|
18
|
+
<author>Christine Ashcreek</author>
|
19
|
+
<modeltype>CPEE</modeltype>
|
20
|
+
<guarded>none</guarded>
|
21
|
+
<guarded_id/>
|
22
|
+
<model_uuid>5ed82f61-a382-49b5-a420-c63e01d5a9f5</model_uuid>
|
23
|
+
<model_version/>
|
24
|
+
<theme>extended</theme>
|
25
|
+
<design_dir>Templates.dir</design_dir>
|
26
|
+
<design_stage>development</design_stage>
|
27
|
+
</attributes>
|
28
|
+
<description>
|
29
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
30
|
+
<call id="a1" endpoint="frames_init">
|
31
|
+
<parameters>
|
32
|
+
<label>"Init Frame"</label>
|
33
|
+
<arguments>
|
34
|
+
<style_url>https://cpee.org/form/frames.css</style_url>
|
35
|
+
<document_url/>
|
36
|
+
<x_amount>5</x_amount>
|
37
|
+
<y_amount>8</y_amount>
|
38
|
+
<lang>de-at</lang>
|
39
|
+
<document_name>Show Info</document_name>
|
40
|
+
</arguments>
|
41
|
+
</parameters>
|
42
|
+
<annotations>
|
43
|
+
<_timing>
|
44
|
+
<_timing_weight/>
|
45
|
+
<_timing_avg/>
|
46
|
+
<_context_data_analysis>
|
47
|
+
<probes/>
|
48
|
+
<ips/>
|
49
|
+
</_context_data_analysis>
|
50
|
+
<report>
|
51
|
+
<url/>
|
52
|
+
</report>
|
53
|
+
<explanations/>
|
54
|
+
</_timing>
|
55
|
+
<_notes>
|
56
|
+
<_notes_general/>
|
57
|
+
</_notes>
|
58
|
+
</annotations>
|
59
|
+
<documentation>
|
60
|
+
<input/>
|
61
|
+
<output/>
|
62
|
+
<implementation>
|
63
|
+
<description/>
|
64
|
+
</implementation>
|
65
|
+
</documentation>
|
66
|
+
</call>
|
67
|
+
<call id="a3" endpoint="frames_display">
|
68
|
+
<parameters>
|
69
|
+
<label>Clear </label>
|
70
|
+
<arguments>
|
71
|
+
<type>set</type>
|
72
|
+
<lx>0</lx>
|
73
|
+
<ly>0</ly>
|
74
|
+
<x_amount>5</x_amount>
|
75
|
+
<y_amount>8</y_amount>
|
76
|
+
<button/>
|
77
|
+
<style/>
|
78
|
+
<urls/>
|
79
|
+
<default/>
|
80
|
+
</arguments>
|
81
|
+
</parameters>
|
82
|
+
<annotations>
|
83
|
+
<_timing>
|
84
|
+
<_timing_weight/>
|
85
|
+
<_timing_avg/>
|
86
|
+
<_context_data_analysis>
|
87
|
+
<probes/>
|
88
|
+
<ips/>
|
89
|
+
</_context_data_analysis>
|
90
|
+
<report>
|
91
|
+
<url/>
|
92
|
+
</report>
|
93
|
+
<explanations/>
|
94
|
+
</_timing>
|
95
|
+
<_notes>
|
96
|
+
<_notes_general/>
|
97
|
+
</_notes>
|
98
|
+
</annotations>
|
99
|
+
<documentation>
|
100
|
+
<input/>
|
101
|
+
<output/>
|
102
|
+
<implementation>
|
103
|
+
<description/>
|
104
|
+
</implementation>
|
105
|
+
</documentation>
|
106
|
+
</call>
|
107
|
+
<call id="a6" endpoint="frames_display">
|
108
|
+
<parameters>
|
109
|
+
<label>Show Header</label>
|
110
|
+
<arguments>
|
111
|
+
<type>set</type>
|
112
|
+
<lx>0</lx>
|
113
|
+
<ly>0</ly>
|
114
|
+
<x_amount>5</x_amount>
|
115
|
+
<y_amount>1</y_amount>
|
116
|
+
<button/>
|
117
|
+
<style/>
|
118
|
+
<urls>
|
119
|
+
<urls_item>
|
120
|
+
<lang>de-at</lang>
|
121
|
+
<url>https://cpee.org/form/tum-header.html</url>
|
122
|
+
</urls_item>
|
123
|
+
</urls>
|
124
|
+
<default/>
|
125
|
+
</arguments>
|
126
|
+
</parameters>
|
127
|
+
<annotations>
|
128
|
+
<_timing>
|
129
|
+
<_timing_weight/>
|
130
|
+
<_timing_avg/>
|
131
|
+
<_context_data_analysis>
|
132
|
+
<probes/>
|
133
|
+
<ips/>
|
134
|
+
</_context_data_analysis>
|
135
|
+
<report>
|
136
|
+
<url/>
|
137
|
+
</report>
|
138
|
+
<explanations/>
|
139
|
+
</_timing>
|
140
|
+
<_notes>
|
141
|
+
<_notes_general/>
|
142
|
+
</_notes>
|
143
|
+
</annotations>
|
144
|
+
<documentation>
|
145
|
+
<input/>
|
146
|
+
<output/>
|
147
|
+
<implementation>
|
148
|
+
<description/>
|
149
|
+
</implementation>
|
150
|
+
</documentation>
|
151
|
+
</call>
|
152
|
+
<call id="a5" endpoint="frames_display">
|
153
|
+
<parameters>
|
154
|
+
<label>Display Graph</label>
|
155
|
+
<arguments>
|
156
|
+
<type>set</type>
|
157
|
+
<lx>3</lx>
|
158
|
+
<ly>1</ly>
|
159
|
+
<x_amount>2</x_amount>
|
160
|
+
<y_amount>7</y_amount>
|
161
|
+
<button/>
|
162
|
+
<style/>
|
163
|
+
<urls>
|
164
|
+
<urls_item>
|
165
|
+
<lang>de-at</lang>
|
166
|
+
<url>!"https://cpee.org/flow/graph.html?monitor=" + cpee.instance_url</url>
|
167
|
+
</urls_item>
|
168
|
+
</urls>
|
169
|
+
<default/>
|
170
|
+
</arguments>
|
171
|
+
</parameters>
|
172
|
+
<annotations>
|
173
|
+
<_timing>
|
174
|
+
<_timing_weight/>
|
175
|
+
<_timing_avg/>
|
176
|
+
<_context_data_analysis>
|
177
|
+
<probes/>
|
178
|
+
<ips/>
|
179
|
+
</_context_data_analysis>
|
180
|
+
<report>
|
181
|
+
<url/>
|
182
|
+
</report>
|
183
|
+
<explanations/>
|
184
|
+
</_timing>
|
185
|
+
<_notes>
|
186
|
+
<_notes_general/>
|
187
|
+
</_notes>
|
188
|
+
</annotations>
|
189
|
+
<documentation>
|
190
|
+
<input/>
|
191
|
+
<output/>
|
192
|
+
<implementation>
|
193
|
+
<description/>
|
194
|
+
</implementation>
|
195
|
+
</documentation>
|
196
|
+
</call>
|
197
|
+
<loop mode="post_test" condition="true">
|
198
|
+
<_probability>
|
199
|
+
<_probability_min/>
|
200
|
+
<_probability_max/>
|
201
|
+
<_probability_avg/>
|
202
|
+
</_probability>
|
203
|
+
<call id="a2" endpoint="frames_display">
|
204
|
+
<parameters>
|
205
|
+
<label>Show Button</label>
|
206
|
+
<arguments>
|
207
|
+
<type>wait</type>
|
208
|
+
<lx>0</lx>
|
209
|
+
<ly>1</ly>
|
210
|
+
<x_amount>1</x_amount>
|
211
|
+
<y_amount>1</y_amount>
|
212
|
+
<button/>
|
213
|
+
<style/>
|
214
|
+
<urls>
|
215
|
+
<urls_item>
|
216
|
+
<lang>de-at</lang>
|
217
|
+
<url>https://cpee.org/form/button.html</url>
|
218
|
+
</urls_item>
|
219
|
+
</urls>
|
220
|
+
<default/>
|
221
|
+
</arguments>
|
222
|
+
</parameters>
|
223
|
+
<annotations>
|
224
|
+
<_timing>
|
225
|
+
<_timing_weight/>
|
226
|
+
<_timing_avg/>
|
227
|
+
<_context_data_analysis>
|
228
|
+
<probes/>
|
229
|
+
<ips/>
|
230
|
+
</_context_data_analysis>
|
231
|
+
<report>
|
232
|
+
<url/>
|
233
|
+
</report>
|
234
|
+
<explanations/>
|
235
|
+
</_timing>
|
236
|
+
<_notes>
|
237
|
+
<_notes_general/>
|
238
|
+
</_notes>
|
239
|
+
</annotations>
|
240
|
+
<documentation>
|
241
|
+
<input/>
|
242
|
+
<output/>
|
243
|
+
<implementation>
|
244
|
+
<description/>
|
245
|
+
</implementation>
|
246
|
+
</documentation>
|
247
|
+
</call>
|
248
|
+
<call id="a7" endpoint="frames_display">
|
249
|
+
<parameters>
|
250
|
+
<label>Clear Button</label>
|
251
|
+
<arguments>
|
252
|
+
<type>set</type>
|
253
|
+
<lx>0</lx>
|
254
|
+
<ly>1</ly>
|
255
|
+
<x_amount>1</x_amount>
|
256
|
+
<y_amount>1</y_amount>
|
257
|
+
<button/>
|
258
|
+
<style/>
|
259
|
+
<urls/>
|
260
|
+
<default/>
|
261
|
+
</arguments>
|
262
|
+
</parameters>
|
263
|
+
<annotations>
|
264
|
+
<_timing>
|
265
|
+
<_timing_weight/>
|
266
|
+
<_timing_avg/>
|
267
|
+
<_context_data_analysis>
|
268
|
+
<probes/>
|
269
|
+
<ips/>
|
270
|
+
</_context_data_analysis>
|
271
|
+
<report>
|
272
|
+
<url/>
|
273
|
+
</report>
|
274
|
+
<explanations/>
|
275
|
+
</_timing>
|
276
|
+
<_notes>
|
277
|
+
<_notes_general/>
|
278
|
+
</_notes>
|
279
|
+
</annotations>
|
280
|
+
<documentation>
|
281
|
+
<input/>
|
282
|
+
<output/>
|
283
|
+
<implementation>
|
284
|
+
<description/>
|
285
|
+
</implementation>
|
286
|
+
</documentation>
|
287
|
+
</call>
|
288
|
+
<stop id="a4"/>
|
289
|
+
</loop>
|
290
|
+
</description>
|
291
|
+
</description>
|
292
|
+
<transformation>
|
293
|
+
<description type="copy"/>
|
294
|
+
<dataelements type="none"/>
|
295
|
+
<endpoints type="none"/>
|
296
|
+
</transformation>
|
297
|
+
</testset>
|
@@ -3,8 +3,8 @@
|
|
3
3
|
<executionhandler>ruby</executionhandler>
|
4
4
|
<dataelements/>
|
5
5
|
<endpoints>
|
6
|
+
<subprocess>https-post://cpee.org/flow/start/url/</subprocess>
|
6
7
|
<timeout>https://cpee.org/services/timeout.php</timeout>
|
7
|
-
<subprocess>https://cpee.org/flow/start/url/</subprocess>
|
8
8
|
</endpoints>
|
9
9
|
<attributes>
|
10
10
|
<info>Subprocess</info>
|
@@ -21,32 +21,73 @@
|
|
21
21
|
</attributes>
|
22
22
|
<description>
|
23
23
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
24
|
-
<call id="
|
24
|
+
<call id="a2" endpoint="timeout">
|
25
25
|
<parameters>
|
26
|
-
<label>
|
26
|
+
<label>Wait</label>
|
27
27
|
<method>:post</method>
|
28
|
+
<arguments>
|
29
|
+
<timeout>2</timeout>
|
30
|
+
</arguments>
|
31
|
+
</parameters>
|
32
|
+
<annotations>
|
33
|
+
<_generic/>
|
34
|
+
<_timing>
|
35
|
+
<_timing_weight/>
|
36
|
+
<_timing_avg/>
|
37
|
+
<explanations/>
|
38
|
+
</_timing>
|
39
|
+
<_shifting>
|
40
|
+
<_shifting_type>Duration</_shifting_type>
|
41
|
+
</_shifting>
|
42
|
+
<_context_data_analysis>
|
43
|
+
<probes/>
|
44
|
+
<ips/>
|
45
|
+
</_context_data_analysis>
|
46
|
+
<report>
|
47
|
+
<url/>
|
48
|
+
</report>
|
49
|
+
<_notes>
|
50
|
+
<_notes_general/>
|
51
|
+
</_notes>
|
52
|
+
</annotations>
|
53
|
+
<documentation>
|
54
|
+
<input/>
|
55
|
+
<output/>
|
56
|
+
<implementation>
|
57
|
+
<description/>
|
58
|
+
</implementation>
|
59
|
+
</documentation>
|
60
|
+
</call>
|
61
|
+
<call id="a1" endpoint="subprocess">
|
62
|
+
<parameters>
|
63
|
+
<label>Create Sub</label>
|
28
64
|
<arguments>
|
29
65
|
<behavior>wait_running</behavior>
|
30
|
-
<url>https://cpee.org/
|
66
|
+
<url>https://cpee.org/hub/server/Templates.dir/Wait.xml</url>
|
31
67
|
<init>
|
32
|
-
<
|
68
|
+
<b>!rand(1..17)</b>
|
33
69
|
</init>
|
34
70
|
<endpoints/>
|
71
|
+
<attributes/>
|
35
72
|
<customization/>
|
36
73
|
</arguments>
|
37
74
|
</parameters>
|
38
75
|
<code>
|
39
76
|
<prepare/>
|
40
|
-
<finalize output="result">data.
|
77
|
+
<finalize output="result">data.res = result</finalize>
|
41
78
|
<update output="result"/>
|
42
79
|
<rescue output="result"/>
|
43
80
|
</code>
|
44
81
|
<annotations>
|
82
|
+
<_generic/>
|
45
83
|
<_timing>
|
46
84
|
<_timing_weight/>
|
47
85
|
<_timing_avg/>
|
48
86
|
<explanations/>
|
49
87
|
</_timing>
|
88
|
+
<_shifting>
|
89
|
+
<_shifting_type>Duration</_shifting_type>
|
90
|
+
</_shifting>
|
50
91
|
<_context_data_analysis>
|
51
92
|
<probes/>
|
52
93
|
<ips/>
|
@@ -76,4 +117,11 @@
|
|
76
117
|
<dataelements type="none"/>
|
77
118
|
<endpoints type="none"/>
|
78
119
|
</transformation>
|
120
|
+
<subscriptions xmlns="http://riddl.org/ns/common-patterns/notifications-producer/2.0">
|
121
|
+
<subscription id="_karo" url="https://lehre.bpm.in.tum.de/ports/8000/">
|
122
|
+
<topic id="activity">
|
123
|
+
<event>calling</event>
|
124
|
+
</topic>
|
125
|
+
</subscription>
|
126
|
+
</subscriptions>
|
79
127
|
</testset>
|
data/cockpit/templates/Wait.xml
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
<modeltype>CPEE</modeltype>
|
14
14
|
<guarded>none</guarded>
|
15
15
|
<guarded_id/>
|
16
|
-
<model_uuid>
|
16
|
+
<model_uuid>c92d0c0b-8bbd-40dd-baad-01c5616dfceb</model_uuid>
|
17
17
|
<model_version/>
|
18
18
|
<theme>extended</theme>
|
19
19
|
<design_dir>Templates.dir</design_dir>
|
@@ -23,24 +23,21 @@
|
|
23
23
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
24
24
|
<call id="a1" endpoint="timeout">
|
25
25
|
<parameters>
|
26
|
-
<label>Wait
|
26
|
+
<label>Wait</label>
|
27
27
|
<method>:post</method>
|
28
28
|
<arguments>
|
29
29
|
<timeout>2</timeout>
|
30
30
|
</arguments>
|
31
31
|
</parameters>
|
32
|
-
<code>
|
33
|
-
<prepare/>
|
34
|
-
<finalize output="result">data.test = 7</finalize>
|
35
|
-
<update output="result"/>
|
36
|
-
<rescue output="result"/>
|
37
|
-
</code>
|
38
32
|
<annotations>
|
39
33
|
<_timing>
|
40
34
|
<_timing_weight/>
|
41
35
|
<_timing_avg/>
|
42
36
|
<explanations/>
|
43
37
|
</_timing>
|
38
|
+
<_shifting>
|
39
|
+
<_shifting_type>Duration</_shifting_type>
|
40
|
+
</_shifting>
|
44
41
|
<_context_data_analysis>
|
45
42
|
<probes/>
|
46
43
|
<ips/>
|
@@ -58,9 +55,6 @@
|
|
58
55
|
<implementation>
|
59
56
|
<description/>
|
60
57
|
</implementation>
|
61
|
-
<code>
|
62
|
-
<description/>
|
63
|
-
</code>
|
64
58
|
</documentation>
|
65
59
|
</call>
|
66
60
|
</description>
|