cpee 2.1.36 → 2.1.37

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b3b24c2451d2f62af833502a210a0e87c8bd623774809bfe33a3372b1b9efa17
4
- data.tar.gz: 91e932f3e7ad18ba9fdc6118074149d2a7b37c99c10532f87633789a09cbadac
3
+ metadata.gz: 9654b46b1dcea27433723db5fa3f56bc24feb6a925cf2116b98486a6325680c4
4
+ data.tar.gz: 46c6c7ae69e908118f681b09f74ecffc34da9ba5fe9036cc2d52aafae50c8a08
5
5
  SHA512:
6
- metadata.gz: c30c8527d4b5dedb97264b53225980b32fb5544b61b775bd8a12ff2168b519e77281e66ce7a88dff7a1aff5dde34a89123b7d8ac2ed69b535f00565c439d33c1
7
- data.tar.gz: 1574c7099ac94830613d3e7129245fd88e5cd66e6dba960aea940b3953e204475e62c4ec415e2012e04e8ff11d453c4041edadd2a80761b628b5151d3e8fa9c0
6
+ metadata.gz: 181b74293fb2e8a52121efb575ada47515a07050bcbfa23d0827bb5bc85ecc6ad76f4649d3ff2dcebb8b436bf29ef50b783f8e8b042a305475279750d36a2117
7
+ data.tar.gz: 715abfa5b4b5522339f10d241cbaf793cd3b8fbb5a004578240ec670f658a34c995b7180a44361ec1c2ab9e3af6489b8d7e63bb2151341c1c9a9069a224a6920
@@ -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,28 +30,19 @@
23
30
  </attributes>
24
31
  <description>
25
32
  <description xmlns="http://cpee.org/ns/description/1.0">
26
- <call id="a1" endpoint="subprocess">
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>Sub</label>
40
+ <label>weekday morning</label>
41
+ <method>:post</method>
29
42
  <arguments>
30
- <behavior>wait_running</behavior>
31
- <url>https://cpee.org/design/server/Templates.dir/Wait.xml</url>
32
- <init>
33
- <bla>!data.brr</bla>
34
- </init>
35
- <endpoints/>
36
- <attributes>
37
- <info>Wait</info>
38
- </attributes>
39
- <customization/>
43
+ <timeout/>
40
44
  </arguments>
41
45
  </parameters>
42
- <code>
43
- <prepare/>
44
- <finalize output="result">data.test = result</finalize>
45
- <update output="result"/>
46
- <rescue output="result"/>
47
- </code>
48
46
  <annotations>
49
47
  <_timing>
50
48
  <_timing_weight/>
@@ -73,6 +71,388 @@
73
71
  </code>
74
72
  </documentation>
75
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 &amp;&amp; data.hour &lt; 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 &lt; 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>
76
456
  </description>
77
457
  </description>
78
458
  <transformation>
@@ -1,17 +1,35 @@
1
1
  <?xml version="1.0"?>
2
2
  <testset xmlns="http://cpee.org/ns/properties/2.0">
3
3
  <executionhandler>ruby</executionhandler>
4
- <dataelements/>
4
+ <dataelements>
5
+ <i>0</i>
6
+ </dataelements>
5
7
  <endpoints>
8
+ <machine>machine</machine>
9
+ <start_url>https://cpee.org/flow/start/url/</start_url>
6
10
  <timeout>https://cpee.org/services/timeout.php</timeout>
7
11
  <subprocess>https://cpee.org/flow/start/url/</subprocess>
12
+ <sensor>sensor</sensor>
13
+ <worklist>https-post://cpee.org/worklist/server/</worklist>
14
+ <human>human</human>
15
+ <plc>plc</plc>
16
+ <user>https-post://cpee.org/services/timeout-user.php</user>
17
+ <auto>https-post://cpee.org/services/timeout-auto.php</auto>
18
+ <robot>robot</robot>
19
+ <robot_subprocess>robot_subprocess</robot_subprocess>
20
+ <send>send</send>
21
+ <receive>receive</receive>
22
+ <wait>wait</wait>
8
23
  </endpoints>
