cpee 1.3.167 → 1.3.169
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cpee.gemspec +1 -1
- data/server/handlerwrappers/default.rb +3 -1
- data/server/instances/1/notifications/d12eff1ac812661c05d7090ce7394cf9/consumer-secret +1 -0
- data/server/instances/1/notifications/d12eff1ac812661c05d7090ce7394cf9/producer-secret +1 -0
- data/server/instances/{16/notifications/d412275a0c76f202ecb65bfff859cf32 → 1/notifications/d12eff1ac812661c05d7090ce7394cf9}/subscription.xml +0 -3
- data/server/instances/1/properties.xml +69 -101
- data/server/instances/10/properties.xml +106 -70
- data/server/instances/11/notifications/e0910b6b5536976209bca471780066f1/consumer-secret +1 -0
- data/server/instances/11/notifications/e0910b6b5536976209bca471780066f1/producer-secret +1 -0
- data/server/instances/{13/notifications/4ff0cde5161c44dae49b263cbc12eaf8 → 11/notifications/e0910b6b5536976209bca471780066f1}/subscription.xml +11 -7
- data/server/instances/11/properties.xml +133 -73
- data/server/instances/2/properties.xml +191 -44
- data/server/instances/3/properties.xml +70 -44
- data/server/instances/4/properties.xml +28 -68
- data/server/instances/5/properties.xml +10 -70
- data/server/instances/6/properties.xml +175 -55
- data/server/instances/7/properties.xml +118 -52
- data/server/instances/8/properties.xml +112 -50
- data/server/instances/9/properties.xml +115 -47
- metadata +108 -117
- data/server/instances/12/notifications/8d7f2ae546a742fce3a0a488266ea51d/consumer-secret +0 -1
- data/server/instances/12/notifications/8d7f2ae546a742fce3a0a488266ea51d/producer-secret +0 -1
- data/server/instances/12/notifications/8d7f2ae546a742fce3a0a488266ea51d/subscription.xml +0 -6
- data/server/instances/12/properties.xml +0 -43
- data/server/instances/13/notifications/4ff0cde5161c44dae49b263cbc12eaf8/consumer-secret +0 -1
- data/server/instances/13/notifications/4ff0cde5161c44dae49b263cbc12eaf8/producer-secret +0 -1
- data/server/instances/13/properties.xml +0 -146
- data/server/instances/14/properties.xml +0 -332
- data/server/instances/15/properties.xml +0 -330
- data/server/instances/16/notifications/d412275a0c76f202ecb65bfff859cf32/consumer-secret +0 -1
- data/server/instances/16/notifications/d412275a0c76f202ecb65bfff859cf32/producer-secret +0 -1
- data/server/instances/16/properties.xml +0 -265
- data/server/server.pid +0 -1
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.169
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-
|
13
|
+
date: 2014-12-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: riddl
|
@@ -75,136 +75,127 @@ extensions: []
|
|
75
75
|
extra_rdoc_files:
|
76
76
|
- README
|
77
77
|
files:
|
78
|
-
-
|
79
|
-
-
|
80
|
-
-
|
81
|
-
-
|
82
|
-
-
|
83
|
-
-
|
78
|
+
- server/server.rb
|
79
|
+
- server/resources/topics.xml
|
80
|
+
- server/resources/properties.schema.finished
|
81
|
+
- server/resources/properties.schema.active
|
82
|
+
- server/resources/properties.init
|
83
|
+
- server/resources/transformation_dslx.xsl
|
84
|
+
- server/resources/empty_dslx.xml
|
85
|
+
- server/resources/properties.schema.inactive
|
86
|
+
- server/resources/transformation.xml
|
87
|
+
- server/instances/1/notifications/d12eff1ac812661c05d7090ce7394cf9/consumer-secret
|
88
|
+
- server/instances/1/notifications/d12eff1ac812661c05d7090ce7394cf9/producer-secret
|
89
|
+
- server/instances/1/notifications/d12eff1ac812661c05d7090ce7394cf9/subscription.xml
|
90
|
+
- server/instances/1/properties.xml
|
91
|
+
- server/instances/3/properties.xml
|
92
|
+
- server/instances/9/properties.xml
|
93
|
+
- server/instances/10/properties.xml
|
94
|
+
- server/instances/4/properties.xml
|
95
|
+
- server/instances/7/properties.xml
|
96
|
+
- server/instances/11/notifications/e0910b6b5536976209bca471780066f1/consumer-secret
|
97
|
+
- server/instances/11/notifications/e0910b6b5536976209bca471780066f1/producer-secret
|
98
|
+
- server/instances/11/notifications/e0910b6b5536976209bca471780066f1/subscription.xml
|
99
|
+
- server/instances/11/properties.xml
|
100
|
+
- server/instances/6/properties.xml
|
101
|
+
- server/instances/5/properties.xml
|
102
|
+
- server/instances/8/properties.xml
|
103
|
+
- server/instances/2/properties.xml
|
104
|
+
- server/handlerwrappers/soap.rb
|
105
|
+
- server/handlerwrappers/default.rb
|
106
|
+
- lib/engine.xml
|
107
|
+
- lib/cpee/callback.rb
|
108
|
+
- lib/cpee/handler_notifications.rb
|
109
|
+
- lib/cpee/controller.rb
|
110
|
+
- lib/cpee/processtransformation/target.rb
|
111
|
+
- lib/cpee/processtransformation/bpmn2.rb
|
112
|
+
- lib/cpee/processtransformation/cpee.rb
|
113
|
+
- lib/cpee/processtransformation/structures.rb
|
114
|
+
- lib/cpee/processtransformation/bpel/bpel2wee.rb
|
115
|
+
- lib/cpee/processtransformation/bpel/bpelserver.xml
|
116
|
+
- lib/cpee/processtransformation/bpel/bpelserver.ru
|
117
|
+
- lib/cpee/processtransformation/bpel/Repository/booking/report.wsdl
|
118
|
+
- lib/cpee/processtransformation/bpel/Repository/booking/hotel.wsdl
|
119
|
+
- lib/cpee/processtransformation/bpel/Repository/booking/airline.wsdl
|
120
|
+
- lib/cpee/processtransformation/bpel/Repository/booking.wsdl
|
121
|
+
- lib/cpee/processtransformation/bpel/Repository/booking.bpel
|
122
|
+
- lib/cpee/processtransformation/bpel/lib/BPEL_Transform.rb
|
123
|
+
- lib/cpee/handler_properties.rb
|
124
|
+
- lib/cpee/implementation.rb
|
125
|
+
- lib/cpee/empty_workflow.rb
|
126
|
+
- lib/engine/instance-info.rng
|
127
|
+
- lib/engine/instances.rng
|
128
|
+
- lib/engine/callbacks.rng
|
129
|
+
- lib/cpee.xml
|
130
|
+
- cockpit/testsets/Endpoints and Data Manipulation.xml
|
131
|
+
- cockpit/testsets/TEST - Bad Loop.xml
|
132
|
+
- cockpit/testsets/Syncing P34 3.xml
|
133
|
+
- cockpit/testsets/CPEE.xml
|
134
|
+
- cockpit/testsets/Signavio.xml
|
135
|
+
- cockpit/testsets/Coopis Testset.xml
|
136
|
+
- cockpit/testsets/TEST - Wrong Positions.xml
|
137
|
+
- cockpit/testsets/transformations.xml
|
138
|
+
- cockpit/testsets/ICSOC Testset.xml
|
139
|
+
- cockpit/testsets/Syncing P34.xml
|
140
|
+
- cockpit/testsets/Linear.xml
|
141
|
+
- cockpit/testsets/Syncing P34 1.xml
|
142
|
+
- cockpit/testsets/Syncing P34 2.xml
|
143
|
+
- cockpit/testsets/Mangler 2.xml
|
144
|
+
- cockpit/testsets/Mangler 1.xml
|
145
|
+
- cockpit/testsets/testsets.xml
|
146
|
+
- cockpit/testsets/Concurrent.xml
|
147
|
+
- cockpit/testsets/SOPROMO Test Sonification.xml
|
84
148
|
- cockpit/README
|
85
|
-
- cockpit/contrib/graph_example.svg
|
86
|
-
- cockpit/contrib/legend.svg
|
87
|
-
- cockpit/contrib/symbols.svg
|
88
|
-
- cockpit/contrib/transformation1.xsl
|
89
|
-
- cockpit/contrib/transformation2.xsl
|
90
|
-
- cockpit/contrib/tree_example.svg
|
91
149
|
- cockpit/css/ui.css
|
92
|
-
- cockpit/index.html
|
93
150
|
- cockpit/js/details.js
|
151
|
+
- cockpit/js/wfadaptor.cpee.js
|
94
152
|
- cockpit/js/instance.js
|
95
|
-
- cockpit/js/parameters.js
|
96
153
|
- cockpit/js/ui.js
|
97
|
-
- cockpit/js/
|
98
|
-
- cockpit/
|
99
|
-
- cockpit/
|
154
|
+
- cockpit/js/parameters.js
|
155
|
+
- cockpit/index.html
|
156
|
+
- cockpit/contrib/graph_example.svg
|
157
|
+
- cockpit/contrib/tree_example.svg
|
158
|
+
- cockpit/contrib/transformation1.xsl
|
159
|
+
- cockpit/contrib/transformation2.xsl
|
160
|
+
- cockpit/contrib/legend.svg
|
161
|
+
- cockpit/contrib/symbols.svg
|
100
162
|
- cockpit/lib/jquery-ui.custom.min.js
|
101
|
-
- cockpit/lib/
|
102
|
-
- cockpit/lib/
|
103
|
-
- cockpit/lib/
|
104
|
-
- cockpit/lib/
|
163
|
+
- cockpit/lib/contextmenu.js
|
164
|
+
- cockpit/lib/ui.css
|
165
|
+
- cockpit/lib/contextmenu.css
|
166
|
+
- cockpit/lib/util.js
|
167
|
+
- cockpit/lib/underscore.min.js
|
105
168
|
- cockpit/lib/jquery.redraw.js
|
106
|
-
- cockpit/lib/jquery.svgdom.js
|
107
|
-
- cockpit/lib/parsequery.js
|
108
|
-
- cockpit/lib/printf.js
|
109
169
|
- cockpit/lib/strftime.min.js
|
110
|
-
- cockpit/lib/
|
170
|
+
- cockpit/lib/printf.js
|
171
|
+
- cockpit/lib/jquery.min.js
|
172
|
+
- cockpit/lib/jquery.cookie.js
|
173
|
+
- cockpit/lib/jquery-ui.custom.min.txt
|
174
|
+
- cockpit/lib/jquery.svgdom.js
|
111
175
|
- cockpit/lib/ui.js
|
112
|
-
- cockpit/lib/
|
113
|
-
- cockpit/lib/util.js
|
114
|
-
- cockpit/lib/wfadaptor-doc/demo1.html
|
115
|
-
- cockpit/lib/wfadaptor-doc/demo2.html
|
116
|
-
- cockpit/lib/wfadaptor-doc/index.html
|
176
|
+
- cockpit/lib/parsequery.js
|
117
177
|
- cockpit/lib/wfadaptor.css
|
178
|
+
- cockpit/lib/jquery.caret.min.js
|
118
179
|
- cockpit/lib/wfadaptor.js
|
119
|
-
- cockpit/
|
120
|
-
- cockpit/
|
121
|
-
- cockpit/
|
122
|
-
- cockpit/testsets/Endpoints and Data Manipulation.xml
|
123
|
-
- cockpit/testsets/ICSOC Testset.xml
|
124
|
-
- cockpit/testsets/Linear.xml
|
125
|
-
- cockpit/testsets/Mangler 1.xml
|
126
|
-
- cockpit/testsets/Mangler 2.xml
|
127
|
-
- cockpit/testsets/SOPROMO Test Sonification.xml
|
128
|
-
- cockpit/testsets/Signavio.xml
|
129
|
-
- cockpit/testsets/Syncing P34 1.xml
|
130
|
-
- cockpit/testsets/Syncing P34 2.xml
|
131
|
-
- cockpit/testsets/Syncing P34 3.xml
|
132
|
-
- cockpit/testsets/Syncing P34.xml
|
133
|
-
- cockpit/testsets/TEST - Bad Loop.xml
|
134
|
-
- cockpit/testsets/TEST - Wrong Positions.xml
|
135
|
-
- cockpit/testsets/testsets.xml
|
136
|
-
- cockpit/testsets/transformations.xml
|
137
|
-
- contrib/Screenshot at 2011-09-28 02:38:11.png
|
138
|
-
- contrib/logo2-small.png
|
180
|
+
- cockpit/lib/wfadaptor-doc/demo1.html
|
181
|
+
- cockpit/lib/wfadaptor-doc/index.html
|
182
|
+
- cockpit/lib/wfadaptor-doc/demo2.html
|
139
183
|
- contrib/logo2.png
|
184
|
+
- contrib/logo2a.svg
|
185
|
+
- contrib/logo2-small.png
|
140
186
|
- contrib/logo2.svg
|
141
187
|
- contrib/logo2a.png
|
142
|
-
- contrib/
|
188
|
+
- contrib/Screenshot at 2011-09-28 02:38:11.png
|
189
|
+
- COPYING
|
190
|
+
- FEATURES
|
191
|
+
- INSTALL
|
192
|
+
- Rakefile
|
143
193
|
- cpee.gemspec
|
144
|
-
-
|
145
|
-
-
|
146
|
-
-
|
147
|
-
- lib/cpee/empty_workflow.rb
|
148
|
-
- lib/cpee/handler_notifications.rb
|
149
|
-
- lib/cpee/handler_properties.rb
|
150
|
-
- lib/cpee/implementation.rb
|
151
|
-
- lib/cpee/processtransformation/bpel/Repository/booking.bpel
|
152
|
-
- lib/cpee/processtransformation/bpel/Repository/booking.wsdl
|
153
|
-
- lib/cpee/processtransformation/bpel/Repository/booking/airline.wsdl
|
154
|
-
- lib/cpee/processtransformation/bpel/Repository/booking/hotel.wsdl
|
155
|
-
- lib/cpee/processtransformation/bpel/Repository/booking/report.wsdl
|
156
|
-
- lib/cpee/processtransformation/bpel/bpel2wee.rb
|
157
|
-
- lib/cpee/processtransformation/bpel/bpelserver.ru
|
158
|
-
- lib/cpee/processtransformation/bpel/bpelserver.xml
|
159
|
-
- lib/cpee/processtransformation/bpel/lib/BPEL_Transform.rb
|
160
|
-
- lib/cpee/processtransformation/bpmn2.rb
|
161
|
-
- lib/cpee/processtransformation/cpee.rb
|
162
|
-
- lib/cpee/processtransformation/structures.rb
|
163
|
-
- lib/cpee/processtransformation/target.rb
|
164
|
-
- lib/engine.xml
|
165
|
-
- lib/engine/callbacks.rng
|
166
|
-
- lib/engine/instance-info.rng
|
167
|
-
- lib/engine/instances.rng
|
168
|
-
- server/handlerwrappers/default.rb
|
169
|
-
- server/handlerwrappers/soap.rb
|
170
|
-
- server/instances/1/properties.xml
|
171
|
-
- server/instances/10/properties.xml
|
172
|
-
- server/instances/11/properties.xml
|
173
|
-
- server/instances/12/notifications/8d7f2ae546a742fce3a0a488266ea51d/consumer-secret
|
174
|
-
- server/instances/12/notifications/8d7f2ae546a742fce3a0a488266ea51d/producer-secret
|
175
|
-
- server/instances/12/notifications/8d7f2ae546a742fce3a0a488266ea51d/subscription.xml
|
176
|
-
- server/instances/12/properties.xml
|
177
|
-
- server/instances/13/notifications/4ff0cde5161c44dae49b263cbc12eaf8/consumer-secret
|
178
|
-
- server/instances/13/notifications/4ff0cde5161c44dae49b263cbc12eaf8/producer-secret
|
179
|
-
- server/instances/13/notifications/4ff0cde5161c44dae49b263cbc12eaf8/subscription.xml
|
180
|
-
- server/instances/13/properties.xml
|
181
|
-
- server/instances/14/properties.xml
|
182
|
-
- server/instances/15/properties.xml
|
183
|
-
- server/instances/16/notifications/d412275a0c76f202ecb65bfff859cf32/consumer-secret
|
184
|
-
- server/instances/16/notifications/d412275a0c76f202ecb65bfff859cf32/producer-secret
|
185
|
-
- server/instances/16/notifications/d412275a0c76f202ecb65bfff859cf32/subscription.xml
|
186
|
-
- server/instances/16/properties.xml
|
187
|
-
- server/instances/2/properties.xml
|
188
|
-
- server/instances/3/properties.xml
|
189
|
-
- server/instances/4/properties.xml
|
190
|
-
- server/instances/5/properties.xml
|
191
|
-
- server/instances/6/properties.xml
|
192
|
-
- server/instances/7/properties.xml
|
193
|
-
- server/instances/8/properties.xml
|
194
|
-
- server/instances/9/properties.xml
|
195
|
-
- server/resources/empty_dslx.xml
|
196
|
-
- server/resources/properties.init
|
197
|
-
- server/resources/properties.schema.active
|
198
|
-
- server/resources/properties.schema.finished
|
199
|
-
- server/resources/properties.schema.inactive
|
200
|
-
- server/resources/topics.xml
|
201
|
-
- server/resources/transformation.xml
|
202
|
-
- server/resources/transformation_dslx.xsl
|
203
|
-
- server/server.pid
|
204
|
-
- server/server.rb
|
194
|
+
- README
|
195
|
+
- AUTHORS
|
196
|
+
- test/testset.xml
|
205
197
|
- test/delete.rb
|
206
198
|
- test/load.rb
|
207
|
-
- test/testset.xml
|
208
199
|
homepage: http://cpee.org/
|
209
200
|
licenses:
|
210
201
|
- LGPL-3
|
@@ -225,12 +216,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
225
216
|
version: '0'
|
226
217
|
requirements: []
|
227
218
|
rubyforge_project:
|
228
|
-
rubygems_version: 2.
|
219
|
+
rubygems_version: 2.0.14
|
229
220
|
signing_key:
|
230
221
|
specification_version: 4
|
231
222
|
summary: Preliminary release of cloud process execution engine (cpee). If you just
|
232
223
|
need workflow execution, without a rest/xmpp service exposing it, then use WEEL
|
233
224
|
test_files:
|
234
|
-
- test/load.rb
|
235
225
|
- test/testset.xml
|
236
226
|
- test/delete.rb
|
227
|
+
- test/load.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
0e75e4db991d6813d7de681ee6b9fea4
|
@@ -1 +0,0 @@
|
|
1
|
-
c930199225b287dc2a307b5b7e0bf174
|
@@ -1,43 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<!--
|
3
|
-
This file is part of CPEE.
|
4
|
-
|
5
|
-
CPEE is free software: you can redistribute it and/or modify it under the terms
|
6
|
-
of the GNU General Public License as published by the Free Software Foundation,
|
7
|
-
either version 3 of the License, or (at your option) any later version.
|
8
|
-
|
9
|
-
CPEE is distributed in the hope that it will be useful, but WITHOUT ANY
|
10
|
-
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
11
|
-
PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
12
|
-
|
13
|
-
You should have received a copy of the GNU General Public License along with
|
14
|
-
CPEE (file COPYING in the main directory). If not, see
|
15
|
-
<http://www.gnu.org/licenses/>.
|
16
|
-
-->
|
17
|
-
|
18
|
-
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
19
|
-
<info/>
|
20
|
-
<state>ready</state>
|
21
|
-
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
22
|
-
<positions/>
|
23
|
-
<dataelements/>
|
24
|
-
<endpoints>
|
25
|
-
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
26
|
-
</endpoints>
|
27
|
-
<dsl/>
|
28
|
-
<dslx>
|
29
|
-
<description xmlns="http://cpee.org/ns/description/1.0"/>
|
30
|
-
</dslx>
|
31
|
-
<status>
|
32
|
-
<id>0</id>
|
33
|
-
<message>undefined</message>
|
34
|
-
</status>
|
35
|
-
<description>
|
36
|
-
<description xmlns="http://cpee.org/ns/description/1.0"/>
|
37
|
-
</description>
|
38
|
-
<transformation>
|
39
|
-
<description type='copy'/>
|
40
|
-
<dataelements type='xslt'/>
|
41
|
-
<endpoints type='xslt'/>
|
42
|
-
</transformation>
|
43
|
-
</properties>
|
@@ -1 +0,0 @@
|
|
1
|
-
b142e32c0cce98ba0b78d37e035b6100
|
@@ -1 +0,0 @@
|
|
1
|
-
d53e3eeadcf6badf5c37c324836bd381
|
@@ -1,146 +0,0 @@
|
|
1
|
-
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
-
<info>Enter info here</info>
|
3
|
-
<properties/>
|
4
|
-
<state>ready</state>
|
5
|
-
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
6
|
-
<positions/>
|
7
|
-
<dataelements>
|
8
|
-
<persons>3</persons>
|
9
|
-
<card>Visa_12345</card>
|
10
|
-
<airline>null</airline>
|
11
|
-
<hotels>[]</hotels>
|
12
|
-
<from>Vienna</from>
|
13
|
-
<to>Prague</to>
|
14
|
-
<costs>0</costs>
|
15
|
-
</dataelements>
|
16
|
-
<endpoints>
|
17
|
-
<bookAir>http://gruppe.wst.univie.ac.at/~mangler/services/airline.php</bookAir>
|
18
|
-
<bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel>
|
19
|
-
<approve>http://gruppe.wst.univie.ac.at/~mangler/services/approval.php</approve>
|
20
|
-
</endpoints>
|
21
|
-
<dsl>call :a1, :bookAir, { :method => :post, :parameters => {:from => data.from, :to => data.to, :persons => data.persons} }, <<-end
|
22
|
-
data.airline = result.value('id')
|
23
|
-
data.costs += result.value('costs').to_f
|
24
|
-
status.update 1, 'Hotel'
|
25
|
-
end
|
26
|
-
parallel do
|
27
|
-
loop pre_test{data.persons > 0} do
|
28
|
-
parallel_branch data.persons do |p|
|
29
|
-
call :a2, :bookHotel, { :method => :post, :parameters => {:to => data.to} }, <<-end
|
30
|
-
data.hotels << result.value('id')
|
31
|
-
data.costs += result.value('costs').to_f
|
32
|
-
end
|
33
|
-
end
|
34
|
-
manipulate :a3, <<-end
|
35
|
-
data.persons -= 1
|
36
|
-
end
|
37
|
-
end
|
38
|
-
end
|
39
|
-
choose :inclusive do
|
40
|
-
alternative "data.costs > 700" do
|
41
|
-
call :a4, :approve, { :method => :post, :parameters => {:costs => data.costs} }
|
42
|
-
end
|
43
|
-
end
|
44
|
-
</dsl>
|
45
|
-
<dslx>
|
46
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
47
|
-
<call id="a1" endpoint="bookAir">
|
48
|
-
<parameters>
|
49
|
-
<method>:post</method>
|
50
|
-
<parameters>
|
51
|
-
<from>data.from</from>
|
52
|
-
<to>data.to</to>
|
53
|
-
<persons>data.persons</persons>
|
54
|
-
</parameters>
|
55
|
-
</parameters>
|
56
|
-
<manipulate output="result"> data.airline = result.value('id')
|
57
|
-
data.costs += result.value('costs').to_f
|
58
|
-
status.update 1, 'Hotel'</manipulate>
|
59
|
-
</call>
|
60
|
-
<parallel>
|
61
|
-
<loop pre_test="data.persons > 0">
|
62
|
-
<parallel_branch pass="data.persons" local="p">
|
63
|
-
<call id="a2" endpoint="bookHotel">
|
64
|
-
<parameters>
|
65
|
-
<method>:post</method>
|
66
|
-
<parameters>
|
67
|
-
<to>data.to</to>
|
68
|
-
</parameters>
|
69
|
-
</parameters>
|
70
|
-
<manipulate output="result"> data.hotels << result.value('id')
|
71
|
-
data.costs += result.value('costs').to_f</manipulate>
|
72
|
-
</call>
|
73
|
-
</parallel_branch>
|
74
|
-
<manipulate id="a3"> data.persons -= 1</manipulate>
|
75
|
-
</loop>
|
76
|
-
</parallel>
|
77
|
-
<choose>
|
78
|
-
<alternative condition="data.costs > 700">
|
79
|
-
<call id="a4" endpoint="approve">
|
80
|
-
<parameters>
|
81
|
-
<method>:post</method>
|
82
|
-
<parameters>
|
83
|
-
<costs>data.costs</costs>
|
84
|
-
</parameters>
|
85
|
-
</parameters>
|
86
|
-
</call>
|
87
|
-
</alternative>
|
88
|
-
</choose>
|
89
|
-
</description>
|
90
|
-
</dslx>
|
91
|
-
<status>
|
92
|
-
<id>0</id>
|
93
|
-
<message>undefined</message>
|
94
|
-
</status>
|
95
|
-
<description>
|
96
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
97
|
-
<call id="a1" endpoint="bookAir">
|
98
|
-
<parameters>
|
99
|
-
<method>:post</method>
|
100
|
-
<parameters>
|
101
|
-
<from>data.from</from>
|
102
|
-
<to>data.to</to>
|
103
|
-
<persons>data.persons</persons>
|
104
|
-
</parameters>
|
105
|
-
</parameters>
|
106
|
-
<manipulate output="result"> data.airline = result.value('id')
|
107
|
-
data.costs += result.value('costs').to_f
|
108
|
-
status.update 1, 'Hotel'</manipulate>
|
109
|
-
</call>
|
110
|
-
<parallel>
|
111
|
-
<loop pre_test="data.persons > 0">
|
112
|
-
<parallel_branch pass="data.persons" local="p">
|
113
|
-
<call id="a2" endpoint="bookHotel">
|
114
|
-
<parameters>
|
115
|
-
<method>:post</method>
|
116
|
-
<parameters>
|
117
|
-
<to>data.to</to>
|
118
|
-
</parameters>
|
119
|
-
</parameters>
|
120
|
-
<manipulate output="result"> data.hotels << result.value('id')
|
121
|
-
data.costs += result.value('costs').to_f</manipulate>
|
122
|
-
</call>
|
123
|
-
</parallel_branch>
|
124
|
-
<manipulate id="a3"> data.persons -= 1</manipulate>
|
125
|
-
</loop>
|
126
|
-
</parallel>
|
127
|
-
<choose>
|
128
|
-
<alternative condition="data.costs > 700">
|
129
|
-
<call id="a4" endpoint="approve">
|
130
|
-
<parameters>
|
131
|
-
<method>:post</method>
|
132
|
-
<parameters>
|
133
|
-
<costs>data.costs</costs>
|
134
|
-
</parameters>
|
135
|
-
</parameters>
|
136
|
-
</call>
|
137
|
-
</alternative>
|
138
|
-
</choose>
|
139
|
-
</description>
|
140
|
-
</description>
|
141
|
-
<transformation>
|
142
|
-
<description type="copy"/>
|
143
|
-
<dataelements type="rest"/>
|
144
|
-
<endpoints type="rest"/>
|
145
|
-
</transformation>
|
146
|
-
</properties>
|