cpee 1.3.206 → 1.3.207
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/lib/cpee/controller.rb +9 -1
- data/log/yaml/log.xml +27 -0
- data/log/yaml/logoverlay.xml +10 -0
- data/log/yaml/server.rb +122 -0
- data/log/yaml/topics.xml +22 -0
- data/log/yaml/yaml.rb +19 -0
- data/server/instances/1/properties.xml +1 -1
- data/server/instances/2/properties.xml +1 -1
- data/server/instances/3/properties.xml +93 -35
- data/server/instances/4/properties.xml +87 -35
- data/server/instances/5/properties.xml +87 -35
- data/server/instances/6/notifications/0e9f3728f00c0562870110697bd8819c/consumer-secret +1 -0
- data/server/instances/6/notifications/0e9f3728f00c0562870110697bd8819c/producer-secret +1 -0
- data/server/instances/{30/notifications/f7afc30fd195bc06ac100a9b848c5da3 → 6/notifications/0e9f3728f00c0562870110697bd8819c}/subscription.xml +3 -7
- data/server/instances/6/properties.xml +92 -9
- data/server/server.rb +1 -1
- metadata +10 -30
- data/server/instances/10/properties.xml +0 -31
- data/server/instances/11/properties.xml +0 -62
- data/server/instances/12/properties.xml +0 -152
- data/server/instances/13/properties.xml +0 -62
- data/server/instances/14/properties.xml +0 -150
- data/server/instances/15/properties.xml +0 -69
- data/server/instances/16/properties.xml +0 -63
- data/server/instances/17/properties.xml +0 -31
- data/server/instances/18/properties.xml +0 -150
- data/server/instances/19/properties.xml +0 -152
- data/server/instances/20/properties.xml +0 -68
- data/server/instances/21/properties.xml +0 -118
- data/server/instances/22/properties.xml +0 -525
- data/server/instances/23/properties.xml +0 -65
- data/server/instances/24/properties.xml +0 -65
- data/server/instances/25/properties.xml +0 -65
- data/server/instances/26/properties.xml +0 -65
- data/server/instances/27/properties.xml +0 -65
- data/server/instances/28/properties.xml +0 -65
- data/server/instances/29/properties.xml +0 -67
- data/server/instances/30/notifications/f7afc30fd195bc06ac100a9b848c5da3/consumer-secret +0 -1
- data/server/instances/30/notifications/f7afc30fd195bc06ac100a9b848c5da3/producer-secret +0 -1
- data/server/instances/30/properties.xml +0 -65
- data/server/instances/7/properties.xml +0 -62
- data/server/instances/8/properties.xml +0 -31
- data/server/instances/9/properties.xml +0 -62
- data/server/resources/test.rb +0 -9
@@ -1,152 +0,0 @@
|
|
1
|
-
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
-
<attributes>
|
3
|
-
<uuid>c4e4e1a5-29ed-4c79-8812-4d484e1e0105</uuid>
|
4
|
-
<info>Enter info here</info>
|
5
|
-
<modeltype>CPEE</modeltype>
|
6
|
-
<theme>default</theme>
|
7
|
-
</attributes>
|
8
|
-
<state>stopped</state>
|
9
|
-
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
10
|
-
<positions>
|
11
|
-
<a1>after</a1>
|
12
|
-
</positions>
|
13
|
-
<dataelements>
|
14
|
-
<persons>3</persons>
|
15
|
-
<card>Visa_12345</card>
|
16
|
-
<airline>Lufthansa</airline>
|
17
|
-
<hotels>[]</hotels>
|
18
|
-
<from>Vienna</from>
|
19
|
-
<to>Prague</to>
|
20
|
-
<costs>505.0</costs>
|
21
|
-
</dataelements>
|
22
|
-
<endpoints>
|
23
|
-
<bookAir>http://gruppe.wst.univie.ac.at/~mangler/services/airline.php</bookAir>
|
24
|
-
<bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel>
|
25
|
-
<approve>http://gruppe.wst.univie.ac.at/~mangler/services/approval.php</approve>
|
26
|
-
</endpoints>
|
27
|
-
<dsl>call :a1, :bookAir, parameters: { :method => :post, :arguments => {:from => data.from, :to => data.to, :persons => data.persons} }, finalize: <<-END
|
28
|
-
data.airline = result.value('id')
|
29
|
-
data.costs += result.value('costs').to_f
|
30
|
-
status.update 1, 'Hotel'
|
31
|
-
END
|
32
|
-
parallel do
|
33
|
-
loop pre_test{data.persons > 0} do
|
34
|
-
parallel_branch data.persons do |p|
|
35
|
-
call :a2, :bookHotel, parameters: { :method => :post, :arguments => {:to => data.to} }, finalize: <<-END
|
36
|
-
data.hotels << result.value('id')
|
37
|
-
data.costs += result.value('costs').to_f
|
38
|
-
END
|
39
|
-
end
|
40
|
-
manipulate :a3, <<-END
|
41
|
-
data.persons -= 1
|
42
|
-
END
|
43
|
-
end
|
44
|
-
end
|
45
|
-
choose :inclusive do
|
46
|
-
alternative "data.costs > 700" do
|
47
|
-
call :a4, :approve, parameters: { :method => :post, :arguments => {:costs => data.costs} }
|
48
|
-
end
|
49
|
-
end
|
50
|
-
</dsl>
|
51
|
-
<dslx>
|
52
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
53
|
-
<call id="a1" endpoint="bookAir">
|
54
|
-
<parameters>
|
55
|
-
<method>:post</method>
|
56
|
-
<arguments>
|
57
|
-
<from>data.from</from>
|
58
|
-
<to>data.to</to>
|
59
|
-
<persons>data.persons</persons>
|
60
|
-
</arguments>
|
61
|
-
</parameters>
|
62
|
-
<finalize output="result">data.airline = result.value('id')
|
63
|
-
data.costs += result.value('costs').to_f
|
64
|
-
status.update 1, 'Hotel'</finalize>
|
65
|
-
</call>
|
66
|
-
<parallel>
|
67
|
-
<loop mode="pre_test" condition="data.persons > 0">
|
68
|
-
<parallel_branch pass="data.persons" local="p">
|
69
|
-
<call id="a2" endpoint="bookHotel">
|
70
|
-
<parameters>
|
71
|
-
<method>:post</method>
|
72
|
-
<arguments>
|
73
|
-
<to>data.to</to>
|
74
|
-
</arguments>
|
75
|
-
</parameters>
|
76
|
-
<finalize output="result">data.hotels << result.value('id')
|
77
|
-
data.costs += result.value('costs').to_f</finalize>
|
78
|
-
</call>
|
79
|
-
</parallel_branch>
|
80
|
-
<manipulate id="a3">data.persons -= 1</manipulate>
|
81
|
-
</loop>
|
82
|
-
</parallel>
|
83
|
-
<choose>
|
84
|
-
<alternative condition="data.costs > 700">
|
85
|
-
<call id="a4" endpoint="approve">
|
86
|
-
<parameters>
|
87
|
-
<method>:post</method>
|
88
|
-
<arguments>
|
89
|
-
<costs>data.costs</costs>
|
90
|
-
</arguments>
|
91
|
-
</parameters>
|
92
|
-
</call>
|
93
|
-
</alternative>
|
94
|
-
</choose>
|
95
|
-
</description>
|
96
|
-
</dslx>
|
97
|
-
<status>
|
98
|
-
<id>0</id>
|
99
|
-
<message>undefined</message>
|
100
|
-
</status>
|
101
|
-
<description>
|
102
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
103
|
-
<call id="a1" endpoint="bookAir">
|
104
|
-
<parameters>
|
105
|
-
<method>:post</method>
|
106
|
-
<arguments>
|
107
|
-
<from>data.from</from>
|
108
|
-
<to>data.to</to>
|
109
|
-
<persons>data.persons</persons>
|
110
|
-
</arguments>
|
111
|
-
</parameters>
|
112
|
-
<finalize output="result">data.airline = result.value('id')
|
113
|
-
data.costs += result.value('costs').to_f
|
114
|
-
status.update 1, 'Hotel'</finalize>
|
115
|
-
</call>
|
116
|
-
<parallel>
|
117
|
-
<loop mode="pre_test" condition="data.persons > 0">
|
118
|
-
<parallel_branch pass="data.persons" local="p">
|
119
|
-
<call id="a2" endpoint="bookHotel">
|
120
|
-
<parameters>
|
121
|
-
<method>:post</method>
|
122
|
-
<arguments>
|
123
|
-
<to>data.to</to>
|
124
|
-
</arguments>
|
125
|
-
</parameters>
|
126
|
-
<finalize output="result">data.hotels << result.value('id')
|
127
|
-
data.costs += result.value('costs').to_f</finalize>
|
128
|
-
</call>
|
129
|
-
</parallel_branch>
|
130
|
-
<manipulate id="a3">data.persons -= 1</manipulate>
|
131
|
-
</loop>
|
132
|
-
</parallel>
|
133
|
-
<choose>
|
134
|
-
<alternative condition="data.costs > 700">
|
135
|
-
<call id="a4" endpoint="approve">
|
136
|
-
<parameters>
|
137
|
-
<method>:post</method>
|
138
|
-
<arguments>
|
139
|
-
<costs>data.costs</costs>
|
140
|
-
</arguments>
|
141
|
-
</parameters>
|
142
|
-
</call>
|
143
|
-
</alternative>
|
144
|
-
</choose>
|
145
|
-
</description>
|
146
|
-
</description>
|
147
|
-
<transformation>
|
148
|
-
<description type="copy"/>
|
149
|
-
<dataelements type="rest"/>
|
150
|
-
<endpoints type="rest"/>
|
151
|
-
</transformation>
|
152
|
-
</properties>
|
@@ -1,62 +0,0 @@
|
|
1
|
-
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
-
<attributes>
|
3
|
-
<uuid>fbe9f08b-fec4-4db6-a14f-ee202b7c2437</uuid>
|
4
|
-
<info>Lego Plate</info>
|
5
|
-
<modeltype>CPEE</modeltype>
|
6
|
-
</attributes>
|
7
|
-
<state>stopped</state>
|
8
|
-
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
9
|
-
<positions/>
|
10
|
-
<dataelements>
|
11
|
-
<i>0</i>
|
12
|
-
</dataelements>
|
13
|
-
<endpoints>
|
14
|
-
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
15
|
-
<move>http://plate.wst.univie.ac.at:9200/go-next</move>
|
16
|
-
</endpoints>
|
17
|
-
<dsl>loop pre_test{i<2} do
|
18
|
-
call :a1, :move, parameters: { :label => "Move to next station", :method => :post, :arguments => nil }, finalize: <<-END
|
19
|
-
data.i= data.i + 1
|
20
|
-
END
|
21
|
-
end
|
22
|
-
</dsl>
|
23
|
-
<dslx>
|
24
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
25
|
-
<loop mode="pre_test" condition="i<2">
|
26
|
-
<call id="a1" endpoint="move">
|
27
|
-
<parameters>
|
28
|
-
<label>Move to next station</label>
|
29
|
-
<method>:post</method>
|
30
|
-
<arguments/>
|
31
|
-
</parameters>
|
32
|
-
<finalize output="result">data.i= data.i + 1</finalize>
|
33
|
-
<update output="result"/>
|
34
|
-
</call>
|
35
|
-
</loop>
|
36
|
-
</description>
|
37
|
-
</dslx>
|
38
|
-
<status>
|
39
|
-
<id>0</id>
|
40
|
-
<message>undefined</message>
|
41
|
-
</status>
|
42
|
-
<description>
|
43
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
44
|
-
<loop mode="pre_test" condition="i<2">
|
45
|
-
<call id="a1" endpoint="move">
|
46
|
-
<parameters>
|
47
|
-
<label>Move to next station</label>
|
48
|
-
<method>:post</method>
|
49
|
-
<arguments/>
|
50
|
-
</parameters>
|
51
|
-
<finalize output="result">data.i= data.i + 1</finalize>
|
52
|
-
<update output="result"/>
|
53
|
-
</call>
|
54
|
-
</loop>
|
55
|
-
</description>
|
56
|
-
</description>
|
57
|
-
<transformation>
|
58
|
-
<description type="copy"/>
|
59
|
-
<dataelements type="none"/>
|
60
|
-
<endpoints type="none"/>
|
61
|
-
</transformation>
|
62
|
-
</properties>
|
@@ -1,150 +0,0 @@
|
|
1
|
-
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
-
<attributes>
|
3
|
-
<uuid>0ab16e32-7f1e-4697-8928-9f89aa4403f5</uuid>
|
4
|
-
<info>Enter info here</info>
|
5
|
-
<modeltype>CPEE</modeltype>
|
6
|
-
<theme>default</theme>
|
7
|
-
</attributes>
|
8
|
-
<state>finished</state>
|
9
|
-
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
10
|
-
<positions/>
|
11
|
-
<dataelements>
|
12
|
-
<persons>0</persons>
|
13
|
-
<card>Visa_12345</card>
|
14
|
-
<airline>Aeroflot</airline>
|
15
|
-
<hotels>["Ibis","Rathaus","Mariott"]</hotels>
|
16
|
-
<from>Vienna</from>
|
17
|
-
<to>Prague</to>
|
18
|
-
<costs>829.0</costs>
|
19
|
-
</dataelements>
|
20
|
-
<endpoints>
|
21
|
-
<bookAir>http://gruppe.wst.univie.ac.at/~mangler/services/airline.php</bookAir>
|
22
|
-
<bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel>
|
23
|
-
<approve>http://gruppe.wst.univie.ac.at/~mangler/services/approval.php</approve>
|
24
|
-
</endpoints>
|
25
|
-
<dsl>call :a1, :bookAir, parameters: { :method => :post, :arguments => {:from => data.from, :to => data.to, :persons => data.persons} }, finalize: <<-END
|
26
|
-
data.airline = result.value('id')
|
27
|
-
data.costs += result.value('costs').to_f
|
28
|
-
status.update 1, 'Hotel'
|
29
|
-
END
|
30
|
-
parallel do
|
31
|
-
loop pre_test{data.persons > 0} do
|
32
|
-
parallel_branch data.persons do |p|
|
33
|
-
call :a2, :bookHotel, parameters: { :method => :post, :arguments => {:to => data.to} }, finalize: <<-END
|
34
|
-
data.hotels << result.value('id')
|
35
|
-
data.costs += result.value('costs').to_f
|
36
|
-
END
|
37
|
-
end
|
38
|
-
manipulate :a3, <<-END
|
39
|
-
data.persons -= 1
|
40
|
-
END
|
41
|
-
end
|
42
|
-
end
|
43
|
-
choose :inclusive do
|
44
|
-
alternative "data.costs > 700" do
|
45
|
-
call :a4, :approve, parameters: { :method => :post, :arguments => {:costs => data.costs} }
|
46
|
-
end
|
47
|
-
end
|
48
|
-
</dsl>
|
49
|
-
<dslx>
|
50
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
51
|
-
<call id="a1" endpoint="bookAir">
|
52
|
-
<parameters>
|
53
|
-
<method>:post</method>
|
54
|
-
<arguments>
|
55
|
-
<from>data.from</from>
|
56
|
-
<to>data.to</to>
|
57
|
-
<persons>data.persons</persons>
|
58
|
-
</arguments>
|
59
|
-
</parameters>
|
60
|
-
<finalize output="result">data.airline = result.value('id')
|
61
|
-
data.costs += result.value('costs').to_f
|
62
|
-
status.update 1, 'Hotel'</finalize>
|
63
|
-
</call>
|
64
|
-
<parallel>
|
65
|
-
<loop mode="pre_test" condition="data.persons > 0">
|
66
|
-
<parallel_branch pass="data.persons" local="p">
|
67
|
-
<call id="a2" endpoint="bookHotel">
|
68
|
-
<parameters>
|
69
|
-
<method>:post</method>
|
70
|
-
<arguments>
|
71
|
-
<to>data.to</to>
|
72
|
-
</arguments>
|
73
|
-
</parameters>
|
74
|
-
<finalize output="result">data.hotels << result.value('id')
|
75
|
-
data.costs += result.value('costs').to_f</finalize>
|
76
|
-
</call>
|
77
|
-
</parallel_branch>
|
78
|
-
<manipulate id="a3">data.persons -= 1</manipulate>
|
79
|
-
</loop>
|
80
|
-
</parallel>
|
81
|
-
<choose>
|
82
|
-
<alternative condition="data.costs > 700">
|
83
|
-
<call id="a4" endpoint="approve">
|
84
|
-
<parameters>
|
85
|
-
<method>:post</method>
|
86
|
-
<arguments>
|
87
|
-
<costs>data.costs</costs>
|
88
|
-
</arguments>
|
89
|
-
</parameters>
|
90
|
-
</call>
|
91
|
-
</alternative>
|
92
|
-
</choose>
|
93
|
-
</description>
|
94
|
-
</dslx>
|
95
|
-
<status>
|
96
|
-
<id>0</id>
|
97
|
-
<message>undefined</message>
|
98
|
-
</status>
|
99
|
-
<description>
|
100
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
101
|
-
<call id="a1" endpoint="bookAir">
|
102
|
-
<parameters>
|
103
|
-
<method>:post</method>
|
104
|
-
<arguments>
|
105
|
-
<from>data.from</from>
|
106
|
-
<to>data.to</to>
|
107
|
-
<persons>data.persons</persons>
|
108
|
-
</arguments>
|
109
|
-
</parameters>
|
110
|
-
<finalize output="result">data.airline = result.value('id')
|
111
|
-
data.costs += result.value('costs').to_f
|
112
|
-
status.update 1, 'Hotel'</finalize>
|
113
|
-
</call>
|
114
|
-
<parallel>
|
115
|
-
<loop mode="pre_test" condition="data.persons > 0">
|
116
|
-
<parallel_branch pass="data.persons" local="p">
|
117
|
-
<call id="a2" endpoint="bookHotel">
|
118
|
-
<parameters>
|
119
|
-
<method>:post</method>
|
120
|
-
<arguments>
|
121
|
-
<to>data.to</to>
|
122
|
-
</arguments>
|
123
|
-
</parameters>
|
124
|
-
<finalize output="result">data.hotels << result.value('id')
|
125
|
-
data.costs += result.value('costs').to_f</finalize>
|
126
|
-
</call>
|
127
|
-
</parallel_branch>
|
128
|
-
<manipulate id="a3">data.persons -= 1</manipulate>
|
129
|
-
</loop>
|
130
|
-
</parallel>
|
131
|
-
<choose>
|
132
|
-
<alternative condition="data.costs > 700">
|
133
|
-
<call id="a4" endpoint="approve">
|
134
|
-
<parameters>
|
135
|
-
<method>:post</method>
|
136
|
-
<arguments>
|
137
|
-
<costs>data.costs</costs>
|
138
|
-
</arguments>
|
139
|
-
</parameters>
|
140
|
-
</call>
|
141
|
-
</alternative>
|
142
|
-
</choose>
|
143
|
-
</description>
|
144
|
-
</description>
|
145
|
-
<transformation>
|
146
|
-
<description type="copy"/>
|
147
|
-
<dataelements type="rest"/>
|
148
|
-
<endpoints type="rest"/>
|
149
|
-
</transformation>
|
150
|
-
</properties>
|
@@ -1,69 +0,0 @@
|
|
1
|
-
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
-
<attributes>
|
3
|
-
<uuid>59eb91b1-2be0-45bd-acdf-acffc9f10c7a</uuid>
|
4
|
-
<info>Lego Plate</info>
|
5
|
-
<modeltype>CPEE</modeltype>
|
6
|
-
</attributes>
|
7
|
-
<state>stopped</state>
|
8
|
-
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
9
|
-
<positions>
|
10
|
-
<a1>at</a1>
|
11
|
-
</positions>
|
12
|
-
<dataelements>
|
13
|
-
<i>0</i>
|
14
|
-
</dataelements>
|
15
|
-
<endpoints>
|
16
|
-
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
17
|
-
<move>http://plate.wst.univie.ac.at:9200/go-next</move>
|
18
|
-
</endpoints>
|
19
|
-
<dsl>loop pre_test{data.i<2} do
|
20
|
-
call :a1, :move, parameters: { :label => "Move to next station", :method => :post, :arguments => nil }, finalize: <<-END
|
21
|
-
i
|
22
|
-
data.i= data.i + 1
|
23
|
-
END
|
24
|
-
end
|
25
|
-
</dsl>
|
26
|
-
<dslx>
|
27
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
28
|
-
<loop mode="pre_test" condition="data.i<2">
|
29
|
-
<call id="a1" endpoint="move">
|
30
|
-
<parameters>
|
31
|
-
<label>Move to next station</label>
|
32
|
-
<method>:post</method>
|
33
|
-
<arguments/>
|
34
|
-
</parameters>
|
35
|
-
<finalize output="result">i
|
36
|
-
data.i= data.i + 1
|
37
|
-
</finalize>
|
38
|
-
<update output="result"/>
|
39
|
-
</call>
|
40
|
-
</loop>
|
41
|
-
</description>
|
42
|
-
</dslx>
|
43
|
-
<status>
|
44
|
-
<id>0</id>
|
45
|
-
<message>undefined</message>
|
46
|
-
</status>
|
47
|
-
<description>
|
48
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
49
|
-
<loop mode="pre_test" condition="data.i<2">
|
50
|
-
<call id="a1" endpoint="move">
|
51
|
-
<parameters>
|
52
|
-
<label>Move to next station</label>
|
53
|
-
<method>:post</method>
|
54
|
-
<arguments/>
|
55
|
-
</parameters>
|
56
|
-
<finalize output="result">i
|
57
|
-
data.i= data.i + 1
|
58
|
-
</finalize>
|
59
|
-
<update output="result"/>
|
60
|
-
</call>
|
61
|
-
</loop>
|
62
|
-
</description>
|
63
|
-
</description>
|
64
|
-
<transformation>
|
65
|
-
<description type="copy"/>
|
66
|
-
<dataelements type="none"/>
|
67
|
-
<endpoints type="none"/>
|
68
|
-
</transformation>
|
69
|
-
</properties>
|
@@ -1,63 +0,0 @@
|
|
1
|
-
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
-
<attributes>
|
3
|
-
<uuid>da725a29-ecd2-42d0-bc56-bdde6f5f09e0</uuid>
|
4
|
-
<info>Lego Plate</info>
|
5
|
-
<modeltype>CPEE</modeltype>
|
6
|
-
</attributes>
|
7
|
-
<state>stopped</state>
|
8
|
-
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
9
|
-
<positions/>
|
10
|
-
<dataelements>
|
11
|
-
<i>0</i>
|
12
|
-
</dataelements>
|
13
|
-
<endpoints>
|
14
|
-
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
15
|
-
<move>http://plate.wst.univie.ac.at:9200/go-next</move>
|
16
|
-
</endpoints>
|
17
|
-
<dsl>i
|
18
|
-
loop pre_test{i<2} do
|
19
|
-
call :a1, :move, parameters: { :label => "Move to next station", :method => :post, :arguments => nil }, finalize: <<-END
|
20
|
-
data.i= data.i + 1
|
21
|
-
END
|
22
|
-
end
|
23
|
-
</dsl>
|
24
|
-
<dslx>
|
25
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
26
|
-
<loop mode="pre_test" condition="i<2">
|
27
|
-
<call id="a1" endpoint="move">
|
28
|
-
<parameters>
|
29
|
-
<label>Move to next station</label>
|
30
|
-
<method>:post</method>
|
31
|
-
<arguments/>
|
32
|
-
</parameters>
|
33
|
-
<finalize output="result">data.i= data.i + 1</finalize>
|
34
|
-
<update output="result"/>
|
35
|
-
</call>
|
36
|
-
</loop>
|
37
|
-
</description>
|
38
|
-
</dslx>
|
39
|
-
<status>
|
40
|
-
<id>0</id>
|
41
|
-
<message>undefined</message>
|
42
|
-
</status>
|
43
|
-
<description>
|
44
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
45
|
-
<loop mode="pre_test" condition="i<2">
|
46
|
-
<call id="a1" endpoint="move">
|
47
|
-
<parameters>
|
48
|
-
<label>Move to next station</label>
|
49
|
-
<method>:post</method>
|
50
|
-
<arguments/>
|
51
|
-
</parameters>
|
52
|
-
<finalize output="result">data.i= data.i + 1</finalize>
|
53
|
-
<update output="result"/>
|
54
|
-
</call>
|
55
|
-
</loop>
|
56
|
-
</description>
|
57
|
-
</description>
|
58
|
-
<transformation>
|
59
|
-
<description type="copy"/>
|
60
|
-
<dataelements type="none"/>
|
61
|
-
<endpoints type="none"/>
|
62
|
-
</transformation>
|
63
|
-
</properties>
|