cpee 2.1.22 → 2.1.23

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa731deacecf576f30706082b0b3a6ae433768bf24c7343a7616d98b926a75c3
4
- data.tar.gz: db1524f25160fa63c0118ed7e663e56354ca418fc787cbc99bce92a9f12bfa0b
3
+ metadata.gz: 74c9f86d0016a3561b32f8fe75bece9a3602764c253d585ff6cc48635057e207
4
+ data.tar.gz: ab8b4b7ad70d62e51f76290e76b8032a0c75346cc21337418b6183c89beec7d8
5
5
  SHA512:
6
- metadata.gz: 0d7b9968aa766645e4769223c508c2c730b2cd8ebac7f07c40dc07e54f3ffc04c181e90530d0887eba0cc279f89d7ad836951302642557edb6849c2303552f31
7
- data.tar.gz: e90a1bf335e44a2e59e0b1e1b133922f6862bb34aa44c602c8f0e48c6a94153bdac27497fae210d6bab6b3979a7dbc9ed9610445fcf5a18668cc6becdbfcbc90
6
+ metadata.gz: 9be91cc28dcec9341559457e0f52472d03d9ff21d10a00f0b6c8d97e0dfc87674d1d292b7a6a4dfb40f319f92db66427ce316a75eccf2263736be6475f65d9ff
7
+ data.tar.gz: b4de9bb341ff0c80a39d8e25762a7ed3cb874b7a18144baeb4bd78dab5f84bb8ff4aeb5e97606c417a49dc1e5814a65e1d28091f3c084485bdd2c1c850680de6
@@ -1,4 +1,3 @@
1
- <?xml version="1.0"?>
2
1
  <testset xmlns="http://cpee.org/ns/properties/2.0">
3
2
  <executionhandler>ruby</executionhandler>
4
3
  <dataelements>
@@ -40,10 +39,12 @@
40
39
  data.costs += result.value('costs').to_f
41
40
  status.update 1, 'Hotel'</finalize>
42
41
  </code>
42
+ <annotations/>
43
+ <documentation/>
43
44
  </call>
44
45
  <parallel wait="-1" cancel="last">
45
46
  <loop mode="pre_test" condition="data.persons &gt; 0">
46
- <parallel_branch pass="data.persons" local="p">
47
+ <parallel_branch>
47
48
  <call id="a2" endpoint="bookHotel">
48
49
  <parameters>
49
50
  <label>Book Hotel</label>
@@ -56,6 +57,8 @@ status.update 1, 'Hotel'</finalize>
56
57
  <finalize output="result">data.hotels &lt;&lt; result.value('id')
57
58
  data.costs += result.value('costs').to_f</finalize>
58
59
  </code>
60
+ <annotations/>
61
+ <documentation/>
59
62
  </call>
60
63
  </parallel_branch>
61
64
  <manipulate id="a3">data.persons -= 1</manipulate>
@@ -71,6 +74,8 @@ data.costs += result.value('costs').to_f</finalize>
71
74
  <costs>data.costs</costs>
72
75
  </arguments>
73
76
  </parameters>
77
+ <annotations/>
78
+ <documentation/>
74
79
  </call>
75
80
  </alternative>
76
81
  </choose>
@@ -81,4 +86,4 @@ data.costs += result.value('costs').to_f</finalize>
81
86
  <dataelements type="none"/>
82
87
  <endpoints type="none"/>
83
88
  </transformation>
84
- </testset>
89
+ </testset>
@@ -13,19 +13,20 @@
13
13
  <dataelements>
14
14
  <x/>
15
15
  </dataelements>
