cpee 2.1.26 → 2.1.32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/templates/Frames.xml +297 -0
  3. data/cockpit/templates/Subprocess.xml +79 -0
  4. data/cockpit/templates/Subprocess.xml.attrs +13 -0
  5. data/cockpit/templates/Track Test.xml +31 -28
  6. data/cockpit/templates/Track Test.xml.attrs +11 -0
  7. data/cockpit/templates/Wait.xml +73 -0
  8. data/cockpit/templates/Wait.xml.attrs +13 -0
  9. data/cockpit/templates/Worklist.xml +58 -26
  10. data/cockpit/templates/instantiate/Take_Perf.xml +13 -10
  11. data/cockpit/templates/instantiate/Take_Sub.xml +4 -8
  12. data/cockpit/templates/instantiate/Take_X.xml +12 -9
  13. data/cockpit/themes/compact/theme.js +1 -1
  14. data/cockpit/themes/control/theme.js +1 -1
  15. data/cockpit/themes/default/theme.js +1 -1
  16. data/cockpit/themes/extended/theme.js +1 -1
  17. data/cockpit/themes/model/theme.js +1 -1
  18. data/cockpit/themes/packed/theme.js +1 -1
  19. data/cockpit/themes/preset/theme.js +1 -1
  20. data/cpee.gemspec +1 -1
  21. data/lib/cpee/fail.rb +23 -0
  22. data/lib/cpee/implementation.rb +34 -18
  23. data/lib/cpee/implementation_callbacks.rb +20 -15
  24. data/lib/cpee/implementation_notifications.rb +22 -17
  25. data/lib/cpee/implementation_properties.rb +66 -61
  26. data/lib/cpee/message.rb +15 -13
  27. data/lib/cpee/persistence.rb +33 -10
  28. data/server/executionhandlers/ruby/connection.rb +15 -5
  29. data/server/executionhandlers/ruby/controller.rb +11 -6
  30. data/server/executionhandlers/ruby/dsl_to_dslx.xsl +36 -6
  31. data/server/routing/end.pid +1 -0
  32. data/server/routing/forward-events.pid +1 -0
  33. data/server/routing/forward-events.rb +6 -0
  34. data/server/routing/forward-votes.pid +1 -0
  35. data/server/routing/persist.pid +1 -0
  36. data/server/routing/persist.rb +4 -2
  37. data/server/server.conf +1 -1
  38. metadata +13 -6
  39. data/cockpit/templates/Coopis 2010.xml.active +0 -1
  40. data/cockpit/templates/Coopis 2010.xml.active-uuid +0 -1
  41. data/cockpit/templates/UR-VUE 2020 Solution Baseline.xml.active +0 -1
  42. data/cockpit/templates/UR-VUE 2020 Solution Baseline.xml.active-uuid +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f13d0d499477cb49d9cb850f9dddf8aaef848c326dca500044f19f2ca5c9889
4
- data.tar.gz: a96532269da4927bd5b3f5cb2ab195440ea67115f7906b4f2f30ae63d8fccd01
3
+ metadata.gz: f1021b5fe513c40b5d489dc062285fe8295693da2f0e93cf7027b31b48b48bd6
4
+ data.tar.gz: f3c04a3878251f76ef08cfabc841e2612bb99c41074234807a15d8b1c483f9aa
5
5
  SHA512:
