cpee 1.5.20 → 1.5.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/index.html +2 -2
- data/cockpit/js/instance.js +6 -6
- data/cockpit/rngs/attributes.rng +2 -2
- data/cockpit/rngs/dataelements.rng +2 -2
- data/cockpit/rngs/endpoints.rng +2 -2
- data/cockpit/{testsets → templates.legacy}/Async.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/BCO.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/BCS.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/Centurio.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/Concurrent.xml +0 -0
- data/cockpit/testsets/Coopis Testset.xml b/data/cockpit/templates.legacy/Coopis → Testset.xml +0 -0
- data/cockpit/testsets/Endpoints and Data Manipulation.xml b/data/cockpit/templates.legacy/Endpoints and Data → Manipulation.xml +0 -0
- data/cockpit/testsets/ICSOC Testset.xml b/data/cockpit/templates.legacy/ICSOC → Testset.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/Infinity.xml +0 -0
- data/cockpit/testsets/Lego Boxer.xml b/data/cockpit/templates.legacy/Lego → Boxer.xml +0 -0
- data/cockpit/testsets/Lego Conveyor.xml b/data/cockpit/templates.legacy/Lego → Conveyor.xml +0 -0
- data/cockpit/testsets/Lego Crane.xml b/data/cockpit/templates.legacy/Lego → Crane.xml +0 -0
- data/cockpit/testsets/Lego Ejector.xml b/data/cockpit/templates.legacy/Lego → Ejector.xml +0 -0
- data/cockpit/testsets/Lego Full.xml b/data/cockpit/templates.legacy/Lego → Full.xml +0 -0
- data/cockpit/testsets/Lego Liddy.xml b/data/cockpit/templates.legacy/Lego → Liddy.xml +0 -0
- data/cockpit/testsets/Lego Plate.xml b/data/cockpit/templates.legacy/Lego → Plate.xml +0 -0
- data/cockpit/testsets/Lego Transporter.xml b/data/cockpit/templates.legacy/Lego → Transporter.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/Lego_Part_1.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/LgLinear.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/Linear.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/Log.xml +0 -0
- data/cockpit/testsets/Mangler 1.xml b/data/cockpit/templates.legacy/Mangler → 1.xml +0 -0
- data/cockpit/testsets/Mangler 2.xml b/data/cockpit/templates.legacy/Mangler → 2.xml +0 -0
- data/cockpit/testsets/Manuel Labels.xml b/data/cockpit/templates.legacy/Manuel → Labels.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/Promise.xml +0 -0
- data/cockpit/testsets/SOPROMO Test Sonification.xml b/data/cockpit/templates.legacy/SOPROMO Test → Sonification.xml +0 -0
- data/cockpit/testsets/Syncing P34 1.xml b/data/cockpit/templates.legacy/Syncing P34 → 1.xml +0 -0
- data/cockpit/testsets/Syncing P34 2.xml b/data/cockpit/templates.legacy/Syncing P34 → 2.xml +0 -0
- data/cockpit/testsets/Syncing P34 3.xml b/data/cockpit/templates.legacy/Syncing P34 → 3.xml +0 -0
- data/cockpit/testsets/Syncing P34.xml b/data/cockpit/templates.legacy/Syncing → P34.xml +0 -0
- data/cockpit/testsets/TEST - Bad Loop.xml b/data/cockpit/templates.legacy/TEST - Bad → Loop.xml +0 -0
- data/cockpit/testsets/TEST - Wrong Positions.xml b/data/cockpit/templates.legacy/TEST - Wrong → Positions.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/Update.xml +0 -0
- data/cockpit/testsets/Worklist Parallel.xml b/data/cockpit/templates.legacy/Worklist → Parallel.xml +0 -0
- data/cockpit/testsets/Worklist Test CPEE.xml b/data/cockpit/templates.legacy/Worklist Test → CPEE.xml +0 -0
- data/cockpit/testsets/Worklist Test.xml b/data/cockpit/templates.legacy/Worklist → Test.xml +0 -0
- data/cockpit/testsets/Worklist Test2.xml b/data/cockpit/templates.legacy/Worklist → Test2.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/convert_preset.rb +0 -0
- data/cockpit/{testsets → templates.legacy}/testsets.xml +0 -0
- data/cockpit/{testsets → templates.legacy}/transformations.xml +0 -0
- data/cockpit/templates/BPM 2020 Manual Adjust.xml +235 -0
- data/cockpit/templates/BPM 2020 Solution Baseline.xml +250 -0
- data/cockpit/templates/BPM 2020 Solution NN.xml +243 -0
- data/cockpit/templates/BPM 2020 Solution View.xml +200 -0
- data/cockpit/templates/BPM 2020.xml +15 -0
- data/cockpit/templates/Coopis 2010.xml +76 -0
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml +80 -0
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml +80 -0
- data/cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml +80 -0
- data/cockpit/{testsets/Take_5.xml → templates/Worklist.xml} +15 -21
- data/cockpit/templates/convert_preset.rb +32 -0
- data/cockpit/templates/testsets.xml +11 -0
- data/cockpit/templates/transformations.xml +4 -0
- data/cockpit/themes/compact/rngs/call.rng +6 -0
- data/cockpit/themes/compact/rngs/callmanipulate.rng +6 -0
- data/cockpit/themes/compact/theme.js +1 -1
- data/cockpit/themes/default/rngs/callmanipulate.rng +4 -4
- data/cockpit/themes/default/theme.js +1 -1
- data/cockpit/themes/extended/rngs/call.rng +6 -0
- data/cockpit/themes/extended/rngs/callmanipulate.rng +6 -0
- data/cockpit/themes/extended/theme.js +7 -22
- data/cockpit/themes/labels/rngs/callmanipulate.rng +4 -4
- data/cockpit/themes/model/theme.js +1 -1
- data/cockpit/themes/packed/rngs/call.rng +6 -0
- data/cockpit/themes/packed/rngs/callmanipulate.rng +6 -0
- data/cockpit/themes/packed/theme.js +1 -1
- data/cockpit/themes/preset/rngs/call.rng +6 -0
- data/cockpit/themes/preset/rngs/callmanipulate.rng +6 -0
- data/cockpit/themes/preset/theme.js +1 -1
- data/cpee.gemspec +2 -1
- data/lib/cpee/controller.rb +1 -1
- data/lib/cpee/instantiation.rb +2 -1
- data/log/sic.rb +1 -0
- data/server/handlerwrappers/default.rb +5 -1
- data/server/resources/transformation_dslx.xsl +3 -0
- data/tools/instantiation/instantiation +1 -0
- data/tools/server/server.rb +1 -0
- metadata +75 -51
- data/cockpit/test.html +0 -40
- data/cockpit/testsets/Subprocess.xml +0 -56
- data/server/resources/notifications/logging/consumer-secret +0 -1
- data/server/resources/notifications/logging/producer-secret +0 -1
- data/server/resources/notifications/logging/subscription.xml +0 -19
- data/server/resources/test1.xml +0 -58
- data/server/resources/test2.xml +0 -60
- data/server/resources/test3.xml +0 -217
@@ -0,0 +1,76 @@
|
|
1
|
+
<testset>
|
2
|
+
<positions/>
|
3
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
4
|
+
<dataelements>
|
5
|
+
<persons>3</persons>
|
6
|
+
<card>Visa_12345</card>
|
7
|
+
<airline>null</airline>
|
8
|
+
<hotels>[]</hotels>
|
9
|
+
<from>Vienna</from>
|
10
|
+
<to>Prague</to>
|
11
|
+
<costs>0</costs>
|
12
|
+
</dataelements>
|
13
|
+
<endpoints>
|
14
|
+
<bookAir>http://gruppe.wst.univie.ac.at/~mangler/services/airline.php</bookAir>
|
15
|
+
<bookHotel>http://gruppe.wst.univie.ac.at/~mangler/services/hotel.php</bookHotel>
|
16
|
+
<approve>http://gruppe.wst.univie.ac.at/~mangler/services/approval.php</approve>
|
17
|
+
</endpoints>
|
18
|
+
<description>
|
19
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
20
|
+
<call id="a1" endpoint="bookAir">
|
21
|
+
<parameters>
|
22
|
+
<label>Book Airline</label>
|
23
|
+
<method>:post</method>
|
24
|
+
<arguments>
|
25
|
+
<from>data.from</from>
|
26
|
+
<to>data.to</to>
|
27
|
+
<persons>data.persons</persons>
|
28
|
+
</arguments>
|
29
|
+
</parameters>
|
30
|
+
<code>
|
31
|
+
<finalize output="result">data.airline = result.value('id')
|
32
|
+
data.costs += result.value('costs').to_f
|
33
|
+
status.update 1, 'Hotel'</finalize>
|
34
|
+
</code>
|
35
|
+
</call>
|
36
|
+
<parallel>
|
37
|
+
<loop mode="pre_test" condition="data.persons > 0">
|
38
|
+
<parallel_branch pass="data.persons" local="p">
|
39
|
+
<call id="a2" endpoint="bookHotel">
|
40
|
+
<parameters>
|
41
|
+
<label>Book Hotel</label>
|
42
|
+
<method>:post</method>
|
43
|
+
<arguments>
|
44
|
+
<to>data.to</to>
|
45
|
+
</arguments>
|
46
|
+
</parameters>
|
47
|
+
<code>
|
48
|
+
<finalize output="result">data.hotels << result.value('id')
|
49
|
+
data.costs += result.value('costs').to_f</finalize>
|
50
|
+
</code>
|
51
|
+
</call>
|
52
|
+
</parallel_branch>
|
53
|
+
<manipulate id="a3">data.persons -= 1</manipulate>
|
54
|
+
</loop>
|
55
|
+
</parallel>
|
56
|
+
<choose mode="inclusive">
|
57
|
+
<alternative condition="data.costs > 700">
|
58
|
+
<call id="a4" endpoint="approve">
|
59
|
+
<parameters>
|
60
|
+
<label>Approve Hotel</label>
|
61
|
+
<method>:post</method>
|
62
|
+
<arguments>
|
63
|
+
<costs>data.costs</costs>
|
64
|
+
</arguments>
|
65
|
+
</parameters>
|
66
|
+
</call>
|
67
|
+
</alternative>
|
68
|
+
</choose>
|
69
|
+
</description>
|
70
|
+
</description>
|
71
|
+
<transformation>
|
72
|
+
<description type="copy"/>
|
73
|
+
<dataelements type="rest"/>
|
74
|
+
<endpoints type="rest"/>
|
75
|
+
</transformation>
|
76
|
+
</testset>
|
@@ -0,0 +1,80 @@
|
|
1
|
+
<testset>
|
2
|
+
<attributes>
|
3
|
+
<info>Syncing Instance 1</info>
|
4
|
+
<modeltype>CPEE</modeltype>
|
5
|
+
<theme>preset</theme>
|
6
|
+
</attributes>
|
7
|
+
<positions/>
|
8
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
9
|
+
<dataelements>
|
10
|
+
<!--{{{-->
|
11
|
+
<x/>
|
12
|
+
</dataelements>
|
13
|
+
<!--}}}-->
|
14
|
+
<handlers>
|
15
|
+
<!--{{{-->
|
16
|
+
<handler url="http://localhost:9399/1/events">
|
17
|
+
<votes topic="activity">syncing_before,syncing_after</votes>
|
18
|
+
</handler>
|
19
|
+
</handlers>
|
20
|
+
<!--}}}-->
|
21
|
+
<endpoints>
|
22
|
+
<!--{{{-->
|
23
|
+
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
24
|
+
<timeouts>http://gruppe.wst.univie.ac.at/~mangler/services/timeout-sync.php</timeouts>
|
25
|
+
</endpoints>
|
26
|
+
<!--}}}-->
|
27
|
+
<description>
|
28
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
29
|
+
<!--{{{-->
|
30
|
+
<call id="a1" endpoint="timeout">
|
31
|
+
<parameters>
|
32
|
+
<!--{{{-->
|
33
|
+
<label>Task 1</label>
|
34
|
+
<method>:post</method>
|
35
|
+
<arguments>
|
36
|
+
<timeout>2</timeout>
|
37
|
+
</arguments>
|
38
|
+
</parameters>
|
39
|
+
<!--}}}-->
|
40
|
+
<code>
|
41
|
+
<finalize output="result">data.x += "a1,"</finalize>
|
42
|
+
</code>
|
43
|
+
</call>
|
44
|
+
<call id="a2" endpoint="timeouts">
|
45
|
+
<parameters>
|
46
|
+
<!--{{{-->
|
47
|
+
<label>Resource Synchronisation</label>
|
48
|
+
<method>:post</method>
|
49
|
+
<arguments>
|
50
|
+
<timeout>4</timeout>
|
51
|
+
</arguments>
|
52
|
+
</parameters>
|
53
|
+
<!--}}}-->
|
54
|
+
<code>
|
55
|
+
<finalize output="result">data.x += "a2,"</finalize>
|
56
|
+
</code>
|
57
|
+
</call>
|
58
|
+
<call id="a3" endpoint="timeout">
|
59
|
+
<parameters>
|
60
|
+
<!--{{{-->
|
61
|
+
<label>Task 3</label>
|
62
|
+
<method>:post</method>
|
63
|
+
<arguments>
|
64
|
+
<timeout>4</timeout>
|
65
|
+
</arguments>
|
66
|
+
</parameters>
|
67
|
+
<!--}}}-->
|
68
|
+
<code>
|
69
|
+
<finalize output="result">data.x += "a3,"</finalize>
|
70
|
+
</code>
|
71
|
+
</call>
|
72
|
+
</description>
|
73
|
+
<!--}}}-->
|
74
|
+
</description>
|
75
|
+
<transformation>
|
76
|
+
<description type="copy"/>
|
77
|
+
<dataelements type="rest"/>
|
78
|
+
<endpoints type="rest"/>
|
79
|
+
</transformation>
|
80
|
+
</testset>
|
@@ -0,0 +1,80 @@
|
|
1
|
+
<testset>
|
2
|
+
<attributes>
|
3
|
+
<info>Syncing Instance 2</info>
|
4
|
+
<modeltype>CPEE</modeltype>
|
5
|
+
<theme>preset</theme>
|
6
|
+
</attributes>
|
7
|
+
<positions/>
|
8
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
9
|
+
<dataelements>
|
10
|
+
<!--{{{-->
|
11
|
+
<x/>
|
12
|
+
</dataelements>
|
13
|
+
<!--}}}-->
|
14
|
+
<handlers>
|
15
|
+
<!--{{{-->
|
16
|
+
<handler url="http://localhost:9399/1/events">
|
17
|
+
<votes topic="activity">syncing_before,syncing_after</votes>
|
18
|
+
</handler>
|
19
|
+
</handlers>
|
20
|
+
<!--}}}-->
|
21
|
+
<endpoints>
|
22
|
+
<!--{{{-->
|
23
|
+
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
24
|
+
<timeouts>http://gruppe.wst.univie.ac.at/~mangler/services/timeout-sync.php</timeouts>
|
25
|
+
</endpoints>
|
26
|
+
<!--}}}-->
|
27
|
+
<description>
|
28
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
29
|
+
<!--{{{-->
|
30
|
+
<call id="a1" endpoint="timeout">
|
31
|
+
<parameters>
|
32
|
+
<!--{{{-->
|
33
|
+
<label>Task 1</label>
|
34
|
+
<method>:post</method>
|
35
|
+
<arguments>
|
36
|
+
<timeout>2</timeout>
|
37
|
+
</arguments>
|
38
|
+
</parameters>
|
39
|
+
<!--}}}-->
|
40
|
+
<code>
|
41
|
+
<finalize output="result">data.x += "a1,"</finalize>
|
42
|
+
</code>
|
43
|
+
</call>
|
44
|
+
<call id="a2" endpoint="timeouts">
|
45
|
+
<parameters>
|
46
|
+
<!--{{{-->
|
47
|
+
<label>Resource Synchronisation</label>
|
48
|
+
<method>:post</method>
|
49
|
+
<arguments>
|
50
|
+
<timeout>10</timeout>
|
51
|
+
</arguments>
|
52
|
+
</parameters>
|
53
|
+
<!--}}}-->
|
54
|
+
<code>
|
55
|
+
<finalize output="result">data.x += "a2,"</finalize>
|
56
|
+
</code>
|
57
|
+
</call>
|
58
|
+
<call id="a3" endpoint="timeout">
|
59
|
+
<parameters>
|
60
|
+
<!--{{{-->
|
61
|
+
<label>Task 3</label>
|
62
|
+
<method>:post</method>
|
63
|
+
<arguments>
|
64
|
+
<timeout>4</timeout>
|
65
|
+
</arguments>
|
66
|
+
</parameters>
|
67
|
+
<!--}}}-->
|
68
|
+
<code>
|
69
|
+
<finalize output="result">data.x += "a3,"</finalize>
|
70
|
+
</code>
|
71
|
+
</call>
|
72
|
+
</description>
|
73
|
+
<!--}}}-->
|
74
|
+
</description>
|
75
|
+
<transformation>
|
76
|
+
<description type="copy"/>
|
77
|
+
<dataelements type="rest"/>
|
78
|
+
<endpoints type="rest"/>
|
79
|
+
</transformation>
|
80
|
+
</testset>
|
@@ -0,0 +1,80 @@
|
|
1
|
+
<testset>
|
2
|
+
<attributes>
|
3
|
+
<info>Syncing Instance 3</info>
|
4
|
+
<modeltype>CPEE</modeltype>
|
5
|
+
<theme>preset</theme>
|
6
|
+
</attributes>
|
7
|
+
<positions/>
|
8
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
9
|
+
<dataelements>
|
10
|
+
<!--{{{-->
|
11
|
+
<x/>
|
12
|
+
</dataelements>
|
13
|
+
<!--}}}-->
|
14
|
+
<handlers>
|
15
|
+
<!--{{{-->
|
16
|
+
<handler url="http://localhost:9399/1/events">
|
17
|
+
<votes topic="activity">syncing_before,syncing_after</votes>
|
18
|
+
</handler>
|
19
|
+
</handlers>
|
20
|
+
<!--}}}-->
|
21
|
+
<endpoints>
|
22
|
+
<!--{{{-->
|
23
|
+
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
24
|
+
<timeouts>http://gruppe.wst.univie.ac.at/~mangler/services/timeout-sync.php</timeouts>
|
25
|
+
</endpoints>
|
26
|
+
<!--}}}-->
|
27
|
+
<description>
|
28
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
29
|
+
<!--{{{-->
|
30
|
+
<call id="a1" endpoint="timeout">
|
31
|
+
<parameters>
|
32
|
+
<!--{{{-->
|
33
|
+
<label>Task 1</label>
|
34
|
+
<method>:post</method>
|
35
|
+
<arguments>
|
36
|
+
<timeout>2</timeout>
|
37
|
+
</arguments>
|
38
|
+
</parameters>
|
39
|
+
<!--}}}-->
|
40
|
+
<code>
|
41
|
+
<finalize output="result">data.x += "a1,"</finalize>
|
42
|
+
</code>
|
43
|
+
</call>
|
44
|
+
<call id="a2" endpoint="timeouts">
|
45
|
+
<parameters>
|
46
|
+
<!--{{{-->
|
47
|
+
<label>Resource Synchronisation</label>
|
48
|
+
<method>:post</method>
|
49
|
+
<arguments>
|
50
|
+
<timeout>16</timeout>
|
51
|
+
</arguments>
|
52
|
+
</parameters>
|
53
|
+
<!--}}}-->
|
54
|
+
<code>
|
55
|
+
<finalize output="result">data.x += "a2,"</finalize>
|
56
|
+
</code>
|
57
|
+
</call>
|
58
|
+
<call id="a3" endpoint="timeout">
|
59
|
+
<parameters>
|
60
|
+
<!--{{{-->
|
61
|
+
<label>Task 3</label>
|
62
|
+
<method>:post</method>
|
63
|
+
<arguments>
|
64
|
+
<timeout>4</timeout>
|
65
|
+
</arguments>
|
66
|
+
</parameters>
|
67
|
+
<!--}}}-->
|
68
|
+
<code>
|
69
|
+
<finalize output="result">data.x += "a3,"</finalize>
|
70
|
+
</code>
|
71
|
+
</call>
|
72
|
+
</description>
|
73
|
+
<!--}}}-->
|
74
|
+
</description>
|
75
|
+
<transformation>
|
76
|
+
<description type="copy"/>
|
77
|
+
<dataelements type="rest"/>
|
78
|
+
<endpoints type="rest"/>
|
79
|
+
</transformation>
|
80
|
+
</testset>
|
@@ -1,35 +1,31 @@
|
|
1
1
|
<testset>
|
2
|
-
<dataelements
|
2
|
+
<dataelements>
|
3
|
+
<bla xmlns="http://riddl.org/ns/common-patterns/properties/1.0"/>
|
4
|
+
</dataelements>
|
3
5
|
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
4
6
|
<endpoints>
|
5
7
|
<timeout xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
8
|
+
<worklist xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://cpee.org:9398</worklist>
|
6
9
|
</endpoints>
|
7
10
|
<positions/>
|
8
11
|
<description>
|
9
12
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
10
|
-
<call id="a1" endpoint="
|
13
|
+
<call id="a1" endpoint="worklist">
|
11
14
|
<parameters>
|
12
|
-
<label
|
15
|
+
<label>"OK OR NOT OK"</label>
|
13
16
|
<method>:post</method>
|
14
17
|
<arguments>
|
15
|
-
<
|
18
|
+
<orgmodel>"organisation1"</orgmodel>
|
19
|
+
<domain>"Virtual Business 1"</domain>
|
20
|
+
<form>"http://cpee.org/~demo/form/form-f.html"</form>
|
21
|
+
<role>"Regular"</role>
|
22
|
+
<schaden>"55546"</schaden>
|
23
|
+
<text>"fetzen hin"</text>
|
16
24
|
</arguments>
|
17
25
|
</parameters>
|
18
26
|
<code>
|
19
|
-
<finalize
|
20
|
-
<update output="result"/>
|
27
|
+
<finalize>data.bla = result</finalize>
|
21
28
|
</code>
|
22
|
-
<annotations>
|
23
|
-
<_timing>
|
24
|
-
<_timing_min/>
|
25
|
-
<_timing_max/>
|
26
|
-
<_timing_avg/>
|
27
|
-
</_timing>
|
28
|
-
<_notes>
|
29
|
-
<_notes_general/>
|
30
|
-
<_attachments/>
|
31
|
-
</_notes>
|
32
|
-
</annotations>
|
33
29
|
</call>
|
34
30
|
</description>
|
35
31
|
</description>
|
@@ -39,10 +35,8 @@
|
|
39
35
|
<endpoints type="none"/>
|
40
36
|
</transformation>
|
41
37
|
<attributes>
|
42
|
-
<info xmlns="http://riddl.org/ns/common-patterns/properties/1.0"
|
38
|
+
<info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">asda</info>
|
43
39
|
<modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
|
44
|
-
<
|
45
|
-
<customer xmlns="http://riddl.org/ns/common-patterns/properties/1.0">pilotfabrik</customer>
|
46
|
-
<status xmlns="http://riddl.org/ns/common-patterns/properties/1.0">development</status>
|
40
|
+
<organisation1 xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://cpee.org/~demo/orgviz/organisation_informatik.xml</organisation1>
|
47
41
|
</attributes>
|
48
42
|
</testset>
|
@@ -0,0 +1,32 @@
|
|
1
|
+
#!/usr/bin/ruby
|
2
|
+
require 'xml/smart'
|
3
|
+
|
4
|
+
Dir['*.xml'].each do |f|
|
5
|
+
XML::Smart.modify(f) do |doc|
|
6
|
+
p f
|
7
|
+
doc.register_namespace 'd', 'http://cpee.org/ns/description/1.0'
|
8
|
+
doc.register_namespace 'p', 'http://riddl.org/ns/common-patterns/properties/1.0'
|
9
|
+
if doc.root.qname.name == 'testset'
|
10
|
+
doc.find('//d:call').each do |e|
|
11
|
+
x = e.find('d:finalize')
|
12
|
+
if x.length > 0
|
13
|
+
code = x.first.add_before 'code'
|
14
|
+
code.add x
|
15
|
+
code.add e.find('d:update')
|
16
|
+
end
|
17
|
+
x = e.find('d:_timing')
|
18
|
+
if x.length > 0
|
19
|
+
code = x.first.add_before 'annotations'
|
20
|
+
code.add x
|
21
|
+
code.add e.find('d:_notes')
|
22
|
+
end
|
23
|
+
end
|
24
|
+
begin
|
25
|
+
if doc.find('//attributes/p:theme').any?
|
26
|
+
doc.find('//attributes/p:theme').first.text = 'preset'
|
27
|
+
end
|
28
|
+
rescue
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<testsets>
|
2
|
+
<testset>BPM 2020</testset>
|
3
|
+
<testset>BPM 2020 Solution View</testset>
|
4
|
+
<testset>BPM 2020 Solution Baseline</testset>
|
5
|
+
<testset>BPM 2020 Solution NN</testset>
|
6
|
+
<testset>Coopis 2010</testset>
|
7
|
+
<testset>IUPC arXiv:1104.3609 P34 1</testset>
|
8
|
+
<testset>IUPC arXiv:1104.3609 P34 2</testset>
|
9
|
+
<testset>IUPC arXiv:1104.3609 P34 3</testset>
|
10
|
+
<testset>Worklist</testset>
|
11
|
+
</testsets>
|
@@ -92,6 +92,12 @@
|
|
92
92
|
</element>
|
93
93
|
<element name="annotations" rngui:header="Annotations">
|
94
94
|
<element name="_timing" rngui:header="Timing" rngui:fold="closed">
|
95
|
+
<element name="_timing_wait" rngui:label='ω - Wait'>
|
96
|
+
<data type='float' rngui:label='[0,1]' rngui:default='0.5'/>
|
97
|
+
</element>
|
98
|
+
<element name="_timing_threshold" rngui:label='κ - Threshold'>
|
99
|
+
<data type='float' rngui:label='[0,3,n]' rngui:default='3'/>
|
100
|
+
</element>
|
95
101
|
<element name="_timing_min" rngui:label='Min in min'>
|
96
102
|
<data type='float' rngui:label='Minutes'/>
|
97
103
|
</element>
|
@@ -115,6 +115,12 @@
|
|
115
115
|
</element>
|
116
116
|
<element name="annotations" rngui:header="Annotations">
|
117
117
|
<element name="_timing" rngui:header="Timing" rngui:fold="closed">
|
118
|
+
<element name="_timing_wait" rngui:label='ω - Wait'>
|
119
|
+
<data type='float' rngui:label='[0,1]'/>
|
120
|
+
</element>
|
121
|
+
<element name="_timing_threshold" rngui:label='κ - Threshold'>
|
122
|
+
<data type='float' rngui:label='[0,3,n]'/>
|
123
|
+
</element>
|
118
124
|
<element name="_timing_min" rngui:label='Min in min'>
|
119
125
|
<data type='float' rngui:label='Minutes'/>
|
120
126
|
</element>
|