cpee 1.3.171 → 1.3.172
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/lib/cpee/processtransformation/cpee.rb +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/1/notifications/d12eff1ac812661c05d7090ce7394cf9/subscription.xml +27 -0
- data/server/instances/1/properties.xml +69 -101
- data/server/instances/10/properties.xml +106 -70
- data/server/instances/11/properties.xml +133 -73
- data/server/instances/12/properties.xml +1 -0
- data/server/instances/14/notifications/5bcce90b170116a77fb25aea4e133acc/consumer-secret +1 -0
- data/server/instances/14/notifications/5bcce90b170116a77fb25aea4e133acc/producer-secret +1 -0
- data/server/instances/{13/notifications/4ff0cde5161c44dae49b263cbc12eaf8 → 14/notifications/5bcce90b170116a77fb25aea4e133acc}/subscription.xml +0 -0
- data/server/instances/14/properties.xml +160 -160
- 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 +111 -115
- 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/13/notifications/4ff0cde5161c44dae49b263cbc12eaf8/consumer-secret +0 -1
- data/server/instances/13/notifications/4ff0cde5161c44dae49b263cbc12eaf8/producer-secret +0 -1
- data/server/instances/15/properties.xml +0 -330
- data/server/instances/16/properties.xml +0 -265
- data/server/instances/17/properties.xml +0 -146
- data/server/server.pid +0 -1
@@ -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>
|
@@ -1,50 +1,61 @@
|
|
1
1
|
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
2
|
<info>Enter info here</info>
|
3
|
-
<state>
|
3
|
+
<state>ready</state>
|
4
4
|
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
5
|
-
<positions
|
5
|
+
<positions>
|
6
|
+
<a1>after</a1>
|
7
|
+
</positions>
|
6
8
|
<dataelements>
|
7
|
-
<
|
8
|
-
<json_lv>Workflow Technologies</json_lv>
|
9
|
-
<json_lvnr/>
|
10
|
-
<xml_lv>Workflow Technologies</xml_lv>
|
11
|
-
<xml_lvnr>050311</xml_lvnr>
|
9
|
+
<x/>
|
12
10
|
</dataelements>
|
13
11
|
<endpoints>
|
14
12
|
<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
13
|
</endpoints>
|
18
|
-
<dsl>call :a1, :
|
19
|
-
data.
|
20
|
-
data.json_lv = result['lv']
|
21
|
-
data.json_lvnr = result['lv']['lvnr']
|
14
|
+
<dsl>call :a1, :timeout, { :method => "post", :parameters => { :timeout => 2 } }, <<-end
|
15
|
+
data.x += "a1,"
|
22
16
|
end
|
23
|
-
call :a2, :
|
24
|
-
data.
|
25
|
-
|
17
|
+
call :a2, :timeout, { :method => "post", :parameters => { :timeout => 4 } }, <<-end
|
18
|
+
data.x += "a2,"
|
19
|
+
end
|
20
|
+
call :a3, :timeout, { :method => "post", :parameters => { :timeout => 4 } }, <<-end
|
21
|
+
data.x += "a3,"
|
26
22
|
end
|
27
23
|
</dsl>
|
28
24
|
<dslx>
|
29
25
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
30
|
-
|
26
|
+
<!--{{{-->
|
27
|
+
<call id="a1" endpoint="timeout">
|
28
|
+
<parameters>
|
29
|
+
<!--{{{-->
|
30
|
+
<method>post</method>
|
31
|
+
<parameters>
|
32
|
+
<timeout>2</timeout>
|
33
|
+
</parameters>
|
34
|
+
</parameters>
|
35
|
+
<!--}}}-->
|
36
|
+
<manipulate output="result"> data.x += "a1,"</manipulate>
|
37
|
+
</call>
|
38
|
+
<call id="a2" endpoint="timeout">
|
31
39
|
<parameters>
|
32
|
-
|
33
|
-
<method>
|
34
|
-
<parameters
|
40
|
+
<!--{{{-->
|
41
|
+
<method>post</method>
|
42
|
+
<parameters>
|
43
|
+
<timeout>4</timeout>
|
44
|
+
</parameters>
|
35
45
|
</parameters>
|
36
|
-
|
37
|
-
data.
|
38
|
-
data.json_lvnr = result['lv']['lvnr']</manipulate>
|
46
|
+
<!--}}}-->
|
47
|
+
<manipulate output="result"> data.x += "a2,"</manipulate>
|
39
48
|
</call>
|
40
|
-
<call id="
|
49
|
+
<call id="a3" endpoint="timeout">
|
41
50
|
<parameters>
|
42
|
-
|
43
|
-
<method>
|
44
|
-
<parameters
|
51
|
+
<!--{{{-->
|
52
|
+
<method>post</method>
|
53
|
+
<parameters>
|
54
|
+
<timeout>4</timeout>
|
55
|
+
</parameters>
|
45
56
|
</parameters>
|
46
|
-
|
47
|
-
data.
|
57
|
+
<!--}}}-->
|
58
|
+
<manipulate output="result"> data.x += "a3,"</manipulate>
|
48
59
|
</call>
|
49
60
|
</description>
|
50
61
|
</dslx>
|
@@ -54,30 +65,45 @@ data.xml_lvnr = result.find('string(/data/lv/@id)')</manipulate>
|
|
54
65
|
</status>
|
55
66
|
<description>
|
56
67
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
57
|
-
|
68
|
+
<!--{{{-->
|
69
|
+
<call id="a1" endpoint="timeout">
|
70
|
+
<parameters>
|
71
|
+
<!--{{{-->
|
72
|
+
<method>post</method>
|
73
|
+
<parameters>
|
74
|
+
<timeout>2</timeout>
|
75
|
+
</parameters>
|
76
|
+
</parameters>
|
77
|
+
<!--}}}-->
|
78
|
+
<manipulate output="result"> data.x += "a1,"</manipulate>
|
79
|
+
</call>
|
80
|
+
<call id="a2" endpoint="timeout">
|
58
81
|
<parameters>
|
59
|
-
|
60
|
-
<method>
|
61
|
-
<parameters
|
82
|
+
<!--{{{-->
|
83
|
+
<method>post</method>
|
84
|
+
<parameters>
|
85
|
+
<timeout>4</timeout>
|
86
|
+
</parameters>
|
62
87
|
</parameters>
|
63
|
-
|
64
|
-
data.
|
65
|
-
data.json_lvnr = result['lv']['lvnr']</manipulate>
|
88
|
+
<!--}}}-->
|
89
|
+
<manipulate output="result"> data.x += "a2,"</manipulate>
|
66
90
|
</call>
|
67
|
-
<call id="
|
91
|
+
<call id="a3" endpoint="timeout">
|
68
92
|
<parameters>
|
69
|
-
|
70
|
-
<method>
|
71
|
-
<parameters
|
93
|
+
<!--{{{-->
|
94
|
+
<method>post</method>
|
95
|
+
<parameters>
|
96
|
+
<timeout>4</timeout>
|
97
|
+
</parameters>
|
72
98
|
</parameters>
|
73
|
-
|
74
|
-
data.
|
99
|
+
<!--}}}-->
|
100
|
+
<manipulate output="result"> data.x += "a3,"</manipulate>
|
75
101
|
</call>
|
76
102
|
</description>
|
77
103
|
</description>
|
78
104
|
<transformation>
|
79
105
|
<description type="copy"/>
|
80
|
-
<dataelements type="
|
81
|
-
<endpoints type="
|
106
|
+
<dataelements type="rest"/>
|
107
|
+
<endpoints type="rest"/>
|
82
108
|
</transformation>
|
83
109
|
</properties>
|
@@ -1,83 +1,43 @@
|
|
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
|
+
|
1
18
|
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
-
<info
|
3
|
-
<state>
|
19
|
+
<info/>
|
20
|
+
<state>ready</state>
|
4
21
|
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
5
22
|
<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>
|
23
|
+
<dataelements/>
|
13
24
|
<endpoints>
|
14
25
|
<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
26
|
</endpoints>
|
18
|
-
<dsl
|
19
|
-
data.json = result
|
20
|
-
data.json_lv = result['lv']
|
21
|
-
data.json_lvnr = result['lv']['lvnr']
|
22
|
-
end
|
23
|
-
call :a2, :xml, { :label => "Get XML", :method => "get", :parameters => nil }, <<-end
|
24
|
-
data.xml_lv = result.find('string(/data/lv)')
|
25
|
-
data.xml_lvnr = result.find('string(/data/lv/@id)')
|
26
|
-
end
|
27
|
-
</dsl>
|
27
|
+
<dsl/>
|
28
28
|
<dslx>
|
29
|
-
<description xmlns="http://cpee.org/ns/description/1.0"
|
30
|
-
|
31
|
-
<parameters>
|
32
|
-
<label>Get JSON</label>
|
33
|
-
<method>get</method>
|
34
|
-
<parameters/>
|
35
|
-
</parameters>
|
36
|
-
<manipulate>data.json = result
|
37
|
-
data.json_lv = result['lv']
|
38
|
-
data.json_lvnr = result['lv']['lvnr']</manipulate>
|
39
|
-
</call>
|
40
|
-
<call id="a2" endpoint="xml">
|
41
|
-
<parameters>
|
42
|
-
<label>Get XML</label>
|
43
|
-
<method>get</method>
|
44
|
-
<parameters/>
|
45
|
-
</parameters>
|
46
|
-
<manipulate>data.xml_lv = result.find('string(/data/lv)')
|
47
|
-
data.xml_lvnr = result.find('string(/data/lv/@id)')</manipulate>
|
48
|
-
</call>
|
49
|
-
</description>
|
50
|
-
</dslx>
|
29
|
+
<description xmlns="http://cpee.org/ns/description/1.0"/>
|
30
|
+
</dslx>
|
51
31
|
<status>
|
52
32
|
<id>0</id>
|
53
33
|
<message>undefined</message>
|
54
34
|
</status>
|
55
35
|
<description>
|
56
|
-
<description xmlns="http://cpee.org/ns/description/1.0"
|
57
|
-
<call id="a1" endpoint="json" svg-label="Get JSON">
|
58
|
-
<parameters>
|
59
|
-
<label>Get JSON</label>
|
60
|
-
<method>get</method>
|
61
|
-
<parameters/>
|
62
|
-
</parameters>
|
63
|
-
<manipulate>data.json = result
|
64
|
-
data.json_lv = result['lv']
|
65
|
-
data.json_lvnr = result['lv']['lvnr']</manipulate>
|
66
|
-
</call>
|
67
|
-
<call id="a2" endpoint="xml">
|
68
|
-
<parameters>
|
69
|
-
<label>Get XML</label>
|
70
|
-
<method>get</method>
|
71
|
-
<parameters/>
|
72
|
-
</parameters>
|
73
|
-
<manipulate>data.xml_lv = result.find('string(/data/lv)')
|
74
|
-
data.xml_lvnr = result.find('string(/data/lv/@id)')</manipulate>
|
75
|
-
</call>
|
76
|
-
</description>
|
36
|
+
<description xmlns="http://cpee.org/ns/description/1.0"/>
|
77
37
|
</description>
|
78
38
|
<transformation>
|
79
|
-
<description type=
|
80
|
-
<dataelements type=
|
81
|
-
<endpoints type=
|
39
|
+
<description type='copy'/>
|
40
|
+
<dataelements type='xslt'/>
|
41
|
+
<endpoints type='xslt'/>
|
82
42
|
</transformation>
|
83
|
-
</properties>
|
43
|
+
</properties>
|