9
24
  <attributes>
10
25
  <info>Wait</info>
11
26
  <creator>Christine Ashcreek</creator>
12
27
  <author>Christine Ashcreek</author>
28
+ <organisation1>http://cpee.org/~demo/orgviz/organisation_informatik.xml</organisation1>
29
+ <customer>pilotfabrik</customer>
13
30
  <modeltype>CPEE</modeltype>
14
31
  <guarded>none</guarded>
32
+ <status>development</status>
15
33
  <guarded_id/>
16
34
  <model_uuid>c09dad6b-547e-41a9-8f31-95c40e71c607</model_uuid>
17
35
  <model_version/>
@@ -21,20 +39,122 @@
21
39
  </attributes>
22
40
  <description>
23
41
  <description xmlns="http://cpee.org/ns/description/1.0">
42
+ <manipulate id="a5" label="initialize values"/>
43
+ <parallel wait="-1" cancel="last">
44
+ <parallel_branch pass="" local="">
45
+ <call id="a2" endpoint="timeout">
46
+ <parameters>
47
+ <label>buy details for cold calls</label>
48
+ <method>:post</method>
49
+ <arguments>
50
+ <timeout/>
51
+ </arguments>
52
+ </parameters>
53
+ <annotations>
54
+ <_timing>
55
+ <_timing_weight/>
56
+ <_timing_avg/>
57
+ <explanations/>
58
+ </_timing>
59
+ <_context_data_analysis>
60
+ <probes/>
61
+ <ips/>
62
+ </_context_data_analysis>
63
+ <report>
64
+ <url/>
65
+ </report>
66
+ <_notes>
67
+ <_notes_general/>
68
+ </_notes>
69
+ </annotations>
70
+ <documentation>
71
+ <input/>
72
+ <output/>
73
+ <implementation>
74
+ <description/>
75
+ </implementation>
76
+ </documentation>
77
+ </call>
78
+ </parallel_branch>
79
+ <parallel_branch>
80
+ <call id="a6" endpoint="timeout">
81
+ <parameters>
82
+ <label>participating in exhibitions</label>
83
+ <method>:post</method>
84
+ <arguments>
85
+ <timeout/>
86
+ </arguments>
87
+ </parameters>
88
+ <annotations>
89
+ <_timing>
90
+ <_timing_weight/>
91
+ <_timing_avg/>
92
+ <explanations/>
93
+ </_timing>
94
+ <_context_data_analysis>
95
+ <probes/>
96
+ <ips/>
97
+ </_context_data_analysis>
98
+ <report>
99
+ <url/>
100
+ </report>
101
+ <_notes>
102
+ <_notes_general/>
103
+ </_notes>
104
+ </annotations>
105
+ <documentation>
106
+ <input/>
107
+ <output/>
108
+ <implementation>
109
+ <description/>
110
+ </implementation>
111
+ </documentation>
112
+ </call>
113
+ </parallel_branch>
114
+ <parallel_branch pass="" local="">
115
+ <call id="a7" endpoint="timeout">
116
+ <parameters>
117
+ <label>knowing someone</label>
118
+ <method>:post</method>
119
+ <arguments>
120
+ <timeout/>
121
+ </arguments>
122
+ </parameters>
123
+ <annotations>
124
+ <_timing>
125
+ <_timing_weight/>
126
+ <_timing_avg/>
127
+ <explanations/>
128
+ </_timing>
129
+ <_context_data_analysis>
130
+ <probes/>
131
+ <ips/>
132
+ </_context_data_analysis>
133
+ <report>
134
+ <url/>
135
+ </report>
136
+ <_notes>
137
+ <_notes_general/>
138
+ </_notes>
139
+ </annotations>
140
+ <documentation>
141
+ <input/>
142
+ <output/>
143
+ <implementation>
144
+ <description/>
145
+ </implementation>
146
+ </documentation>
147
+ </call>
148
+ </parallel_branch>
149
+ </parallel>
24
150
  <call id="a1" endpoint="timeout">
