cpee 1.3.153 → 1.3.154

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,61 +1,50 @@
1
1
  <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
2
  <info>Enter info here</info>
3
- <state>ready</state>
3
+ <state>finished</state>
4
4
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
5
- <positions>
6
- <a1>after</a1>
7
- </positions>
5
+ <positions/>
8
6
  <dataelements>
9
- <x/>
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>
10
12
  </dataelements>
11
13
  <endpoints>
12
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>
13
17
  </endpoints>
14
- <dsl>call :a1, :timeout, { :method =&gt; "post", :parameters =&gt; { :timeout =&gt; 2 } }, &lt;&lt;-end
15
- data.x += "a1,"
18
+ <dsl>call :a1, :json, { :label =&gt; "Get JSON", :method =&gt; "get", :parameters =&gt; nil }, &lt;&lt;-end
19
+ data.json = result
20
+ data.json_lv = result['lv']
21
+ data.json_lvnr = result['lv']['lvnr']
16
22
  end
17
- call :a2, :timeout, { :method =&gt; "post", :parameters =&gt; { :timeout =&gt; 4 } }, &lt;&lt;-end
18
- data.x += "a2,"
19
- end
20
- call :a3, :timeout, { :method =&gt; "post", :parameters =&gt; { :timeout =&gt; 4 } }, &lt;&lt;-end
21
- data.x += "a3,"
23
+ call :a2, :xml, { :label =&gt; "Get XML", :method =&gt; "get", :parameters =&gt; nil }, &lt;&lt;-end
24
+ data.xml_lv = result.find('string(/data/lv)')
25
+ data.xml_lvnr = result.find('string(/data/lv/@id)')
22
26
  end
23
27
  </dsl>
24
28
  <dslx>
25
29
  <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">
30
+ <call id="a1" endpoint="json" svg-label="Get JSON">
39
31
  <parameters>
40
- <!--{{{-->
41
- <method>post</method>
42
- <parameters>
43
- <timeout>4</timeout>
44
- </parameters>
32
+ <label>Get JSON</label>
33
+ <method>get</method>
34
+ <parameters/>
45
35
  </parameters>
46
- <!--}}}-->
47
- <manipulate output="result"> data.x += "a2,"</manipulate>
36
+ <manipulate>data.json = result
37
+ data.json_lv = result['lv']
38
+ data.json_lvnr = result['lv']['lvnr']</manipulate>
48
39
  </call>
49
- <call id="a3" endpoint="timeout">
40
+ <call id="a2" endpoint="xml">
50
41
  <parameters>
51
- <!--{{{-->
52
- <method>post</method>
53
- <parameters>
54
- <timeout>4</timeout>
55
- </parameters>
42
+ <label>Get XML</label>
43
+ <method>get</method>
44
+ <parameters/>
56
45
  </parameters>
57
- <!--}}}-->
58
- <manipulate output="result"> data.x += "a3,"</manipulate>
46
+ <manipulate>data.xml_lv = result.find('string(/data/lv)')
47
+ data.xml_lvnr = result.find('string(/data/lv/@id)')</manipulate>
59
48
  </call>
60
49
  </description>
61
50
  </dslx>
@@ -65,45 +54,30 @@ end
65
54
  </status>
66
55
  <description>
67
56
  <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">
57
+ <call id="a1" endpoint="json" svg-label="Get JSON">
81
58
  <parameters>
82
- <!--{{{-->
83
- <method>post</method>
84
- <parameters>
85
- <timeout>4</timeout>
86
- </parameters>
59
+ <label>Get JSON</label>
60
+ <method>get</method>
61
+ <parameters/>
87
62
  </parameters>
88
- <!--}}}-->
89
- <manipulate output="result"> data.x += "a2,"</manipulate>
63
+ <manipulate>data.json = result
64
+ data.json_lv = result['lv']
65
+ data.json_lvnr = result['lv']['lvnr']</manipulate>
90
66
  </call>
91
- <call id="a3" endpoint="timeout">
67
+ <call id="a2" endpoint="xml">
92
68
  <parameters>
