cpee 1.4.8 → 1.4.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. checksums.yaml +5 -5
  2. data/cockpit/config.json +6 -0
  3. data/cockpit/css/ui.css +7 -7
  4. data/cockpit/index.html +4 -4
  5. data/cockpit/js/instance.js +6 -3
  6. data/cockpit/themes/compact/theme.js +107 -6
  7. data/cockpit/themes/default/rngs/call.rng +29 -0
  8. data/cockpit/themes/default/rngs/callmanipulate.rng +29 -0
  9. data/cpee.gemspec +1 -1
  10. data/lib/cpee/controller.rb +1 -1
  11. data/lib/cpee/instantiation.rb +44 -21
  12. data/lib/engine/instances.rng +5 -2
  13. data/lib/instantiation.xml +5 -1
  14. data/log/elasticsearch.rb +1 -106
  15. data/log/elasticsearch_logging.rb +237 -0
  16. data/log/legacy/test_es.rb +26 -0
  17. data/log/legacy/test_split.rb +211 -0
  18. data/log/trace.yaml +17717 -0
  19. data/log/trace_sic.yaml +18343 -0
  20. data/server/handlerwrappers/default.rb +28 -23
  21. data/server/instances/1/properties.xml +158 -31
  22. data/server/instances/2/properties.xml +137 -12
  23. data/server/instances/3/properties.xml +116 -80
  24. data/server/resources/base.xml +78 -0
  25. data/server/resources/test.rb +19 -0
  26. data/server/resources/test.xml +33 -0
  27. data/server/resources/topics.xml +6 -3
  28. data/server/resources/transformation_dslx.xsl +5 -0
  29. data/server/server.pid +1 -0
  30. metadata +13 -71
  31. data/log/logs/1/test +0 -1
  32. data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/consumer-secret +0 -1
  33. data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/producer-secret +0 -1
  34. data/server/instances/10/notifications/182434032285ca1d06a8b6554b8889c8/subscription.xml +0 -23
  35. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/consumer-secret +0 -1
  36. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/producer-secret +0 -1
  37. data/server/instances/10/notifications/512a3785631a5245dbb45fa150ea72ed/subscription.xml +0 -6
  38. data/server/instances/10/properties.xml +0 -187
  39. data/server/instances/11/properties.xml +0 -191
  40. data/server/instances/12/properties.xml +0 -191
  41. data/server/instances/13/properties.xml +0 -204
  42. data/server/instances/14/properties.xml +0 -31
  43. data/server/instances/15/properties.xml +0 -30
  44. data/server/instances/16/properties.xml +0 -29
  45. data/server/instances/17/properties.xml +0 -29
  46. data/server/instances/18/properties.xml +0 -31
  47. data/server/instances/19/properties.xml +0 -31
  48. data/server/instances/20/properties.xml +0 -191
  49. data/server/instances/21/properties.xml +0 -156
  50. data/server/instances/22/properties.xml +0 -118
  51. data/server/instances/23/properties.xml +0 -118
  52. data/server/instances/24/properties.xml +0 -156
  53. data/server/instances/25/properties.xml +0 -156
  54. data/server/instances/26/properties.xml +0 -156
  55. data/server/instances/27/properties.xml +0 -140
  56. data/server/instances/28/properties.xml +0 -156
  57. data/server/instances/29/properties.xml +0 -156
  58. data/server/instances/30/properties.xml +0 -354
  59. data/server/instances/31/properties.xml +0 -354
  60. data/server/instances/313/notifications/crisp/consumer-secret +0 -1
  61. data/server/instances/313/notifications/crisp/producer-secret +0 -1
  62. data/server/instances/313/notifications/crisp/subscription.xml +0 -7
  63. data/server/instances/313/notifications/logging/consumer-secret +0 -1
  64. data/server/instances/313/notifications/logging/producer-secret +0 -1
  65. data/server/instances/313/notifications/logging/subscription.xml +0 -7
  66. data/server/instances/313/notifications/logging_yaml/consumer-secret +0 -1
  67. data/server/instances/313/notifications/logging_yaml/producer-secret +0 -1
  68. data/server/instances/313/notifications/logging_yaml/subscription.xml +0 -7
  69. data/server/instances/313/properties.xml +0 -524
  70. data/server/instances/32/properties.xml +0 -628
  71. data/server/instances/33/properties.xml +0 -156
  72. data/server/instances/4/properties.xml +0 -114
  73. data/server/instances/5/properties.xml +0 -114
  74. data/server/instances/6/properties.xml +0 -206
  75. data/server/instances/662/notifications/crisp/consumer-secret +0 -1
  76. data/server/instances/662/notifications/crisp/producer-secret +0 -1
  77. data/server/instances/662/notifications/crisp/subscription.xml +0 -7
  78. data/server/instances/662/notifications/logging/consumer-secret +0 -1
  79. data/server/instances/662/notifications/logging/producer-secret +0 -1
  80. data/server/instances/662/notifications/logging/subscription.xml +0 -7
  81. data/server/instances/662/notifications/logging_yaml/consumer-secret +0 -1
  82. data/server/instances/662/notifications/logging_yaml/producer-secret +0 -1
  83. data/server/instances/662/notifications/logging_yaml/subscription.xml +0 -7
  84. data/server/instances/662/properties.xml +0 -427
  85. data/server/instances/663/properties.xml +0 -31
  86. data/server/instances/664/properties.xml +0 -425
  87. data/server/instances/665/properties.xml +0 -425
  88. data/server/instances/666/properties.xml +0 -427
  89. data/server/instances/667/properties.xml +0 -427
  90. data/server/instances/668/properties.xml +0 -425
  91. data/server/instances/669/properties.xml +0 -425
  92. data/server/instances/670/properties.xml +0 -31
  93. data/server/instances/671/properties.xml +0 -158
  94. data/server/instances/672/properties.xml +0 -199
  95. data/server/instances/673/properties.xml +0 -52
  96. data/server/instances/7/properties.xml +0 -156
  97. data/server/instances/8/properties.xml +0 -118
  98. data/server/instances/9/properties.xml +0 -120