25
151
  <parameters>
26
- <label>Wait </label>
152
+ <label>call customer</label>
27
153
  <method>:post</method>
28
154
  <arguments>
29
- <timeout>2</timeout>
155
+ <timeout/>
30
156
  </arguments>
31
157
  </parameters>
32
- <code>
33
- <prepare/>
34
- <finalize output="result">data.test = 7</finalize>
35
- <update output="result"/>
36
- <rescue output="result"/>
37
- </code>
38
158
  <annotations>
39
159
  <_timing>
40
160
  <_timing_weight/>
@@ -58,9 +178,276 @@
58
178
  <implementation>
59
179
  <description/>
60
180
  </implementation>
61
- <code>
181
+ </documentation>
182
+ </call>
183
+ <parallel wait="-1" cancel="last">
184
+ <parallel_branch pass="" local="">
185
+ <call id="a8" endpoint="timeout">
186
+ <parameters>
187
+ <label>determinate contact person</label>
188
+ <method>:post</method>
189
+ <arguments>
190
+ <timeout/>
191
+ </arguments>
192
+ </parameters>
193
+ <annotations>
194
+ <_timing>
195
+ <_timing_weight/>
196
+ <_timing_avg/>
197
+ <explanations/>
198
+ </_timing>
199
+ <_context_data_analysis>
200
+ <probes/>
201
+ <ips/>
202
+ </_context_data_analysis>
203
+ <report>
204
+ <url/>
205
+ </report>
206
+ <_notes>
207
+ <_notes_general/>
208
+ </_notes>
209
+ </annotations>
210
+ <documentation>
211
+ <input/>
212
+ <output/>
213
+ <implementation>
214
+ <description/>
215
+ </implementation>
216
+ </documentation>
217
+ </call>
218
+ </parallel_branch>
219
+ <parallel_branch pass="" local="">
220
+ <call id="a9" endpoint="timeout">
221
+ <parameters>
222
+ <label>determinate budget</label>
223
+ <method>:post</method>
224
+ <arguments>
225
+ <timeout/>
226
+ </arguments>
227
+ </parameters>
228
+ <annotations>
229
+ <_timing>
230
+ <_timing_weight/>
231
+ <_timing_avg/>
232
+ <explanations/>
233
+ </_timing>
234
+ <_context_data_analysis>
235
+ <probes/>
236
+ <ips/>
237
+ </_context_data_analysis>
238
+ <report>
239
+ <url/>
240
+ </report>
241
+ <_notes>
242
+ <_notes_general/>
243
+ </_notes>
244
+ </annotations>
245
+ <documentation>
246
+ <input/>
247
+ <output/>
248
+ <implementation>
249
+ <description/>
250
+ </implementation>
251
+ </documentation>
252
+ </call>
253
+ </parallel_branch>
254
+ </parallel>
255
+ <choose mode="exclusive">
256
+ <alternative condition="customer is interested">
257
+ <_probability>
258
+ <_probability_min/>
259
+ <_probability_max/>
260
+ <_probability_avg/>
261
+ </_probability>
262
+ </alternative>
263
+ <otherwise>
264
+ <choose mode="exclusive">
265
+ <alternative condition="customer is rich">
266
+ <call id="a10" endpoint="timeout">
267
+ <parameters>
268
+ <label>head of development tries to acquire the customer</label>
269
+ <method>:post</method>
270
+ <arguments>
271
+ <timeout/>
272
+ </arguments>
273
+ </parameters>
274
+ <annotations>
275
+ <_timing>
276
+ <_timing_weight/>
277
+ <_timing_avg/>
278
+ <explanations/>
279
+ </_timing>
280
+ <_context_data_analysis>
281
+ <probes/>
282
+ <ips/>
283
+ </_context_data_analysis>
284
+ <report>
285
+ <url/>
286
+ </report>
287
+ <_notes>
288
+ <_notes_general/>
289
+ </_notes>
290
+ </annotations>
291
+ <documentation>
292
+ <input/>
293
+ <output/>
294
+ <implementation>
295
+ <description/>
296
+ </implementation>
297
+ </documentation>
298
+ </call>
299
+ <_probability>
300
+ <_probability_min/>
301
+ <_probability_max/>
302
+ <_probability_avg/>
303
+ </_probability>
304
+ <terminate/>
305
+ </alternative>
306
+ <otherwise>
307
+ <terminate/>
308
+ </otherwise>
309
+ </choose>
310
+ </otherwise>
311
+ </choose>
312
+ <call id="a11" endpoint="timeout">
313
+ <parameters>
314
+ <label>give presentation</label>
315
+ <method>:post</method>
316
+ <arguments>
317
+ <timeout/>
318
+ </arguments>
319
+ </parameters>
320
+ <annotations>
321
+ <_timing>
322
+ <_timing_weight/>
323
+ <_timing_avg/>
324
+ <explanations/>
325
+ </_timing>
326
+ <_context_data_analysis>
327
+ <probes/>
328
+ <ips/>
329
+ </_context_data_analysis>
330
+ <report>
331
+ <url/>
332
+ </report>
333
+ <_notes>
334
+ <_notes_general/>
335
+ </_notes>
336
+ </annotations>
337
+ <documentation>
338
+ <input/>
339
+ <output/>
340
+ <implementation>
62
341
  <description/>