6
- metadata.gz: 0efcc7924b603332c15ad3040478e80f34ad747cbe67c0cbd3eb23e41da3cd4914adc5688c3c40cf74dff2bbf92c7e60d02e7cbeaf8017867255554771ea9bbf
7
- data.tar.gz: 61035d40cb0c1c44a85dd9736a0020a74c56a13d4c30e1f5164f060695058a302644a59b63e443529d4e85a4aaba014492e2909bb8e61aea81480ec3eed57d7e
6
+ metadata.gz: 3182222b1327b83a77c3c2936b1147d2bbf2ed1b442c5e6bbf25d79a0b430211cee29b375ce88a8852fbfd5b5e260862d3ccc53a63828c257ead2cb995382547
7
+ data.tar.gz: 8aaa771f5d6ace88b4704364d2dd657ce15478dae0201e0ef24f6287988166433e741bade35cf5994a1238e9430c34970c146ffe6243cfd2e6afcf27f8c98055
@@ -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>
@@ -0,0 +1,79 @@
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
+ </endpoints>
9
+ <attributes>
10
+ <info>Subprocess</info>
11
+ <creator>Christine Ashcreek</creator>
12
+ <author>Christine Ashcreek</author>
13
+ <modeltype>CPEE</modeltype>
14
+ <guarded>none</guarded>
15
+ <guarded_id/>
16
+ <model_uuid>1fc43528-3e4a-40ee-8503-c0ed7e5d883c</model_uuid>
17
+ <model_version/>
18
+ <theme>extended</theme>
19
+ <design_dir>Templates.dir</design_dir>
20
+ <design_stage>development</design_stage>
21
+ </attributes>
22
+ <description>
23
+ <description xmlns="http://cpee.org/ns/description/1.0">
24
+ <call id="a1" endpoint="subprocess">
25
+ <parameters>
26
+ <label>Sub</label>
27
+ <method>:post</method>
28
+ <arguments>
29
+ <behavior>wait_running</behavior>
30
+ <url>https://cpee.org/design/server/Templates.dir/Wait.xml</url>
31
+ <init>
32
+ <bla>3</bla>
33
+ </init>
34
+ <endpoints/>
35
+ <customization/>
36
+ </arguments>
37
+ </parameters>
38
+ <code>
39
+ <prepare/>
40
+ <finalize output="result">data.test = result</finalize>
41
+ <update output="result"/>
42
+ <rescue output="result"/>
43
+ </code>
44
+ <annotations>
45
+ <_timing>
46
+ <_timing_weight/>
47
+ <_timing_avg/>
48
+ <explanations/>
49
+ </_timing>
50
+ <_context_data_analysis>
51
+ <probes/>
52
+ <ips/>
53
+ </_context_data_analysis>
54
+ <report>
55
+ <url/>
56
+ </report>
57
+ <_notes>
58
+ <_notes_general/>
59
+ </_notes>
60
+ </annotations>
61
+ <documentation>
62
+ <input/>
63
+ <output/>
64
+ <implementation>
65
+ <description/>
66
+ </implementation>
67
+ <code>
68
+ <description/>
69
+ </code>
70
+ </documentation>
71
+ </call>
72
+ </description>
73
+ </description>
74
+ <transformation>
75
+ <description type="copy"/>
76
+ <dataelements type="none"/>
77
+ <endpoints type="none"/>
78
+ </transformation>
79
+ </testset>
@@ -0,0 +1,13 @@
1
+ {
2
+ "info": "Subprocess",
3
+ "creator": "Christine Ashcreek",
4
+ "author": "Christine Ashcreek",
5
+ "modeltype": "CPEE",
6
+ "guarded": "none",
7
+ "guarded_id": "",
8
+ "model_uuid": "1fc43528-3e4a-40ee-8503-c0ed7e5d883c",
9
+ "model_version": "",
10
+ "theme": "extended",
11
+ "design_dir": "Templates.dir",
12
+ "design_stage": "development"
13
+ }
@@ -1,3 +1,4 @@
1
+ <?xml version="1.0"?>
1
2
  <testset xmlns="http://cpee.org/ns/properties/2.0">
2
3
  <executionhandler>ruby</executionhandler>
3
4
  <dataelements>
@@ -6,7 +7,17 @@
6
7
  <endpoints>
7
8
  <start_url>https://cpee.org/flow/start/url/</start_url>
8
9
  </endpoints>
9
- <positions/>
10
+ <attributes>
11
+ <info>Track Test</info>
12
+ <modeltype>CPEE</modeltype>
13
+ <theme>default</theme>
14
+ <customer>pilotfabrik</customer>
15
+ <status>development</status>
16
+ <creator>Christine Ashcreek</creator>
17
+ <author>Christine Ashcreek</author>
18
+ <design_stage>development</design_stage>
19
+ <design_dir>Templates.dir</design_dir>
20
+ </attributes>
10
21
  <description>
11
22
  <description xmlns="http://cpee.org/ns/description/1.0">
12
23
  <loop mode="pre_test" condition="true">
@@ -26,33 +37,36 @@
26
37
  <behavior>wait_running</behavior>
27
38
  <url>https://cpee.org/flow/templates/instantiate/Take_Sub.xml</url>
28
39
  <init>
29
- <time>4</time>
40
+ <time>5</time>
30
41
  </init>
31
42
  <endpoints/>
32
- <stream/>
43
+ <customization/>
33
44
  </arguments>
34
- <stream>
35
- <sensors/>
36
- <aggregators/>
37
- <costs/>
38
- </stream>
39
- <report>
40
- <url/>
41
- </report>
42
45
  </parameters>
43
46
  <annotations>
