cpee 1.3.170 → 1.3.171

Sign up to get free protection for your applications and to get access to all the features.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/cockpit/css/ui.css +4 -5
  3. data/cockpit/index.html +4 -2
  4. data/cockpit/js/details.js +4 -4
  5. data/cockpit/js/instance.js +13 -20
  6. data/cockpit/js/parameters.js +3 -3
  7. data/cockpit/js/ui.js +2 -3
  8. data/cockpit/lib/jquery-ui.custom.min.js +8 -259
  9. data/cockpit/lib/jquery.browser.js +40 -0
  10. data/cockpit/lib/jquery.min.js +4 -4
  11. data/cockpit/lib/jquery.svg.min.js +6 -0
  12. data/cockpit/lib/jquery.svgdom.min.js +6 -0
  13. data/cockpit/lib/util.js +16 -11
  14. data/cpee.gemspec +1 -1
  15. data/lib/cpee/processtransformation/cpee.rb +6 -14
  16. data/lib/cpee/processtransformation/target.rb +5 -3
  17. data/server/handlerwrappers/default.rb +7 -16
  18. data/server/instances/1/properties.xml +101 -69
  19. data/server/instances/10/properties.xml +70 -106
  20. data/server/instances/11/properties.xml +73 -133
  21. data/server/instances/12/notifications/8d7f2ae546a742fce3a0a488266ea51d/consumer-secret +1 -0
  22. data/server/instances/12/notifications/8d7f2ae546a742fce3a0a488266ea51d/producer-secret +1 -0
  23. data/server/instances/12/notifications/8d7f2ae546a742fce3a0a488266ea51d/subscription.xml +6 -0
  24. data/server/instances/12/properties.xml +43 -0
  25. data/server/instances/13/notifications/4ff0cde5161c44dae49b263cbc12eaf8/consumer-secret +1 -0
  26. data/server/instances/13/notifications/4ff0cde5161c44dae49b263cbc12eaf8/producer-secret +1 -0
  27. data/server/instances/{11/notifications/e0910b6b5536976209bca471780066f1 → 13/notifications/4ff0cde5161c44dae49b263cbc12eaf8}/subscription.xml +7 -11
  28. data/server/instances/13/properties.xml +146 -0
  29. data/server/instances/14/properties.xml +332 -0
  30. data/server/instances/15/properties.xml +330 -0
  31. data/server/instances/16/properties.xml +265 -0
  32. data/server/instances/17/properties.xml +146 -0
  33. data/server/instances/2/properties.xml +44 -191
  34. data/server/instances/3/properties.xml +44 -70
  35. data/server/instances/4/properties.xml +68 -28
  36. data/server/instances/5/properties.xml +70 -10
  37. data/server/instances/6/properties.xml +55 -175
  38. data/server/instances/7/properties.xml +52 -118
  39. data/server/instances/8/properties.xml +50 -112
  40. data/server/instances/9/properties.xml +47 -115
  41. data/server/resources/properties.init +2 -2
  42. data/server/server.pid +1 -0
  43. metadata +117 -108
  44. data/cockpit/lib/jquery.svgdom.js +0 -281
  45. data/server/instances/1/notifications/d12eff1ac812661c05d7090ce7394cf9/consumer-secret +0 -1
  46. data/server/instances/1/notifications/d12eff1ac812661c05d7090ce7394cf9/producer-secret +0 -1
  47. data/server/instances/1/notifications/d12eff1ac812661c05d7090ce7394cf9/subscription.xml +0 -27
  48. data/server/instances/11/notifications/e0910b6b5536976209bca471780066f1/consumer-secret +0 -1
  49. data/server/instances/11/notifications/e0910b6b5536976209bca471780066f1/producer-secret +0 -1
@@ -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>