@@ -1,628 +0,0 @@
1
- <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
- <attributes>
3
- <uuid>fda5e05d-6739-4062-a298-667b7b8a1508</uuid>
4
- <info>a01449849</info>
5
- <modeltype>CPEE</modeltype>
6
- <theme>default</theme>
7
- </attributes>
8
- <state>stopped</state>
9
- <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
10
- <positions>
11
- <a18>after</a18>
12
- </positions>
13
- <dataelements>
14
- <credentials>HarryPotter</credentials>
15
- <password>HarryPotter</password>
16
- <product>Axe</product>
17
- <getproduct>Axe</getproduct>
18
- <prodcount>4</prodcount>
19
- <displaySC>["Axe"]</displaySC>
20
- </dataelements>
21
- <endpoints>
22
- <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
23
- </endpoints>
24
- <dsl>call :a2, :timeout, parameters: { :label =&gt; "\"Provide Login credentials\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }, finalize: &lt;&lt;-END
25
- data.credentials="HarryPotter";data.password="HarryPotter"
26
- END
27
- call :a3, :timeout, parameters: { :label =&gt; "\"Check logincredentials\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
28
- choose :exclusive do
29
- alternative test{data.credentials!="HarryPotter" &amp;&amp; data.password!="HarryPotter"} do
30
- call :a1, :timeout, parameters: { :label =&gt; "\"Abort shopping process\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
31
- end
32
- otherwise do
33
- call :a6, :timeout, parameters: { :label =&gt; "\"Select products\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }, finalize: &lt;&lt;-END
34
- data.product="Axe"
35
- END
36
- call :a32, :timeout, parameters: { :label =&gt; "\"Add product to shopping cart\"", :method =&gt; :get, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }, finalize: &lt;&lt;-END
37
- data.getproduct="Axe";data.prodcount=5
38
- END
39
- call :a15, :timeout, parameters: { :label =&gt; "\"Check availability of product\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
40
- choose :exclusive do
41
- alternative test{} do
42
- call :a9, :timeout, parameters: { :label =&gt; "\"Product could not be added to shopping cart\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
43
- end
44
- otherwise do
45
- call :a18, :timeout, parameters: { :label =&gt; "\"Add product to shopping cart\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }, finalize: &lt;&lt;-END
46
- data.displaySC=[data.product];data.prodcount=data.prodcount-1
47
- END
48
- end
49
- end
50
- call :a10, :timeout, parameters: { :label =&gt; "\"Check already selected products\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
51
- loop pre_test{data.prodcount&gt;0} do
52
- call :a6, :timeout, parameters: { :label =&gt; "\"Select products\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }, finalize: &lt;&lt;-END
53
- data.product="Axe"
54
- END
55
- call :a5, :timeout, parameters: { :label =&gt; "\"Add product to shopping cart\"", :method =&gt; :get, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }, finalize: &lt;&lt;-END
56
- data.getproduct="Axe";
57
- END
58
- call :a31, :timeout, parameters: { :label =&gt; "\"Check availability of product\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
59
- choose :exclusive do
60
- alternative test{} do
61
- call :a7, :timeout, parameters: { :label =&gt; "\"Product couldn't be add to shopping cart\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
62
- end
63
- otherwise do
64
- call :a30, :timeout, parameters: { :label =&gt; "\"Add product to shopping cart\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }, finalize: &lt;&lt;-END
65
- data.displaySC=data.displaySC.push(data.product);data.prodcount= data.prodcount-1
66
- END
67
- end
68
- end
69
- call :a10, :timeout, parameters: { :label =&gt; "\"Check already selected products\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
70
- end
71
- parallel :wait =&gt; -1 do
72
- parallel_branch do
73
- call :a13, :timeout, parameters: { :label =&gt; "\"Enter shipping address\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }, finalize: &lt;&lt;-END
74
- data.shippingaddress="SAddress"
75
- END
76
- choose :exclusive do
77
- alternative test{} do
78
- end
79
- otherwise do
80
- call :a12, :timeout, parameters: { :label =&gt; "\"Enter billing address\"", :method =&gt; :post, :arguments =&gt; nil }, finalize: &lt;&lt;-END
81
- data.billingaddress="BAddress"
82
- END
83
- end
84
- end
85
- end
86
- parallel_branch do
87
- call :a8, :timeout, parameters: { :label =&gt; "\"Enter and confirm payment data\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }, finalize: &lt;&lt;-END
88
- data.iban="AT1234";data.bic="1343";bankAcc="MyBankAcc"
89
- END
90
- call :a17, :timeout, parameters: { :label =&gt; "\"Send payment data\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
91
- call :a25, :timeout, parameters: { :label =&gt; "\"Wait for confirmation\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
92
- end
93
- end
94
- choose :exclusive do
95
- alternative test{} do
96
- call :a4, :timeout, parameters: { :label =&gt; "\"Abort shoppingprocess\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
97
- end
98
- otherwise do
99
- call :a23, :timeout, parameters: { :label =&gt; "\"Send confirmation of order to customer\"", :method =&gt; :post, :arguments =&gt; [⭐(:name =&gt; :timeout, :value =&gt; 2)] }
100
- end
101
- end
102
- end
103
- end
104
- </dsl>
105
- <dslx>
106
- <description xmlns="http://cpee.org/ns/description/1.0">
107
- <call id="a2" endpoint="timeout">
108
- <parameters>
109
- <label>"Provide Login credentials"</label>
110
- <method>:post</method>
111
- <arguments>
112
- <timeout>2</timeout>
113
- </arguments>
114
- </parameters>
115
- <finalize output="result">data.credentials="HarryPotter";data.password="HarryPotter"</finalize>
116
- <update output="result"/>
117
- </call>
118
- <call id="a3" endpoint="timeout">
119
- <parameters>
120
- <label>"Check logincredentials"</label>
121
- <method>:post</method>
122
- <arguments>
123
- <timeout>2</timeout>
124
- </arguments>
125
- </parameters>
126
- </call>
127
- <choose mode="exclusive">
128
- <alternative condition="data.credentials!=&quot;HarryPotter&quot; &amp;&amp; data.password!=&quot;HarryPotter&quot;">
129
- <call id="a1" endpoint="timeout">
130
- <parameters>
131
- <label>"Abort shopping process"</label>
132
- <method>:post</method>
133
- <arguments>
134
- <timeout>2</timeout>
135
- </arguments>
136
- </parameters>
137
- </call>
138
- </alternative>
139
- <otherwise>
140
- <call id="a6" endpoint="timeout">
141
- <parameters>
142
- <label>"Select products"</label>
143
- <method>:post</method>
144
- <arguments>
145
- <timeout>2</timeout>
146
- </arguments>
147
- </parameters>
148
- <finalize output="result">data.product="Axe"</finalize>
149
- <update output="result"/>
150
- </call>
151
- <call id="a32" endpoint="timeout">
152
- <parameters>
153
- <label>"Add product to shopping cart"</label>
154
- <method>:get</method>
155
- <arguments>
156
- <timeout>2</timeout>
157
- </arguments>
158
- </parameters>
159
- <finalize output="result">data.getproduct="Axe";data.prodcount=5</finalize>
160
- <update output="result"/>
161
- </call>
162
- <call id="a15" endpoint="timeout">
163
- <parameters>
164
- <label>"Check availability of product"</label>
165
- <method>:post</method>
166
- <arguments>
167
- <timeout>2</timeout>
168
- </arguments>
169
- </parameters>
170
- </call>
171
- <choose mode="exclusive">
172
- <alternative condition="">
173
- <call id="a9" endpoint="timeout">
174
- <parameters>
175
- <label>"Product could not be added to shopping cart"</label>
176
- <method>:post</method>
177
- <arguments>
178
- <timeout>2</timeout>
179
- </arguments>
180
- </parameters>
181
- </call>
182
- </alternative>
183
- <otherwise>
184
- <call id="a18" endpoint="timeout">
185
- <parameters>
186
- <label>"Add product to shopping cart"</label>
187
- <method>:post</method>
188
- <arguments>
189
- <timeout>2</timeout>
190
- </arguments>
191
- </parameters>
192
- <finalize output="result">data.displaySC=[data.product];data.prodcount=data.prodcount-1</finalize>
193
- <update output="result"/>
194
- </call>
195
- </otherwise>
196
- </choose>
197
- <call id="a10" endpoint="timeout">
198
- <parameters>
199
- <label>"Check already selected products"</label>
200
- <method>:post</method>
201
- <arguments>
202
- <timeout>2</timeout>
203
- </arguments>
204
- </parameters>
205
- </call>
206
- <loop mode="pre_test" condition="data.prodcount&gt;0">
207
- <call id="a6" endpoint="timeout">
208
- <parameters>
209
- <label>"Select products"</label>
210
- <method>:post</method>
211
- <arguments>
212
- <timeout>2</timeout>
213
- </arguments>
214
- </parameters>
215
- <finalize output="result">data.product="Axe"</finalize>
216
- <update output="result"/>
217
- </call>
218
- <call id="a5" endpoint="timeout">
219
- <parameters>
220
- <label>"Add product to shopping cart"</label>
221
- <method>:get</method>
222
- <arguments>
223
- <timeout>2</timeout>
224
- </arguments>
225
- </parameters>
226
- <finalize output="result">data.getproduct="Axe";</finalize>
227
- <update output="result"/>
228
- </call>
229
- <call id="a31" endpoint="timeout">
230
- <parameters>
231
- <label>"Check availability of product"</label>
232
- <method>:post</method>
233
- <arguments>
234
- <timeout>2</timeout>
235
- </arguments>
236
- </parameters>
237
- </call>
238
- <choose mode="exclusive">
239
- <alternative condition="">
240
- <call id="a7" endpoint="timeout">
241
- <parameters>
242
- <label>"Product couldn't be add to shopping cart"</label>
243
- <method>:post</method>
244
- <arguments>
245
- <timeout>2</timeout>
246
- </arguments>
247
- </parameters>
248
- </call>
249
- </alternative>
250
- <otherwise>
251
- <call id="a30" endpoint="timeout">
252
- <parameters>
253
- <label>"Add product to shopping cart"</label>
254
- <method>:post</method>
255
- <arguments>
256
- <timeout>2</timeout>
257
- </arguments>
258
- </parameters>
259
- <finalize output="result">data.displaySC=data.displaySC.push(data.product);data.prodcount= data.prodcount-1</finalize>
260
- <update output="result"/>
261
- </call>
262
- </otherwise>
263
- </choose>
264
- <call id="a10" endpoint="timeout">
265
- <parameters>
266
- <label>"Check already selected products"</label>
267
- <method>:post</method>
268
- <arguments>
269
- <timeout>2</timeout>
270
- </arguments>
271
- </parameters>
272
- </call>
273
- </loop>
274
- <parallel wait="-1">
275
- <parallel_branch>
276
- <call id="a13" endpoint="timeout">
277
- <parameters>
278
- <label>"Enter shipping address"</label>
279
- <method>:post</method>
280
- <arguments>
281
- <timeout>2</timeout>
282
- </arguments>
283
- </parameters>
284
- <finalize output="result">data.shippingaddress="SAddress"</finalize>
285
- <update output="result"/>
286
- </call>
287
- <choose mode="exclusive">
288
- <alternative condition=""/>
289
- <otherwise>
290
- <call id="a12" endpoint="timeout">
291
- <parameters>
292
- <label>"Enter billing address"</label>
293
- <method>:post</method>
294
- <arguments/>
295
- </parameters>
296
- <finalize output="result">data.billingaddress="BAddress"</finalize>
297
- <update output="result"/>
298
- </call>
299
- </otherwise>
300
- </choose>
301
- </parallel_branch>
302
- <parallel_branch>
303
- <call id="a8" endpoint="timeout">
304
- <parameters>
305
- <label>"Enter and confirm payment data"</label>
306
- <method>:post</method>
307
- <arguments>
308
- <timeout>2</timeout>
309
- </arguments>
310
- </parameters>
311
- <finalize output="result">data.iban="AT1234";data.bic="1343";bankAcc="MyBankAcc"</finalize>
312
- <update output="result"/>
313
- </call>
314
- <call id="a17" endpoint="timeout">
315
- <parameters>
316
- <label>"Send payment data"</label>
317
- <method>:post</method>
318
- <arguments>
319
- <timeout>2</timeout>
320
- </arguments>
321
- </parameters>
322
- </call>
323
- <call id="a25" endpoint="timeout">
324
- <parameters>
325
- <label>"Wait for confirmation"</label>
326
- <method>:post</method>
327
- <arguments>
328
- <timeout>2</timeout>
329
- </arguments>
330
- </parameters>
331
- </call>
332
- </parallel_branch>
333
- </parallel>
334
- <choose mode="exclusive">
335
- <alternative condition="">
336
- <call id="a4" endpoint="timeout">
337
- <parameters>
338
- <label>"Abort shoppingprocess"</label>
339
- <method>:post</method>
340
- <arguments>
341
- <timeout>2</timeout>
342
- </arguments>
343
- </parameters>
344
- </call>
345
- </alternative>
346
- <otherwise>
347
- <call id="a23" endpoint="timeout">
348
- <parameters>
349
- <label>"Send confirmation of order to customer"</label>
350
- <method>:post</method>
351
- <arguments>
352
- <timeout>2</timeout>
353
- </arguments>
354
- </parameters>
355
- </call>
356
- </otherwise>
357
- </choose>
358
- </otherwise>
359
- </choose>
360
- </description>
361
- </dslx>
362
- <status>
363
- <id>0</id>
364
- <message>undefined</message>
365
- </status>
366
- <description>
367
- <description xmlns="http://cpee.org/ns/description/1.0">
368
- <call id="a2" endpoint="timeout">
369
- <parameters>
370
- <label>"Provide Login credentials"</label>
371
- <method>:post</method>
372
- <arguments>
373
- <timeout>2</timeout>
374
- </arguments>
375
- </parameters>
376
- <finalize output="result">data.credentials="HarryPotter";data.password="HarryPotter"</finalize>
377
- <update output="result"/>
378
- </call>
379
- <call id="a3" endpoint="timeout">
380
- <parameters>
381
- <label>"Check logincredentials"</label>
382
- <method>:post</method>
383
- <arguments>
384
- <timeout>2</timeout>
385
- </arguments>
386
- </parameters>
387
- </call>
388
- <choose mode="exclusive">
389
- <alternative condition="data.credentials!=&quot;HarryPotter&quot; &amp;&amp; data.password!=&quot;HarryPotter&quot;">
390
- <call id="a1" endpoint="timeout">
391
- <parameters>
392
- <label>"Abort shopping process"</label>
393
- <method>:post</method>
394
- <arguments>
395
- <timeout>2</timeout>
396
- </arguments>
397
- </parameters>
398
- </call>
399
- </alternative>
400
- <otherwise>
401
- <call id="a6" endpoint="timeout">
402
- <parameters>
403
- <label>"Select products"</label>
404
- <method>:post</method>
405
- <arguments>
406
- <timeout>2</timeout>
407
- </arguments>
408
- </parameters>
409
- <finalize output="result">data.product="Axe"</finalize>
410
- <update output="result"/>
411
- </call>
412
- <call id="a32" endpoint="timeout">
413
- <parameters>
414
- <label>"Add product to shopping cart"</label>
415
- <method>:get</method>
416
- <arguments>
417
- <timeout>2</timeout>
418
- </arguments>
419
- </parameters>
420
- <finalize output="result">data.getproduct="Axe";data.prodcount=5</finalize>
421
- <update output="result"/>
422
- </call>
423
- <call id="a15" endpoint="timeout">
424
- <parameters>
425
- <label>"Check availability of product"</label>
426
- <method>:post</method>
427
- <arguments>
428
- <timeout>2</timeout>
429
- </arguments>
430
- </parameters>
431
- </call>
432
- <choose mode="exclusive">
433
- <alternative condition="">
434
- <call id="a9" endpoint="timeout">
435
- <parameters>
436
- <label>"Product could not be added to shopping cart"</label>
437
- <method>:post</method>
438
- <arguments>
439
- <timeout>2</timeout>
440
- </arguments>
441
- </parameters>
442
- </call>
443
- </alternative>
444
- <otherwise>
445
- <call id="a18" endpoint="timeout">
446
- <parameters>
447
- <label>"Add product to shopping cart"</label>
448
- <method>:post</method>
449
- <arguments>
450
- <timeout>2</timeout>
451
- </arguments>
452
- </parameters>
453
- <finalize output="result">data.displaySC=[data.product];data.prodcount=data.prodcount-1</finalize>
454
- <update output="result"/>
455
- </call>
456
- </otherwise>
457
- </choose>
458
- <call id="a10" endpoint="timeout">
459
- <parameters>
460
- <label>"Check already selected products"</label>
461
- <method>:post</method>
462
- <arguments>
463
- <timeout>2</timeout>
464
- </arguments>
465
- </parameters>
466
- </call>
467
- <loop mode="pre_test" condition="data.prodcount&gt;0">
468
- <call id="a6" endpoint="timeout">
469
- <parameters>
470
- <label>"Select products"</label>
471
- <method>:post</method>
472
- <arguments>
473
- <timeout>2</timeout>
474
- </arguments>
475
- </parameters>
476
- <finalize output="result">data.product="Axe"</finalize>
477
- <update output="result"/>
478
- </call>
479
- <call id="a5" endpoint="timeout">
480
- <parameters>
481
- <label>"Add product to shopping cart"</label>
482
- <method>:get</method>
483
- <arguments>
484
- <timeout>2</timeout>
485
- </arguments>
486
- </parameters>
487
- <finalize output="result">data.getproduct="Axe";</finalize>
488
- <update output="result"/>
489
- </call>
490
- <call id="a31" endpoint="timeout">
491
- <parameters>
492
- <label>"Check availability of product"</label>
493
- <method>:post</method>
494
- <arguments>
495
- <timeout>2</timeout>
496
- </arguments>
497
- </parameters>
498
- </call>
499
- <choose mode="exclusive">
500
- <alternative condition="">
501
- <call id="a7" endpoint="timeout">
502
- <parameters>
503
- <label>"Product couldn't be add to shopping cart"</label>
504
- <method>:post</method>
505
- <arguments>
506
- <timeout>2</timeout>
507
- </arguments>
508
- </parameters>
509
- </call>
510
- </alternative>
511
- <otherwise>
512
- <call id="a30" endpoint="timeout">
513
- <parameters>
514
- <label>"Add product to shopping cart"</label>
515
- <method>:post</method>
516
- <arguments>
517
- <timeout>2</timeout>
518
- </arguments>
519
- </parameters>
520
- <finalize output="result">data.displaySC=data.displaySC.push(data.product);data.prodcount= data.prodcount-1</finalize>
521
- <update output="result"/>
522
- </call>
523
- </otherwise>
524
- </choose>
525
- <call id="a10" endpoint="timeout">
526
- <parameters>
527
- <label>"Check already selected products"</label>
528
- <method>:post</method>
529
- <arguments>
530
- <timeout>2</timeout>
531
- </arguments>
532
- </parameters>
533
- </call>
534
- </loop>
535
- <parallel wait="-1">
536
- <parallel_branch>
537
- <call id="a13" endpoint="timeout">
538
- <parameters>
539
- <label>"Enter shipping address"</label>
540
- <method>:post</method>
541
- <arguments>
542
- <timeout>2</timeout>
543
- </arguments>
544
- </parameters>
545
- <finalize output="result">data.shippingaddress="SAddress"</finalize>
546
- <update output="result"/>
547
- </call>
548
- <choose mode="exclusive">
549
- <alternative condition=""/>
550
- <otherwise>
551
- <call id="a12" endpoint="timeout">
552
- <parameters>
553
- <label>"Enter billing address"</label>
554
- <method>:post</method>
555
- <arguments/>
556
- </parameters>
557
- <finalize output="result">data.billingaddress="BAddress"</finalize>
558
- <update output="result"/>
559
- </call>
560
- </otherwise>
561
- </choose>
562
- </parallel_branch>
563
- <parallel_branch>
564
- <call id="a8" endpoint="timeout">
565
- <parameters>
566
- <label>"Enter and confirm payment data"</label>
567
- <method>:post</method>
568
- <arguments>
569
- <timeout>2</timeout>
570
- </arguments>
571
- </parameters>
572
- <finalize output="result">data.iban="AT1234";data.bic="1343";bankAcc="MyBankAcc"</finalize>
573
- <update output="result"/>
574
- </call>
575
- <call id="a17" endpoint="timeout">
576
- <parameters>
577
- <label>"Send payment data"</label>
578
- <method>:post</method>
579
- <arguments>
580
- <timeout>2</timeout>
581
- </arguments>
582
- </parameters>
583
- </call>
584
- <call id="a25" endpoint="timeout">
585
- <parameters>
586
- <label>"Wait for confirmation"</label>
587
- <method>:post</method>
588
- <arguments>
589
- <timeout>2</timeout>
590
- </arguments>
591
- </parameters>
592
- </call>
593
- </parallel_branch>
594
- </parallel>
595
- <choose mode="exclusive">
596
- <alternative condition="">
597
- <call id="a4" endpoint="timeout">
598
- <parameters>
599
- <label>"Abort shoppingprocess"</label>
600
- <method>:post</method>
601
- <arguments>
602
- <timeout>2</timeout>
603
- </arguments>
604
- </parameters>
605
- </call>
606
- </alternative>
607
- <otherwise>
608
- <call id="a23" endpoint="timeout">
609
- <parameters>
610
- <label>"Send confirmation of order to customer"</label>
611
- <method>:post</method>
612
- <arguments>
613
- <timeout>2</timeout>
614
- </arguments>
615
- </parameters>
616
- </call>
617
- </otherwise>
618
- </choose>
619
- </otherwise>
620
- </choose>
621
- </description>
622
- </description>
623
- <transformation>
624
- <description type="copy"/>
625
- <dataelements type="none"/>
626
- <endpoints type="none"/>
627
- </transformation>
628
- </properties>