44
47
  <_timing>
45
- <_timing_wait/>
46
- <_timing_threshold/>
47
- <_timing_min/>
48
- <_timing_max/>
48
+ <_timing_weight/>
49
49
  <_timing_avg/>
50
+ <_context_data_analysis>
51
+ <probes/>
52
+ <ips/>
53
+ </_context_data_analysis>
54
+ <report>
55
+ <url/>
56
+ </report>
57
+ <explanations/>
50
58
  </_timing>
51
59
  <_notes>
52
60
  <_notes_general/>
53
61
  </_notes>
54
62
  </annotations>
55
- <documentation/>
63
+ <documentation>
64
+ <input/>
65
+ <output/>
66
+ <implementation>
67
+ <description/>
68
+ </implementation>
69
+ </documentation>
56
70
  </call>
57
71
  </parallel_branch>
58
72
  <manipulate id="a4" label="">data.i += 1</manipulate>
@@ -73,15 +87,4 @@
73
87
  <dataelements type="none"/>
74
88
  <endpoints type="none"/>
75
89
  </transformation>
76
- <attributes>
77
- <info>Track Test</info>
78
- <modeltype>CPEE</modeltype>
79
- <theme>default</theme>
80
- <customer>pilotfabrik</customer>
81
- <status>development</status>
82
- <creator>Christine Ashcreek</creator>
83
- <author>Christine Ashcreek</author>
84
- <design_stage>development</design_stage>
85
- <design_dir>Templates.dir</design_dir>
86
- </attributes>
87
- </testset>
90
+ </testset>
@@ -0,0 +1,11 @@
1
+ {
2
+ "info": "Track Test",
3
+ "modeltype": "CPEE",
4
+ "theme": "default",
5
+ "customer": "pilotfabrik",
6
+ "status": "development",
7
+ "creator": "Christine Ashcreek",
8
+ "author": "Christine Ashcreek",
9
+ "design_stage": "development",
10
+ "design_dir": "Templates.dir"
11
+ }
@@ -0,0 +1,73 @@
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
+ </endpoints>
9
+ <attributes>
10
+ <info>Wait</info>
11
+ <creator>Christine Ashcreek</creator>
12
+ <author>Christine Ashcreek</author>
13
+ <modeltype>CPEE</modeltype>
14
+ <guarded>none</guarded>
15
+ <guarded_id/>
16
+ <model_uuid>c09dad6b-547e-41a9-8f31-95c40e71c607</model_uuid>
17
+ <model_version/>
18
+ <theme>extended</theme>
19
+ <design_dir>Templates.dir</design_dir>
20
+ <design_stage>development</design_stage>
21
+ </attributes>
22
+ <description>
23
+ <description xmlns="http://cpee.org/ns/description/1.0">
24
+ <call id="a1" endpoint="timeout">
25
+ <parameters>
26
+ <label>Wait </label>
27
+ <method>:post</method>
28
+ <arguments>
29
+ <timeout>2</timeout>
30
+ </arguments>
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
+ <annotations>
39
+ <_timing>
40
+ <_timing_weight/>
41
+ <_timing_avg/>
42
+ <explanations/>
43
+ </_timing>
44
+ <_context_data_analysis>
45
+ <probes/>
46
+ <ips/>
47
+ </_context_data_analysis>
48
+ <report>
49
+ <url/>
50
+ </report>
51
+ <_notes>
52
+ <_notes_general/>
53
+ </_notes>
54
+ </annotations>
55
+ <documentation>
56
+ <input/>
57
+ <output/>
58
+ <implementation>
59
+ <description/>
60
+ </implementation>
61
+ <code>
62
+ <description/>
63
+ </code>
64
+ </documentation>
65
+ </call>
66
+ </description>
67
+ </description>
68
+ <transformation>
69
+ <description type="copy"/>
70
+ <dataelements type="none"/>
71
+ <endpoints type="none"/>
72
+ </transformation>
73
+ </testset>
@@ -0,0 +1,13 @@
1
+ {
2
+ "info": "Wait",
3
+ "creator": "Christine Ashcreek",
4
+ "author": "Christine Ashcreek",
5
+ "modeltype": "CPEE",
6
+ "guarded": "none",
7
+ "guarded_id": "",
8
+ "model_uuid": "c09dad6b-547e-41a9-8f31-95c40e71c607",
9
+ "model_version": "",
10
+ "theme": "extended",
11
+ "design_dir": "Templates.dir",
12
+ "design_stage": "development"
13
+ }