cpee 2.1.35 → 2.1.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/css/track.css +1 -1
- data/cockpit/js/details.js +2 -2
- data/cockpit/templates/Subprocess.xml +401 -18
- data/cockpit/templates/Wait.xml +398 -11
- data/cockpit/templates/Wait.xml.attrs +3 -0
- data/cockpit/themes/compact/rngs/call.rng +107 -86
- data/cockpit/themes/compact/rngs/callmanipulate.rng +11 -7
- data/cockpit/themes/compact/rngs/start.rng +94 -73
- 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/theme.js +25 -5
- data/cockpit/themes/control/rngs/call.rng +107 -86
- data/cockpit/themes/control/rngs/callmanipulate.rng +11 -7
- data/cockpit/themes/control/rngs/start.rng +94 -73
- 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/default/rngs/call.rng +107 -86
- data/cockpit/themes/default/rngs/callmanipulate.rng +11 -7
- data/cockpit/themes/default/rngs/start.rng +94 -73
- 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/theme.js +25 -5
- data/cockpit/themes/extended/rngs/call.rng +107 -86
- data/cockpit/themes/extended/rngs/callmanipulate.rng +11 -7
- data/cockpit/themes/extended/rngs/start.rng +94 -73
- 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/theme.js +25 -5
- 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/packed/rngs/call.rng +107 -86
- data/cockpit/themes/packed/rngs/callmanipulate.rng +11 -7
- data/cockpit/themes/packed/rngs/start.rng +94 -73
- 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/theme.js +25 -5
- data/cockpit/themes/preset/rngs/call.rng +107 -86
- data/cockpit/themes/preset/rngs/callmanipulate.rng +11 -7
- data/cockpit/themes/preset/rngs/start.rng +94 -73
- 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/theme.js +25 -5
- data/cpee.gemspec +1 -1
- data/lib/cpee/implementation.rb +25 -14
- data/lib/cpee/message.rb +0 -1
- data/lib/cpee/persistence.rb +1 -1
- data/server/executionhandlers/ruby/connection.rb +32 -20
- data/server/resources/states.xml +3 -0
- data/server/routing/end.pid +1 -0
- data/server/routing/forward-events.pid +1 -0
- data/server/routing/forward-votes.pid +1 -0
- data/server/routing/persist.pid +1 -0
- data/tools/cpee +6 -4
- metadata +20 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9654b46b1dcea27433723db5fa3f56bc24feb6a925cf2116b98486a6325680c4
|
4
|
+
data.tar.gz: 46c6c7ae69e908118f681b09f74ecffc34da9ba5fe9036cc2d52aafae50c8a08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 181b74293fb2e8a52121efb575ada47515a07050bcbfa23d0827bb5bc85ecc6ad76f4649d3ff2dcebb8b436bf29ef50b783f8e8b042a305475279750d36a2117
|
7
|
+
data.tar.gz: 715abfa5b4b5522339f10d241cbaf793cd3b8fbb5a004578240ec670f658a34c995b7180a44361ec1c2ab9e3af6489b8d7e63bb2151341c1c9a9069a224a6920
|
data/cockpit/css/track.css
CHANGED
data/cockpit/js/details.js
CHANGED
@@ -21,8 +21,8 @@ $(document).ready(function() {
|
|
21
21
|
});
|
22
22
|
$(document).on('keypress','#dat_details [contenteditable]',function(e){
|
23
23
|
if (e.keyCode == 13) {
|
24
|
-
document.execCommand('
|
25
|
-
|
24
|
+
document.execCommand('insertLineBreak')
|
25
|
+
e.preventDefault()
|
26
26
|
}
|
27
27
|
});
|
28
28
|
$(document).on('relaxngui_remove', '#dat_details', function(e){
|
@@ -1,12 +1,19 @@
|
|
1
1
|
<?xml version="1.0"?>
|
2
2
|
<testset xmlns="http://cpee.org/ns/properties/2.0">
|
3
3
|
<executionhandler>ruby</executionhandler>
|
4
|
-
<dataelements
|
5
|
-
<brr>{ "a": 3 }</brr>
|
6
|
-
</dataelements>
|
4
|
+
<dataelements/>
|
7
5
|
<endpoints>
|
6
|
+
<machine>machine</machine>
|
8
7
|
<timeout>https://cpee.org/services/timeout.php</timeout>
|
8
|
+
<sensor>sensor</sensor>
|
9
9
|
<subprocess>https-post://cpee.org/flow/start/url/</subprocess>
|
10
|
+
<human>human</human>
|
11
|
+
<plc>plc</plc>
|
12
|
+
<robot>robot</robot>
|
13
|
+
<robot_subprocess>robot_subprocess</robot_subprocess>
|
14
|
+
<send>send</send>
|
15
|
+
<receive>receive</receive>
|
16
|
+
<wait>wait</wait>
|
10
17
|
</endpoints>
|
11
18
|
<attributes>
|
12
19
|
<info>Subprocess</info>
|
@@ -23,25 +30,19 @@
|
|
23
30
|
</attributes>
|
24
31
|
<description>
|
25
32
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
26
|
-
<
|
33
|
+
<manipulate id="a2" label="initialize values">data.new_records = rand(0..1)
|
34
|
+
data.new_returns = rand(0..1)
|
35
|
+
data.advised = rand(0..1)
|
36
|
+
data.completed = rand(0..1)
|
37
|
+
data.hour = rand(0..24)</manipulate>
|
38
|
+
<call id="a1" endpoint="timeout">
|
27
39
|
<parameters>
|
28
|
-
<label>
|
40
|
+
<label>weekday morning</label>
|
41
|
+
<method>:post</method>
|
29
42
|
<arguments>
|
30
|
-
<
|
31
|
-
<url>https://cpee.org/design/server/Templates.dir/Wait.xml</url>
|
32
|
-
<init>
|
33
|
-
<bla>!data.brr</bla>
|
34
|
-
</init>
|
35
|
-
<endpoints/>
|
36
|
-
<customization/>
|
43
|
+
<timeout/>
|
37
44
|
</arguments>
|
38
45
|
</parameters>
|
39
|
-
<code>
|
40
|
-
<prepare/>
|
41
|
-
<finalize output="result">data.test = result</finalize>
|
42
|
-
<update output="result"/>
|
43
|
-
<rescue output="result"/>
|
44
|
-
</code>
|
45
46
|
<annotations>
|
46
47
|
<_timing>
|
47
48
|
<_timing_weight/>
|
@@ -70,6 +71,388 @@
|
|
70
71
|
</code>
|
71
72
|
</documentation>
|
72
73
|
</call>
|
74
|
+
<call id="a3" endpoint="timeout">
|
75
|
+
<parameters>
|
76
|
+
<label>back-up database</label>
|
77
|
+
<method>:post</method>
|
78
|
+
<arguments>
|
79
|
+
<timeout/>
|
80
|
+
</arguments>
|
81
|
+
</parameters>
|
82
|
+
<annotations>
|
83
|
+
<_timing>
|
84
|
+
<_timing_weight/>
|
85
|
+
<_timing_avg/>
|
86
|
+
<explanations/>
|
87
|
+
</_timing>
|
88
|
+
<_context_data_analysis>
|
89
|
+
<probes/>
|
90
|
+
<ips/>
|
91
|
+
</_context_data_analysis>
|
92
|
+
<report>
|
93
|
+
<url/>
|
94
|
+
</report>
|
95
|
+
<_notes>
|
96
|
+
<_notes_general/>
|
97
|
+
</_notes>
|
98
|
+
</annotations>
|
99
|
+
<documentation>
|
100
|
+
<input/>
|
101
|
+
<output/>
|
102
|
+
<implementation>
|
103
|
+
<description/>
|
104
|
+
</implementation>
|
105
|
+
<code>
|
106
|
+
<description/>
|
107
|
+
</code>
|
108
|
+
</documentation>
|
109
|
+
</call>
|
110
|
+
<choose mode="exclusive">
|
111
|
+
<alternative condition="data.new_records == 1">
|
112
|
+
<_probability>
|
113
|
+
<_probability_min/>
|
114
|
+
<_probability_max/>
|
115
|
+
<_probability_avg/>
|
116
|
+
</_probability>
|
117
|
+
</alternative>
|
118
|
+
<otherwise>
|
119
|
+
<terminate/>
|
120
|
+
</otherwise>
|
121
|
+
</choose>
|
122
|
+
<choose mode="exclusive">
|
123
|
+
<alternative condition="data.new_returns == 1">
|
124
|
+
<_probability>
|
125
|
+
<_probability_min/>
|
126
|
+
<_probability_max/>
|
127
|
+
<_probability_avg/>
|
128
|
+
</_probability>
|
129
|
+
<call id="a4" endpoint="timeout">
|
130
|
+
<parameters>
|
131
|
+
<label>register defaulting accounts and customers</label>
|
132
|
+
<method>:post</method>
|
133
|
+
<arguments>
|
134
|
+
<timeout/>
|
135
|
+
</arguments>
|
136
|
+
</parameters>
|
137
|
+
<annotations>
|
138
|
+
<_timing>
|
139
|
+
<_timing_weight/>
|
140
|
+
<_timing_avg/>
|
141
|
+
<explanations/>
|
142
|
+
</_timing>
|
143
|
+
<_context_data_analysis>
|
144
|
+
<probes/>
|
145
|
+
<ips/>
|
146
|
+
</_context_data_analysis>
|
147
|
+
<report>
|
148
|
+
<url/>
|
149
|
+
</report>
|
150
|
+
<_notes>
|
151
|
+
<_notes_general/>
|
152
|
+
</_notes>
|
153
|
+
</annotations>
|
154
|
+
<documentation>
|
155
|
+
<input/>
|
156
|
+
<output/>
|
157
|
+
<implementation>
|
158
|
+
<description/>
|
159
|
+
</implementation>
|
160
|
+
<code>
|
161
|
+
<description/>
|
162
|
+
</code>
|
163
|
+
</documentation>
|
164
|
+
</call>
|
165
|
+
<choose mode="exclusive">
|
166
|
+
<alternative condition="data.advised == 0">
|
167
|
+
<call id="a12" endpoint="timeout">
|
168
|
+
<parameters>
|
169
|
+
<label>produce table of defaulting accounts</label>
|
170
|
+
<method>:post</method>
|
171
|
+
<arguments>
|
172
|
+
<timeout/>
|
173
|
+
</arguments>
|
174
|
+
</parameters>
|
175
|
+
<annotations>
|
176
|
+
<_timing>
|
177
|
+
<_timing_weight/>
|
178
|
+
<_timing_avg/>
|
179
|
+
<explanations/>
|
180
|
+
</_timing>
|
181
|
+
<_context_data_analysis>
|
182
|
+
<probes/>
|
183
|
+
<ips/>
|
184
|
+
</_context_data_analysis>
|
185
|
+
<report>
|
186
|
+
<url/>
|
187
|
+
</report>
|
188
|
+
<_notes>
|
189
|
+
<_notes_general/>
|
190
|
+
</_notes>
|
191
|
+
</annotations>
|
192
|
+
<documentation>
|
193
|
+
<input/>
|
194
|
+
<output/>
|
195
|
+
<implementation>
|
196
|
+
<description/>
|
197
|
+
</implementation>
|
198
|
+
</documentation>
|
199
|
+
</call>
|
200
|
+
<call id="a13" endpoint="timeout">
|
201
|
+
<parameters>
|
202
|
+
<label>send to account management</label>
|
203
|
+
<method>:post</method>
|
204
|
+
<arguments>
|
205
|
+
<timeout/>
|
206
|
+
</arguments>
|
207
|
+
</parameters>
|
208
|
+
<annotations>
|
209
|
+
<_timing>
|
210
|
+
<_timing_weight/>
|
211
|
+
<_timing_avg/>
|
212
|
+
<explanations/>
|
213
|
+
</_timing>
|
214
|
+
<_context_data_analysis>
|
215
|
+
<probes/>
|
216
|
+
<ips/>
|
217
|
+
</_context_data_analysis>
|
218
|
+
<report>
|
219
|
+
<url/>
|
220
|
+
</report>
|
221
|
+
<_notes>
|
222
|
+
<_notes_general/>
|
223
|
+
</_notes>
|
224
|
+
</annotations>
|
225
|
+
<documentation>
|
226
|
+
<input/>
|
227
|
+
<output/>
|
228
|
+
<implementation>
|
229
|
+
<description/>
|
230
|
+
</implementation>
|
231
|
+
</documentation>
|
232
|
+
</call>
|
233
|
+
<_probability>
|
234
|
+
<_probability_min/>
|
235
|
+
<_probability_max/>
|
236
|
+
<_probability_avg/>
|
237
|
+
</_probability>
|
238
|
+
</alternative>
|
239
|
+
<otherwise/>
|
240
|
+
</choose>
|
241
|
+
</alternative>
|
242
|
+
<otherwise/>
|
243
|
+
</choose>
|
244
|
+
<choose mode="exclusive">
|
245
|
+
<alternative condition="data.completed == 1 && data.hour < 14:30">
|
246
|
+
<_probability>
|
247
|
+
<_probability_min/>
|
248
|
+
<_probability_max/>
|
249
|
+
<_probability_avg/>
|
250
|
+
</_probability>
|
251
|
+
</alternative>
|
252
|
+
<otherwise>
|
253
|
+
<call id="a7" endpoint="timeout">
|
254
|
+
<parameters>
|
255
|
+
<label>send alert to supervisor</label>
|
256
|
+
<method>:post</method>
|
257
|
+
<arguments>
|
258
|
+
<timeout/>
|
259
|
+
</arguments>
|
260
|
+
</parameters>
|
261
|
+
<annotations>
|
262
|
+
<_timing>
|
263
|
+
<_timing_weight/>
|
264
|
+
<_timing_avg/>
|
265
|
+
<explanations/>
|
266
|
+
</_timing>
|
267
|
+
<_context_data_analysis>
|
268
|
+
<probes/>
|
269
|
+
<ips/>
|
270
|
+
</_context_data_analysis>
|
271
|
+
<report>
|
272
|
+
<url/>
|
273
|
+
</report>
|
274
|
+
<_notes>
|
275
|
+
<_notes_general/>
|
276
|
+
</_notes>
|
277
|
+
</annotations>
|
278
|
+
<documentation>
|
279
|
+
<input/>
|
280
|
+
<output/>
|
281
|
+
<implementation>
|
282
|
+
<description/>
|
283
|
+
</implementation>
|
284
|
+
<code>
|
285
|
+
<description/>
|
286
|
+
</code>
|
287
|
+
</documentation>
|
288
|
+
</call>
|
289
|
+
</otherwise>
|
290
|
+
</choose>
|
291
|
+
<call id="a8" endpoint="timeout">
|
292
|
+
<parameters>
|
293
|
+
<label>new defaulting account report completed</label>
|
294
|
+
<method>:post</method>
|
295
|
+
<arguments>
|
296
|
+
<timeout/>
|
297
|
+
</arguments>
|
298
|
+
</parameters>
|
299
|
+
<annotations>
|
300
|
+
<_timing>
|
301
|
+
<_timing_weight/>
|
302
|
+
<_timing_avg/>
|
303
|
+
<explanations/>
|
304
|
+
</_timing>
|
305
|
+
<_context_data_analysis>
|
306
|
+
<probes/>
|
307
|
+
<ips/>
|
308
|
+
</_context_data_analysis>
|
309
|
+
<report>
|
310
|
+
<url/>
|
311
|
+
</report>
|
312
|
+
<_notes>
|
313
|
+
<_notes_general/>
|
314
|
+
</_notes>
|
315
|
+
</annotations>
|
316
|
+
<documentation>
|
317
|
+
<input/>
|
318
|
+
<output/>
|
319
|
+
<implementation>
|
320
|
+
<description/>
|
321
|
+
</implementation>
|
322
|
+
<code>
|
323
|
+
<description/>
|
324
|
+
</code>
|
325
|
+
</documentation>
|
326
|
+
</call>
|
327
|
+
<call id="a9" endpoint="timeout">
|
328
|
+
<parameters>
|
329
|
+
<label>check the CRM system</label>
|
330
|
+
<method>:post</method>
|
331
|
+
<arguments>
|
332
|
+
<timeout/>
|
333
|
+
</arguments>
|
334
|
+
</parameters>
|
335
|
+
<annotations>
|
336
|
+
<_timing>
|
337
|
+
<_timing_weight/>
|
338
|
+
<_timing_avg/>
|
339
|
+
<explanations/>
|
340
|
+
</_timing>
|
341
|
+
<_context_data_analysis>
|
342
|
+
<probes/>
|
343
|
+
<ips/>
|
344
|
+
</_context_data_analysis>
|
345
|
+
<report>
|
346
|
+
<url/>
|
347
|
+
</report>
|
348
|
+
<_notes>
|
349
|
+
<_notes_general/>
|
350
|
+
</_notes>
|
351
|
+
</annotations>
|
352
|
+
<documentation>
|
353
|
+
<input/>
|
354
|
+
<output/>
|
355
|
+
<implementation>
|
356
|
+
<description/>
|
357
|
+
</implementation>
|
358
|
+
<code>
|
359
|
+
<description/>
|
360
|
+
</code>
|
361
|
+
</documentation>
|
362
|
+
</call>
|
363
|
+
<choose mode="exclusive">
|
364
|
+
<alternative condition="data.new_returns == 1">
|
365
|
+
<_probability>
|
366
|
+
<_probability_min/>
|
367
|
+
<_probability_max/>
|
368
|
+
<_probability_avg/>
|
369
|
+
</_probability>
|
370
|
+
<call id="a10" endpoint="timeout">
|
371
|
+
<parameters>
|
372
|
+
<label>reconcile with existing account defulters table</label>
|
373
|
+
<method>:post</method>
|
374
|
+
<arguments>
|
375
|
+
<timeout/>
|
376
|
+
</arguments>
|
377
|
+
</parameters>
|
378
|
+
<annotations>
|
379
|
+
<_timing>
|
380
|
+
<_timing_weight/>
|
381
|
+
<_timing_avg/>
|
382
|
+
<explanations/>
|
383
|
+
</_timing>
|
384
|
+
<_context_data_analysis>
|
385
|
+
<probes/>
|
386
|
+
<ips/>
|
387
|
+
</_context_data_analysis>
|
388
|
+
<report>
|
389
|
+
<url/>
|
390
|
+
</report>
|
391
|
+
<_notes>
|
392
|
+
<_notes_general/>
|
393
|
+
</_notes>
|
394
|
+
</annotations>
|
395
|
+
<documentation>
|
396
|
+
<input/>
|
397
|
+
<output/>
|
398
|
+
<implementation>
|
399
|
+
<description/>
|
400
|
+
</implementation>
|
401
|
+
<code>
|
402
|
+
<description/>
|
403
|
+
</code>
|
404
|
+
</documentation>
|
405
|
+
</call>
|
406
|
+
</alternative>
|
407
|
+
<otherwise/>
|
408
|
+
</choose>
|
409
|
+
<choose mode="exclusive">
|
410
|
+
<alternative condition="data.hour < 16">
|
411
|
+
<_probability>
|
412
|
+
<_probability_min/>
|
413
|
+
<_probability_max/>
|
414
|
+
<_probability_avg/>
|
415
|
+
</_probability>
|
416
|
+
</alternative>
|
417
|
+
<otherwise>
|
418
|
+
<call id="a11" endpoint="timeout">
|
419
|
+
<parameters>
|
420
|
+
<label>supervisor sends message</label>
|
421
|
+
<method>:post</method>
|
422
|
+
<arguments>
|
423
|
+
<timeout/>
|
424
|
+
</arguments>
|
425
|
+
</parameters>
|
426
|
+
<annotations>
|
427
|
+
<_timing>
|
428
|
+
<_timing_weight/>
|
429
|
+
<_timing_avg/>
|
430
|
+
<explanations/>
|
431
|
+
</_timing>
|
432
|
+
<_context_data_analysis>
|
433
|
+
<probes/>
|
434
|
+
<ips/>
|
435
|
+
</_context_data_analysis>
|
436
|
+
<report>
|
437
|
+
<url/>
|
438
|
+
</report>
|
439
|
+
<_notes>
|
440
|
+
<_notes_general/>
|
441
|
+
</_notes>
|
442
|
+
</annotations>
|
443
|
+
<documentation>
|
444
|
+
<input/>
|
445
|
+
<output/>
|
446
|
+
<implementation>
|
447
|
+
<description/>
|
448
|
+
</implementation>
|
449
|
+
<code>
|
450
|
+
<description/>
|
451
|
+
</code>
|
452
|
+
</documentation>
|
453
|
+
</call>
|
454
|
+
</otherwise>
|
455
|
+
</choose>
|
73
456
|
</description>
|
74
457
|
</description>
|
75
458
|
<transformation>
|