93
- <!--{{{-->
94
- <method>post</method>
95
- <parameters>
96
- <timeout>4</timeout>
97
- </parameters>
69
+ <label>Get XML</label>
70
+ <method>get</method>
71
+ <parameters/>
98
72
  </parameters>
99
- <!--}}}-->
100
- <manipulate output="result"> data.x += "a3,"</manipulate>
73
+ <manipulate>data.xml_lv = result.find('string(/data/lv)')
74
+ data.xml_lvnr = result.find('string(/data/lv/@id)')</manipulate>
101
75
  </call>
102
76
  </description>
103
77
  </description>
104
78
  <transformation>
105
79
  <description type="copy"/>
106
- <dataelements type="rest"/>
107
- <endpoints type="rest"/>
80
+ <dataelements type="xslt"/>
81
+ <endpoints type="xslt"/>
108
82
  </transformation>
109
83
  </properties>
@@ -1,43 +1,83 @@
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
-
18
1
  <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
19
- <info/>
20
- <state>ready</state>
2
+ <info>Enter info here</info>
3
+ <state>finished</state>
21
4
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
22
5
  <positions/>
23
- <dataelements/>
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>
24
13
  <endpoints>
25
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>
26
17
  </endpoints>
27
- <dsl/>
18
+ <dsl>call :a1, :json, { :label =&gt; "Get JSON", :method =&gt; "get", :parameters =&gt; nil }, &lt;&lt;-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 =&gt; "Get XML", :method =&gt; "get", :parameters =&gt; nil }, &lt;&lt;-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
28
  <dslx>
29
- <description xmlns="http://cpee.org/ns/description/1.0"/>
30
- </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>
31
51
  <status>
32
52
  <id>0</id>
33
53
  <message>undefined</message>
34
54
  </status>
35
55
  <description>
36
- <description xmlns="http://cpee.org/ns/description/1.0"/>
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>
37
77
  </description>
38
78
  <transformation>
39
- <description type='copy'/>
40
- <dataelements type='xslt'/>
41
- <endpoints type='xslt'/>
79
+ <description type="copy"/>
80
+ <dataelements type="xslt"/>
81
+ <endpoints type="xslt"/>
42
82
  </transformation>
43
- </properties>
83
+ </properties>
@@ -1,23 +1,83 @@
1
1
  <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
- <info>asdad</info>
3
- <state>ready</state>
2
+ <info>Enter info here</info>
3
+ <state>finished</state>
4
4
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
5
5
  <positions/>
6
- <dataelements/>
7
- <endpoints/>
8
- <dsl>&lt;?xml version="1.0"?&gt;
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 =&gt; "Get JSON", :method =&gt; "get", :parameters =&gt; nil }, &lt;&lt;-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 =&gt; "Get XML", :method =&gt; "get", :parameters =&gt; nil }, &lt;&lt;-end
24
+ data.xml_lv = result.find('string(/data/lv)')
25
+ data.xml_lvnr = result.find('string(/data/lv/@id)')
26
+ end
9
27
  </dsl>
10
28
  <dslx>
11
- <description xmlns="http://cpee.org/ns/description/1.0"/>
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>
12
50
  </dslx>
13
51
  <status>
14
52
  <id>0</id>
15
53
  <message>undefined</message>
16
54
  </status>
17
- <description/>
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>
18
78
  <transformation>
19
- <description type="rest">http://localhost:9295</description>
20
- <dataelements type="rest">http://localhost:9295</dataelements>
21
- <endpoints type="rest">http://localhost:9295</endpoints>
79
+ <description type="copy"/>
80
+ <dataelements type="xslt"/>
81
+ <endpoints type="xslt"/>
22
82
  </transformation>
23
83
  </properties>
@@ -1,55 +1,51 @@
1
1
  <properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
2
2
  <info>Enter info here</info>
3
- <state>ready</state>
3
+ <state>finished</state>
4
4
  <handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
5
5
  <positions/>
6
6
  <dataelements>
7
- <a/>
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>
8
12
  </dataelements>
9
13
  <endpoints>
10
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>
11
17
  </endpoints>
12
- <dsl>manipulate :a22, &lt;&lt;-end
13
- data.a = 0
18
+ <dsl>call :a1, :json, { :label =&gt; "Get JSON", :method =&gt; "get", :parameters =&gt; nil }, &lt;&lt;-end
19
+ data.json = result
20
+ data.json_lv = result['lv']
21
+ data.json_lvnr = result['lv']['lvnr']
14
22
  end
