cpee 1.3.193 → 1.3.194
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/cockpit/js/instance.js +2 -2
- data/cockpit/testsets/Assline.xml +70 -0
- data/cockpit/testsets/Dispense.xml +178 -0
- data/cockpit/testsets/Ejector.xml +16 -0
- data/cockpit/testsets/LgLinear.xml +50 -0
- data/cockpit/testsets/Log.xml +7 -7
- data/cockpit/testsets/Worklist Test2.xml +40 -0
- data/cpee.gemspec +1 -1
- data/server/handlerwrappers/default.rb +21 -16
- data/server/instances/50/properties.xml +113 -0
- data/server/instances/51/properties.xml +129 -0
- data/server/instances/52/properties.xml +129 -0
- data/server/instances/53/properties.xml +47 -0
- data/server/instances/54/notifications/9873e50be5e9d97ca0b5ddaf61f5403e/consumer-secret +1 -0
- data/server/instances/54/notifications/9873e50be5e9d97ca0b5ddaf61f5403e/producer-secret +1 -0
- data/server/instances/{49/notifications/da0b7d2ef42d814b853496e9f3748e2b → 54/notifications/9873e50be5e9d97ca0b5ddaf61f5403e}/subscription.xml +3 -7
- data/server/instances/54/properties.xml +129 -0
- data/server/resources/topics.xml +1 -0
- data/server/resources/transformation_dslx.xsl +3 -3
- data/server/server.pid +1 -0
- data/server/weel.rb +1 -0
- metadata +16 -4
- data/server/instances/49/notifications/da0b7d2ef42d814b853496e9f3748e2b/consumer-secret +0 -1
- data/server/instances/49/notifications/da0b7d2ef42d814b853496e9f3748e2b/producer-secret +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1239b7a6ca7ba08488c188cb4909f1942e2dca38
|
|
4
|
+
data.tar.gz: 178642844756eb689725e6f1031a2a3d2b29337e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1c6866a70e5cadc2328a02984d34fa8a19d00c8d7a944fe95913cbc47722ae52c4ac448c0336466079bcadb845d98eb56a4d3838fe62aa4e0821c409e9858951
|
|
7
|
+
data.tar.gz: e278f5ca55b9d24a4748bc584f89498daf3b2502fdcd939337439ee834579a0895266e021d8a19b515ed8f6a8b0535bdb9f0da9c2a0760f4a2fa93c6ac7a9d7c
|
data/cockpit/js/instance.js
CHANGED
|
@@ -31,7 +31,7 @@ var sub_more = 'topic' + '=' + 'activity' + '&' +// {{{
|
|
|
31
31
|
'topic' + '=' + 'transformation' + '&' +
|
|
32
32
|
'events' + '=' + 'change' + '&' +
|
|
33
33
|
'topic' + '=' + 'handlerwrapper' + '&' +
|
|
34
|
-
'events' + '=' + '
|
|
34
|
+
'events' + '=' + 'error,change' + '&' +
|
|
35
35
|
'topic' + '=' + 'handlers' + '&' +
|
|
36
36
|
'events' + '=' + 'change';// }}}
|
|
37
37
|
var sub_less = 'topic' + '=' + 'activity' + '&' +// {{{
|
|
@@ -51,7 +51,7 @@ var sub_less = 'topic' + '=' + 'activity' + '&' +// {{{
|
|
|
51
51
|
'topic' + '=' + 'transformation' + '&' +
|
|
52
52
|
'events' + '=' + 'change' + '&' +
|
|
53
53
|
'topic' + '=' + 'handlerwrapper' + '&' +
|
|
54
|
-
'events' + '=' + '
|
|
54
|
+
'events' + '=' + 'error,change' + '&' +
|
|
55
55
|
'topic' + '=' + 'handlers' + '&' +
|
|
56
56
|
'events' + '=' + 'change';// }}}
|
|
57
57
|
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<?xml version="1.0"?>
|
|
2
|
+
<testset>
|
|
3
|
+
<dataelements/>
|
|
4
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
|
5
|
+
<endpoints>
|
|
6
|
+
<timeout xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
|
7
|
+
<start xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://assline.wst.univie.ac.at:9200/start</start>
|
|
8
|
+
<stop xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://assline.wst.univie.ac.at:9200/stop</stop>
|
|
9
|
+
<centering xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://assline.wst.univie.ac.at:9200/centering</centering>
|
|
10
|
+
<calibrate xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://assline.wst.univie.ac.at:9200/calibrate</calibrate>
|
|
11
|
+
</endpoints>
|
|
12
|
+
<positions/>
|
|
13
|
+
<description>
|
|
14
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
15
|
+
<call id="a2" endpoint="calibrate">
|
|
16
|
+
<parameters>
|
|
17
|
+
<label>"Kalibrieren"</label>
|
|
18
|
+
<method>:post</method>
|
|
19
|
+
<parameters/>
|
|
20
|
+
</parameters>
|
|
21
|
+
</call>
|
|
22
|
+
<call id="a1" endpoint="centering" >
|
|
23
|
+
<parameters>
|
|
24
|
+
<label>"Zentrieren"</label>
|
|
25
|
+
<method>:post</method>
|
|
26
|
+
<parameters/>
|
|
27
|
+
</parameters>
|
|
28
|
+
</call>
|
|
29
|
+
<call id="a3" endpoint="start" >
|
|
30
|
+
<parameters>
|
|
31
|
+
<label>"Starten"</label>
|
|
32
|
+
<method>:post</method>
|
|
33
|
+
<parameters/>
|
|
34
|
+
</parameters>
|
|
35
|
+
</call>
|
|
36
|
+
<call id="a4" endpoint="timeout" >
|
|
37
|
+
<parameters>
|
|
38
|
+
<label>"Timeout"</label>
|
|
39
|
+
<method>:post</method>
|
|
40
|
+
<parameters>
|
|
41
|
+
<timeout>6</timeout>
|
|
42
|
+
</parameters>
|
|
43
|
+
</parameters>
|
|
44
|
+
</call>
|
|
45
|
+
<call id="a5" endpoint="stop">
|
|
46
|
+
<parameters>
|
|
47
|
+
<label>"Stop"</label>
|
|
48
|
+
<method>:post</method>
|
|
49
|
+
<parameters/>
|
|
50
|
+
</parameters>
|
|
51
|
+
</call>
|
|
52
|
+
<call id="a6" endpoint="calibrate">
|
|
53
|
+
<parameters>
|
|
54
|
+
<label>"Kalibrieren"</label>
|
|
55
|
+
<method>:post</method>
|
|
56
|
+
<parameters/>
|
|
57
|
+
</parameters>
|
|
58
|
+
</call>
|
|
59
|
+
</description>
|
|
60
|
+
</description>
|
|
61
|
+
<transformation>
|
|
62
|
+
<description type="copy"/>
|
|
63
|
+
<dataelements type="none"/>
|
|
64
|
+
<endpoints type="none"/>
|
|
65
|
+
</transformation>
|
|
66
|
+
<attributes>
|
|
67
|
+
<info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Assline</info>
|
|
68
|
+
<modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
|
|
69
|
+
</attributes>
|
|
70
|
+
</testset>
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
<?xml version="1.0"?>
|
|
2
|
+
<testset>
|
|
3
|
+
<dataelements>
|
|
4
|
+
<i xmlns="http://riddl.org/ns/common-patterns/properties/1.0">1</i>
|
|
5
|
+
</dataelements>
|
|
6
|
+
<handlerwrapper>PromiseHandlerWrapper</handlerwrapper>
|
|
7
|
+
<endpoints>
|
|
8
|
+
<folders xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://dispenser.wst.univie.ac.at:9200/folders</folders>
|
|
9
|
+
<ldown xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://pusher.wst.univie.ac.at:9200/lever/down</ldown>
|
|
10
|
+
<lup xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://pusher.wst.univie.ac.at:9200/lever/up</lup>
|
|
11
|
+
<speed xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://dispenser.wst.univie.ac.at:9200/speed</speed>
|
|
12
|
+
<mstart xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://dispenser.wst.univie.ac.at:9200/motor/start</mstart>
|
|
13
|
+
<mstop xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://dispenser.wst.univie.ac.at:9200/motor/stop</mstop>
|
|
14
|
+
<sstop xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://pusher.wst.univie.ac.at:9200/sensor/stop</sstop>
|
|
15
|
+
<dispense xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://pusher.wst.univie.ac.at:9200/dispense</dispense>
|
|
16
|
+
<gpos xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://dispenser.wst.univie.ac.at:9200/go_to_pos</gpos>
|
|
17
|
+
<gfolder xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://dispenser.wst.univie.ac.at:9200/folder/next</gfolder>
|
|
18
|
+
</endpoints>
|
|
19
|
+
<positions/>
|
|
20
|
+
<description>
|
|
21
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
22
|
+
<call id="a15" endpoint="speed" svg-label="Set speed for going left">
|
|
23
|
+
<parameters>
|
|
24
|
+
<label>"Set speed for going left"</label>
|
|
25
|
+
<method>:put</method>
|
|
26
|
+
<parameters>
|
|
27
|
+
<speed>-750</speed>
|
|
28
|
+
</parameters>
|
|
29
|
+
</parameters>
|
|
30
|
+
</call>
|
|
31
|
+
<call id="a14" endpoint="gpos" svg-label="Go to left end">
|
|
32
|
+
<parameters>
|
|
33
|
+
<label>"Go to left end"</label>
|
|
34
|
+
<method>:post</method>
|
|
35
|
+
<parameters>
|
|
36
|
+
<pos>0</pos>
|
|
37
|
+
<methode>1</methode>
|
|
38
|
+
</parameters>
|
|
39
|
+
</parameters>
|
|
40
|
+
</call>
|
|
41
|
+
<loop pre_test="data.i<3" svg-label="">
|
|
42
|
+
<call id="a13" endpoint="gfolder" svg-label="Go to next folder">
|
|
43
|
+
<parameters>
|
|
44
|
+
<label>"Go to next folder"</label>
|
|
45
|
+
<method>:post</method>
|
|
46
|
+
<parameters/>
|
|
47
|
+
</parameters>
|
|
48
|
+
<finalize output="result">data.i = data.i+1 </finalize>
|
|
49
|
+
</call>
|
|
50
|
+
</loop>
|
|
51
|
+
<call id="a2" endpoint="ldown" svg-label="Lever down">
|
|
52
|
+
<parameters>
|
|
53
|
+
<label>"Lever down"</label>
|
|
54
|
+
<method>:post</method>
|
|
55
|
+
<parameters/>
|
|
56
|
+
</parameters>
|
|
57
|
+
</call>
|
|
58
|
+
<call id="a3" endpoint="gfolder" svg-label="Go to next folder">
|
|
59
|
+
<parameters>
|
|
60
|
+
<label>"Go to next folder"</label>
|
|
61
|
+
<method>:post</method>
|
|
62
|
+
<parameters/>
|
|
63
|
+
</parameters>
|
|
64
|
+
</call>
|
|
65
|
+
<call id="a4" endpoint="dispense" svg-label="Dispense">
|
|
66
|
+
<parameters>
|
|
67
|
+
<label>"Dispense"</label>
|
|
68
|
+
<method>:post</method>
|
|
69
|
+
<parameters/>
|
|
70
|
+
</parameters>
|
|
71
|
+
</call>
|
|
72
|
+
<call id="a5" endpoint="lup" svg-label="Lever up">
|
|
73
|
+
<parameters>
|
|
74
|
+
<label>"Lever up"</label>
|
|
75
|
+
<method>:post</method>
|
|
76
|
+
<parameters/>
|
|
77
|
+
</parameters>
|
|
78
|
+
</call>
|
|
79
|
+
<call id="a16" endpoint="speed" svg-label="Set Speed for right">
|
|
80
|
+
<parameters>
|
|
81
|
+
<label>"Set Speed for right"</label>
|
|
82
|
+
<method>:put</method>
|
|
83
|
+
<parameters>
|
|
84
|
+
<speed>750</speed>
|
|
85
|
+
</parameters>
|
|
86
|
+
</parameters>
|
|
87
|
+
</call>
|
|
88
|
+
<call id="a17" endpoint="gpos" svg-label="Go to right end">
|
|
89
|
+
<parameters>
|
|
90
|
+
<label>"Go to right end"</label>
|
|
91
|
+
<method>:post</method>
|
|
92
|
+
<parameters>
|
|
93
|
+
<pos>3</pos>
|
|
94
|
+
<methode>1</methode>
|
|
95
|
+
</parameters>
|
|
96
|
+
</parameters>
|
|
97
|
+
</call>
|
|
98
|
+
<call id="a18" endpoint="ldown" svg-label="Lower Lever">
|
|
99
|
+
<parameters>
|
|
100
|
+
<label>"Lower Lever"</label>
|
|
101
|
+
<method>:post</method>
|
|
102
|
+
<parameters/>
|
|
103
|
+
</parameters>
|
|
104
|
+
</call>
|
|
105
|
+
<parallel svg-label="">
|
|
106
|
+
<parallel_branch svg-label="">
|
|
107
|
+
<call id="a6" endpoint="speed">
|
|
108
|
+
<parameters>
|
|
109
|
+
<label>"Set Speed to go left"</label>
|
|
110
|
+
<method>:put</method>
|
|
111
|
+
<parameters>
|
|
112
|
+
<speed>-50</speed>
|
|
113
|
+
</parameters>
|
|
114
|
+
</parameters>
|
|
115
|
+
</call>
|
|
116
|
+
<call id="a7" endpoint="mstart" svg-label="Go left">
|
|
117
|
+
<parameters>
|
|
118
|
+
<label>"Go left"</label>
|
|
119
|
+
<method>:post</method>
|
|
120
|
+
<parameters/>
|
|
121
|
+
</parameters>
|
|
122
|
+
</call>
|
|
123
|
+
</parallel_branch>
|
|
124
|
+
<parallel_branch svg-label="">
|
|
125
|
+
<call id="a8" endpoint="sstop" svg-label="StopSensor pusher">
|
|
126
|
+
<parameters>
|
|
127
|
+
<label>"StopSensor pusher"</label>
|
|
128
|
+
<method>:post</method>
|
|
129
|
+
<parameters/>
|
|
130
|
+
</parameters>
|
|
131
|
+
</call>
|
|
132
|
+
</parallel_branch>
|
|
133
|
+
</parallel>
|
|
134
|
+
<call id="a9" endpoint="mstop" svg-label="Stop Motor">
|
|
135
|
+
<parameters>
|
|
136
|
+
<label>"Stop Motor"</label>
|
|
137
|
+
<method>:post</method>
|
|
138
|
+
<parameters/>
|
|
139
|
+
</parameters>
|
|
140
|
+
</call>
|
|
141
|
+
<call id="a10" endpoint="lup" svg-label="Raise Lever">
|
|
142
|
+
<parameters>
|
|
143
|
+
<label>"Raise Lever"</label>
|
|
144
|
+
<method>:post</method>
|
|
145
|
+
<parameters/>
|
|
146
|
+
</parameters>
|
|
147
|
+
</call>
|
|
148
|
+
<call id="a11" endpoint="speed" svg-label="Set Speed for right">
|
|
149
|
+
<parameters>
|
|
150
|
+
<label>"Set Speed for right"</label>
|
|
151
|
+
<method>:put</method>
|
|
152
|
+
<parameters>
|
|
153
|
+
<speed>750</speed>
|
|
154
|
+
</parameters>
|
|
155
|
+
</parameters>
|
|
156
|
+
</call>
|
|
157
|
+
<call id="a12" endpoint="gpos" svg-label="Go to right end">
|
|
158
|
+
<parameters>
|
|
159
|
+
<label>"Go to right end"</label>
|
|
160
|
+
<method>:post</method>
|
|
161
|
+
<parameters>
|
|
162
|
+
<pos>3</pos>
|
|
163
|
+
<methode>1</methode>
|
|
164
|
+
</parameters>
|
|
165
|
+
</parameters>
|
|
166
|
+
</call>
|
|
167
|
+
</description>
|
|
168
|
+
</description>
|
|
169
|
+
<transformation>
|
|
170
|
+
<description type="copy"/>
|
|
171
|
+
<dataelements type="none"/>
|
|
172
|
+
<endpoints type="none"/>
|
|
173
|
+
</transformation>
|
|
174
|
+
<attributes>
|
|
175
|
+
<info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">fvfg</info>
|
|
176
|
+
<modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
|
|
177
|
+
</attributes>
|
|
178
|
+
</testset>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<testset><dataelements/><handlerwrapper>PromiseHandlerWrapper</handlerwrapper><endpoints><pickUp xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://crane.wst.univie.ac.at:9200/pickUp</pickUp><eject xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://crane.wst.univie.ac.at:9200/eject</eject></endpoints><positions/><description><description xmlns="http://cpee.org/ns/description/1.0">
|
|
2
|
+
<call id="a1" endpoint="pickUp">
|
|
3
|
+
<parameters>
|
|
4
|
+
<label>"pickup"</label>
|
|
5
|
+
<method>:post</method>
|
|
6
|
+
<parameters/>
|
|
7
|
+
</parameters>
|
|
8
|
+
</call>
|
|
9
|
+
<call id="a2" endpoint="eject" svg-label="">
|
|
10
|
+
<parameters>
|
|
11
|
+
<label>"Eject"</label>
|
|
12
|
+
<method>:post</method>
|
|
13
|
+
<parameters/>
|
|
14
|
+
</parameters>
|
|
15
|
+
</call>
|
|
16
|
+
</description></description><transformation><description type="copy"/><dataelements type="none"/><endpoints type="none"/></transformation><attributes><info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Ejector</info><modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype></attributes></testset>
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
<?xml version="1.0"?>
|
|
2
|
+
<testset>
|
|
3
|
+
<positions><!--{{{-->
|
|
4
|
+
<a1>after</a1>
|
|
5
|
+
</positions><!--}}}-->
|
|
6
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
|
7
|
+
<dataelements><!--{{{-->
|
|
8
|
+
<x/>
|
|
9
|
+
</dataelements><!--}}}-->
|
|
10
|
+
<handlers/>
|
|
11
|
+
<endpoints><!--{{{-->
|
|
12
|
+
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
|
13
|
+
</endpoints><!--}}}-->
|
|
14
|
+
<description>
|
|
15
|
+
<description xmlns="http://cpee.org/ns/description/1.0"><!--{{{-->
|
|
16
|
+
<call id="a1" endpoint="timeout">
|
|
17
|
+
<parameters><!--{{{-->
|
|
18
|
+
<method>:post</method>
|
|
19
|
+
<parameters>
|
|
20
|
+
<timeout>2</timeout>
|
|
21
|
+
</parameters>
|
|
22
|
+
</parameters><!--}}}-->
|
|
23
|
+
<finalize output="result"> data.x += "a1,"</finalize>
|
|
24
|
+
</call>
|
|
25
|
+
<call id="a2" endpoint="timeout">
|
|
26
|
+
<parameters><!--{{{-->
|
|
27
|
+
<method>:post</method>
|
|
28
|
+
<parameters>
|
|
29
|
+
<timeout>4</timeout>
|
|
30
|
+
</parameters>
|
|
31
|
+
</parameters><!--}}}-->
|
|
32
|
+
<finalize output="result"> data.x += "a2,"</finalize>
|
|
33
|
+
</call>
|
|
34
|
+
<call id="a3" endpoint="timeout">
|
|
35
|
+
<parameters><!--{{{-->
|
|
36
|
+
<method>:post</method>
|
|
37
|
+
<parameters>
|
|
38
|
+
<timeout>4</timeout>
|
|
39
|
+
</parameters>
|
|
40
|
+
</parameters><!--}}}-->
|
|
41
|
+
<finalize output="result"> data.x += "a3,"</finalize>
|
|
42
|
+
</call>
|
|
43
|
+
</description><!--}}}-->
|
|
44
|
+
</description>
|
|
45
|
+
<transformation>
|
|
46
|
+
<description type='copy'/>
|
|
47
|
+
<dataelements type='rest'/>
|
|
48
|
+
<endpoints type='rest'/>
|
|
49
|
+
</transformation>
|
|
50
|
+
</testset>
|
data/cockpit/testsets/Log.xml
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
17
17
|
<call id="a0" endpoint="start">
|
|
18
18
|
<parameters>
|
|
19
|
-
<label>
|
|
19
|
+
<label>Task 1</label>
|
|
20
20
|
<method/>
|
|
21
21
|
<type>:task</type>
|
|
22
22
|
<mid>'sid-7F616193-69F1-4097-A107-FC87404AE047'</mid>
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<alternative condition="data.x >= 100" language="text/javascript">
|
|
29
29
|
<call id="a11" endpoint="timeout">
|
|
30
30
|
<parameters>
|
|
31
|
-
<label>
|
|
31
|
+
<label>Decision 2</label>
|
|
32
32
|
<method/>
|
|
33
33
|
<type>:task</type>
|
|
34
34
|
<mid>'sid-F9FF9265-DAD9-4525-86DE-116C3F1FA44E'</mid>
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
<alternative condition="100 > data.x" language="text/javascript">
|
|
42
42
|
<call id="a10" endpoint="timeout">
|
|
43
43
|
<parameters>
|
|
44
|
-
<label>
|
|
44
|
+
<label>Decision 1</label>
|
|
45
45
|
<method/>
|
|
46
46
|
<type>:task</type>
|
|
47
47
|
<mid>'sid-603319C1-A371-4D9F-94DA-D9800C2E205F'</mid>
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
</choose>
|
|
55
55
|
<call id="a1" endpoint="timeout">
|
|
56
56
|
<parameters>
|
|
57
|
-
<label>
|
|
57
|
+
<label>Task 2</label>
|
|
58
58
|
<method/>
|
|
59
59
|
<type>:task</type>
|
|
60
60
|
<mid>'sid-B93496AA-15AA-4239-B301-8899F47204EE'</mid>
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
<parallel_branch>
|
|
68
68
|
<call id="a4" endpoint="timeout">
|
|
69
69
|
<parameters>
|
|
70
|
-
<label>
|
|
70
|
+
<label>P1</label>
|
|
71
71
|
<method/>
|
|
72
72
|
<type>:task</type>
|
|
73
73
|
<mid>'sid-B410A048-6485-47AF-AA9A-3F570EC9799A'</mid>
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
<parallel_branch>
|
|
81
81
|
<call id="a5" endpoint="timeout">
|
|
82
82
|
<parameters>
|
|
83
|
-
<label>
|
|
83
|
+
<label>P2</label>
|
|
84
84
|
<method/>
|
|
85
85
|
<type>:task</type>
|
|
86
86
|
<mid>'sid-E0C9C538-5D05-4578-8156-3947A40146A6'</mid>
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
</parallel>
|
|
94
94
|
<call id="a7" endpoint="timeout">
|
|
95
95
|
<parameters>
|
|
96
|
-
<label>
|
|
96
|
+
<label>Task 3</label>
|
|
97
97
|
<method/>
|
|
98
98
|
<type>:task</type>
|
|
99
99
|
<mid>'sid-4692423B-174F-4460-B034-19E0624C585E'</mid>
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
<?xml version="1.0"?>
|
|
2
|
+
<testset>
|
|
3
|
+
<dataelements><bla xmlns="http://riddl.org/ns/common-patterns/properties/1.0"/></dataelements>
|
|
4
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
|
5
|
+
<endpoints>
|
|
6
|
+
<timeout xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
|
7
|
+
<cb xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://solo.wst.univie.ac.at:9302</cb>
|
|
8
|
+
</endpoints>
|
|
9
|
+
<positions/>
|
|
10
|
+
<description>
|
|
11
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
12
|
+
<call id="a1" endpoint="cb">
|
|
13
|
+
<parameters>
|
|
14
|
+
<label>"ROLE and UNIT"</label>
|
|
15
|
+
<method>:post</method>
|
|
16
|
+
<parameters>
|
|
17
|
+
<orgmodel>"organisation1"</orgmodel>
|
|
18
|
+
<domain>"Virtual Business 1"</domain>
|
|
19
|
+
<form>"http://solo.wst.univie.ac.at/form/form-f.html"</form>
|
|
20
|
+
<unit>"Workflow Systems and Technology"</unit>
|
|
21
|
+
<role>"Regular"</role>
|
|
22
|
+
<schaden>"55546"</schaden>
|
|
23
|
+
<text>"fetzen hin"</text>
|
|
24
|
+
</parameters>
|
|
25
|
+
</parameters>
|
|
26
|
+
<finalize>data.bla = result.value</finalize>
|
|
27
|
+
</call>
|
|
28
|
+
</description>
|
|
29
|
+
</description>
|
|
30
|
+
<transformation>
|
|
31
|
+
<description type="copy"/>
|
|
32
|
+
<dataelements type="none"/>
|
|
33
|
+
<endpoints type="none"/>
|
|
34
|
+
</transformation>
|
|
35
|
+
<attributes>
|
|
36
|
+
<info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">asda</info>
|
|
37
|
+
<modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
|
|
38
|
+
<organisation1 xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://cpee.org/~demo/orgviz/organisation_informatik.xml</organisation1>
|
|
39
|
+
</attributes>
|
|
40
|
+
</testset>
|
data/cpee.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = "cpee"
|
|
3
|
-
s.version = "1.3.
|
|
3
|
+
s.version = "1.3.194"
|
|
4
4
|
s.platform = Gem::Platform::RUBY
|
|
5
5
|
s.license = "LGPL-3.0"
|
|
6
6
|
s.summary = "Preliminary release of cloud process execution engine (cpee). If you just need workflow execution, without a rest/xmpp service exposing it, then use WEEL"
|
|
@@ -13,6 +13,26 @@
|
|
|
13
13
|
# <http://www.gnu.org/licenses/>.
|
|
14
14
|
|
|
15
15
|
class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
|
|
16
|
+
def self::inform_syntax_error(arguments,err,code)# {{{
|
|
17
|
+
controller = arguments[0]
|
|
18
|
+
controller.notify("description/error", :instance => controller.instance, :message => err.message)
|
|
19
|
+
end# }}}
|
|
20
|
+
def self::inform_state_change(arguments,newstate) # {{{
|
|
21
|
+
controller = arguments[0]
|
|
22
|
+
controller.serialize_state!
|
|
23
|
+
controller.notify("state/change", :instance => controller.instance, :state => newstate)
|
|
24
|
+
end # }}}
|
|
25
|
+
def self::inform_handlerwrapper_error(arguments,err) # {{{
|
|
26
|
+
controller = arguments[0]
|
|
27
|
+
controller.notify("handlerwrapper/error", :instance => controller.instance, :message => err.message)
|
|
28
|
+
end # }}}
|
|
29
|
+
def self::inform_position_change(arguments,ipc={}) # {{{
|
|
30
|
+
controller = arguments[0]
|
|
31
|
+
controller.serialize_positions!
|
|
32
|
+
ipc[:instance] = controller.instance
|
|
33
|
+
controller.notify("position/change", ipc)
|
|
34
|
+
end # }}}
|
|
35
|
+
|
|
16
36
|
def initialize(arguments,endpoint=nil,position=nil,continue=nil) # {{{
|
|
17
37
|
@controller = arguments[0]
|
|
18
38
|
@log_hash = {}
|
|
@@ -100,10 +120,6 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
|
|
|
100
120
|
puts err.backtrace
|
|
101
121
|
@controller.notify("activity/failed", :endpoint => @handler_endpoint, :instance => @controller.instance, :activity => @handler_position, :message => err.message, :line => err.backtrace[0].match(/(.*?):(\d+):/)[2], :where => err.backtrace[0].match(/(.*?):(\d+):/)[1])
|
|
102
122
|
end # }}}
|
|
103
|
-
|
|
104
|
-
def inform_syntax_error(err,code)# {{{
|
|
105
|
-
@controller.notify("description/error", :instance => @controller.instance, :message => err.message)
|
|
106
|
-
end# }}}
|
|
107
123
|
def inform_manipulate_change(status,changed_dataelements,changed_endpoints,dataelements,endpoints) # {{{
|
|
108
124
|
unless status.nil?
|
|
109
125
|
@controller.serialize_status!
|
|
@@ -118,17 +134,6 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
|
|
|
118
134
|
@controller.notify("endpoints/change", :endpoint => @handler_endpoint, :instance => @controller.instance, :activity => @handler_position, :changed => changed_endpoints)
|
|
119
135
|
end
|
|
120
136
|
end # }}}
|
|
121
|
-
def inform_position_change(ipc={}) # {{{
|
|
122
|
-
@controller.serialize_positions!
|
|
123
|
-
ipc[:instance] = @controller.instance
|
|
124
|
-
@controller.notify("position/change", ipc)
|
|
125
|
-
end # }}}
|
|
126
|
-
def inform_state_change(newstate) # {{{
|
|
127
|
-
if @controller
|
|
128
|
-
@controller.serialize_state!
|
|
129
|
-
@controller.notify("state/change", :instance => @controller.instance, :state => newstate)
|
|
130
|
-
end
|
|
131
|
-
end # }}}
|
|
132
137
|
|
|
133
138
|
def vote_sync_after # {{{
|
|
134
139
|
@controller.call_vote("activity/syncing_after", :endpoint => @handler_endpoint, :instance => @controller.instance, :activity => @handler_position)
|
|
@@ -192,7 +197,7 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
|
|
|
192
197
|
end
|
|
193
198
|
end
|
|
194
199
|
|
|
195
|
-
|
|
200
|
+
def simulate(type,nesting,tid,parent,parameters={}) #{{{
|
|
196
201
|
pp "#{type} - #{nesting} - #{tid} - #{parent} - #{parameters.inspect}"
|
|
197
202
|
|
|
198
203
|
@controller.call_vote("simulating/step",
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
|
2
|
+
<attributes>
|
|
3
|
+
<info>Linear</info>
|
|
4
|
+
<modeltype>CPEE</modeltype>
|
|
5
|
+
<theme>default</theme>
|
|
6
|
+
</attributes>
|
|
7
|
+
<state>ready</state>
|
|
8
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
|
9
|
+
<positions>
|
|
10
|
+
<a1>after</a1>
|
|
11
|
+
</positions>
|
|
12
|
+
<dataelements>
|
|
13
|
+
<x/>
|
|
14
|
+
</dataelements>
|
|
15
|
+
<endpoints>
|
|
16
|
+
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
|
17
|
+
</endpoints>
|
|
18
|
+
<dsl>call :a1, :timeout, parameters: { :method => :post, :arguments => {:timeout => 2} }, finalize: <<-END
|
|
19
|
+
data.x += "a1,"
|
|
20
|
+
END
|
|
21
|
+
call :a2, :timeout, parameters: { :method => :post, :arguments => {:timeout => 4} }, finalize: <<-END
|
|
22
|
+
data.x += "a2,"
|
|
23
|
+
END
|
|
24
|
+
call :a3, :timeout, parameters: { :method => :post, :arguments => {:timeout => 4} }, finalize: <<-END
|
|
25
|
+
data.x += "a3,"
|
|
26
|
+
END
|
|
27
|
+
</dsl>
|
|
28
|
+
<dslx>
|
|
29
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
30
|
+
<!--{{{-->
|
|
31
|
+
<call id="a1" endpoint="timeout">
|
|
32
|
+
<parameters>
|
|
33
|
+
<!--{{{-->
|
|
34
|
+
<method>:post</method>
|
|
35
|
+
<arguments>
|
|
36
|
+
<timeout>2</timeout>
|
|
37
|
+
</arguments>
|
|
38
|
+
</parameters>
|
|
39
|
+
<!--}}}-->
|
|
40
|
+
<finalize output="result">data.x += "a1,"</finalize>
|
|
41
|
+
</call>
|
|
42
|
+
<call id="a2" endpoint="timeout">
|
|
43
|
+
<parameters>
|
|
44
|
+
<!--{{{-->
|
|
45
|
+
<method>:post</method>
|
|
46
|
+
<arguments>
|
|
47
|
+
<timeout>4</timeout>
|
|
48
|
+
</arguments>
|
|
49
|
+
</parameters>
|
|
50
|
+
<!--}}}-->
|
|
51
|
+
<finalize output="result">data.x += "a2,"</finalize>
|
|
52
|
+
</call>
|
|
53
|
+
<call id="a3" endpoint="timeout">
|
|
54
|
+
<parameters>
|
|
55
|
+
<!--{{{-->
|
|
56
|
+
<method>:post</method>
|
|
57
|
+
<arguments>
|
|
58
|
+
<timeout>4</timeout>
|
|
59
|
+
</arguments>
|
|
60
|
+
</parameters>
|
|
61
|
+
<!--}}}-->
|
|
62
|
+
<finalize output="result">data.x += "a3,"</finalize>
|
|
63
|
+
</call>
|
|
64
|
+
</description>
|
|
65
|
+
</dslx>
|
|
66
|
+
<status>
|
|
67
|
+
<id>0</id>
|
|
68
|
+
<message>undefined</message>
|
|
69
|
+
</status>
|
|
70
|
+
<description>
|
|
71
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
72
|
+
<!--{{{-->
|
|
73
|
+
<call id="a1" endpoint="timeout">
|
|
74
|
+
<parameters>
|
|
75
|
+
<!--{{{-->
|
|
76
|
+
<method>:post</method>
|
|
77
|
+
<arguments>
|
|
78
|
+
<timeout>2</timeout>
|
|
79
|
+
</arguments>
|
|
80
|
+
</parameters>
|
|
81
|
+
<!--}}}-->
|
|
82
|
+
<finalize output="result">data.x += "a1,"</finalize>
|
|
83
|
+
</call>
|
|
84
|
+
<call id="a2" endpoint="timeout">
|
|
85
|
+
<parameters>
|
|
86
|
+
<!--{{{-->
|
|
87
|
+
<method>:post</method>
|
|
88
|
+
<arguments>
|
|
89
|
+
<timeout>4</timeout>
|
|
90
|
+
</arguments>
|
|
91
|
+
</parameters>
|
|
92
|
+
<!--}}}-->
|
|
93
|
+
<finalize output="result">data.x += "a2,"</finalize>
|
|
94
|
+
</call>
|
|
95
|
+
<call id="a3" endpoint="timeout">
|
|
96
|
+
<parameters>
|
|
97
|
+
<!--{{{-->
|
|
98
|
+
<method>:post</method>
|
|
99
|
+
<arguments>
|
|
100
|
+
<timeout>4</timeout>
|
|
101
|
+
</arguments>
|
|
102
|
+
</parameters>
|
|
103
|
+
<!--}}}-->
|
|
104
|
+
<finalize output="result">data.x += "a3,"</finalize>
|
|
105
|
+
</call>
|
|
106
|
+
</description>
|
|
107
|
+
</description>
|
|
108
|
+
<transformation>
|
|
109
|
+
<description type="copy"/>
|
|
110
|
+
<dataelements type="rest"/>
|
|
111
|
+
<endpoints type="rest"/>
|
|
112
|
+
</transformation>
|
|
113
|
+
</properties>
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
|
2
|
+
<attributes>
|
|
3
|
+
<info>Assline</info>
|
|
4
|
+
<modeltype>CPEE</modeltype>
|
|
5
|
+
</attributes>
|
|
6
|
+
<state>stopped</state>
|
|
7
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
|
8
|
+
<positions/>
|
|
9
|
+
<dataelements/>
|
|
10
|
+
<endpoints>
|
|
11
|
+
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
|
12
|
+
<start>http://assline.wst.univie.ac.at:9200/start</start>
|
|
13
|
+
<stop>http://assline.wst.univie.ac.at:9200/stop</stop>
|
|
14
|
+
<centering>http://assline.wst.univie.ac.at:9200/centering</centering>
|
|
15
|
+
<calibrate>http://assline.wst.univie.ac.at:9200/calibrate</calibrate>
|
|
16
|
+
</endpoints>
|
|
17
|
+
<dsl>call :a2, :calibrate, parameters: { :label => ""Kalibrieren"", :method => :post, :parameters => nil }
|
|
18
|
+
call :a1, :centering, parameters: { :label => ""Zentrieren"", :method => :post, :parameters => nil }
|
|
19
|
+
call :a3, :start, parameters: { :label => ""Starten"", :method => :post, :parameters => nil }
|
|
20
|
+
call :a4, :timeout, parameters: { :label => ""Timeout"", :method => :post, :parameters => {:timeout => 6} }
|
|
21
|
+
call :a5, :stop, parameters: { :label => ""Stop"", :method => :post, :parameters => nil }
|
|
22
|
+
call :a6, :calibrate, parameters: { :label => ""Kalibrieren"", :method => :post, :parameters => nil }
|
|
23
|
+
</dsl>
|
|
24
|
+
<dslx>
|
|
25
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
26
|
+
<call id="a2" endpoint="calibrate">
|
|
27
|
+
<parameters>
|
|
28
|
+
<label>"Kalibrieren"</label>
|
|
29
|
+
<method>:post</method>
|
|
30
|
+
<parameters/>
|
|
31
|
+
</parameters>
|
|
32
|
+
</call>
|
|
33
|
+
<call id="a1" endpoint="centering">
|
|
34
|
+
<parameters>
|
|
35
|
+
<label>"Zentrieren"</label>
|
|
36
|
+
<method>:post</method>
|
|
37
|
+
<parameters/>
|
|
38
|
+
</parameters>
|
|
39
|
+
</call>
|
|
40
|
+
<call id="a3" endpoint="start">
|
|
41
|
+
<parameters>
|
|
42
|
+
<label>"Starten"</label>
|
|
43
|
+
<method>:post</method>
|
|
44
|
+
<parameters/>
|
|
45
|
+
</parameters>
|
|
46
|
+
</call>
|
|
47
|
+
<call id="a4" endpoint="timeout">
|
|
48
|
+
<parameters>
|
|
49
|
+
<label>"Timeout"</label>
|
|
50
|
+
<method>:post</method>
|
|
51
|
+
<parameters>
|
|
52
|
+
<timeout>6</timeout>
|
|
53
|
+
</parameters>
|
|
54
|
+
</parameters>
|
|
55
|
+
</call>
|
|
56
|
+
<call id="a5" endpoint="stop">
|
|
57
|
+
<parameters>
|
|
58
|
+
<label>"Stop"</label>
|
|
59
|
+
<method>:post</method>
|
|
60
|
+
<parameters/>
|
|
61
|
+
</parameters>
|
|
62
|
+
</call>
|
|
63
|
+
<call id="a6" endpoint="calibrate">
|
|
64
|
+
<parameters>
|
|
65
|
+
<label>"Kalibrieren"</label>
|
|
66
|
+
<method>:post</method>
|
|
67
|
+
<parameters/>
|
|
68
|
+
</parameters>
|
|
69
|
+
</call>
|
|
70
|
+
</description>
|
|
71
|
+
</dslx>
|
|
72
|
+
<status>
|
|
73
|
+
<id>0</id>
|
|
74
|
+
<message>undefined</message>
|
|
75
|
+
</status>
|
|
76
|
+
<description>
|
|
77
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
78
|
+
<call id="a2" endpoint="calibrate">
|
|
79
|
+
<parameters>
|
|
80
|
+
<label>"Kalibrieren"</label>
|
|
81
|
+
<method>:post</method>
|
|
82
|
+
<parameters/>
|
|
83
|
+
</parameters>
|
|
84
|
+
</call>
|
|
85
|
+
<call id="a1" endpoint="centering">
|
|
86
|
+
<parameters>
|
|
87
|
+
<label>"Zentrieren"</label>
|
|
88
|
+
<method>:post</method>
|
|
89
|
+
<parameters/>
|
|
90
|
+
</parameters>
|
|
91
|
+
</call>
|
|
92
|
+
<call id="a3" endpoint="start">
|
|
93
|
+
<parameters>
|
|
94
|
+
<label>"Starten"</label>
|
|
95
|
+
<method>:post</method>
|
|
96
|
+
<parameters/>
|
|
97
|
+
</parameters>
|
|
98
|
+
</call>
|
|
99
|
+
<call id="a4" endpoint="timeout">
|
|
100
|
+
<parameters>
|
|
101
|
+
<label>"Timeout"</label>
|
|
102
|
+
<method>:post</method>
|
|
103
|
+
<parameters>
|
|
104
|
+
<timeout>6</timeout>
|
|
105
|
+
</parameters>
|
|
106
|
+
</parameters>
|
|
107
|
+
</call>
|
|
108
|
+
<call id="a5" endpoint="stop">
|
|
109
|
+
<parameters>
|
|
110
|
+
<label>"Stop"</label>
|
|
111
|
+
<method>:post</method>
|
|
112
|
+
<parameters/>
|
|
113
|
+
</parameters>
|
|
114
|
+
</call>
|
|
115
|
+
<call id="a6" endpoint="calibrate">
|
|
116
|
+
<parameters>
|
|
117
|
+
<label>"Kalibrieren"</label>
|
|
118
|
+
<method>:post</method>
|
|
119
|
+
<parameters/>
|
|
120
|
+
</parameters>
|
|
121
|
+
</call>
|
|
122
|
+
</description>
|
|
123
|
+
</description>
|
|
124
|
+
<transformation>
|
|
125
|
+
<description type="copy"/>
|
|
126
|
+
<dataelements type="none"/>
|
|
127
|
+
<endpoints type="none"/>
|
|
128
|
+
</transformation>
|
|
129
|
+
</properties>
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
|
2
|
+
<attributes>
|
|
3
|
+
<info>Assline</info>
|
|
4
|
+
<modeltype>CPEE</modeltype>
|
|
5
|
+
</attributes>
|
|
6
|
+
<state>ready</state>
|
|
7
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
|
8
|
+
<positions/>
|
|
9
|
+
<dataelements/>
|
|
10
|
+
<endpoints>
|
|
11
|
+
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
|
12
|
+
<start>http://assline.wst.univie.ac.at:9200/start</start>
|
|
13
|
+
<stop>http://assline.wst.univie.ac.at:9200/stop</stop>
|
|
14
|
+
<centering>http://assline.wst.univie.ac.at:9200/centering</centering>
|
|
15
|
+
<calibrate>http://assline.wst.univie.ac.at:9200/calibrate</calibrate>
|
|
16
|
+
</endpoints>
|
|
17
|
+
<dsl>call :a2, :calibrate, parameters: { :label => ""Kalibrieren"", :method => :post, :parameters => nil }
|
|
18
|
+
call :a1, :centering, parameters: { :label => ""Zentrieren"", :method => :post, :parameters => nil }
|
|
19
|
+
call :a3, :start, parameters: { :label => ""Starten"", :method => :post, :parameters => nil }
|
|
20
|
+
call :a4, :timeout, parameters: { :label => ""Timeout"", :method => :post, :parameters => {:timeout => 6} }
|
|
21
|
+
call :a5, :stop, parameters: { :label => ""Stop"", :method => :post, :parameters => nil }
|
|
22
|
+
call :a6, :calibrate, parameters: { :label => ""Kalibrieren"", :method => :post, :parameters => nil }
|
|
23
|
+
</dsl>
|
|
24
|
+
<dslx>
|
|
25
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
26
|
+
<call id="a2" endpoint="calibrate">
|
|
27
|
+
<parameters>
|
|
28
|
+
<label>"Kalibrieren"</label>
|
|
29
|
+
<method>:post</method>
|
|
30
|
+
<parameters/>
|
|
31
|
+
</parameters>
|
|
32
|
+
</call>
|
|
33
|
+
<call id="a1" endpoint="centering">
|
|
34
|
+
<parameters>
|
|
35
|
+
<label>"Zentrieren"</label>
|
|
36
|
+
<method>:post</method>
|
|
37
|
+
<parameters/>
|
|
38
|
+
</parameters>
|
|
39
|
+
</call>
|
|
40
|
+
<call id="a3" endpoint="start">
|
|
41
|
+
<parameters>
|
|
42
|
+
<label>"Starten"</label>
|
|
43
|
+
<method>:post</method>
|
|
44
|
+
<parameters/>
|
|
45
|
+
</parameters>
|
|
46
|
+
</call>
|
|
47
|
+
<call id="a4" endpoint="timeout">
|
|
48
|
+
<parameters>
|
|
49
|
+
<label>"Timeout"</label>
|
|
50
|
+
<method>:post</method>
|
|
51
|
+
<parameters>
|
|
52
|
+
<timeout>6</timeout>
|
|
53
|
+
</parameters>
|
|
54
|
+
</parameters>
|
|
55
|
+
</call>
|
|
56
|
+
<call id="a5" endpoint="stop">
|
|
57
|
+
<parameters>
|
|
58
|
+
<label>"Stop"</label>
|
|
59
|
+
<method>:post</method>
|
|
60
|
+
<parameters/>
|
|
61
|
+
</parameters>
|
|
62
|
+
</call>
|
|
63
|
+
<call id="a6" endpoint="calibrate">
|
|
64
|
+
<parameters>
|
|
65
|
+
<label>"Kalibrieren"</label>
|
|
66
|
+
<method>:post</method>
|
|
67
|
+
<parameters/>
|
|
68
|
+
</parameters>
|
|
69
|
+
</call>
|
|
70
|
+
</description>
|
|
71
|
+
</dslx>
|
|
72
|
+
<status>
|
|
73
|
+
<id>0</id>
|
|
74
|
+
<message>undefined</message>
|
|
75
|
+
</status>
|
|
76
|
+
<description>
|
|
77
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
78
|
+
<call id="a2" endpoint="calibrate">
|
|
79
|
+
<parameters>
|
|
80
|
+
<label>"Kalibrieren"</label>
|
|
81
|
+
<method>:post</method>
|
|
82
|
+
<parameters/>
|
|
83
|
+
</parameters>
|
|
84
|
+
</call>
|
|
85
|
+
<call id="a1" endpoint="centering">
|
|
86
|
+
<parameters>
|
|
87
|
+
<label>"Zentrieren"</label>
|
|
88
|
+
<method>:post</method>
|
|
89
|
+
<parameters/>
|
|
90
|
+
</parameters>
|
|
91
|
+
</call>
|
|
92
|
+
<call id="a3" endpoint="start">
|
|
93
|
+
<parameters>
|
|
94
|
+
<label>"Starten"</label>
|
|
95
|
+
<method>:post</method>
|
|
96
|
+
<parameters/>
|
|
97
|
+
</parameters>
|
|
98
|
+
</call>
|
|
99
|
+
<call id="a4" endpoint="timeout">
|
|
100
|
+
<parameters>
|
|
101
|
+
<label>"Timeout"</label>
|
|
102
|
+
<method>:post</method>
|
|
103
|
+
<parameters>
|
|
104
|
+
<timeout>6</timeout>
|
|
105
|
+
</parameters>
|
|
106
|
+
</parameters>
|
|
107
|
+
</call>
|
|
108
|
+
<call id="a5" endpoint="stop">
|
|
109
|
+
<parameters>
|
|
110
|
+
<label>"Stop"</label>
|
|
111
|
+
<method>:post</method>
|
|
112
|
+
<parameters/>
|
|
113
|
+
</parameters>
|
|
114
|
+
</call>
|
|
115
|
+
<call id="a6" endpoint="calibrate">
|
|
116
|
+
<parameters>
|
|
117
|
+
<label>"Kalibrieren"</label>
|
|
118
|
+
<method>:post</method>
|
|
119
|
+
<parameters/>
|
|
120
|
+
</parameters>
|
|
121
|
+
</call>
|
|
122
|
+
</description>
|
|
123
|
+
</description>
|
|
124
|
+
<transformation>
|
|
125
|
+
<description type="copy"/>
|
|
126
|
+
<dataelements type="none"/>
|
|
127
|
+
<endpoints type="none"/>
|
|
128
|
+
</transformation>
|
|
129
|
+
</properties>
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
|
19
|
+
<attributes>
|
|
20
|
+
<info/>
|
|
21
|
+
<modeltype>CPEE</modeltype>
|
|
22
|
+
<theme>default</theme>
|
|
23
|
+
</attributes>
|
|
24
|
+
<state>ready</state>
|
|
25
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
|
26
|
+
<positions/>
|
|
27
|
+
<dataelements/>
|
|
28
|
+
<endpoints>
|
|
29
|
+
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
|
30
|
+
</endpoints>
|
|
31
|
+
<dsl/>
|
|
32
|
+
<dslx>
|
|
33
|
+
<description xmlns="http://cpee.org/ns/description/1.0"/>
|
|
34
|
+
</dslx>
|
|
35
|
+
<status>
|
|
36
|
+
<id>0</id>
|
|
37
|
+
<message>undefined</message>
|
|
38
|
+
</status>
|
|
39
|
+
<description>
|
|
40
|
+
<description xmlns="http://cpee.org/ns/description/1.0"/>
|
|
41
|
+
</description>
|
|
42
|
+
<transformation>
|
|
43
|
+
<description type='copy'/>
|
|
44
|
+
<dataelements type='none'/>
|
|
45
|
+
<endpoints type='none'/>
|
|
46
|
+
</transformation>
|
|
47
|
+
</properties>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
c94d032eb7f78ff9d654b58b18183284
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
d4f0e8c02c96424757e5e7ca9d5e2538
|
|
@@ -5,14 +5,13 @@
|
|
|
5
5
|
<event>manipulating</event>
|
|
6
6
|
<event>failed</event>
|
|
7
7
|
<event>done</event>
|
|
8
|
-
<vote>syncing_after</vote>
|
|
9
8
|
</topic>
|
|
10
|
-
<topic id="
|
|
9
|
+
<topic id="position">
|
|
11
10
|
<event>change</event>
|
|
12
|
-
<event>error</event>
|
|
13
11
|
</topic>
|
|
14
|
-
<topic id="
|
|
12
|
+
<topic id="description">
|
|
15
13
|
<event>change</event>
|
|
14
|
+
<event>error</event>
|
|
16
15
|
</topic>
|
|
17
16
|
<topic id="state">
|
|
18
17
|
<event>change</event>
|
|
@@ -35,7 +34,4 @@
|
|
|
35
34
|
<topic id="handlers">
|
|
36
35
|
<event>change</event>
|
|
37
36
|
</topic>
|
|
38
|
-
<topic id="xxx">
|
|
39
|
-
<fingerprint-with-producer-secre>xxx</fingerprint-with-producer-secre>
|
|
40
|
-
</topic>
|
|
41
37
|
</subscription>
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
|
2
|
+
<attributes>
|
|
3
|
+
<info>Assline</info>
|
|
4
|
+
<modeltype>CPEE</modeltype>
|
|
5
|
+
</attributes>
|
|
6
|
+
<state>ready</state>
|
|
7
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
|
8
|
+
<positions/>
|
|
9
|
+
<dataelements/>
|
|
10
|
+
<endpoints>
|
|
11
|
+
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
|
12
|
+
<start>http://assline.wst.univie.ac.at:9200/start</start>
|
|
13
|
+
<stop>http://assline.wst.univie.ac.at:9200/stop</stop>
|
|
14
|
+
<centering>http://assline.wst.univie.ac.at:9200/centering</centering>
|
|
15
|
+
<calibrate>http://assline.wst.univie.ac.at:9200/calibrate</calibrate>
|
|
16
|
+
</endpoints>
|
|
17
|
+
<dsl>call :a2, :calibrate, parameters: { :label => ""Kalibrieren"", :method => :post, :parameters => nil }
|
|
18
|
+
call :a1, :centering, parameters: { :label => ""Zentrieren"", :method => :post, :parameters => nil }
|
|
19
|
+
call :a3, :start, parameters: { :label => ""Starten"", :method => :post, :parameters => nil }
|
|
20
|
+
call :a4, :timeout, parameters: { :label => ""Timeout"", :method => :post, :parameters => {:timeout => 6} }
|
|
21
|
+
call :a5, :stop, parameters: { :label => ""Stop"", :method => :post, :parameters => nil }
|
|
22
|
+
call :a6, :calibrate, parameters: { :label => ""Kalibrieren"", :method => :post, :parameters => nil }
|
|
23
|
+
</dsl>
|
|
24
|
+
<dslx>
|
|
25
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
26
|
+
<call id="a2" endpoint="calibrate">
|
|
27
|
+
<parameters>
|
|
28
|
+
<label>"Kalibrieren"</label>
|
|
29
|
+
<method>:post</method>
|
|
30
|
+
<parameters/>
|
|
31
|
+
</parameters>
|
|
32
|
+
</call>
|
|
33
|
+
<call id="a1" endpoint="centering">
|
|
34
|
+
<parameters>
|
|
35
|
+
<label>"Zentrieren"</label>
|
|
36
|
+
<method>:post</method>
|
|
37
|
+
<parameters/>
|
|
38
|
+
</parameters>
|
|
39
|
+
</call>
|
|
40
|
+
<call id="a3" endpoint="start">
|
|
41
|
+
<parameters>
|
|
42
|
+
<label>"Starten"</label>
|
|
43
|
+
<method>:post</method>
|
|
44
|
+
<parameters/>
|
|
45
|
+
</parameters>
|
|
46
|
+
</call>
|
|
47
|
+
<call id="a4" endpoint="timeout">
|
|
48
|
+
<parameters>
|
|
49
|
+
<label>"Timeout"</label>
|
|
50
|
+
<method>:post</method>
|
|
51
|
+
<parameters>
|
|
52
|
+
<timeout>6</timeout>
|
|
53
|
+
</parameters>
|
|
54
|
+
</parameters>
|
|
55
|
+
</call>
|
|
56
|
+
<call id="a5" endpoint="stop">
|
|
57
|
+
<parameters>
|
|
58
|
+
<label>"Stop"</label>
|
|
59
|
+
<method>:post</method>
|
|
60
|
+
<parameters/>
|
|
61
|
+
</parameters>
|
|
62
|
+
</call>
|
|
63
|
+
<call id="a6" endpoint="calibrate">
|
|
64
|
+
<parameters>
|
|
65
|
+
<label>"Kalibrieren"</label>
|
|
66
|
+
<method>:post</method>
|
|
67
|
+
<parameters/>
|
|
68
|
+
</parameters>
|
|
69
|
+
</call>
|
|
70
|
+
</description>
|
|
71
|
+
</dslx>
|
|
72
|
+
<status>
|
|
73
|
+
<id>0</id>
|
|
74
|
+
<message>undefined</message>
|
|
75
|
+
</status>
|
|
76
|
+
<description>
|
|
77
|
+
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
78
|
+
<call id="a2" endpoint="calibrate">
|
|
79
|
+
<parameters>
|
|
80
|
+
<label>"Kalibrieren"</label>
|
|
81
|
+
<method>:post</method>
|
|
82
|
+
<parameters/>
|
|
83
|
+
</parameters>
|
|
84
|
+
</call>
|
|
85
|
+
<call id="a1" endpoint="centering">
|
|
86
|
+
<parameters>
|
|
87
|
+
<label>"Zentrieren"</label>
|
|
88
|
+
<method>:post</method>
|
|
89
|
+
<parameters/>
|
|
90
|
+
</parameters>
|
|
91
|
+
</call>
|
|
92
|
+
<call id="a3" endpoint="start">
|
|
93
|
+
<parameters>
|
|
94
|
+
<label>"Starten"</label>
|
|
95
|
+
<method>:post</method>
|
|
96
|
+
<parameters/>
|
|
97
|
+
</parameters>
|
|
98
|
+
</call>
|
|
99
|
+
<call id="a4" endpoint="timeout">
|
|
100
|
+
<parameters>
|
|
101
|
+
<label>"Timeout"</label>
|
|
102
|
+
<method>:post</method>
|
|
103
|
+
<parameters>
|
|
104
|
+
<timeout>6</timeout>
|
|
105
|
+
</parameters>
|
|
106
|
+
</parameters>
|
|
107
|
+
</call>
|
|
108
|
+
<call id="a5" endpoint="stop">
|
|
109
|
+
<parameters>
|
|
110
|
+
<label>"Stop"</label>
|
|
111
|
+
<method>:post</method>
|
|
112
|
+
<parameters/>
|
|
113
|
+
</parameters>
|
|
114
|
+
</call>
|
|
115
|
+
<call id="a6" endpoint="calibrate">
|
|
116
|
+
<parameters>
|
|
117
|
+
<label>"Kalibrieren"</label>
|
|
118
|
+
<method>:post</method>
|
|
119
|
+
<parameters/>
|
|
120
|
+
</parameters>
|
|
121
|
+
</call>
|
|
122
|
+
</description>
|
|
123
|
+
</description>
|
|
124
|
+
<transformation>
|
|
125
|
+
<description type="copy"/>
|
|
126
|
+
<dataelements type="none"/>
|
|
127
|
+
<endpoints type="none"/>
|
|
128
|
+
</transformation>
|
|
129
|
+
</properties>
|
data/server/resources/topics.xml
CHANGED
|
@@ -329,7 +329,7 @@
|
|
|
329
329
|
<xsl:text>:</xsl:text>
|
|
330
330
|
<xsl:value-of select="name()"/>
|
|
331
331
|
<xsl:text> => "</xsl:text>
|
|
332
|
-
<xsl:value-of select="text()"/>
|
|
332
|
+
<xsl:value-of select="str:replace(text(),'"','\"')"/>
|
|
333
333
|
<xsl:text>"</xsl:text>
|
|
334
334
|
</xsl:template>
|
|
335
335
|
<xsl:template match="d:*[not(name()='label')]" mode="parameter">
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
<xsl:param name="myspace"/>
|
|
391
391
|
<xsl:if test="text()">
|
|
392
392
|
<xsl:for-each select="str:tokenize(text(), '
')">
|
|
393
|
-
<xsl:value-of select="concat('
',concat(str:padding($myspace+$myspacemultiplier+$myspacemultiplier),
|
|
393
|
+
<xsl:value-of select="concat('
',concat(str:padding($myspace+$myspacemultiplier+$myspacemultiplier),string(.)))" />
|
|
394
394
|
</xsl:for-each>
|
|
395
395
|
<xsl:call-template name="print-newline"/>
|
|
396
396
|
<xsl:call-template name="print-space">
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
</xsl:otherwise>
|
|
420
420
|
</xsl:choose>
|
|
421
421
|
<xsl:for-each select="str:tokenize(text(), '
')">
|
|
422
|
-
<xsl:value-of select="concat('
',concat(str:padding($myspace+$myspacemultiplier+$myspacemultiplier),
|
|
422
|
+
<xsl:value-of select="concat('
',concat(str:padding($myspace+$myspacemultiplier+$myspacemultiplier),string(.)))" />
|
|
423
423
|
</xsl:for-each>
|
|
424
424
|
<xsl:call-template name="print-newline"/>
|
|
425
425
|
<xsl:call-template name="print-space">
|
data/server/server.pid
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
20294
|
data/server/weel.rb
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
server/usr/local/share/gems/gems/weel-1.99.44/lib/weel.rb
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cpee
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.194
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Juergen eTM Mangler
|
|
@@ -101,12 +101,16 @@ files:
|
|
|
101
101
|
- cockpit/rngs/attributes.rng
|
|
102
102
|
- cockpit/rngs/dataelements.rng
|
|
103
103
|
- cockpit/rngs/endpoints.rng
|
|
104
|
+
- cockpit/testsets/Assline.xml
|
|
104
105
|
- cockpit/testsets/CPEE.xml
|
|
105
106
|
- cockpit/testsets/Concurrent.xml
|
|
106
107
|
- cockpit/testsets/Coopis Testset.xml
|
|
108
|
+
- cockpit/testsets/Dispense.xml
|
|
109
|
+
- cockpit/testsets/Ejector.xml
|
|
107
110
|
- cockpit/testsets/Endpoints and Data Manipulation.xml
|
|
108
111
|
- cockpit/testsets/ICSOC Testset.xml
|
|
109
112
|
- cockpit/testsets/Infinity.xml
|
|
113
|
+
- cockpit/testsets/LgLinear.xml
|
|
110
114
|
- cockpit/testsets/Linear.xml
|
|
111
115
|
- cockpit/testsets/Log.xml
|
|
112
116
|
- cockpit/testsets/Mangler 1.xml
|
|
@@ -124,6 +128,7 @@ files:
|
|
|
124
128
|
- cockpit/testsets/Worklist Parallel.xml
|
|
125
129
|
- cockpit/testsets/Worklist Test CPEE.xml
|
|
126
130
|
- cockpit/testsets/Worklist Test.xml
|
|
131
|
+
- cockpit/testsets/Worklist Test2.xml
|
|
127
132
|
- cockpit/testsets/testsets.xml
|
|
128
133
|
- cockpit/testsets/transformations.xml
|
|
129
134
|
- cockpit/themes/adventure/rngs/alternative.rng
|
|
@@ -332,11 +337,16 @@ files:
|
|
|
332
337
|
- server/instances/47/properties.xml
|
|
333
338
|
- server/instances/48/log.xes
|
|
334
339
|
- server/instances/48/properties.xml
|
|
335
|
-
- server/instances/49/notifications/da0b7d2ef42d814b853496e9f3748e2b/consumer-secret
|
|
336
|
-
- server/instances/49/notifications/da0b7d2ef42d814b853496e9f3748e2b/producer-secret
|
|
337
|
-
- server/instances/49/notifications/da0b7d2ef42d814b853496e9f3748e2b/subscription.xml
|
|
338
340
|
- server/instances/49/properties.xml
|
|
339
341
|
- server/instances/5/properties.xml
|
|
342
|
+
- server/instances/50/properties.xml
|
|
343
|
+
- server/instances/51/properties.xml
|
|
344
|
+
- server/instances/52/properties.xml
|
|
345
|
+
- server/instances/53/properties.xml
|
|
346
|
+
- server/instances/54/notifications/9873e50be5e9d97ca0b5ddaf61f5403e/consumer-secret
|
|
347
|
+
- server/instances/54/notifications/9873e50be5e9d97ca0b5ddaf61f5403e/producer-secret
|
|
348
|
+
- server/instances/54/notifications/9873e50be5e9d97ca0b5ddaf61f5403e/subscription.xml
|
|
349
|
+
- server/instances/54/properties.xml
|
|
340
350
|
- server/instances/6/properties.xml
|
|
341
351
|
- server/instances/7/properties.xml
|
|
342
352
|
- server/instances/8/properties.xml
|
|
@@ -349,7 +359,9 @@ files:
|
|
|
349
359
|
- server/resources/topics.xml
|
|
350
360
|
- server/resources/transformation.xml
|
|
351
361
|
- server/resources/transformation_dslx.xsl
|
|
362
|
+
- server/server.pid
|
|
352
363
|
- server/server.rb
|
|
364
|
+
- server/weel.rb
|
|
353
365
|
- test/callback.rb
|
|
354
366
|
homepage: http://cpee.org/
|
|
355
367
|
licenses:
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
3c80fa41431a46210ade5dca2f55fa66
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
39e7d320fac2877addf8a6d222b93cd8
|