cpee 1.3.157 → 1.3.158
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/instances/1/notifications/d12eff1ac812661c05d7090ce7394cf9/consumer-secret +1 -0
- data/server/instances/1/notifications/d12eff1ac812661c05d7090ce7394cf9/producer-secret +1 -0
- data/server/instances/{12/notifications/b0a0abbb8ad6fb81c579c4e97829d681 → 1/notifications/d12eff1ac812661c05d7090ce7394cf9}/subscription.xml +0 -0
- 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/11/notifications/e0910b6b5536976209bca471780066f1/subscription.xml +27 -0
- 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
- data/server/resources/properties.init +1 -0
- data/server/resources/properties.schema.active +5 -0
- data/server/resources/properties.schema.finished +5 -0
- data/server/resources/properties.schema.inactive +5 -0
- metadata +105 -106
- 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/notifications/b0a0abbb8ad6fb81c579c4e97829d681/consumer-secret +0 -1
- data/server/instances/12/notifications/b0a0abbb8ad6fb81c579c4e97829d681/producer-secret +0 -1
- data/server/instances/12/properties.xml +0 -43
@@ -0,0 +1,27 @@
|
|
1
|
+
<subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/1.0">
|
2
|
+
<topic id="running">
|
3
|
+
<event>activity_calling</event>
|
4
|
+
<event>activity_manipulating</event>
|
5
|
+
<event>activity_failed</event>
|
6
|
+
<event>activity_done</event>
|
7
|
+
</topic>
|
8
|
+
<topic id="properties/position">
|
9
|
+
<event>change</event>
|
10
|
+
</topic>
|
11
|
+
<topic id="properties/description">
|
12
|
+
<event>change</event>
|
13
|
+
<event>error</event>
|
14
|
+
</topic>
|
15
|
+
<topic id="properties/state">
|
16
|
+
<event>change</event>
|
17
|
+
</topic>
|
18
|
+
<topic id="properties/dataelements">
|
19
|
+
<event>change</event>
|
20
|
+
</topic>
|
21
|
+
<topic id="properties/endpoints">
|
22
|
+
<event>change</event>
|
23
|
+
</topic>
|
24
|
+
<topic id="properties/handlers">
|
25
|
+
<event>change</event>
|
26
|
+
</topic>
|
27
|
+
</subscription>
|
@@ -1,62 +1,93 @@
|
|
1
1
|
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
-
<info
|
3
|
-
<state>
|
2
|
+
<info>Enter info here</info>
|
3
|
+
<state>stopped</state>
|
4
4
|
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
5
|
-
<positions
|
6
|
-
|
7
|
-
</positions>
|
8
|
-
<dataelements>
|
9
|
-
<x/>
|
10
|
-
</dataelements>
|
5
|
+
<positions/>
|
6
|
+
<dataelements/>
|
11
7
|
<endpoints>
|
12
8
|
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
13
9
|
</endpoints>
|
14
|
-
<dsl>
|
15
|
-
|
10
|
+
<dsl>choose :exclusive do
|
11
|
+
alternative "true", :sim_probability => "40.0" do
|
12
|
+
call :a6, nil, { :label => "da", :type => :unknown, :mid => "_5902507A-504A-4F1E-AEE3-8860BEF374B6", :parameters => nil }
|
13
|
+
end
|
14
|
+
otherwise :sim_probability => "60.0" do
|
15
|
+
call :a5, nil, { :label => "db", :type => :unknown, :mid => "_6F6A6FEE-57EB-459D-96FB-1AA736CD6465", :parameters => nil }
|
16
|
+
end
|
16
17
|
end
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
18
|
+
loop pre_test("true"), :sim_probability => "100.0" do
|
19
|
+
call :a2, :ADVENTURE_CORRELATION_push, { :label => "Receive", :type => :smartobject, :sim_min_time => "1m", :sim_max_time => "1m", :sim_avg_time => "1m", :mid => "_A0C7F27E-5FF6-4443-9966-A370F20E1D6F", :parameters => {:SensorID => "14"} }, <<-end
|
20
|
+
data.defectid = result.SensorData;
|
21
|
+
end
|
22
|
+
call :a1, :MailCO_mail, { :label => "Deliver Mail", :type => :externalManufacturingTask, :sim_min_time => "1m", :sim_max_time => "1m", :sim_avg_time => "1m", :mid => "_5F7422FB-B4A2-49CB-8071-E0FF99F0A834", :parameters => {:to => "juergen.mangler@univie.ac.at", :subject => "Defect Part", :body => "data.defectid"} }
|
23
|
+
call :a3, :ADVENTURE_SPAWN, { :label => "Spawn self", :type => :spawn, :mid => "_DEF002B1-0593-4693-8AD7-48B983E5AFAE", :parameters => {:instance => "53cd4af1e4b0207100d2266e"} }
|
22
24
|
end
|
23
25
|
</dsl>
|
24
26
|
<dslx>
|
25
27
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
28
|
+
<choose mode="exclusive">
|
29
|
+
<alternative condition="true" language="text/javascript" sim_probability="40.0">
|
30
|
+
<call id="a6" endpoint="">
|
31
|
+
<parameters>
|
32
|
+
<label>"da"</label>
|
33
|
+
<type>:unknown</type>
|
34
|
+
<mid>"_5902507A-504A-4F1E-AEE3-8860BEF374B6"</mid>
|
35
|
+
<parameters/>
|
36
|
+
</parameters>
|
37
|
+
</call>
|
38
|
+
</alternative>
|
39
|
+
<otherwise sim_probability="60.0">
|
40
|
+
<call id="a5" endpoint="">
|
41
|
+
<parameters>
|
42
|
+
<label>"db"</label>
|
43
|
+
<type>:unknown</type>
|
44
|
+
<mid>"_6F6A6FEE-57EB-459D-96FB-1AA736CD6465"</mid>
|
45
|
+
<parameters/>
|
46
|
+
</parameters>
|
47
|
+
</call>
|
48
|
+
</otherwise>
|
49
|
+
</choose>
|
50
|
+
<loop pre_test="true" language="text/javascript" sim_probability="100.0">
|
51
|
+
<call id="a2" endpoint="ADVENTURE_CORRELATION_push">
|
31
52
|
<parameters>
|
32
|
-
<
|
53
|
+
<label>"Receive"</label>
|
54
|
+
<type>:smartobject</type>
|
55
|
+
<sim_min_time>"1m"</sim_min_time>
|
56
|
+
<sim_max_time>"1m"</sim_max_time>
|
57
|
+
<sim_avg_time>"1m"</sim_avg_time>
|
58
|
+
<mid>"_A0C7F27E-5FF6-4443-9966-A370F20E1D6F"</mid>
|
59
|
+
<parameters>
|
60
|
+
<SensorID>"14"</SensorID>
|
61
|
+
</parameters>
|
33
62
|
</parameters>
|
34
|
-
|
35
|
-
|
36
|
-
<
|
37
|
-
</call>
|
38
|
-
<call id="a2" endpoint="timeout">
|
39
|
-
<parameters>
|
40
|
-
<!--{{{-->
|
41
|
-
<method>post</method>
|
63
|
+
<manipulate output="result" language="text/javascript">data.defectid = result.SensorData;</manipulate>
|
64
|
+
</call>
|
65
|
+
<call id="a1" endpoint="MailCO_mail">
|
42
66
|
<parameters>
|
43
|
-
<
|
67
|
+
<label>"Deliver Mail"</label>
|
68
|
+
<type>:externalManufacturingTask</type>
|
69
|
+
<sim_min_time>"1m"</sim_min_time>
|
70
|
+
<sim_max_time>"1m"</sim_max_time>
|
71
|
+
<sim_avg_time>"1m"</sim_avg_time>
|
72
|
+
<mid>"_5F7422FB-B4A2-49CB-8071-E0FF99F0A834"</mid>
|
73
|
+
<parameters>
|
74
|
+
<to>"juergen.mangler@univie.ac.at"</to>
|
75
|
+
<subject>"Defect Part"</subject>
|
76
|
+
<body>"data.defectid"</body>
|
77
|
+
</parameters>
|
44
78
|
</parameters>
|
45
|
-
</
|
46
|
-
|
47
|
-
<manipulate output="result"> data.x += "a2,"</manipulate>
|
48
|
-
</call>
|
49
|
-
<call id="a3" endpoint="timeout">
|
50
|
-
<parameters>
|
51
|
-
<!--{{{-->
|
52
|
-
<method>post</method>
|
79
|
+
</call>
|
80
|
+
<call id="a3" endpoint="ADVENTURE_SPAWN">
|
53
81
|
<parameters>
|
54
|
-
<
|
82
|
+
<label>"Spawn self"</label>
|
83
|
+
<type>:spawn</type>
|
84
|
+
<mid>"_DEF002B1-0593-4693-8AD7-48B983E5AFAE"</mid>
|
85
|
+
<parameters>
|
86
|
+
<instance>"53cd4af1e4b0207100d2266e"</instance>
|
87
|
+
</parameters>
|
55
88
|
</parameters>
|
56
|
-
</
|
57
|
-
|
58
|
-
<manipulate output="result"> data.x += "a3,"</manipulate>
|
59
|
-
</call>
|
89
|
+
</call>
|
90
|
+
</loop>
|
60
91
|
</description>
|
61
92
|
</dslx>
|
62
93
|
<status>
|
@@ -65,45 +96,74 @@ end
|
|
65
96
|
</status>
|
66
97
|
<description>
|
67
98
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
99
|
+
<choose mode="exclusive">
|
100
|
+
<alternative condition="true" language="text/javascript" sim_probability="40.0">
|
101
|
+
<call id="a6" endpoint="">
|
102
|
+
<parameters>
|
103
|
+
<label>"da"</label>
|
104
|
+
<type>:unknown</type>
|
105
|
+
<mid>"_5902507A-504A-4F1E-AEE3-8860BEF374B6"</mid>
|
106
|
+
<parameters/>
|
107
|
+
</parameters>
|
108
|
+
</call>
|
109
|
+
</alternative>
|
110
|
+
<otherwise sim_probability="60.0">
|
111
|
+
<call id="a5" endpoint="">
|
112
|
+
<parameters>
|
113
|
+
<label>"db"</label>
|
114
|
+
<type>:unknown</type>
|
115
|
+
<mid>"_6F6A6FEE-57EB-459D-96FB-1AA736CD6465"</mid>
|
116
|
+
<parameters/>
|
117
|
+
</parameters>
|
118
|
+
</call>
|
119
|
+
</otherwise>
|
120
|
+
</choose>
|
121
|
+
<loop pre_test="true" language="text/javascript" sim_probability="100.0">
|
122
|
+
<call id="a2" endpoint="ADVENTURE_CORRELATION_push">
|
73
123
|
<parameters>
|
74
|
-
<
|
124
|
+
<label>"Receive"</label>
|
125
|
+
<type>:smartobject</type>
|
126
|
+
<sim_min_time>"1m"</sim_min_time>
|
127
|
+
<sim_max_time>"1m"</sim_max_time>
|
128
|
+
<sim_avg_time>"1m"</sim_avg_time>
|
129
|
+
<mid>"_A0C7F27E-5FF6-4443-9966-A370F20E1D6F"</mid>
|
130
|
+
<parameters>
|
131
|
+
<SensorID>"14"</SensorID>
|
132
|
+
</parameters>
|
75
133
|
</parameters>
|
76
|
-
|
77
|
-
|
78
|
-
<
|
79
|
-
</call>
|
80
|
-
<call id="a2" endpoint="timeout">
|
81
|
-
<parameters>
|
82
|
-
<!--{{{-->
|
83
|
-
<method>post</method>
|
134
|
+
<manipulate output="result" language="text/javascript">data.defectid = result.SensorData;</manipulate>
|
135
|
+
</call>
|
136
|
+
<call id="a1" endpoint="MailCO_mail">
|
84
137
|
<parameters>
|
85
|
-
<
|
138
|
+
<label>"Deliver Mail"</label>
|
139
|
+
<type>:externalManufacturingTask</type>
|
140
|
+
<sim_min_time>"1m"</sim_min_time>
|
141
|
+
<sim_max_time>"1m"</sim_max_time>
|
142
|
+
<sim_avg_time>"1m"</sim_avg_time>
|
143
|
+
<mid>"_5F7422FB-B4A2-49CB-8071-E0FF99F0A834"</mid>
|
144
|
+
<parameters>
|
145
|
+
<to>"juergen.mangler@univie.ac.at"</to>
|
146
|
+
<subject>"Defect Part"</subject>
|
147
|
+
<body>"data.defectid"</body>
|
148
|
+
</parameters>
|
86
149
|
</parameters>
|
87
|
-
</
|
88
|
-
|
89
|
-
<manipulate output="result"> data.x += "a2,"</manipulate>
|
90
|
-
</call>
|
91
|
-
<call id="a3" endpoint="timeout">
|
92
|
-
<parameters>
|
93
|
-
<!--{{{-->
|
94
|
-
<method>post</method>
|
150
|
+
</call>
|
151
|
+
<call id="a3" endpoint="ADVENTURE_SPAWN">
|
95
152
|
<parameters>
|
96
|
-
<
|
153
|
+
<label>"Spawn self"</label>
|
154
|
+
<type>:spawn</type>
|
155
|
+
<mid>"_DEF002B1-0593-4693-8AD7-48B983E5AFAE"</mid>
|
156
|
+
<parameters>
|
157
|
+
<instance>"53cd4af1e4b0207100d2266e"</instance>
|
158
|
+
</parameters>
|
97
159
|
</parameters>
|
98
|
-
</
|
99
|
-
|
100
|
-
<manipulate output="result"> data.x += "a3,"</manipulate>
|
101
|
-
</call>
|
160
|
+
</call>
|
161
|
+
</loop>
|
102
162
|
</description>
|
103
163
|
</description>
|
104
164
|
<transformation>
|
105
165
|
<description type="copy"/>
|
106
|
-
<dataelements type="
|
107
|
-
<endpoints type="
|
166
|
+
<dataelements type="xslt"/>
|
167
|
+
<endpoints type="xslt"/>
|
108
168
|
</transformation>
|
109
169
|
</properties>
|
@@ -1,51 +1,127 @@
|
|
1
1
|
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
-
<info>
|
3
|
-
<state>
|
2
|
+
<info>asdads</info>
|
3
|
+
<state>ready</state>
|
4
4
|
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
5
5
|
<positions/>
|
6
|
-
<dataelements
|
7
|
-
<json>{"lv":"Workflow Technologies","id":{"lvnr":"050311","gruppe":1}}</json>
|
8
|
-
<json_lv>Workflow Technologies</json_lv>
|
9
|
-
<json_lvnr/>
|
10
|
-
<xml_lv>Workflow Technologies</xml_lv>
|
11
|
-
<xml_lvnr>050311</xml_lvnr>
|
12
|
-
</dataelements>
|
6
|
+
<dataelements/>
|
13
7
|
<endpoints>
|
14
8
|
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
15
|
-
<json>http://cpee.org/services/json.php</json>
|
16
|
-
<xml>http://cpee.org/services/xml.php</xml>
|
17
9
|
</endpoints>
|
18
|
-
<dsl>call :
|
19
|
-
data.
|
20
|
-
data.json_lv = result['lv']
|
21
|
-
data.json_lvnr = result['lv']['lvnr']
|
10
|
+
<dsl>call :a58, :timeout, { :label => "A", :method => nil, :type => "serviceTask", :mid => "sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819", :parameters => { :timeout => 1 } }, <<-end
|
11
|
+
data.a += 1
|
22
12
|
end
|
23
|
-
call :
|
24
|
-
|
25
|
-
|
13
|
+
call :a61, :timeout, { :label => "B", :method => nil, :type => "serviceTask", :mid => "sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E", :parameters => { :timeout => 1 } }
|
14
|
+
loop pre_test{true} do
|
15
|
+
choose :exclusive do
|
16
|
+
alternative "data.a >= 3 && data.a < 6" do
|
17
|
+
call :a62, :timeout, { :label => "D", :method => nil, :type => "serviceTask", :mid => "sid-0937F905-A975-4DB2-A8C9-CD523611AEF5", :parameters => { :timeout => 1 } }
|
18
|
+
call :a58, :timeout, { :label => "A", :method => nil, :type => "serviceTask", :mid => "sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819", :parameters => { :timeout => 1 } }, <<-end
|
19
|
+
data.a += 1
|
20
|
+
end
|
21
|
+
call :a61, :timeout, { :label => "B", :method => nil, :type => "serviceTask", :mid => "sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E", :parameters => { :timeout => 1 } }
|
22
|
+
end
|
23
|
+
alternative "data.a < 3" do
|
24
|
+
call :a60, :timeout, { :label => "C", :method => nil, :type => "serviceTask", :mid => "sid-7E70A0D7-660E-4C1B-B377-64387F99BD87", :parameters => { :timeout => 1 } }
|
25
|
+
call :a61, :timeout, { :label => "B", :method => nil, :type => "serviceTask", :mid => "sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E", :parameters => { :timeout => 1 } }
|
26
|
+
end
|
27
|
+
otherwise do
|
28
|
+
break
|
29
|
+
end
|
30
|
+
end
|
26
31
|
end
|
27
32
|
</dsl>
|
28
33
|
<dslx>
|
29
34
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
30
|
-
<call id="
|
35
|
+
<call id="a58" endpoint="timeout">
|
31
36
|
<parameters>
|
32
|
-
<label>
|
33
|
-
<method
|
34
|
-
<
|
37
|
+
<label>A</label>
|
38
|
+
<method/>
|
39
|
+
<type>serviceTask</type>
|
40
|
+
<mid>sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819</mid>
|
41
|
+
<parameters>
|
42
|
+
<timeout>1</timeout>
|
43
|
+
</parameters>
|
35
44
|
</parameters>
|
36
|
-
<manipulate>data.
|
37
|
-
data.json_lv = result['lv']
|
38
|
-
data.json_lvnr = result['lv']['lvnr']</manipulate>
|
45
|
+
<manipulate output="result" language="application/javascript">data.a += 1</manipulate>
|
39
46
|
</call>
|
40
|
-
<call id="
|
47
|
+
<call id="a61" endpoint="timeout">
|
41
48
|
<parameters>
|
42
|
-
<label>
|
43
|
-
<method
|
44
|
-
<
|
49
|
+
<label>B</label>
|
50
|
+
<method/>
|
51
|
+
<type>serviceTask</type>
|
52
|
+
<mid>sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E</mid>
|
53
|
+
<parameters>
|
54
|
+
<timeout>1</timeout>
|
55
|
+
</parameters>
|
45
56
|
</parameters>
|
46
|
-
<manipulate>data.xml_lv = result.find('string(/data/lv)')
|
47
|
-
data.xml_lvnr = result.find('string(/data/lv/@id)')</manipulate>
|
48
57
|
</call>
|
58
|
+
<loop pre_test="true">
|
59
|
+
<choose mode="exclusive">
|
60
|
+
<alternative condition="data.a >= 3 && data.a < 6" language="text/javascript">
|
61
|
+
<call id="a62" endpoint="timeout">
|
62
|
+
<parameters>
|
63
|
+
<label>D</label>
|
64
|
+
<method/>
|
65
|
+
<type>serviceTask</type>
|
66
|
+
<mid>sid-0937F905-A975-4DB2-A8C9-CD523611AEF5</mid>
|
67
|
+
<parameters>
|
68
|
+
<timeout>1</timeout>
|
69
|
+
</parameters>
|
70
|
+
</parameters>
|
71
|
+
</call>
|
72
|
+
<call id="a58" endpoint="timeout">
|
73
|
+
<parameters>
|
74
|
+
<label>A</label>
|
75
|
+
<method/>
|
76
|
+
<type>serviceTask</type>
|
77
|
+
<mid>sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819</mid>
|
78
|
+
<parameters>
|
79
|
+
<timeout>1</timeout>
|
80
|
+
</parameters>
|
81
|
+
</parameters>
|
82
|
+
<manipulate output="result" language="application/javascript">data.a += 1</manipulate>
|
83
|
+
</call>
|
84
|
+
<call id="a61" endpoint="timeout">
|
85
|
+
<parameters>
|
86
|
+
<label>B</label>
|
87
|
+
<method/>
|
88
|
+
<type>serviceTask</type>
|
89
|
+
<mid>sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E</mid>
|
90
|
+
<parameters>
|
91
|
+
<timeout>1</timeout>
|
92
|
+
</parameters>
|
93
|
+
</parameters>
|
94
|
+
</call>
|
95
|
+
</alternative>
|
96
|
+
<alternative condition="data.a < 3" language="text/javascript">
|
97
|
+
<call id="a60" endpoint="timeout">
|
98
|
+
<parameters>
|
99
|
+
<label>C</label>
|
100
|
+
<method/>
|
101
|
+
<type>serviceTask</type>
|
102
|
+
<mid>sid-7E70A0D7-660E-4C1B-B377-64387F99BD87</mid>
|
103
|
+
<parameters>
|
104
|
+
<timeout>1</timeout>
|
105
|
+
</parameters>
|
106
|
+
</parameters>
|
107
|
+
</call>
|
108
|
+
<call id="a61" endpoint="timeout">
|
109
|
+
<parameters>
|
110
|
+
<label>B</label>
|
111
|
+
<method/>
|
112
|
+
<type>serviceTask</type>
|
113
|
+
<mid>sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E</mid>
|
114
|
+
<parameters>
|
115
|
+
<timeout>1</timeout>
|
116
|
+
</parameters>
|
117
|
+
</parameters>
|
118
|
+
</call>
|
119
|
+
</alternative>
|
120
|
+
<otherwise>
|
121
|
+
<break/>
|
122
|
+
</otherwise>
|
123
|
+
</choose>
|
124
|
+
</loop>
|
49
125
|
</description>
|
50
126
|
</dslx>
|
51
127
|
<status>
|
@@ -54,25 +130,96 @@ data.xml_lvnr = result.find('string(/data/lv/@id)')</manipulate>
|
|
54
130
|
</status>
|
55
131
|
<description>
|
56
132
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
57
|
-
<call id="
|
133
|
+
<call id="a58" endpoint="timeout">
|
58
134
|
<parameters>
|
59
|
-
<label>
|
60
|
-
<method
|
61
|
-
<
|
135
|
+
<label>A</label>
|
136
|
+
<method/>
|
137
|
+
<type>serviceTask</type>
|
138
|
+
<mid>sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819</mid>
|
139
|
+
<parameters>
|
140
|
+
<timeout>1</timeout>
|
141
|
+
</parameters>
|
62
142
|
</parameters>
|
63
|
-
<manipulate>data.
|
64
|
-
data.json_lv = result['lv']
|
65
|
-
data.json_lvnr = result['lv']['lvnr']</manipulate>
|
143
|
+
<manipulate output="result" language="application/javascript">data.a += 1</manipulate>
|
66
144
|
</call>
|
67
|
-
<call id="
|
145
|
+
<call id="a61" endpoint="timeout">
|
68
146
|
<parameters>
|
69
|
-
<label>
|
70
|
-
<method
|
71
|
-
<
|
147
|
+
<label>B</label>
|
148
|
+
<method/>
|
149
|
+
<type>serviceTask</type>
|
150
|
+
<mid>sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E</mid>
|
151
|
+
<parameters>
|
152
|
+
<timeout>1</timeout>
|
153
|
+
</parameters>
|
72
154
|
</parameters>
|
73
|
-
<manipulate>data.xml_lv = result.find('string(/data/lv)')
|
74
|
-
data.xml_lvnr = result.find('string(/data/lv/@id)')</manipulate>
|
75
155
|
</call>
|
156
|
+
<loop pre_test="true">
|
157
|
+
<choose mode="exclusive">
|
158
|
+
<alternative condition="data.a >= 3 && data.a < 6" language="text/javascript">
|
159
|
+
<call id="a62" endpoint="timeout">
|
160
|
+
<parameters>
|
161
|
+
<label>D</label>
|
162
|
+
<method/>
|
163
|
+
<type>serviceTask</type>
|
164
|
+
<mid>sid-0937F905-A975-4DB2-A8C9-CD523611AEF5</mid>
|
165
|
+
<parameters>
|
166
|
+
<timeout>1</timeout>
|
167
|
+
</parameters>
|
168
|
+
</parameters>
|
169
|
+
</call>
|
170
|
+
<call id="a58" endpoint="timeout">
|
171
|
+
<parameters>
|
172
|
+
<label>A</label>
|
173
|
+
<method/>
|
174
|
+
<type>serviceTask</type>
|
175
|
+
<mid>sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819</mid>
|
176
|
+
<parameters>
|
177
|
+
<timeout>1</timeout>
|
178
|
+
</parameters>
|
179
|
+
</parameters>
|
180
|
+
<manipulate output="result" language="application/javascript">data.a += 1</manipulate>
|
181
|
+
</call>
|
182
|
+
<call id="a61" endpoint="timeout">
|
183
|
+
<parameters>
|
184
|
+
<label>B</label>
|
185
|
+
<method/>
|
186
|
+
<type>serviceTask</type>
|
187
|
+
<mid>sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E</mid>
|
188
|
+
<parameters>
|
189
|
+
<timeout>1</timeout>
|
190
|
+
</parameters>
|
191
|
+
</parameters>
|
192
|
+
</call>
|
193
|
+
</alternative>
|
194
|
+
<alternative condition="data.a < 3" language="text/javascript">
|
195
|
+
<call id="a60" endpoint="timeout">
|
196
|
+
<parameters>
|
197
|
+
<label>C</label>
|
198
|
+
<method/>
|
199
|
+
<type>serviceTask</type>
|
200
|
+
<mid>sid-7E70A0D7-660E-4C1B-B377-64387F99BD87</mid>
|
201
|
+
<parameters>
|
202
|
+
<timeout>1</timeout>
|
203
|
+
</parameters>
|
204
|
+
</parameters>
|
205
|
+
</call>
|
206
|
+
<call id="a61" endpoint="timeout">
|
207
|
+
<parameters>
|
208
|
+
<label>B</label>
|
209
|
+
<method/>
|
210
|
+
<type>serviceTask</type>
|
211
|
+
<mid>sid-D16D28EC-08D9-4FA6-92F4-D533E21C9C5E</mid>
|
212
|
+
<parameters>
|
213
|
+
<timeout>1</timeout>
|
214
|
+
</parameters>
|
215
|
+
</parameters>
|
216
|
+
</call>
|
217
|
+
</alternative>
|
218
|
+
<otherwise>
|
219
|
+
<break/>
|
220
|
+
</otherwise>
|
221
|
+
</choose>
|
222
|
+
</loop>
|
76
223
|
</description>
|
77
224
|
</description>
|
78
225
|
<transformation>
|