16
- <handlers>
17
- <!--{{{-->
18
- <handler url="http://localhost:9399/1/events">
19
- <votes topic="activity">syncing_before,syncing_after</votes>
20
- </handler>
21
- </handlers>
16
+ <subscriptions xmlns="http://riddl.org/ns/common-patterns/notifications-producer/2.0">
17
+ <subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/2.0" id="_sync" url="http://localhost:9399/1/events">
18
+ <topic id="activity">
19
+ <vote>syncing_before</vote>
20
+ <vote>syncing_after</vote>
21
+ </topic>
22
+ </subscription>
23
+ </subscriptions>
22
24
  <endpoints>
23
25
  <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
24
26
  <timeouts>http://gruppe.wst.univie.ac.at/~mangler/services/timeout-sync.php</timeouts>
25
27
  </endpoints>
26
28
  <description>
27
29
  <description xmlns="http://cpee.org/ns/description/1.0">
28
- <!--{{{-->
29
30
  <call id="a1" endpoint="timeout">
30
31
  <parameters>
31
32
  <!--{{{-->
@@ -39,6 +40,8 @@
39
40
  <code>
40
41
  <finalize output="result">data.x += "a1,"</finalize>
41
42
  </code>
43
+ <annotations/>
44
+ <documentation/>
42
45
  </call>
43
46
  <call id="a2" endpoint="timeouts">
44
47
  <parameters>
@@ -53,6 +56,8 @@
53
56
  <code>
54
57
  <finalize output="result">data.x += "a2,"</finalize>
55
58
  </code>
59
+ <annotations/>
60
+ <documentation/>
56
61
  </call>
57
62
  <call id="a3" endpoint="timeout">
58
63
  <parameters>
@@ -67,6 +72,8 @@
67
72
  <code>
68
73
  <finalize output="result">data.x += "a3,"</finalize>
69
74
  </code>
75
+ <annotations/>
76
+ <documentation/>
70
77
  </call>
71
78
  </description>
72
79
  </description>
@@ -75,4 +82,4 @@
75
82
  <dataelements type="rest"/>
76
83
  <endpoints type="rest"/>
77
84
  </transformation>
78
- </testset>
85
+ </testset>
@@ -13,19 +13,20 @@
13
13
  <dataelements>
14
14
  <x/>
15
15
  </dataelements>
16
- <handlers>
17
- <!--{{{-->
18
- <handler url="http://localhost:9399/1/events">
19
- <votes topic="activity">syncing_before,syncing_after</votes>
20
- </handler>
21
- </handlers>
16
+ <subscriptions xmlns="http://riddl.org/ns/common-patterns/notifications-producer/2.0">
17
+ <subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/2.0" id="_sync" url="http://localhost:9399/1/events">
18
+ <topic id="activity">
19
+ <vote>syncing_before</vote>
20
+ <vote>syncing_after</vote>
21
+ </topic>
22
+ </subscription>
23
+ </subscriptions>
22
24
  <endpoints>
23
25
  <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
24
26
  <timeouts>http://gruppe.wst.univie.ac.at/~mangler/services/timeout-sync.php</timeouts>
25
27
  </endpoints>
26
28
  <description>
27
29
  <description xmlns="http://cpee.org/ns/description/1.0">
28
- <!--{{{-->
29
30
  <call id="a1" endpoint="timeout">
30
31
  <parameters>
31
32
  <!--{{{-->
@@ -39,6 +40,8 @@
39
40
  <code>
40
41
  <finalize output="result">data.x += "a1,"</finalize>
41
42
  </code>
43
+ <annotations/>
44
+ <documentation/>
42
45
  </call>
43
46
  <call id="a2" endpoint="timeouts">
44
47
  <parameters>
@@ -53,6 +56,8 @@
53
56
  <code>
54
57
  <finalize output="result">data.x += "a2,"</finalize>
55
58
  </code>
59
+ <annotations/>
60
+ <documentation/>
56
61
  </call>
57
62
  <call id="a3" endpoint="timeout">
58
63
  <parameters>
@@ -67,6 +72,8 @@
67
72
  <code>
68
73
  <finalize output="result">data.x += "a3,"</finalize>
69
74
  </code>
75
+ <annotations/>
76
+ <documentation/>
70
77
  </call>
71
78
  </description>
72
79
  </description>
@@ -75,4 +82,4 @@
75
82
  <dataelements type="rest"/>
76
83
  <endpoints type="rest"/>
77
84
  </transformation>
78
- </testset>
85
+ </testset>
@@ -13,19 +13,20 @@
13
13
  <dataelements>
14
14
  <x/>
15
15
  </dataelements>
16
- <handlers>
17
- <!--{{{-->
18
- <handler url="http://localhost:9399/1/events">
19
- <votes topic="activity">syncing_before,syncing_after</votes>
20
- </handler>
21
- </handlers>
16
+ <subscriptions xmlns="http://riddl.org/ns/common-patterns/notifications-producer/2.0">
17
+ <subscription xmlns="http://riddl.org/ns/common-patterns/notifications-producer/2.0" id="_sync" url="http://localhost:9399/1/events">
18
+ <topic id="activity">
19
+ <vote>syncing_before</vote>
20
+ <vote>syncing_after</vote>
21
+ </topic>
22
+ </subscription>
23
+ </subscriptions>
22
24
  <endpoints>
23
25
  <timeout>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</timeout>
24
26
  <timeouts>http://gruppe.wst.univie.ac.at/~mangler/services/timeout-sync.php</timeouts>
25
27
  </endpoints>
26
28
  <description>
27
29
  <description xmlns="http://cpee.org/ns/description/1.0">
28
- <!--{{{-->
29
30
  <call id="a1" endpoint="timeout">
30
31
  <parameters>
31
32
  <!--{{{-->
@@ -39,6 +40,8 @@
39
40
  <code>
40
41
  <finalize output="result">data.x += "a1,"</finalize>
41
42
  </code>
43
+ <annotations/>
44
+ <documentation/>
42
45
  </call>
43
46
  <call id="a2" endpoint="timeouts">
44
47
  <parameters>
@@ -53,6 +56,8 @@
53
56
  <code>
54
57
  <finalize output="result">data.x += "a2,"</finalize>
55
58
  </code>
59
+ <annotations/>
60
+ <documentation/>
56
61
  </call>
57
62
  <call id="a3" endpoint="timeout">
58
63
  <parameters>
@@ -67,6 +72,8 @@
67
72
  <code>
68
73
  <finalize output="result">data.x += "a3,"</finalize>
69
74
  </code>
75
+ <annotations/>
76
+ <documentation/>
70
77
  </call>
71
78
  </description>
72
79
  </description>
@@ -75,4 +82,4 @@
75
82
  <dataelements type="rest"/>
76
83
  <endpoints type="rest"/>
77
84
  </transformation>
78
- </testset>
85
+ </testset>
@@ -17,7 +17,7 @@
17
17
  <_probability_max/>
18
18
  <_probability_avg/>
19
19
  </_probability>
20
- <parallel_branch pass="" local="">
20
+ <parallel_branch>
21
21
  <call id="a1" endpoint="start_url">
22
22
  <parameters>
23
23
  <label>Start</label>
@@ -52,6 +52,7 @@
52
52
  <_notes_general/>
53
53
  </_notes>
54
54
  </annotations>
55
+ <documentation/>
55
56
  </call>
56
57
  </parallel_branch>
57
58
  <manipulate id="a4" label="">data.i += 1</manipulate>
@@ -17,7 +17,7 @@
17
17
  <_probability_max/>
18
18
  <_probability_avg/>
19
19
  </_probability>
20
- <parallel_branch pass="" local="">
20
+ <parallel_branch>
21
21
  <call id="a1" endpoint="start_url">
22
22
  <parameters>
23
23
  <label>Start</label>
@@ -52,6 +52,7 @@
52
52
  <_notes_general/>
53
53
  </_notes>
54
54
  </annotations>
55
+ <documentation/>
55
56
  </call>
56
57
  </parallel_branch>
57
58
  <manipulate id="a4" label="">data.i += 1</manipulate>
@@ -44,6 +44,7 @@ data.direction_first['y'] = data.direction_first['dir_y'] * 6</finalize>
44
44
  <_notes_general/>
45
45
  </_notes>
46
46
  </annotations>
47
+ <documentation/>
47
48
  </call>
48
49
  <call id="a10" endpoint="move_rel">
49
50
  <parameters>
@@ -70,6 +71,7 @@ data.direction_first['y'] = data.direction_first['dir_y'] * 6</finalize>
70
71
  <_notes_general/>
71
72
  </_notes>
72
73
  </annotations>
74
+ <documentation/>
73
75
  </call>
74
76
  <call id="a17" endpoint="get_offset_base">
75
77
  <parameters>
@@ -107,6 +109,7 @@ data.direction_second['y'] = data.direction_second['dir_y'] * data.len</finalize
107
109
  <_notes_general/>
108
110
  </_notes>
109
111
  </annotations>
112
+ <documentation/>
110
113
  </call>
111
114
  <call id="a12" endpoint="move_rel">
112
115
  <parameters>
@@ -133,6 +136,7 @@ data.direction_second['y'] = data.direction_second['dir_y'] * data.len</finalize
133
136
  <_notes_general/>
134
137
  </_notes>
135
138
  </annotations>
139
+ <documentation/>
136
140
  </call>
137
141
  <call id="a2" endpoint="get_offset_base">
138
142
  <parameters>
@@ -162,6 +166,7 @@ data.direction_second['y'] = data.direction_second['dir_y'] * data.len</finalize
162
166
  <_notes_general/>
163
167
  </_notes>
164
168
  </annotations>
169
+ <documentation/>
165
170
  </call>
166
171
  <manipulate id="a11" label="Calculate new position">data.item = {}
167
172
  data.item['adjust_x'] = (data.direction_first['x'] + data.direction_second['x']).round(0)
@@ -3,13 +3,6 @@
3
3
  <dataelements>
4
4
  <places>[[0,0],[1,0],[0,1],[1,1],[0,2],[1,2],[0,3],[1,3],[0,4],[1,4],[0,5],[1,5]]</places>
5
5
  </dataelements>
6
- <handlers>
7
- <handler url="http://tango.wst.univie.ac.at:9332">
8
- <votes topic="state">change</votes>
9
- <events topic="state">change</events>
10
- <events topic="task">instantiation</events>
11
- </handler>
12
- </handlers>
13
6
  <endpoints>
14
7
  <overview>http-put://ryloth.wst.univie.ac.at:9329/move/overview</overview>
15
8
  <move_tool>http-put://ryloth.wst.univie.ac.at:9329/move/position/point</move_tool>
@@ -51,6 +44,7 @@
51
44
  <_notes_general/>
52
45
  </_notes>
53
46
  </annotations>
47
+ <documentation/>
54
48
  </call>
55
49
  <call id="a3" endpoint="get_items_base">
56
50
  <parameters>
@@ -80,6 +74,7 @@
80
74
  <_notes_general/>
81
75
  </_notes>
82
76
  </annotations>
77
+ <documentation/>
83
78
  </call>
84
79
  <choose mode="exclusive">
85
80
  <alternative condition="data.items.length &gt; 0">
@@ -108,6 +103,7 @@
108
103
  <_notes_general/>
109
104
  </_notes>
110
105
  </annotations>
106
+ <documentation/>
111
107
  </call>
112
108
  <call id="a2" endpoint="subprocess">
113
109
  <parameters>
@@ -147,6 +143,7 @@ data.item['y'] = data.items.first['y'] + data.item['adjust_y']</finalize>
147
143
  <_notes_general/>
148
144
  </_notes>
149
145
  </annotations>
146
+ <documentation/>
150
147
  </call>
151
148
  <call id="a8" endpoint="grip_and_place">
152
149
  <parameters>
@@ -175,6 +172,7 @@ data.item['y'] = data.items.first['y'] + data.item['adjust_y']</finalize>
175
172
  <_notes_general/>
176
173
  </_notes>
177
174
  </annotations>
175
+ <documentation/>
178
176
  </call>
179
177
  <_probability>
180
178
  <_probability_min/>
@@ -204,4 +202,4 @@ data.item['y'] = data.items.first['y'] + data.item['adjust_y']</finalize>
204
202
  <design_stage>development</design_stage>
205
203
  <design_dir>Templates.dir</design_dir>
206
204
  </attributes>
207
- </testset>
205
+ </testset>
@@ -3,13 +3,6 @@
3
3
  <dataelements>
4
4
  <places>[[0,0],[1,0],[0,1],[1,1],[0,2],[1,2],[0,3],[1,3],[0,4],[1,4],[0,5],[1,5]]</places>
5
5
  </dataelements>
6
- <handlers>
7
- <handler url="http://tango.wst.univie.ac.at:9332">
8
- <votes topic="state">change</votes>
9
- <events topic="state">change</events>
10
- <events topic="task">instantiation</events>
11
- </handler>
12
- </handlers>
13
6
  <endpoints>
14
7
  <overview>http-put://ryloth.wst.univie.ac.at:9329/move/overview</overview>
15
8
  <move_tool>http-put://ryloth.wst.univie.ac.at:9329/move/position/point</move_tool>
@@ -51,6 +44,7 @@
51
44
  <_notes_general/>
52
45
  </_notes>
53
46
  </annotations>
47
+ <documentation/>
54
48
  </call>
55
49
  <call id="a3" endpoint="get_items_neural">
56
50
  <parameters>
@@ -81,6 +75,7 @@ data.item = result[0]</finalize>
81
75
  <_notes_general/>
82
76
  </_notes>
83
77
  </annotations>
78
+ <documentation/>
84
79
  </call>
85
80
  <choose mode="exclusive">
86
81
  <alternative condition="data.items.length &gt; 0">
@@ -109,6 +104,7 @@ data.item = result[0]</finalize>
109
104
  <_notes_general/>
110
105
  </_notes>
111
106
  </annotations>
107
+ <documentation/>
112
108
  </call>
113
109
  <call id="a6" endpoint="get_offset_neural">
114
110
  <parameters>
@@ -141,6 +137,7 @@ data.item = result[0]</finalize>
141
137
  <_notes_general/>
142
138
  </_notes>
143
139
  </annotations>
140
+ <documentation/>
144
141
  </call>
145
142
  <call id="a8" endpoint="grip_and_place">
146
143
  <parameters>
@@ -169,6 +166,7 @@ data.item = result[0]</finalize>
169
166
  <_notes_general/>
170
167
  </_notes>
171
168
  </annotations>
169
+ <documentation/>
172
170
  </call>
173
171
  <_probability>
174
172
  <_probability_min/>
@@ -198,4 +196,4 @@ data.item = result[0]</finalize>
198
196
  <design_stage>development</design_stage>
199
197
  <design_dir>Templates.dir</design_dir>
200
198
  </attributes>
201
- </testset>
199
+ </testset>
@@ -1,13 +1,6 @@
1
1
  <testset xmlns="http://cpee.org/ns/properties/2.0">
2
2
  <executionhandler>ruby</executionhandler>
3
3
  <dataelements/>
4
- <handlers>
5
- <handler url="http://tango.wst.univie.ac.at:9332">
6
- <votes topic="state">change</votes>
7
- <events topic="state">change</events>
8
- <events topic="task">instantiation</events>
9
- </handler>
10
- </handlers>
11
4
  <endpoints>
12
5
  <overview>http-put://ryloth.wst.univie.ac.at:9329/move/overview</overview>
13
6
  <move_tool>http-put://ryloth.wst.univie.ac.at:9329/move/position/point</move_tool>
@@ -47,6 +40,7 @@
47
40
  <_notes_general/>
48
41
  </_notes>
49
42
  </annotations>
43
+ <documentation/>
50
44
  </call>
51
45
  <call id="a3" endpoint="get_items_base">
52
46
  <parameters>
@@ -77,6 +71,7 @@ data.item = result[0]</finalize>
77
71
  <_notes_general/>
78
72
  </_notes>
79
73
  </annotations>
74
+ <documentation/>
80
75
  </call>
81
76
  <call id="a5" endpoint="move_camera">
82
77
  <parameters>
@@ -103,6 +98,7 @@ data.item = result[0]</finalize>
103
98
  <_notes_general/>
104
99
  </_notes>
105
100
  </annotations>
101
+ <documentation/>
106
102
  </call>
107
103
  <call id="a6" endpoint="get_offset_base">
108
104
  <parameters>
@@ -132,6 +128,7 @@ data.item = result[0]</finalize>
132
128
  <_notes_general/>
133
129
  </_notes>
134
130
  </annotations>
131
+ <documentation/>
135
132
  </call>
136
133
  <stop id="a2"/>
137
134
  </loop>
@@ -152,4 +149,4 @@ data.item = result[0]</finalize>
152
149
  <design_stage>development</design_stage>
153
150
  <design_dir>Templates.dir</design_dir>
154
151
  </attributes>
155
- </testset>
152
+ </testset>
@@ -1,12 +1,5 @@
1
1
  <testset xmlns="http://cpee.org/ns/properties/2.0">
2
2
  <executionhandler>ruby</executionhandler>
3
- <handlers>
4
- <handler url="http://tango.wst.univie.ac.at:9332">
5
- <votes topic="state">change</votes>
6
- <events topic="state">change</events>
7
- <events topic="task">instantiation</events>
8
- </handler>
9
- </handlers>
10
3
  <endpoints>
11
4
  <overview>http-put://ryloth.wst.univie.ac.at:9329/move/overview</overview>
12
5
  <move_tool>http-put://ryloth.wst.univie.ac.at:9329/move/position/point</move_tool>
@@ -29,4 +22,4 @@
29
22
  <theme>extended</theme>
30
23
  <info>UR-VUE 2020</info>
31
24
  </attributes>
32
- </testset>
25
+ </testset>
@@ -26,6 +26,8 @@
26
26
  <code>
27
27
  <finalize>data.bla = result</finalize>
28
28
  </code>
29
+ <annotations/>
30
+ <documentation/>
29
31
  </call>
30
32
  </description>
31
33
  </description>
@@ -44,4 +46,4 @@
44
46
  <design_stage>development</design_stage>
45
47
  <design_dir>Templates.dir</design_dir>
46
48
  </attributes>
47
- </testset>
49
+ </testset>
data/cpee.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "2.1.22"
3
+ s.version = "2.1.23"
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.org). If you just need workflow execution, without a rest service exposing it, then use WEEL."
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: 2.1.22
4
+ version: 2.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler