cpee 1.3.201 → 1.3.202
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/css/wfadaptor.css +6 -0
- data/cockpit/index.html +0 -21
- data/cockpit/testsets/Lego Crane.xml +113 -0
- data/cockpit/testsets/Lego Ejector.xml +2 -2
- data/cockpit/testsets/Lego Plate.xml +36 -0
- data/cockpit/testsets/testsets.xml +2 -1
- data/cockpit/themes/default/theme.js +1 -1
- data/cpee.gemspec +1 -1
- data/server/handlerwrappers/default.rb +9 -9
- data/server/instances/1/properties.xml +33 -33
- data/server/instances/10/properties.xml +10 -128
- data/server/instances/11/properties.xml +34 -122
- data/server/instances/12/properties.xml +24 -22
- data/server/instances/13/properties.xml +32 -120
- data/server/instances/14/properties.xml +107 -69
- data/server/instances/15/properties.xml +40 -85
- data/server/instances/16/properties.xml +36 -87
- data/server/instances/17/properties.xml +9 -128
- data/server/instances/18/notifications/b4e45a42c61d03b052d768c1693af99f/consumer-secret +1 -0
- data/server/instances/18/notifications/b4e45a42c61d03b052d768c1693af99f/producer-secret +1 -0
- data/server/instances/{69/notifications/4fa830eafc09f4c0d0070a3453cac985 → 18/notifications/b4e45a42c61d03b052d768c1693af99f}/subscription.xml +7 -3
- data/server/instances/18/properties.xml +24 -24
- data/server/instances/2/properties.xml +9 -808
- data/server/instances/3/properties.xml +39 -7
- data/server/instances/4/properties.xml +30 -117
- data/server/instances/5/properties.xml +28 -115
- data/server/instances/6/properties.xml +11 -129
- data/server/instances/7/properties.xml +30 -117
- data/server/instances/8/properties.xml +10 -128
- data/server/instances/9/properties.xml +39 -7
- data/server/resources/transformation_dslx.xsl +35 -28
- data/server/weel.rb +1 -0
- metadata +8 -69
- data/server/instances/19/properties.xml +0 -115
- data/server/instances/20/properties.xml +0 -114
- data/server/instances/21/notifications/0851248d60c898cadd743d0dd5b6d273/consumer-secret +0 -1
- data/server/instances/21/notifications/0851248d60c898cadd743d0dd5b6d273/producer-secret +0 -1
- data/server/instances/21/notifications/0851248d60c898cadd743d0dd5b6d273/subscription.xml +0 -6
- data/server/instances/21/notifications/b7bac3f3010d433ce5d8f29338a06f9a/consumer-secret +0 -1
- data/server/instances/21/notifications/b7bac3f3010d433ce5d8f29338a06f9a/producer-secret +0 -1
- data/server/instances/21/notifications/b7bac3f3010d433ce5d8f29338a06f9a/subscription.xml +0 -23
- data/server/instances/21/properties.xml +0 -150
- data/server/instances/22/properties.xml +0 -114
- data/server/instances/23/properties.xml +0 -89
- data/server/instances/24/properties.xml +0 -169
- data/server/instances/25/properties.xml +0 -150
- data/server/instances/26/properties.xml +0 -114
- data/server/instances/27/properties.xml +0 -142
- data/server/instances/28/properties.xml +0 -150
- data/server/instances/29/properties.xml +0 -150
- data/server/instances/30/properties.xml +0 -114
- data/server/instances/31/properties.xml +0 -150
- data/server/instances/32/properties.xml +0 -31
- data/server/instances/33/properties.xml +0 -150
- data/server/instances/34/properties.xml +0 -150
- data/server/instances/35/properties.xml +0 -150
- data/server/instances/36/properties.xml +0 -165
- data/server/instances/37/properties.xml +0 -114
- data/server/instances/38/properties.xml +0 -163
- data/server/instances/39/log.xes +0 -137
- data/server/instances/39/properties.xml +0 -177
- data/server/instances/40/properties.xml +0 -45
- data/server/instances/41/log.xes +0 -138
- data/server/instances/41/properties.xml +0 -177
- data/server/instances/42/log.xes +0 -138
- data/server/instances/42/properties.xml +0 -177
- data/server/instances/43/log.xes +0 -138
- data/server/instances/43/properties.xml +0 -177
- data/server/instances/44/log.xes +0 -138
- data/server/instances/44/properties.xml +0 -177
- data/server/instances/45/log.xes +0 -10
- data/server/instances/45/properties.xml +0 -177
- data/server/instances/46/properties.xml +0 -31
- data/server/instances/47/properties.xml +0 -150
- data/server/instances/48/log.xes +0 -122
- data/server/instances/48/properties.xml +0 -187
- data/server/instances/49/properties.xml +0 -187
- data/server/instances/50/properties.xml +0 -114
- data/server/instances/51/properties.xml +0 -130
- data/server/instances/52/properties.xml +0 -130
- data/server/instances/53/properties.xml +0 -31
- data/server/instances/54/properties.xml +0 -130
- data/server/instances/55/properties.xml +0 -31
- data/server/instances/56/properties.xml +0 -31
- data/server/instances/57/properties.xml +0 -561
- data/server/instances/58/properties.xml +0 -550
- data/server/instances/59/properties.xml +0 -418
- data/server/instances/60/properties.xml +0 -150
- data/server/instances/61/properties.xml +0 -150
- data/server/instances/62/properties.xml +0 -114
- data/server/instances/63/properties.xml +0 -150
- data/server/instances/64/properties.xml +0 -114
- data/server/instances/65/properties.xml +0 -114
- data/server/instances/66/properties.xml +0 -114
- data/server/instances/67/properties.xml +0 -114
- data/server/instances/68/properties.xml +0 -112
- data/server/instances/69/notifications/4fa830eafc09f4c0d0070a3453cac985/consumer-secret +0 -1
- data/server/instances/69/notifications/4fa830eafc09f4c0d0070a3453cac985/producer-secret +0 -1
- data/server/instances/69/properties.xml +0 -114
@@ -1,65 +1,95 @@
|
|
1
1
|
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
2
|
<attributes>
|
3
|
+
<uuid>0ab16e32-7f1e-4697-8928-9f89aa4403f5</uuid>
|
3
4
|
<info>Enter info here</info>
|
4
5
|
<modeltype>CPEE</modeltype>
|
5
6
|
<theme>default</theme>
|
6
|
-
<uuid>5331dab1-322a-4512-8909-a178d2000c54</uuid>
|
7
7
|
</attributes>
|
8
|
-
<state>
|
8
|
+
<state>finished</state>
|
9
9
|
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
10
|
-
<positions
|
11
|
-
<a1>after</a1>
|
12
|
-
</positions>
|
10
|
+
<positions/>
|
13
11
|
<dataelements>
|
14
|
-
<
|
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>
|
15
19
|
</dataelements>
|
16
20
|
<endpoints>
|
17
|
-
<
|
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>
|
18
24
|
</endpoints>
|
19
|
-
<dsl>call :a1, :
|
20
|
-
|
21
|
-
data.
|
22
|
-
|
23
|
-
call :a3, :timeout, parameters: { :method => :post, :arguments => {:timeout => 4} }, finalize: <<-END
|
24
|
-
data.x += "a3,"
|
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'
|
25
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
|
26
48
|
</dsl>
|
27
49
|
<dslx>
|
28
50
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
29
|
-
|
30
|
-
<call xmlns="" id="a1" endpoint="timeout">
|
31
|
-
<parameters>
|
32
|
-
<label/>
|
33
|
-
<method>:post</method>
|
34
|
-
<arguments>
|
35
|
-
<timeout>223</timeout>
|
36
|
-
</arguments>
|
37
|
-
</parameters>
|
38
|
-
<finalize output="result"> data.x += "a1,"</finalize>
|
39
|
-
<update output="result"/>
|
40
|
-
</call>
|
41
|
-
<call id="a2" endpoint="timeout" svg-label="">
|
42
|
-
<parameters>
|
43
|
-
<!--{{{-->
|
44
|
-
<method>:post</method>
|
45
|
-
<arguments>
|
46
|
-
<timeout>4</timeout>
|
47
|
-
</arguments>
|
48
|
-
</parameters>
|
49
|
-
<!--}}}-->
|
50
|
-
<finalize output="result"> data.x += "a2,"</finalize>
|
51
|
-
</call>
|
52
|
-
<call id="a3" endpoint="timeout" svg-label="">
|
51
|
+
<call id="a1" endpoint="bookAir">
|
53
52
|
<parameters>
|
54
|
-
<!--{{{-->
|
55
53
|
<method>:post</method>
|
56
54
|
<arguments>
|
57
|
-
<
|
55
|
+
<from>data.from</from>
|
56
|
+
<to>data.to</to>
|
57
|
+
<persons>data.persons</persons>
|
58
58
|
</arguments>
|
59
59
|
</parameters>
|
60
|
-
|
61
|
-
|
60
|
+
<finalize output="result">data.airline = result.value('id')
|
61
|
+
data.costs += result.value('costs').to_f
|
62
|
+
status.update 1, 'Hotel'</finalize>
|
62
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>
|
63
93
|
</description>
|
64
94
|
</dslx>
|
65
95
|
<status>
|
@@ -68,40 +98,48 @@ END
|
|
68
98
|
</status>
|
69
99
|
<description>
|
70
100
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
71
|
-
|
72
|
-
<call xmlns="" id="a1" endpoint="timeout">
|
73
|
-
<parameters>
|
74
|
-
<label/>
|
75
|
-
<method>:post</method>
|
76
|
-
<arguments>
|
77
|
-
<timeout>223</timeout>
|
78
|
-
</arguments>
|
79
|
-
</parameters>
|
80
|
-
<finalize output="result"> data.x += "a1,"</finalize>
|
81
|
-
<update output="result"/>
|
82
|
-
</call>
|
83
|
-
<call id="a2" endpoint="timeout" svg-label="">
|
84
|
-
<parameters>
|
85
|
-
<!--{{{-->
|
86
|
-
<method>:post</method>
|
87
|
-
<arguments>
|
88
|
-
<timeout>4</timeout>
|
89
|
-
</arguments>
|
90
|
-
</parameters>
|
91
|
-
<!--}}}-->
|
92
|
-
<finalize output="result"> data.x += "a2,"</finalize>
|
93
|
-
</call>
|
94
|
-
<call id="a3" endpoint="timeout" svg-label="">
|
101
|
+
<call id="a1" endpoint="bookAir">
|
95
102
|
<parameters>
|
96
|
-
<!--{{{-->
|
97
103
|
<method>:post</method>
|
98
104
|
<arguments>
|
99
|
-
<
|
105
|
+
<from>data.from</from>
|
106
|
+
<to>data.to</to>
|
107
|
+
<persons>data.persons</persons>
|
100
108
|
</arguments>
|
101
109
|
</parameters>
|
102
|
-
|
103
|
-
|
110
|
+
<finalize output="result">data.airline = result.value('id')
|
111
|
+
data.costs += result.value('costs').to_f
|
112
|
+
status.update 1, 'Hotel'</finalize>
|
104
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>
|
105
143
|
</description>
|
106
144
|
</description>
|
107
145
|
<transformation>
|
@@ -1,67 +1,43 @@
|
|
1
1
|
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
2
|
<attributes>
|
3
|
-
<
|
3
|
+
<uuid>59eb91b1-2be0-45bd-acdf-acffc9f10c7a</uuid>
|
4
|
+
<info>Lego Plate</info>
|
4
5
|
<modeltype>CPEE</modeltype>
|
5
|
-
<theme>default</theme>
|
6
|
-
<uuid>43ed5278-2932-4648-82ba-a9d0a2908475</uuid>
|
7
6
|
</attributes>
|
8
|
-
<state>
|
7
|
+
<state>stopped</state>
|
9
8
|
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
10
9
|
<positions>
|
11
|
-
<a1>
|
10
|
+
<a1>at</a1>
|
12
11
|
</positions>
|
13
12
|
<dataelements>
|
14
|
-
<
|
13
|
+
<i>0</i>
|
15
14
|
</dataelements>
|
16
15
|
<endpoints>
|
17
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
18
|
</endpoints>
|
19
|
-
<dsl>
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
call :a3, :timeout, parameters: { :method => :post, :arguments => {:timeout => 4} }, finalize: <<-END
|
26
|
-
data.x += "a3,"
|
27
|
-
END
|
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
|
28
25
|
</dsl>
|
29
26
|
<dslx>
|
30
27
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
<parameters>
|
45
|
-
<!--{{{-->
|
46
|
-
<method>:post</method>
|
47
|
-
<arguments>
|
48
|
-
<timeout>4</timeout>
|
49
|
-
</arguments>
|
50
|
-
</parameters>
|
51
|
-
<!--}}}-->
|
52
|
-
<finalize output="result"> data.x += "a2,"</finalize>
|
53
|
-
</call>
|
54
|
-
<call id="a3" endpoint="timeout" svg-label="">
|
55
|
-
<parameters>
|
56
|
-
<!--{{{-->
|
57
|
-
<method>:post</method>
|
58
|
-
<arguments>
|
59
|
-
<timeout>4</timeout>
|
60
|
-
</arguments>
|
61
|
-
</parameters>
|
62
|
-
<!--}}}-->
|
63
|
-
<finalize output="result"> data.x += "a3,"</finalize>
|
64
|
-
</call>
|
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>
|
65
41
|
</description>
|
66
42
|
</dslx>
|
67
43
|
<status>
|
@@ -70,45 +46,24 @@ END
|
|
70
46
|
</status>
|
71
47
|
<description>
|
72
48
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
<parameters>
|
87
|
-
<!--{{{-->
|
88
|
-
<method>:post</method>
|
89
|
-
<arguments>
|
90
|
-
<timeout>4</timeout>
|
91
|
-
</arguments>
|
92
|
-
</parameters>
|
93
|
-
<!--}}}-->
|
94
|
-
<finalize output="result"> data.x += "a2,"</finalize>
|
95
|
-
</call>
|
96
|
-
<call id="a3" endpoint="timeout" svg-label="">
|
97
|
-
<parameters>
|
98
|
-
<!--{{{-->
|
99
|
-
<method>:post</method>
|
100
|
-
<arguments>
|
101
|
-
<timeout>4</timeout>
|
102
|
-
</arguments>
|
103
|
-
</parameters>
|
104
|
-
<!--}}}-->
|
105
|
-
<finalize output="result"> data.x += "a3,"</finalize>
|
106
|
-
</call>
|
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>
|
107
62
|
</description>
|
108
63
|
</description>
|
109
64
|
<transformation>
|
110
65
|
<description type="copy"/>
|
111
|
-
<dataelements type="
|
112
|
-
<endpoints type="
|
66
|
+
<dataelements type="none"/>
|
67
|
+
<endpoints type="none"/>
|
113
68
|
</transformation>
|
114
69
|
</properties>
|
@@ -1,67 +1,39 @@
|
|
1
1
|
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
2
|
<attributes>
|
3
|
-
<
|
3
|
+
<uuid>da725a29-ecd2-42d0-bc56-bdde6f5f09e0</uuid>
|
4
|
+
<info>Lego Plate</info>
|
4
5
|
<modeltype>CPEE</modeltype>
|
5
|
-
<theme>default</theme>
|
6
|
-
<uuid>b10f70da-40d4-4066-8d5b-85264c1dd6a5</uuid>
|
7
6
|
</attributes>
|
8
|
-
<state>
|
7
|
+
<state>stopped</state>
|
9
8
|
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
10
|
-
<positions
|
11
|
-
<a1>after</a1>
|
12
|
-
</positions>
|
9
|
+
<positions/>
|
13
10
|
<dataelements>
|
14
|
-
<
|
11
|
+
<i>0</i>
|
15
12
|
</dataelements>
|
16
13
|
<endpoints>
|
17
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>
|
18
16
|
</endpoints>
|
19
|
-
<dsl>
|
20
|
-
|
21
|
-
END
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
call :a3, :timeout, parameters: { :method => :post, :arguments => {:timeout => 4} }, finalize: <<-END
|
26
|
-
data.x += "a3,"
|
27
|
-
END
|
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
|
28
23
|
</dsl>
|
29
24
|
<dslx>
|
30
25
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
</
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
</call>
|
43
|
-
<call id="a2" endpoint="timeout">
|
44
|
-
<parameters>
|
45
|
-
<!--{{{-->
|
46
|
-
<method>:post</method>
|
47
|
-
<arguments>
|
48
|
-
<timeout>4</timeout>
|
49
|
-
</arguments>
|
50
|
-
</parameters>
|
51
|
-
<!--}}}-->
|
52
|
-
<finalize output="result"> data.x += "a2,"</finalize>
|
53
|
-
</call>
|
54
|
-
<call id="a3" endpoint="timeout">
|
55
|
-
<parameters>
|
56
|
-
<!--{{{-->
|
57
|
-
<method>:post</method>
|
58
|
-
<arguments>
|
59
|
-
<timeout>4</timeout>
|
60
|
-
</arguments>
|
61
|
-
</parameters>
|
62
|
-
<!--}}}-->
|
63
|
-
<finalize output="result"> data.x += "a3,"</finalize>
|
64
|
-
</call>
|
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>
|
65
37
|
</description>
|
66
38
|
</dslx>
|
67
39
|
<status>
|
@@ -70,45 +42,22 @@ END
|
|
70
42
|
</status>
|
71
43
|
<description>
|
72
44
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
</
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
</call>
|
85
|
-
<call id="a2" endpoint="timeout">
|
86
|
-
<parameters>
|
87
|
-
<!--{{{-->
|
88
|
-
<method>:post</method>
|
89
|
-
<arguments>
|
90
|
-
<timeout>4</timeout>
|
91
|
-
</arguments>
|
92
|
-
</parameters>
|
93
|
-
<!--}}}-->
|
94
|
-
<finalize output="result"> data.x += "a2,"</finalize>
|
95
|
-
</call>
|
96
|
-
<call id="a3" endpoint="timeout">
|
97
|
-
<parameters>
|
98
|
-
<!--{{{-->
|
99
|
-
<method>:post</method>
|
100
|
-
<arguments>
|
101
|
-
<timeout>4</timeout>
|
102
|
-
</arguments>
|
103
|
-
</parameters>
|
104
|
-
<!--}}}-->
|
105
|
-
<finalize output="result"> data.x += "a3,"</finalize>
|
106
|
-
</call>
|
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>
|
107
56
|
</description>
|
108
57
|
</description>
|
109
58
|
<transformation>
|
110
59
|
<description type="copy"/>
|
111
|
-
<dataelements type="
|
112
|
-
<endpoints type="
|
60
|
+
<dataelements type="none"/>
|
61
|
+
<endpoints type="none"/>
|
113
62
|
</transformation>
|
114
63
|
</properties>
|