63
- </code>
342
+ </implementation>
343
+ </documentation>
344
+ </call>
345
+ <call id="a3" endpoint="">
346
+ <parameters>
347
+ <label/>
348
+ <method>:post</method>
349
+ <arguments/>
350
+ </parameters>
351
+ <annotations>
352
+ <_timing>
353
+ <_timing_weight/>
354
+ <_timing_avg/>
355
+ <explanations/>
356
+ </_timing>
357
+ <_context_data_analysis>
358
+ <probes/>
359
+ <ips/>
360
+ </_context_data_analysis>
361
+ <report>
362
+ <url/>
363
+ </report>
364
+ <_notes>
365
+ <_notes_general/>
366
+ </_notes>
367
+ </annotations>
368
+ <documentation>
369
+ <input/>
370
+ <output/>
371
+ <implementation>
372
+ <description/>
373
+ </implementation>
374
+ </documentation>
375
+ </call>
376
+ <choose mode="exclusive">
377
+ <alternative condition="contacted in 2 weeks">
378
+ <_probability>
379
+ <_probability_min/>
380
+ <_probability_max/>
381
+ <_probability_avg/>
382
+ </_probability>
383
+ </alternative>
384
+ <otherwise>
385
+ <call id="a12" endpoint="timeout">
386
+ <parameters>
387
+ <label>sales representative calls the customer</label>
388
+ <method>:post</method>
389
+ <arguments>
390
+ <timeout/>
391
+ </arguments>
392
+ </parameters>
393
+ <annotations>
394
+ <_timing>
395
+ <_timing_weight/>
396
+ <_timing_avg/>
397
+ <explanations/>
398
+ </_timing>
399
+ <_context_data_analysis>
400
+ <probes/>
401
+ <ips/>
402
+ </_context_data_analysis>
403
+ <report>
404
+ <url/>
405
+ </report>
406
+ <_notes>
407
+ <_notes_general/>
408
+ </_notes>
409
+ </annotations>
410
+ <documentation>
411
+ <input/>
412
+ <output/>
413
+ <implementation>
414
+ <description/>
415
+ </implementation>
416
+ </documentation>
417
+ </call>
418
+ </otherwise>
419
+ </choose>
420
+ <call id="a4" endpoint="timeout">
421
+ <parameters>
422
+ <label>create a quation</label>
423
+ <method>:post</method>
424
+ <arguments>
425
+ <timeout/>
426
+ </arguments>
427
+ </parameters>
428
+ <annotations>
429
+ <_timing>
430
+ <_timing_weight/>
431
+ <_timing_avg/>
432
+ <explanations/>
433
+ </_timing>
434
+ <_context_data_analysis>
435
+ <probes/>
436
+ <ips/>
437
+ </_context_data_analysis>
438
+ <report>
439
+ <url/>
440
+ </report>
441
+ <_notes>
442
+ <_notes_general/>
443
+ </_notes>
444
+ </annotations>
445
+ <documentation>
446
+ <input/>
447
+ <output/>
448
+ <implementation>
449
+ <description/>
450
+ </implementation>
64
451
  </documentation>
