cpee 1.3.120 → 1.3.121
Sign up to get free protection for your applications and to get access to all the features.
- data/cockpit/css/ui.css +11 -7
- data/cockpit/index.html +11 -8
- data/cockpit/js/details.js +6 -5
- data/cockpit/js/instance.js +11 -1
- data/cockpit/js/ui.js +7 -0
- data/cockpit/js/wfadaptor.cpee.js +2 -1
- data/cockpit/testsets/index.xml +0 -3
- data/cpee.gemspec +1 -1
- data/lib/cpee/controller.rb +8 -18
- data/lib/cpee/handler_notifications.rb +3 -2
- data/server/instances/1/properties.xml +145 -0
- data/server/instances/10/properties.xml +109 -0
- data/server/instances/11/properties.xml +109 -0
- data/server/instances/2/properties.xml +83 -0
- data/server/instances/3/properties.xml +83 -0
- data/server/instances/4/properties.xml +83 -0
- data/server/instances/5/properties.xml +83 -0
- data/server/instances/6/properties.xml +83 -0
- data/server/instances/7/properties.xml +83 -0
- data/server/instances/8/properties.xml +83 -0
- data/server/instances/9/properties.xml +77 -0
- metadata +13 -5
- data/cockpit/testsets/RESCUE - Book Movie - Local.xml +0 -100
- data/cockpit/testsets/RESCUE - Book Movie.xml +0 -100
- data/cockpit/testsets/RESCUE - Loop-Parallel Injection.xml +0 -93
@@ -0,0 +1,109 @@
|
|
1
|
+
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
+
<info/>
|
3
|
+
<state>ready</state>
|
4
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
5
|
+
<positions>
|
6
|
+
<a1>after</a1>
|
7
|
+
</positions>
|
8
|
+
<dataelements>
|
9
|
+
<x/>
|
10
|
+
</dataelements>
|
11
|
+
<endpoints>
|
12
|
+
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
13
|
+
</endpoints>
|
14
|
+
<dsl>call :a1, :timeout, { :method => "post", :parameters => { :timeout => 2 } }, <<-end
|
15
|
+
data.x += "a1,"
|
16
|
+
end
|
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,"
|
22
|
+
end
|
23
|
+
</dsl>
|
24
|
+
<dslx>
|
25
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
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">
|
39
|
+
<parameters>
|
40
|
+
<!--{{{-->
|
41
|
+
<method>post</method>
|
42
|
+
<parameters>
|
43
|
+
<timeout>4</timeout>
|
44
|
+
</parameters>
|
45
|
+
</parameters>
|
46
|
+
<!--}}}-->
|
47
|
+
<manipulate output="result"> data.x += "a2,"</manipulate>
|
48
|
+
</call>
|
49
|
+
<call id="a3" endpoint="timeout">
|
50
|
+
<parameters>
|
51
|
+
<!--{{{-->
|
52
|
+
<method>post</method>
|
53
|
+
<parameters>
|
54
|
+
<timeout>4</timeout>
|
55
|
+
</parameters>
|
56
|
+
</parameters>
|
57
|
+
<!--}}}-->
|
58
|
+
<manipulate output="result"> data.x += "a3,"</manipulate>
|
59
|
+
</call>
|
60
|
+
</description>
|
61
|
+
</dslx>
|
62
|
+
<status>
|
63
|
+
<id>0</id>
|
64
|
+
<message>undefined</message>
|
65
|
+
</status>
|
66
|
+
<description>
|
67
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
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">
|
81
|
+
<parameters>
|
82
|
+
<!--{{{-->
|
83
|
+
<method>post</method>
|
84
|
+
<parameters>
|
85
|
+
<timeout>4</timeout>
|
86
|
+
</parameters>
|
87
|
+
</parameters>
|
88
|
+
<!--}}}-->
|
89
|
+
<manipulate output="result"> data.x += "a2,"</manipulate>
|
90
|
+
</call>
|
91
|
+
<call id="a3" endpoint="timeout">
|
92
|
+
<parameters>
|
93
|
+
<!--{{{-->
|
94
|
+
<method>post</method>
|
95
|
+
<parameters>
|
96
|
+
<timeout>4</timeout>
|
97
|
+
</parameters>
|
98
|
+
</parameters>
|
99
|
+
<!--}}}-->
|
100
|
+
<manipulate output="result"> data.x += "a3,"</manipulate>
|
101
|
+
</call>
|
102
|
+
</description>
|
103
|
+
</description>
|
104
|
+
<transformation>
|
105
|
+
<description type="copy"/>
|
106
|
+
<dataelements type="rest"/>
|
107
|
+
<endpoints type="rest"/>
|
108
|
+
</transformation>
|
109
|
+
</properties>
|
@@ -0,0 +1,83 @@
|
|
1
|
+
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
+
<info>Enter info here</info>
|
3
|
+
<state>finished</state>
|
4
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
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>
|
13
|
+
<endpoints>
|
14
|
+
<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
|
+
</endpoints>
|
18
|
+
<dsl>call :a1, :json, { :label => "Get JSON", :method => "get", :parameters => nil }, <<-end
|
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>
|
28
|
+
<dslx>
|
29
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
30
|
+
<call id="a1" endpoint="json" svg-label="Get JSON">
|
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>
|
51
|
+
<status>
|
52
|
+
<id>0</id>
|
53
|
+
<message>undefined</message>
|
54
|
+
</status>
|
55
|
+
<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>
|
77
|
+
</description>
|
78
|
+
<transformation>
|
79
|
+
<description type="copy"/>
|
80
|
+
<dataelements type="xslt"/>
|
81
|
+
<endpoints type="xslt"/>
|
82
|
+
</transformation>
|
83
|
+
</properties>
|
@@ -0,0 +1,83 @@
|
|
1
|
+
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
+
<info>Enter info here</info>
|
3
|
+
<state>finished</state>
|
4
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
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>
|
13
|
+
<endpoints>
|
14
|
+
<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
|
+
</endpoints>
|
18
|
+
<dsl>call :a1, :json, { :label => "Get JSON", :method => "get", :parameters => nil }, <<-end
|
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>
|
28
|
+
<dslx>
|
29
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
30
|
+
<call id="a1" endpoint="json" svg-label="Get JSON">
|
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>
|
51
|
+
<status>
|
52
|
+
<id>0</id>
|
53
|
+
<message>undefined</message>
|
54
|
+
</status>
|
55
|
+
<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>
|
77
|
+
</description>
|
78
|
+
<transformation>
|
79
|
+
<description type="copy"/>
|
80
|
+
<dataelements type="xslt"/>
|
81
|
+
<endpoints type="xslt"/>
|
82
|
+
</transformation>
|
83
|
+
</properties>
|
@@ -0,0 +1,83 @@
|
|
1
|
+
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
+
<info>Enter info here</info>
|
3
|
+
<state>finished</state>
|
4
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
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>
|
13
|
+
<endpoints>
|
14
|
+
<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
|
+
</endpoints>
|
18
|
+
<dsl>call :a1, :json, { :label => "Get JSON", :method => "get", :parameters => nil }, <<-end
|
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>
|
28
|
+
<dslx>
|
29
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
30
|
+
<call id="a1" endpoint="json" svg-label="Get JSON">
|
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>
|
51
|
+
<status>
|
52
|
+
<id>0</id>
|
53
|
+
<message>undefined</message>
|
54
|
+
</status>
|
55
|
+
<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>
|
77
|
+
</description>
|
78
|
+
<transformation>
|
79
|
+
<description type="copy"/>
|
80
|
+
<dataelements type="xslt"/>
|
81
|
+
<endpoints type="xslt"/>
|
82
|
+
</transformation>
|
83
|
+
</properties>
|
@@ -0,0 +1,83 @@
|
|
1
|
+
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
+
<info>Enter info here</info>
|
3
|
+
<state>finished</state>
|
4
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
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>
|
13
|
+
<endpoints>
|
14
|
+
<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
|
+
</endpoints>
|
18
|
+
<dsl>call :a1, :json, { :label => "Get JSON", :method => "get", :parameters => nil }, <<-end
|
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>
|
28
|
+
<dslx>
|
29
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
30
|
+
<call id="a1" endpoint="json" svg-label="Get JSON">
|
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>
|
51
|
+
<status>
|
52
|
+
<id>0</id>
|
53
|
+
<message>undefined</message>
|
54
|
+
</status>
|
55
|
+
<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>
|
77
|
+
</description>
|
78
|
+
<transformation>
|
79
|
+
<description type="copy"/>
|
80
|
+
<dataelements type="xslt"/>
|
81
|
+
<endpoints type="xslt"/>
|
82
|
+
</transformation>
|
83
|
+
</properties>
|
@@ -0,0 +1,83 @@
|
|
1
|
+
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
2
|
+
<info>Enter info here</info>
|
3
|
+
<state>finished</state>
|
4
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
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>
|
13
|
+
<endpoints>
|
14
|
+
<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
|
+
</endpoints>
|
18
|
+
<dsl>call :a1, :json, { :label => "Get JSON", :method => "get", :parameters => nil }, <<-end
|
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>
|
28
|
+
<dslx>
|
29
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
30
|
+
<call id="a1" endpoint="json" svg-label="Get JSON">
|
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>
|
51
|
+
<status>
|
52
|
+
<id>0</id>
|
53
|
+
<message>undefined</message>
|
54
|
+
</status>
|
55
|
+
<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>
|
77
|
+
</description>
|
78
|
+
<transformation>
|
79
|
+
<description type="copy"/>
|
80
|
+
<dataelements type="xslt"/>
|
81
|
+
<endpoints type="xslt"/>
|
82
|
+
</transformation>
|
83
|
+
</properties>
|