cpee 1.5.22 → 1.5.27
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/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/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 +1 -1
- data/lib/cpee/controller.rb +1 -1
- data/lib/cpee/instantiation.rb +9 -8
- data/log/sic.rb +1 -0
- data/server/handlerwrappers/default.rb +1 -1
- data/server/resources/transformation_dslx.xsl +12 -5
- data/server/transformation_dslx.xsl +790 -0
- data/tools/instantiation/instantiation +1 -0
- data/tools/server/server.rb +1 -0
- metadata +56 -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
data/tools/server/server.rb
CHANGED
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.5.
|
4
|
+
version: 1.5.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juergen eTM Mangler
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: tools
|
13
13
|
cert_chain: []
|
14
|
-
date: 2020-06
|
14
|
+
date: 2020-10-06 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: riddl
|
@@ -161,49 +161,59 @@ files:
|
|
161
161
|
- cockpit/rngs/attributes.rng
|
162
162
|
- cockpit/rngs/dataelements.rng
|
163
163
|
- cockpit/rngs/endpoints.rng
|
164
|
-
- cockpit/
|
165
|
-
- cockpit/
|
166
|
-
- cockpit/
|
167
|
-
- cockpit/
|
168
|
-
- cockpit/
|
169
|
-
- cockpit/
|
170
|
-
- cockpit/
|
171
|
-
- cockpit/
|
172
|
-
- cockpit/
|
173
|
-
- cockpit/
|
174
|
-
- cockpit/
|
175
|
-
- cockpit/
|
176
|
-
- cockpit/
|
177
|
-
- cockpit/
|
178
|
-
- cockpit/
|
179
|
-
- cockpit/
|
180
|
-
- cockpit/
|
181
|
-
- cockpit/
|
182
|
-
- cockpit/
|
183
|
-
- cockpit/
|
184
|
-
- cockpit/
|
185
|
-
- cockpit/
|
186
|
-
- cockpit/
|
187
|
-
- cockpit/
|
188
|
-
- cockpit/
|
189
|
-
- cockpit/
|
190
|
-
- cockpit/
|
191
|
-
- cockpit/
|
192
|
-
- cockpit/
|
193
|
-
- cockpit/
|
194
|
-
- cockpit/
|
195
|
-
- cockpit/
|
196
|
-
- cockpit/
|
197
|
-
- cockpit/
|
198
|
-
- cockpit/
|
199
|
-
- cockpit/
|
200
|
-
- cockpit/
|
201
|
-
- cockpit/
|
202
|
-
- cockpit/testsets
|
203
|
-
- cockpit/
|
204
|
-
- cockpit/
|
205
|
-
- cockpit/
|
206
|
-
- cockpit/
|
164
|
+
- cockpit/templates.legacy/Async.xml
|
165
|
+
- cockpit/templates.legacy/BCO.xml
|
166
|
+
- cockpit/templates.legacy/BCS.xml
|
167
|
+
- cockpit/templates.legacy/Centurio.xml
|
168
|
+
- cockpit/templates.legacy/Concurrent.xml
|
169
|
+
- cockpit/templates.legacy/Coopis Testset.xml
|
170
|
+
- cockpit/templates.legacy/Endpoints and Data Manipulation.xml
|
171
|
+
- cockpit/templates.legacy/ICSOC Testset.xml
|
172
|
+
- cockpit/templates.legacy/Infinity.xml
|
173
|
+
- cockpit/templates.legacy/Lego Boxer.xml
|
174
|
+
- cockpit/templates.legacy/Lego Conveyor.xml
|
175
|
+
- cockpit/templates.legacy/Lego Crane.xml
|
176
|
+
- cockpit/templates.legacy/Lego Ejector.xml
|
177
|
+
- cockpit/templates.legacy/Lego Full.xml
|
178
|
+
- cockpit/templates.legacy/Lego Liddy.xml
|
179
|
+
- cockpit/templates.legacy/Lego Plate.xml
|
180
|
+
- cockpit/templates.legacy/Lego Transporter.xml
|
181
|
+
- cockpit/templates.legacy/Lego_Part_1.xml
|
182
|
+
- cockpit/templates.legacy/LgLinear.xml
|
183
|
+
- cockpit/templates.legacy/Linear.xml
|
184
|
+
- cockpit/templates.legacy/Log.xml
|
185
|
+
- cockpit/templates.legacy/Mangler 1.xml
|
186
|
+
- cockpit/templates.legacy/Mangler 2.xml
|
187
|
+
- cockpit/templates.legacy/Manuel Labels.xml
|
188
|
+
- cockpit/templates.legacy/Promise.xml
|
189
|
+
- cockpit/templates.legacy/SOPROMO Test Sonification.xml
|
190
|
+
- cockpit/templates.legacy/Syncing P34 1.xml
|
191
|
+
- cockpit/templates.legacy/Syncing P34 2.xml
|
192
|
+
- cockpit/templates.legacy/Syncing P34 3.xml
|
193
|
+
- cockpit/templates.legacy/Syncing P34.xml
|
194
|
+
- cockpit/templates.legacy/TEST - Bad Loop.xml
|
195
|
+
- cockpit/templates.legacy/TEST - Wrong Positions.xml
|
196
|
+
- cockpit/templates.legacy/Update.xml
|
197
|
+
- cockpit/templates.legacy/Worklist Parallel.xml
|
198
|
+
- cockpit/templates.legacy/Worklist Test CPEE.xml
|
199
|
+
- cockpit/templates.legacy/Worklist Test.xml
|
200
|
+
- cockpit/templates.legacy/Worklist Test2.xml
|
201
|
+
- cockpit/templates.legacy/convert_preset.rb
|
202
|
+
- cockpit/templates.legacy/testsets.xml
|
203
|
+
- cockpit/templates.legacy/transformations.xml
|
204
|
+
- cockpit/templates/BPM 2020 Manual Adjust.xml
|
205
|
+
- cockpit/templates/BPM 2020 Solution Baseline.xml
|
206
|
+
- cockpit/templates/BPM 2020 Solution NN.xml
|
207
|
+
- cockpit/templates/BPM 2020 Solution View.xml
|
208
|
+
- cockpit/templates/BPM 2020.xml
|
209
|
+
- cockpit/templates/Coopis 2010.xml
|
210
|
+
- cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml
|
211
|
+
- cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml
|
212
|
+
- cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml
|
213
|
+
- cockpit/templates/Worklist.xml
|
214
|
+
- cockpit/templates/convert_preset.rb
|
215
|
+
- cockpit/templates/testsets.xml
|
216
|
+
- cockpit/templates/transformations.xml
|
207
217
|
- cockpit/themes/compact/rngs/alternative.rng
|
208
218
|
- cockpit/themes/compact/rngs/call.rng
|
209
219
|
- cockpit/themes/compact/rngs/callmanipulate.rng
|
@@ -541,20 +551,15 @@ files:
|
|
541
551
|
- server/handlerwrappers/default.rb
|
542
552
|
- server/handlerwrappers/soap.rb
|
543
553
|
- server/resources/empty_dslx.xml
|
544
|
-
- server/resources/notifications/logging/consumer-secret
|
545
|
-
- server/resources/notifications/logging/producer-secret
|
546
|
-
- server/resources/notifications/logging/subscription.xml
|
547
554
|
- server/resources/properties.init
|
548
555
|
- server/resources/properties.schema.active
|
549
556
|
- server/resources/properties.schema.finished
|
550
557
|
- server/resources/properties.schema.inactive
|
551
|
-
- server/resources/test1.xml
|
552
|
-
- server/resources/test2.xml
|
553
|
-
- server/resources/test3.xml
|
554
558
|
- server/resources/topics.xml
|
555
559
|
- server/resources/transformation.xml
|
556
560
|
- server/resources/transformation_dslx.xsl
|
557
561
|
- server/server.rb
|
562
|
+
- server/transformation_dslx.xsl
|
558
563
|
- test/callback.rb
|
559
564
|
- tools/cpee
|
560
565
|
- tools/instantiation/instantiation
|
data/cockpit/test.html
DELETED
@@ -1,40 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8"/>
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
6
|
-
<title>CPEE Cockpit</title>
|
7
|
-
<style>
|
8
|
-
:root {
|
9
|
-
--xx1: bold;
|
10
|
-
--xx2: normal;
|
11
|
-
}
|
12
|
-
#a, #c {
|
13
|
-
font-weight: var(--xx1);
|
14
|
-
}
|
15
|
-
#b, #d {
|
16
|
-
font-weight: var(--xx2);
|
17
|
-
}
|
18
|
-
#a:hover, #c:hover {
|
19
|
-
@nest & {
|
20
|
-
--xx1: bold;
|
21
|
-
}
|
22
|
-
}
|
23
|
-
#b:hover, #d:hover {
|
24
|
-
@nest & {
|
25
|
-
--xx2: bold;
|
26
|
-
}
|
27
|
-
}
|
28
|
-
</style>
|
29
|
-
</head>
|
30
|
-
<body>
|
31
|
-
<div id='graphgrid'>
|
32
|
-
<div>
|
33
|
-
<div id='a' class='a'>aaa</div>
|
34
|
-
<div id='b' class='b'>bbb</div>
|
35
|
-
</div>
|
36
|
-
<div id='c' class='a'>aaa</div>
|
37
|
-
<div id='d' class='b'>bbb</div>
|
38
|
-
</div>
|
39
|
-
</body>
|
40
|
-
</html>
|
@@ -1,56 +0,0 @@
|
|
1
|
-
<testset>
|
2
|
-
<dataelements/>
|
3
|
-
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
4
|
-
<endpoints>
|
5
|
-
<timeout xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
6
|
-
<instantiate xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://localhost:9296/url/</instantiate>
|
7
|
-
</endpoints>
|
8
|
-
<positions/>
|
9
|
-
<description>
|
10
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
11
|
-
<call id="a1" endpoint="instantiate">
|
12
|
-
<parameters>
|
13
|
-
<label>Take 5</label>
|
14
|
-
<method>:post</method>
|
15
|
-
<arguments>
|
16
|
-
<info>Take Time</info>
|
17
|
-
<behavior>wait_running</behavior>
|
18
|
-
<url>http://localhost/testsets/Take_5.xml</url>
|
19
|
-
<init>
|
20
|
-
<a>3</a>
|
21
|
-
</init>
|
22
|
-
</arguments>
|
23
|
-
</parameters>
|
24
|
-
<code>
|
25
|
-
<finalize output="result">data.instance = result['CPEE-INSTANCE']
|
26
|
-
data.res = result</finalize>
|
27
|
-
<update output="result"/>
|
28
|
-
</code>
|
29
|
-
<annotations>
|
30
|
-
<_timing>
|
31
|
-
<_timing_min/>
|
32
|
-
<_timing_max/>
|
33
|
-
<_timing_avg/>
|
34
|
-
</_timing>
|
35
|
-
<_notes>
|
36
|
-
<_notes_general/>
|
37
|
-
<_notes_output/>
|
38
|
-
<_attachments/>
|
39
|
-
</_notes>
|
40
|
-
</annotations>
|
41
|
-
</call>
|
42
|
-
</description>
|
43
|
-
</description>
|
44
|
-
<transformation>
|
45
|
-
<description type="copy"/>
|
46
|
-
<dataelements type="none"/>
|
47
|
-
<endpoints type="none"/>
|
48
|
-
</transformation>
|
49
|
-
<attributes>
|
50
|
-
<info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Subprocess</info>
|
51
|
-
<modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
|
52
|
-
<theme xmlns="http://riddl.org/ns/common-patterns/properties/1.0">preset</theme>
|
53
|
-
<customer xmlns="http://riddl.org/ns/common-patterns/properties/1.0">pilotfabrik</customer>
|
54
|
-
<status xmlns="http://riddl.org/ns/common-patterns/properties/1.0">development</status>
|
55
|
-
</attributes>
|
56
|
-
</testset>
|
@@ -1 +0,0 @@
|
|
1
|
-
f7c77861ac613eeac8fb9829c9a545a2
|
@@ -1 +0,0 @@
|
|
1
|
-
2a24d172b1aeb05fe94fdc5e095dec32
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/1.0" url="http://localhost:9299/">
|
2
|
-
<topic id="activity">
|
3
|
-
<event>calling</event>
|
4
|
-
<event>receiving</event>
|
5
|
-
<event>done</event>
|
6
|
-
</topic>
|
7
|
-
<topic id="dataelements">
|
8
|
-
<event>change</event>
|
9
|
-
</topic>
|
10
|
-
<topic id="endpoints">
|
11
|
-
<event>change</event>
|
12
|
-
</topic>
|
13
|
-
<topic id="attributes">
|
14
|
-
<event>change</event>
|
15
|
-
</topic>
|
16
|
-
<topic id="task">
|
17
|
-
<event>instantiation</event>
|
18
|
-
</topic>
|
19
|
-
</subscription>
|
data/server/resources/test1.xml
DELETED
@@ -1,58 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<testset>
|
3
|
-
<positions><!--{{{-->
|
4
|
-
<a1>after</a1>
|
5
|
-
</positions><!--}}}-->
|
6
|
-
<attributes>
|
7
|
-
<info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Linear</info>
|
8
|
-
<modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
|
9
|
-
<theme>default</theme>
|
10
|
-
</attributes>
|
11
|
-
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
12
|
-
<dataelements><!--{{{-->
|
13
|
-
<x/>
|
14
|
-
</dataelements><!--}}}-->
|
15
|
-
<handlers/>
|
16
|
-
<endpoints><!--{{{-->
|
17
|
-
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
18
|
-
</endpoints><!--}}}-->
|
19
|
-
<description>
|
20
|
-
<description xmlns="http://cpee.org/ns/description/1.0"><!--{{{-->
|
21
|
-
<call id="a1" endpoint="timeout">
|
22
|
-
<parameters><!--{{{-->
|
23
|
-
<label>Step 1</label>
|
24
|
-
<method>:post</method>
|
25
|
-
<arguments>
|
26
|
-
<timeout>2</timeout>
|
27
|
-
</arguments>
|
28
|
-
</parameters><!--}}}-->
|
29
|
-
<finalize output="result">data.x += "a1,"</finalize>
|
30
|
-
</call>
|
31
|
-
<call id="a2" endpoint="timeout">
|
32
|
-
<parameters><!--{{{-->
|
33
|
-
<label>Step 2</label>
|
34
|
-
<method>:post</method>
|
35
|
-
<arguments>
|
36
|
-
<timeout>4</timeout>
|
37
|
-
</arguments>
|
38
|
-
</parameters><!--}}}-->
|
39
|
-
<finalize output="result">data.x += "a2,"</finalize>
|
40
|
-
</call>
|
41
|
-
<call id="a3" endpoint="timeout">
|
42
|
-
<parameters><!--{{{-->
|
43
|
-
<label>Step 3</label>
|
44
|
-
<method>:post</method>
|
45
|
-
<arguments>
|
46
|
-
<timeout>4</timeout>
|
47
|
-
</arguments>
|
48
|
-
</parameters><!--}}}-->
|
49
|
-
<finalize output="result">data.x += "a3,"</finalize>
|
50
|
-
</call>
|
51
|
-
</description><!--}}}-->
|
52
|
-
</description>
|
53
|
-
<transformation>
|
54
|
-
<description type='copy'/>
|
55
|
-
<dataelements type='rest'/>
|
56
|
-
<endpoints type='rest'/>
|
57
|
-
</transformation>
|
58
|
-
</testset>
|
data/server/resources/test2.xml
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
<?xml version="1.0"?>
|
2
|
-
<testset>
|
3
|
-
<positions><!--{{{-->
|
4
|
-
<a1>after</a1>
|
5
|
-
</positions><!--}}}-->
|
6
|
-
<attributes>
|
7
|
-
<info xmlns="http://riddl.org/ns/common-patterns/properties/1.0">Linear</info>
|
8
|
-
<modeltype xmlns="http://riddl.org/ns/common-patterns/properties/1.0">CPEE</modeltype>
|
9
|
-
<theme>default</theme>
|
10
|
-
</attributes>
|
11
|
-
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
12
|
-
<dataelements><!--{{{-->
|
13
|
-
<x/>
|
14
|
-
</dataelements><!--}}}-->
|
15
|
-
<handlers/>
|
16
|
-
<endpoints><!--{{{-->
|
17
|
-
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
|
18
|
-
</endpoints><!--}}}-->
|
19
|
-
<description>
|
20
|
-
<description xmlns="http://cpee.org/ns/description/1.0"><!--{{{-->
|
21
|
-
<call id="a1" endpoint="timeout">
|
22
|
-
<parameters><!--{{{-->
|
23
|
-
<label>Step 1</label>
|
24
|
-
<method>:post</method>
|
25
|
-
<arguments>
|
26
|
-
<timeout>2</timeout>
|
27
|
-
</arguments>
|
28
|
-
</parameters><!--}}}-->
|
29
|
-
<code>
|
30
|
-
<finalize output="result">data.x += "a1,"</finalize>
|
31
|
-
</code>
|
32
|
-
</call>
|
33
|
-
<call id="a2" endpoint="timeout">
|
34
|
-
<parameters><!--{{{-->
|
35
|
-
<label>Step 2</label>
|
36
|
-
<method>:post</method>
|
37
|
-
<arguments>
|
38
|
-
<timeout>4</timeout>
|
39
|
-
</arguments>
|
40
|
-
</parameters><!--}}}-->
|
41
|
-
<finalize output="result">data.x += "a2,"</finalize>
|
42
|
-
</call>
|
43
|
-
<call id="a3" endpoint="timeout">
|
44
|
-
<parameters><!--{{{-->
|
45
|
-
<label>Step 3</label>
|
46
|
-
<method>:post</method>
|
47
|
-
<arguments>
|
48
|
-
<timeout>4</timeout>
|
49
|
-
</arguments>
|
50
|
-
</parameters><!--}}}-->
|
51
|
-
<finalize output="result">data.x += "a3,"</finalize>
|
52
|
-
</call>
|
53
|
-
</description><!--}}}-->
|
54
|
-
</description>
|
55
|
-
<transformation>
|
56
|
-
<description type='copy'/>
|
57
|
-
<dataelements type='rest'/>
|
58
|
-
<endpoints type='rest'/>
|
59
|
-
</transformation>
|
60
|
-
</testset>
|
data/server/resources/test3.xml
DELETED
@@ -1,217 +0,0 @@
|
|
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
|
-
<properties xmlns="http://riddl.org/ns/common-patterns/properties/1.0">
|
18
|
-
<attributes>
|
19
|
-
<uuid>ea33c1e0-b5b6-44d3-b1a8-24b34ebf92cc</uuid>
|
20
|
-
<info>Matthias</info>
|
21
|
-
<modeltype>CPEE</modeltype>
|
22
|
-
<theme>preset</theme>
|
23
|
-
<customer>pilotfabrik</customer>
|
24
|
-
<status>development</status>
|
25
|
-
</attributes>
|
26
|
-
<state changed="2019-11-22T11:19:10+01:00">stopped</state>
|
27
|
-
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
28
|
-
<positions>
|
29
|
-
<a2 passthrough="">after</a2>
|
30
|
-
</positions>
|
31
|
-
<dataelements>
|
32
|
-
<a>1</a>
|
33
|
-
<intermediate>{"value":20}</intermediate>
|
34
|
-
<last>{"value":6,"anotherValue":3}</last>
|
35
|
-
</dataelements>
|
36
|
-
<endpoints>
|
37
|
-
<timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php?test=12</timeout>
|
38
|
-
<start_url>https://centurio.work/flow/start/url/</start_url>
|
39
|
-
<ipc_send>https://centurio.work/ing/correlators/message/send/</ipc_send>
|
40
|
-
<ipc_receive>https-get://centurio.work/ing/correlators/message/receive/</ipc_receive>
|
41
|
-
<ipc_delete>https-delete://centurio.work/ing/correlators/message/receive/</ipc_delete>
|
42
|
-
<data_creator>https://centurio.work/customers/bsm/workaroundlink/functionality/data_creator.php</data_creator>
|
43
|
-
<answer_later>https://centurio.work/customers/bsm/workaroundlink/functionality/answer_later.php</answer_later>
|
44
|
-
</endpoints>
|
45
|
-
<dsl>loop pre_test("true") do
|
46
|
-
call :a1, :data_creator, parameters: { :label => "Test", :method => :post, :arguments => [⭐(:name => :timeout, :value => ->{ data.a }), ⭐(:name => :test__, :value => ->{ "12" })], :stream => {:sensors => "[ { \"name\": \"something\", \"extractor_url\": \"extractor.php\", \"extractor_arg\": \"{\\\"nav\\\":\\\"$.value\\\"}\", \"visualizer_url\": \"someurl.php\", \"visualizer_params\": { \"a\": \"b\", \"d\": \"c\" } }, { \"name\": \"value2\", \"extractor_url\": \"\", \"extractor_arg\": \"{\\\"nav\\\":\\\"$.anotherValue\\\"}\", \"visualizer_url\": \"\", \"visualizer_params\": \"\" } ]", :aggregators => {:aggregator => {:name => agglabel, :aggregator_url => "aggurl", :aggregator_arg => "aggarg"}}, :_cost => {:_cost_factor => {:name => "tarlabel", :target => "tarval", :vfunc_url => "viourl", :vfunc_arg => "vioarg", :vcost => "viocost"}}} }, finalize: <<-END, update: <<-END
|
47
|
-
data.last=result
|
48
|
-
END
|
49
|
-
data.intermediate=result
|
50
|
-
END
|
51
|
-
stop :a2
|
52
|
-
end
|
53
|
-
</dsl>
|
54
|
-
<dslx>
|
55
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
56
|
-
<loop mode="pre_test" condition="true">
|
57
|
-
<_probability>
|
58
|
-
<_probability_min/>
|
59
|
-
<_probability_max/>
|
60
|
-
<_probability_avg/>
|
61
|
-
</_probability>
|
62
|
-
<call id="a1" endpoint="data_creator">
|
63
|
-
<parameters>
|
64
|
-
<label>Test</label>
|
65
|
-
<method>:post</method>
|
66
|
-
<arguments>
|
67
|
-
<timeout>!data.a</timeout>
|
68
|
-
<test__>12</test__>
|
69
|
-
</arguments>
|
70
|
-
<stream>
|
71
|
-
<sensors>
|
72
|
-
<sensor>
|
73
|
-
<name>something</name>
|
74
|
-
<extractor_url>extractor.php</extractor_url>
|
75
|
-
<extractor_arg>{"nav":"$.value"}</extractor_arg>
|
76
|
-
<visualizer_url>someurl.php</visualizer_url>
|
77
|
-
<visualizer_params>
|
78
|
-
<d>b</d>
|
79
|
-
<d>c</d>
|
80
|
-
</visualizer_params>
|
81
|
-
</sensor>
|
82
|
-
<sensor>
|
83
|
-
<name>value2</name>
|
84
|
-
<extractor_url/>
|
85
|
-
<extractor_arg>{"nav":"$.anotherValue"}</extractor_arg>
|
86
|
-
<visualizer_url/>
|
87
|
-
<visualizer_params/>
|
88
|
-
</sensor>
|
89
|
-
</sensors>
|
90
|
-
<aggregators>
|
91
|
-
<aggregator>
|
92
|
-
<name>agglabel</name>
|
93
|
-
<aggregator_url>"aggurl"</aggregator_url>
|
94
|
-
<aggregator_arg>"aggarg"</aggregator_arg>
|
95
|
-
</aggregator>
|
96
|
-
</aggregators>
|
97
|
-
<_cost>
|
98
|
-
<_cost_factor>
|
99
|
-
<name>"tarlabel"</name>
|
100
|
-
<target>"tarval"</target>
|
101
|
-
<vfunc_url>"viourl"</vfunc_url>
|
102
|
-
<vfunc_arg>"vioarg"</vfunc_arg>
|
103
|
-
<vcost>"viocost"</vcost>
|
104
|
-
</_cost_factor>
|
105
|
-
</_cost>
|
106
|
-
</stream>
|
107
|
-
</parameters>
|
108
|
-
<code>
|
109
|
-
<prepare/>
|
110
|
-
<finalize output="result">data.last=result</finalize>
|
111
|
-
<update output="result">data.intermediate=result</update>
|
112
|
-
<rescue output="result"/>
|
113
|
-
</code>
|
114
|
-
<annotations>
|
115
|
-
<_timing>
|
116
|
-
<_timing_min/>
|
117
|
-
<_timing_max/>
|
118
|
-
<_timing_avg/>
|
119
|
-
</_timing>
|
120
|
-
<_notes>
|
121
|
-
<_notes_general/>
|
122
|
-
<_notes_output/>
|
123
|
-
<_attachments/>
|
124
|
-
</_notes>
|
125
|
-
</annotations>
|
126
|
-
</call>
|
127
|
-
<stop id="a2"/>
|
128
|
-
</loop>
|
129
|
-
</description>
|
130
|
-
</dslx>
|
131
|
-
<status>
|
132
|
-
<id>0</id>
|
133
|
-
<message>undefined</message>
|
134
|
-
</status>
|
135
|
-
<description>
|
136
|
-
<description xmlns="http://cpee.org/ns/description/1.0">
|
137
|
-
<loop mode="pre_test" condition="true">
|
138
|
-
<_probability>
|
139
|
-
<_probability_min/>
|
140
|
-
<_probability_max/>
|
141
|
-
<_probability_avg/>
|
142
|
-
</_probability>
|
143
|
-
<call id="a1" endpoint="data_creator">
|
144
|
-
<parameters>
|
145
|
-
<label>Test</label>
|
146
|
-
<method>:post</method>
|
147
|
-
<arguments>
|
148
|
-
<timeout>!data.a</timeout>
|
149
|
-
<test__>12</test__>
|
150
|
-
</arguments>
|
151
|
-
<stream>
|
152
|
-
<sensors>
|
153
|
-
<sensor>
|
154
|
-
<name>something</name>
|
155
|
-
<extractor_url>extractor.php</extractor_url>
|
156
|
-
<extractor_arg>{"nav":"$.value"}</extractor_arg>
|
157
|
-
<visualizer_url>someurl.php</visualizer_url>
|
158
|
-
<visualizer_params>
|
159
|
-
<a>b</a>
|
160
|
-
<d>c</d>
|
161
|
-
</visualizer_params>
|
162
|
-
</sensor>
|
163
|
-
<sensor>
|
164
|
-
<name>value2</name>
|
165
|
-
<extractor_url/>
|
166
|
-
<extractor_arg>{"nav":"$.anotherValue"}</extractor_arg>
|
167
|
-
<visualizer_url/>
|
168
|
-
<visualizer_params/>
|
169
|
-
</sensor>
|
170
|
-
</sensors>
|
171
|
-
<aggregators>
|
172
|
-
<aggregator>
|
173
|
-
<name>agglabel</name>
|
174
|
-
<aggregator_url>"aggurl"</aggregator_url>
|
175
|
-
<aggregator_arg>"aggarg"</aggregator_arg>
|
176
|
-
</aggregator>
|
177
|
-
</aggregators>
|
178
|
-
<_cost>
|
179
|
-
<_cost_factor>
|
180
|
-
<name>"tarlabel"</name>
|
181
|
-
<target>"tarval"</target>
|
182
|
-
<vfunc_url>"viourl"</vfunc_url>
|
183
|
-
<vfunc_arg>"vioarg"</vfunc_arg>
|
184
|
-
<vcost>"viocost"</vcost>
|
185
|
-
</_cost_factor>
|
186
|
-
</_cost>
|
187
|
-
</stream>
|
188
|
-
</parameters>
|
189
|
-
<code>
|
190
|
-
<prepare/>
|
191
|
-
<finalize output="result">data.last=result</finalize>
|
192
|
-
<update output="result">data.intermediate=result</update>
|
193
|
-
<rescue output="result"/>
|
194
|
-
</code>
|
195
|
-
<annotations>
|
196
|
-
<_timing>
|
197
|
-
<_timing_min/>
|
198
|
-
<_timing_max/>
|
199
|
-
<_timing_avg/>
|
200
|
-
</_timing>
|
201
|
-
<_notes>
|
202
|
-
<_notes_general/>
|
203
|
-
<_notes_output/>
|
204
|
-
<_attachments/>
|
205
|
-
</_notes>
|
206
|
-
</annotations>
|
207
|
-
</call>
|
208
|
-
<stop id="a2"/>
|
209
|
-
</loop>
|
210
|
-
</description>
|
211
|
-
</description>
|
212
|
-
<transformation>
|
213
|
-
<description type="copy"/>
|
214
|
-
<dataelements type="none"/>
|
215
|
-
<endpoints type="none"/>
|
216
|
-
</transformation>
|
217
|
-
</properties>
|