65
452
  </call>
66
453
  </description>
@@ -2,8 +2,11 @@
2
2
  "info": "Wait",
3
3
  "creator": "Christine Ashcreek",
4
4
  "author": "Christine Ashcreek",
5
+ "organisation1": "http://cpee.org/~demo/orgviz/organisation_informatik.xml",
6
+ "customer": "pilotfabrik",
5
7
  "modeltype": "CPEE",
6
8
  "guarded": "none",
9
+ "status": "development",
7
10
  "guarded_id": "",
8
11
  "model_uuid": "c09dad6b-547e-41a9-8f31-95c40e71c607",
9
12
  "model_version": "",
@@ -65,7 +65,7 @@
65
65
  </element>
66
66
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
67
67
 
68
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
68
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
69
69
  <zeroOrMore rngui:label="Add Probe">
70
70
  <element name="probe">
71
71
  <element name="id" rngui:label="ID">
@@ -88,7 +88,7 @@
88
88
  </element>
89
89
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
90
90
 
91
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
91
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
92
92
  <zeroOrMore rngui:label="Add Probe">
93
93
  <element name="probe">
94
94
  <element name="id" rngui:label="ID">
@@ -1,7 +1,7 @@
1
1
  <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="description" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
2
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
3
3
 
4
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
4
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
5
5
  <zeroOrMore rngui:label="Add Probe">
6
6
  <element name="probe">
7
7
  <element name="id" rngui:label="ID">
@@ -65,7 +65,7 @@
65
65
  </element>
66
66
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
67
67
 
68
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
68
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
69
69
  <zeroOrMore rngui:label="Add Probe">
70
70
  <element name="probe">
71
71
  <element name="id" rngui:label="ID">
@@ -88,7 +88,7 @@
88
88
  </element>
89
89
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
90
90
 
91
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
91
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
92
92
  <zeroOrMore rngui:label="Add Probe">
93
93
  <element name="probe">
94
94
  <element name="id" rngui:label="ID">
@@ -1,7 +1,7 @@
1
1
  <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="description" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
2
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
3
3
 
4
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
4
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
5
5
  <zeroOrMore rngui:label="Add Probe">
6
6
  <element name="probe">
7
7
  <element name="id" rngui:label="ID">
@@ -65,7 +65,7 @@
65
65
  </element>
66
66
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
67
67
 
68
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
68
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
69
69
  <zeroOrMore rngui:label="Add Probe">
70
70
  <element name="probe">
71
71
  <element name="id" rngui:label="ID">
@@ -88,7 +88,7 @@
88
88
  </element>
89
89
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
90
90
 
91
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
91
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
92
92
  <zeroOrMore rngui:label="Add Probe">
93
93
  <element name="probe">
94
94
  <element name="id" rngui:label="ID">
@@ -1,7 +1,7 @@
1
1
  <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="description" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
2
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
3
3
 
4
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
4
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
5
5
  <zeroOrMore rngui:label="Add Probe">
6
6
  <element name="probe">
7
7
  <element name="id" rngui:label="ID">
@@ -65,7 +65,7 @@
65
65
  </element>
66
66
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
67
67
 
68
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
68
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
69
69
  <zeroOrMore rngui:label="Add Probe">
70
70
  <element name="probe">
71
71
  <element name="id" rngui:label="ID">
@@ -88,7 +88,7 @@
88
88
  </element>
89
89
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
90
90
 
91
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
91
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
92
92
  <zeroOrMore rngui:label="Add Probe">
93
93
  <element name="probe">
94
94
  <element name="id" rngui:label="ID">
@@ -1,7 +1,7 @@
1
1
  <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="description" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