15
- call :a26, :timeout, { :label =&gt; "B", :method =&gt; nil, :type =&gt; "serviceTask", :mid =&gt; "sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819", :parameters =&gt; { :timeout =&gt; 1 } }, &lt;&lt;-end
16
- data.a += 1
17
- end
18
- loop pre_test("data.a &lt; 3") do
19
- call :a26, :timeout, { :label =&gt; "B", :method =&gt; nil, :type =&gt; "serviceTask", :mid =&gt; "sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819", :parameters =&gt; { :timeout =&gt; 1 } }, &lt;&lt;-end
20
- data.a += 1
21
- end
23
+ call :a2, :xml, { :label =&gt; "Get XML", :method =&gt; "get", :parameters =&gt; nil }, &lt;&lt;-end
24
+ data.xml_lv = result.find('string(/data/lv)')
25
+ data.xml_lvnr = result.find('string(/data/lv/@id)')
22
26
  end
23
27
  </dsl>
24
28
  <dslx>
25
29
  <description xmlns="http://cpee.org/ns/description/1.0">
26
- <manipulate id="a22" output="result" language="application/javascript">data.a = 0</manipulate>
27
- <call id="a26" endpoint="timeout">
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">
28
41
  <parameters>
29
- <label>B</label>
30
- <method/>
31
- <type>serviceTask</type>
32
- <mid>sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819</mid>
33
- <parameters>
34
- <timeout>1</timeout>
35
- </parameters>
42
+ <label>Get XML</label>
43
+ <method>get</method>
44
+ <parameters/>
36
45
  </parameters>
37
- <manipulate output="result" language="application/javascript">data.a += 1</manipulate>
46
+ <manipulate>data.xml_lv = result.find('string(/data/lv)')
47
+ data.xml_lvnr = result.find('string(/data/lv/@id)')</manipulate>
38
48
  </call>
39
- <loop pre_test="data.a &lt; 3" language="text/javascript">
40
- <call id="a26" endpoint="timeout">
41
- <parameters>
42
- <label>B</label>
43
- <method/>
44
- <type>serviceTask</type>
45
- <mid>sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819</mid>
46
- <parameters>
47
- <timeout>1</timeout>
48
- </parameters>
49
- </parameters>
50
- <manipulate output="result" language="application/javascript">data.a += 1</manipulate>
51
- </call>
52
- </loop>
53
49
  </description>
54
50
  </dslx>
55
51
  <status>
@@ -57,147 +53,31 @@ end
57
53
  <message>undefined</message>
58
54
  </status>
59
55
  <description>
