cpee 1.3.217 → 1.3.219
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/cpee.gemspec +1 -1
- data/server/instances/32/notifications/39d15ae313ecb73fc00a9c2731c76d02/consumer-secret +1 -0
- data/server/instances/32/notifications/39d15ae313ecb73fc00a9c2731c76d02/producer-secret +1 -0
- data/server/instances/{31/notifications/7137ae72f6579c3d3228bb68bb647ecb → 32/notifications/39d15ae313ecb73fc00a9c2731c76d02}/subscription.xml +7 -3
- data/server/instances/32/properties.xml +628 -0
- data/server/resources/transformation_dslx.xsl +4 -4
- metadata +5 -5
- data/server/instances/31/notifications/7137ae72f6579c3d3228bb68bb647ecb/consumer-secret +0 -1
- data/server/instances/31/notifications/7137ae72f6579c3d3228bb68bb647ecb/producer-secret +0 -1
- data/server/server.pid +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f667994e388b6b9b988f5f911e25061902b5ca79
|
|
4
|
+
data.tar.gz: e43f1629f59e29f0086a8df02bca0b036542a121
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6d0daac53059caf75125250806366f9af207e966c697812f50a9582fbdab47ecaa1961dc8ea2183cfecdc21977965bee33abeb599a1946128fe54ebcc5643f10
|
|
7
|
+
data.tar.gz: 773b1cf2113d1182a02ad60acf37a2b1eab7633297859b6632ff9cbd27d69db960652d34debb966b47521dbbfbdecba91483d6479ae936bd8a92128ae95990ab
|
data/cpee.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = "cpee"
|
|
3
|
-
s.version = "1.3.
|
|
3
|
+
s.version = "1.3.219"
|
|
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). If you just need workflow execution, without a rest/xmpp service exposing it, then use WEEL"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0d347a3235efb9ba873081a696a4ac41
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ab251c04052873f5ee72365532c01971
|
|
@@ -5,14 +5,15 @@
|
|
|
5
5
|
<event>manipulating</event>
|
|
6
6
|
<event>failed</event>
|
|
7
7
|
<event>done</event>
|
|
8
|
-
|
|
9
|
-
<topic id="position">
|
|
10
|
-
<event>change</event>
|
|
8
|
+
<vote>syncing_after</vote>
|
|
11
9
|
</topic>
|
|
12
10
|
<topic id="description">
|
|
13
11
|
<event>change</event>
|
|
14
12
|
<event>error</event>
|
|
15
13
|
</topic>
|
|
14
|
+
<topic id="position">
|
|
15
|
+
<event>change</event>
|
|
16
|
+
</topic>
|
|
16
17
|
<topic id="state">
|
|
17
18
|
<event>change</event>
|
|
18
19
|
</topic>
|
|
@@ -35,4 +36,7 @@
|
|
|
35
36
|
<topic id="handlers">
|
|
36
37
|
<event>change</event>
|
|
37
38
|
</topic>
|
|
39
|
+
<topic id="xxx">
|
|
40
|
+
<fingerprint-with-producer-secre>xxx</fingerprint-with-producer-secre>
|
|
41
|
+
</topic>
|
|
38
42
|
</subscription>
|
|
@@ -0,0 +1,628 @@
|
|
|
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>running</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 => "\"Provide Login credentials\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
25
|
+
data.credentials="HarryPotter";data.password="HarryPotter"
|
|
26
|
+
END
|
|
27
|
+
call :a3, :timeout, parameters: { :label => "\"Check logincredentials\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }
|
|
28
|
+
choose :exclusive do
|
|
29
|
+
alternative test{data.credentials!="HarryPotter" && data.password!="HarryPotter"} do
|
|
30
|
+
call :a1, :timeout, parameters: { :label => "\"Abort shopping process\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }
|
|
31
|
+
end
|
|
32
|
+
otherwise do
|
|
33
|
+
call :a6, :timeout, parameters: { :label => "\"Select products\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
34
|
+
data.product="Axe"
|
|
35
|
+
END
|
|
36
|
+
call :a32, :timeout, parameters: { :label => "\"Add product to shopping cart\"", :method => :get, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
37
|
+
data.getproduct="Axe";data.prodcount=5
|
|
38
|
+
END
|
|
39
|
+
call :a15, :timeout, parameters: { :label => "\"Check availability of product\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }
|
|
40
|
+
choose :exclusive do
|
|
41
|
+
alternative test{} do
|
|
42
|
+
call :a9, :timeout, parameters: { :label => "\"Product could not be added to shopping cart\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }
|
|
43
|
+
end
|
|
44
|
+
otherwise do
|
|
45
|
+
call :a18, :timeout, parameters: { :label => "\"Add product to shopping cart\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
46
|
+
data.displaySC=[data.product];data.prodcount=data.prodcount-1
|
|
47
|
+
END
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
call :a10, :timeout, parameters: { :label => "\"Check already selected products\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }
|
|
51
|
+
loop pre_test{data.prodcount>0} do
|
|
52
|
+
call :a6, :timeout, parameters: { :label => "\"Select products\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
53
|
+
data.product="Axe"
|
|
54
|
+
END
|
|
55
|
+
call :a5, :timeout, parameters: { :label => "\"Add product to shopping cart\"", :method => :get, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
56
|
+
data.getproduct="Axe";
|
|
57
|
+
END
|
|
58
|
+
call :a31, :timeout, parameters: { :label => "\"Check availability of product\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }
|
|
59
|
+
choose :exclusive do
|
|
60
|
+
alternative test{} do
|
|
61
|
+
call :a7, :timeout, parameters: { :label => "\"Product couldn't be add to shopping cart\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }
|
|
62
|
+
end
|
|
63
|
+
otherwise do
|
|
64
|
+
call :a30, :timeout, parameters: { :label => "\"Add product to shopping cart\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-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 => "\"Check already selected products\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }
|
|
70
|
+
end
|
|
71
|
+
parallel :wait => -1 do
|
|
72
|
+
parallel_branch do
|
|
73
|
+
call :a13, :timeout, parameters: { :label => "\"Enter shipping address\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-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 => "\"Enter billing address\"", :method => :post, :arguments => nil }, finalize: <<-END
|
|
81
|
+
data.billingaddress="BAddress"
|
|
82
|
+
END
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
parallel_branch do
|
|
87
|
+
call :a8, :timeout, parameters: { :label => "\"Enter and confirm payment data\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }, finalize: <<-END
|
|
88
|
+
data.iban="AT1234";data.bic="1343";bankAcc="MyBankAcc"
|
|
89
|
+
END
|
|
90
|
+
call :a17, :timeout, parameters: { :label => "\"Send payment data\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }
|
|
91
|
+
call :a25, :timeout, parameters: { :label => "\"Wait for confirmation\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
choose :exclusive do
|
|
95
|
+
alternative test{} do
|
|
96
|
+
call :a4, :timeout, parameters: { :label => "\"Abort shoppingprocess\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 2)] }
|
|
97
|
+
end
|
|
98
|
+
otherwise do
|
|
99
|
+
call :a23, :timeout, parameters: { :label => "\"Send confirmation of order to customer\"", :method => :post, :arguments => [⭐(:name => :timeout, :value => 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!="HarryPotter" && data.password!="HarryPotter"">
|
|
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>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!="HarryPotter" && data.password!="HarryPotter"">
|
|
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>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>
|
|
@@ -219,14 +219,14 @@
|
|
|
219
219
|
<xsl:text>alternative </xsl:text>
|
|
220
220
|
<xsl:choose>
|
|
221
221
|
<xsl:when test="not(@language) or @language='application/x-ruby'">
|
|
222
|
-
<xsl:text>
|
|
222
|
+
<xsl:text>test{</xsl:text>
|
|
223
223
|
<xsl:value-of select="@condition"/>
|
|
224
|
-
<xsl:text>
|
|
224
|
+
<xsl:text>}</xsl:text>
|
|
225
225
|
</xsl:when>
|
|
226
226
|
<xsl:otherwise>
|
|
227
|
-
<xsl:text>"</xsl:text>
|
|
227
|
+
<xsl:text>test("</xsl:text>
|
|
228
228
|
<xsl:value-of select="@condition"/>
|
|
229
|
-
<xsl:text>"</xsl:text>
|
|
229
|
+
<xsl:text>")</xsl:text>
|
|
230
230
|
</xsl:otherwise>
|
|
231
231
|
</xsl:choose>
|
|
232
232
|
<xsl:for-each select="@*[not(name()='language' or name()='condition' or name()='svg-label')]">
|
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: 1.3.
|
|
4
|
+
version: 1.3.219
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Juergen eTM Mangler
|
|
@@ -359,10 +359,11 @@ files:
|
|
|
359
359
|
- server/instances/29/properties.xml
|
|
360
360
|
- server/instances/3/properties.xml
|
|
361
361
|
- server/instances/30/properties.xml
|
|
362
|
-
- server/instances/31/notifications/7137ae72f6579c3d3228bb68bb647ecb/consumer-secret
|
|
363
|
-
- server/instances/31/notifications/7137ae72f6579c3d3228bb68bb647ecb/producer-secret
|
|
364
|
-
- server/instances/31/notifications/7137ae72f6579c3d3228bb68bb647ecb/subscription.xml
|
|
365
362
|
- server/instances/31/properties.xml
|
|
363
|
+
- server/instances/32/notifications/39d15ae313ecb73fc00a9c2731c76d02/consumer-secret
|
|
364
|
+
- server/instances/32/notifications/39d15ae313ecb73fc00a9c2731c76d02/producer-secret
|
|
365
|
+
- server/instances/32/notifications/39d15ae313ecb73fc00a9c2731c76d02/subscription.xml
|
|
366
|
+
- server/instances/32/properties.xml
|
|
366
367
|
- server/instances/4/properties.xml
|
|
367
368
|
- server/instances/5/properties.xml
|
|
368
369
|
- server/instances/6/properties.xml
|
|
@@ -377,7 +378,6 @@ files:
|
|
|
377
378
|
- server/resources/topics.xml
|
|
378
379
|
- server/resources/transformation.xml
|
|
379
380
|
- server/resources/transformation_dslx.xsl
|
|
380
|
-
- server/server.pid
|
|
381
381
|
- server/server.rb
|
|
382
382
|
- test/callback.rb
|
|
383
383
|
- tools/cpee
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
f38fdefd467d0f9a35367d8c7ad69ff3
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
502c6ccde3259450ab8f70f32696ba60
|
data/server/server.pid
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
16106
|