2
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
3
3
 
4
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
4
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
5
5
  <zeroOrMore rngui:label="Add Probe">
6
6
  <element name="probe">
7
7
  <element name="id" rngui:label="ID">
@@ -65,7 +65,7 @@
65
65
  </element>
66
66
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
67
67
 
68
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
68
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
69
69
  <zeroOrMore rngui:label="Add Probe">
70
70
  <element name="probe">
71
71
  <element name="id" rngui:label="ID">
@@ -88,7 +88,7 @@
88
88
  </element>
89
89
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
90
90
 
91
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
91
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
92
92
  <zeroOrMore rngui:label="Add Probe">
93
93
  <element name="probe">
94
94
  <element name="id" rngui:label="ID">
@@ -1,7 +1,7 @@
1
1
  <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="description" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
2
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
3
3
 
4
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
4
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
5
5
  <zeroOrMore rngui:label="Add Probe">
6
6
  <element name="probe">
7
7
  <element name="id" rngui:label="ID">
@@ -65,7 +65,7 @@
65
65
  </element>
66
66
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
67
67
 
68
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
68
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
69
69
  <zeroOrMore rngui:label="Add Probe">
70
70
  <element name="probe">
71
71
  <element name="id" rngui:label="ID">
@@ -88,7 +88,7 @@
88
88
  </element>
89
89
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
90
90
 
91
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
91
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
92
92
  <zeroOrMore rngui:label="Add Probe">
93
93
  <element name="probe">
94
94
  <element name="id" rngui:label="ID">
@@ -1,7 +1,7 @@
1
1
  <element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="description" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
2
2
  <element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
3
3
 
4
- <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
4
+ <element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed_conditional">
5
5
  <zeroOrMore rngui:label="Add Probe">
6
6
  <element name="probe">
7
7
  <element name="id" rngui:label="ID">
data/cpee.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "2.1.36"
3
+ s.version = "2.1.37"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "Preliminary release of cloud process execution engine (cpee.org). If you just need workflow execution, without a rest service exposing it, then use WEEL."
@@ -32,7 +32,7 @@ module CPEE
32
32
  {
33
33
  :changed => values.keys,
34
34
  :deleted => deleted,
35
- :values => values,
35
+ :values => values.transform_values{|val| JSON::parse(val) rescue val },
36
36
  :attributes => ah.translate(attributes,dataelements,endpoints),
37
37
  },
38
38
  opts[:redis]
@@ -33,13 +33,13 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
33
33
  end # }}}
34
34
  def self::inform_syntax_error(arguments,err,code)# {{{
35
35
  controller = arguments[0]
36
- controller.notify("description/error", :message => err.message)
36
+ controller.notify("description/error", :message => err.backtrace[0].gsub(/([\w -_]+):(\d+):in.*/,'\\1, Line \2: ') + err.message)
37
37
  end# }}}
38
38
  def self::inform_connectionwrapper_error(arguments,err) # {{{
39
39
  controller = arguments[0]
40
40
  p err.message
41
41
  p err.backtrace
42
- controller.notify("executionhandler/error", :message => err.message)
42
+ controller.notify("executionhandler/error", :message => err.backtrace[0].gsub(/([\w -_]+):(\d+):in.*/,'\\1, Line \2: ') + err.message)
43
43
  end # }}}
44
44
  def self::inform_position_change(arguments,ipc={}) # {{{
45
45
  controller = arguments[0]
@@ -362,7 +362,7 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
362
362
  end #}}}
363
363
 
364
364
  def test_condition(mr,code)
365
- res = mr.instance_eval(code)
365
+ res = mr.instance_eval(code,'Condition',1)
366
366
  @controller.notify("condition/eval", :instance_uuid => @controller.uuid, :code => code, :condition => (res ? "true" : "false"))
367
367
  res
368
368
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.36
4
+ version: 2.1.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: tools
12
12
  cert_chain: []
13
- date: 2022-10-18 00:00:00.000000000 Z
13
+ date: 2022-11-08 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: riddl