60
- <definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:signavio="http://www.signavio.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" exporter="Signavio Process Editor, http://www.signavio.com" exporterVersion="7.6.0" expressionLanguage="http://www.w3.org/1999/XPath" id="sid-3defc3e5-0d9d-49ab-a544-09f484e9665e" targetNamespace="http://www.signavio.com/bpmn20" typeLanguage="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL http://www.omg.org/spec/BPMN/2.0/20100501/BPMN20.xsd">
61
- <itemDefinition id="timeout" isCollection="false" structureRef="http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php"/>
62
- <process id="sid-e7ec7f0f-533f-46b9-8508-e6cab411a15d" isClosed="false" isExecutable="true" processType="None">
63
- <property id="sid-8b87c302-5376-421b-9cd9-e41aaa198a14" itemSubjectRef="timeout">
64
- <dataState id="sid-1117f953-b5d5-42ef-b707-c082dc3d978b" name="cpee:endpoint"/>
65
- </property>
66
- <property id="sid-d0b230e9-4665-40da-8d4c-cfdbd2c30c3a" name="a">
67
- <dataState id="sid-41a3c137-21ff-488f-920a-66bd2de5e2de" name="cpee:dataelement"/>
68
- </property>
69
- <scriptTask completionQuantity="1" id="sid-AE367C8A-F10A-4D12-A504-D9D1F26EC9DB" isForCompensation="false" name="A" scriptFormat="application/javascript" startQuantity="1">
70
- <extensionElements>
71
- <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffcc"/>
72
- <signavio:signavioMetaData metaKey="risklevel" metaValue=""/>
73
- <signavio:signavioMetaData metaKey="externaldocuments" metaValue="[]"/>
74
- </extensionElements>
75
- <incoming>sid-94FB40DD-638F-456C-98F7-1A1C1D7289DA</incoming>
76
- <outgoing>sid-564DD764-715A-4CE7-9041-049B1378F1E9</outgoing>
77
- <script>data.a = 0
78
- </script>
79
- </scriptTask>
80
- <exclusiveGateway default="sid-50971135-760B-4E94-A668-750D20161820" gatewayDirection="Diverging" id="sid-13A34C12-BE7A-4B17-A6C9-064F97F5C720" name="">
81
- <extensionElements>
82
- <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffff"/>
83
- </extensionElements>
84
- <incoming>sid-5767BE20-FA77-40C8-8BA1-5CE7F08BE49A</incoming>
85
- <outgoing>sid-50971135-760B-4E94-A668-750D20161820</outgoing>
86
- <outgoing>sid-6287006E-67AC-4F0B-957B-DAA1B25481BB</outgoing>
87
- </exclusiveGateway>
88
- <endEvent id="sid-A9E292EC-7A6E-477C-9FB7-CBBF0FCEB65A" name="">
89
- <extensionElements>
90
- <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffff"/>
91
- </extensionElements>
92
- <incoming>sid-50971135-760B-4E94-A668-750D20161820</incoming>
93
- </endEvent>
94
- <startEvent id="sid-2A054430-1FC6-495B-B993-C52D7E8F4C5A" name="">
95
- <extensionElements>
96
- <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffff"/>
97
- </extensionElements>
98
- <outgoing>sid-94FB40DD-638F-456C-98F7-1A1C1D7289DA</outgoing>
99
- </startEvent>
100
- <serviceTask completionQuantity="1" id="sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819" implementation="unspecified" isForCompensation="false" name="B&#10;" startQuantity="1">
101
- <extensionElements>
102
- <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffcc"/>
103
- <signavio:signavioMetaData metaKey="risklevel" metaValue=""/>
104
- <signavio:signavioMetaData metaKey="externaldocuments" metaValue="[]"/>
105
- </extensionElements>
106
- <incoming>sid-564DD764-715A-4CE7-9041-049B1378F1E9</incoming>
107
- <incoming>sid-6287006E-67AC-4F0B-957B-DAA1B25481BB</incoming>
108
- <outgoing>sid-4D71E4A1-65DE-482D-934B-A8DA84976540</outgoing>
109
- <ioSpecification id="sid-fd521444-b8e5-4112-852b-e97dc282c7bc">
110
- <dataInput id="sid-267030ed-8cfb-4efc-864a-7c76731717df" itemSubjectRef="1" name="timeout"/>
111
- <dataOutput id="result" isCollection="true" name="result"/>
112
- </ioSpecification>
113
- <property id="sid-3c14c71f-a713-43cb-a97e-8e0feef6c76f" itemSubjectRef="timeout" name="cpee:endpoint"/>
114
- <dataOutputAssociation id="sid-d12149f5-e3fe-4be8-9572-ac6f52590e6c">
115
- <sourceRef>result</sourceRef>
116
- <targetRef>sid-2B36B8D1-1C12-42B0-B9F4-95B8D987A952</targetRef>
117
- </dataOutputAssociation>
118
- </serviceTask>
119
- <scriptTask completionQuantity="1" id="sid-2B36B8D1-1C12-42B0-B9F4-95B8D987A952" isForCompensation="false" name="BS" scriptFormat="application/javascript" startQuantity="1">
120
- <extensionElements>
121
- <signavio:signavioMetaData metaKey="bgcolor" metaValue="#ffffcc"/>
122
- <signavio:signavioMetaData metaKey="risklevel" metaValue=""/>
123
- <signavio:signavioMetaData metaKey="externaldocuments" metaValue="[]"/>
124
- </extensionElements>
125
- <incoming>sid-4D71E4A1-65DE-482D-934B-A8DA84976540</incoming>
126
- <outgoing>sid-5767BE20-FA77-40C8-8BA1-5CE7F08BE49A</outgoing>
127
- <script>data.a += 1
128
- </script>
129
- </scriptTask>
130
- <sequenceFlow id="sid-94FB40DD-638F-456C-98F7-1A1C1D7289DA" name="" sourceRef="sid-2A054430-1FC6-495B-B993-C52D7E8F4C5A" targetRef="sid-AE367C8A-F10A-4D12-A504-D9D1F26EC9DB"/>
131
- <sequenceFlow id="sid-564DD764-715A-4CE7-9041-049B1378F1E9" name="" sourceRef="sid-AE367C8A-F10A-4D12-A504-D9D1F26EC9DB" targetRef="sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819"/>
132
- <sequenceFlow id="sid-50971135-760B-4E94-A668-750D20161820" name="" sourceRef="sid-13A34C12-BE7A-4B17-A6C9-064F97F5C720" targetRef="sid-A9E292EC-7A6E-477C-9FB7-CBBF0FCEB65A"/>
133
- <sequenceFlow id="sid-5767BE20-FA77-40C8-8BA1-5CE7F08BE49A" name="" sourceRef="sid-2B36B8D1-1C12-42B0-B9F4-95B8D987A952" targetRef="sid-13A34C12-BE7A-4B17-A6C9-064F97F5C720"/>
134
- <sequenceFlow id="sid-4D71E4A1-65DE-482D-934B-A8DA84976540" name="" sourceRef="sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819" targetRef="sid-2B36B8D1-1C12-42B0-B9F4-95B8D987A952"/>
135
- <sequenceFlow id="sid-6287006E-67AC-4F0B-957B-DAA1B25481BB" name="" sourceRef="sid-13A34C12-BE7A-4B17-A6C9-064F97F5C720" targetRef="sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819">
136
- <conditionExpression id="sid-396bdaa2-591f-41ab-842f-e3e7b0e21f79" xsi:type="tFormalExpression">data.a &lt; 3</conditionExpression>
137
- </sequenceFlow>
138
- </process>
139
- <bpmndi:BPMNDiagram id="sid-386eba6e-be23-4074-b5d6-90b0941ad55e">
140
- <bpmndi:BPMNPlane bpmnElement="sid-e7ec7f0f-533f-46b9-8508-e6cab411a15d" id="sid-31933578-8c41-4391-9a75-accbd8fc04a2">
141
- <bpmndi:BPMNShape bpmnElement="sid-AE367C8A-F10A-4D12-A504-D9D1F26EC9DB" id="sid-AE367C8A-F10A-4D12-A504-D9D1F26EC9DB_gui">
142
- <omgdc:Bounds height="80.0" width="100.0" x="135.0" y="75.0"/>
143
- <bpmndi:BPMNLabel>
144
- <omgdc:Bounds height="12.0" width="8.571426391601562" x="180.71428680419922" y="108.0"/>
145
- </bpmndi:BPMNLabel>
146
- </bpmndi:BPMNShape>
147
- <bpmndi:BPMNShape bpmnElement="sid-13A34C12-BE7A-4B17-A6C9-064F97F5C720" id="sid-13A34C12-BE7A-4B17-A6C9-064F97F5C720_gui" isMarkerVisible="true">
148
- <omgdc:Bounds height="40.0" width="40.0" x="585.0" y="95.0"/>
149
- </bpmndi:BPMNShape>
150
- <bpmndi:BPMNShape bpmnElement="sid-A9E292EC-7A6E-477C-9FB7-CBBF0FCEB65A" id="sid-A9E292EC-7A6E-477C-9FB7-CBBF0FCEB65A_gui">
151
- <omgdc:Bounds height="28.0" width="28.0" x="670.0" y="101.0"/>
152
- </bpmndi:BPMNShape>
153
- <bpmndi:BPMNShape bpmnElement="sid-2A054430-1FC6-495B-B993-C52D7E8F4C5A" id="sid-2A054430-1FC6-495B-B993-C52D7E8F4C5A_gui">
154
- <omgdc:Bounds height="30.0" width="30.0" x="60.0" y="100.0"/>
155
- </bpmndi:BPMNShape>
156
- <bpmndi:BPMNShape bpmnElement="sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819" id="sid-49FC5AAA-6F02-4F10-9379-6AB4AADDF819_gui">
157
- <omgdc:Bounds height="80.0" width="100.0" x="278.0" y="75.0"/>
158
- <bpmndi:BPMNLabel>
159
- <omgdc:Bounds height="12.0" width="8.571426391601562" x="323.7142868041992" y="108.0"/>
160
- </bpmndi:BPMNLabel>
161
- </bpmndi:BPMNShape>
162
- <bpmndi:BPMNShape bpmnElement="sid-2B36B8D1-1C12-42B0-B9F4-95B8D987A952" id="sid-2B36B8D1-1C12-42B0-B9F4-95B8D987A952_gui">
163
- <omgdc:Bounds height="80.0" width="100.0" x="440.0" y="75.0"/>
164
- <bpmndi:BPMNLabel>
165
- <omgdc:Bounds height="12.0" width="17.142852783203125" x="481.42857360839844" y="108.0"/>
166
- </bpmndi:BPMNLabel>
167
- </bpmndi:BPMNShape>
168
- <bpmndi:BPMNEdge bpmnElement="sid-50971135-760B-4E94-A668-750D20161820" id="sid-50971135-760B-4E94-A668-750D20161820_gui">
169
- <omgdi:waypoint x="625.0" y="115.37579617834395"/>
170
- <omgdi:waypoint x="670.0" y="115.08917197452229"/>
171
- </bpmndi:BPMNEdge>
172
- <bpmndi:BPMNEdge bpmnElement="sid-6287006E-67AC-4F0B-957B-DAA1B25481BB" id="sid-6287006E-67AC-4F0B-957B-DAA1B25481BB_gui">
173
- <omgdi:waypoint x="605.5" y="135.0"/>
174
- <omgdi:waypoint x="605.5" y="214.0"/>
175
- <omgdi:waypoint x="328.0" y="214.0"/>
176
- <omgdi:waypoint x="328.0" y="155.0"/>
177
- </bpmndi:BPMNEdge>
178
- <bpmndi:BPMNEdge bpmnElement="sid-4D71E4A1-65DE-482D-934B-A8DA84976540" id="sid-4D71E4A1-65DE-482D-934B-A8DA84976540_gui">
179
- <omgdi:waypoint x="378.0" y="115.0"/>
180
- <omgdi:waypoint x="440.0" y="115.0"/>
181
- </bpmndi:BPMNEdge>
182
- <bpmndi:BPMNEdge bpmnElement="sid-5767BE20-FA77-40C8-8BA1-5CE7F08BE49A" id="sid-5767BE20-FA77-40C8-8BA1-5CE7F08BE49A_gui">
183
- <omgdi:waypoint x="540.0" y="115.5"/>
184
- <omgdi:waypoint x="585.0" y="115.5"/>
185
- </bpmndi:BPMNEdge>
186
- <bpmndi:BPMNEdge bpmnElement="sid-94FB40DD-638F-456C-98F7-1A1C1D7289DA" id="sid-94FB40DD-638F-456C-98F7-1A1C1D7289DA_gui">
187
- <omgdi:waypoint x="90.0" y="115.0"/>
188
- <omgdi:waypoint x="135.0" y="115.0"/>
189
- </bpmndi:BPMNEdge>
190
- <bpmndi:BPMNEdge bpmnElement="sid-564DD764-715A-4CE7-9041-049B1378F1E9" id="sid-564DD764-715A-4CE7-9041-049B1378F1E9_gui">
191
- <omgdi:waypoint x="235.0" y="115.0"/>
192
- <omgdi:waypoint x="278.0" y="115.0"/>
193
- </bpmndi:BPMNEdge>
194
- </bpmndi:BPMNPlane>
195
- </bpmndi:BPMNDiagram>
196
- </definitions>
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>
197
77
  </description>
198
78
  <transformation>
199
- <description type="rest">http://localhost:9295/bpmn2/</description>
200
- <dataelements type="rest">http://localhost:9295/bpmn2/</dataelements>
201
- <endpoints type="rest">http://localhost:9295/bpmn2/</endpoints>
79
+ <description type="copy"/>
80
+ <dataelements type="xslt"/>
81
+ <endpoints type="xslt"/>
202
82
  </transformation>
203
83
  </properties>