cpee 2.0.14 → 2.0.15
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/css/track.css +7 -0
- data/cockpit/css/ui.css +2 -3
- data/cockpit/index.html +2 -1
- data/cockpit/js/instance.js +8 -4
- data/cockpit/templates/{BPM 2020 Manual Adjust.xml → UR-VUE 2020 Manual Adjust.xml } +1 -1
- data/cockpit/templates/{BPM 2020 Solution Baseline.xml → UR-VUE 2020 Solution Baseline.xml } +10 -3
- data/cockpit/templates/{BPM 2020 Solution NN.xml → UR-VUE 2020 Solution NN.xml } +1 -1
- data/cockpit/templates/{BPM 2020 Solution View.xml → UR-VUE 2020 Solution View.xml } +8 -1
- data/cockpit/templates/UR-VUE 2020.xml +26 -0
- data/cockpit/themes/compact/rngs/closed_loop.rng +7 -1
- data/cockpit/themes/default/rngs/closed_loop.rng +7 -1
- data/cockpit/themes/diana/rngs/closed_loop.rng +7 -1
- data/cockpit/themes/diana/theme.js +1 -1
- data/cockpit/themes/extended/rngs/closed_loop.rng +7 -1
- data/cockpit/themes/packed/rngs/closed_loop.rng +7 -1
- data/cockpit/themes/preset/rngs/closed_loop.rng +7 -1
- data/cockpit/track.html +1 -1
- data/cpee.gemspec +1 -1
- data/lib/cpee/controller.rb +3 -2
- data/server/handlerwrappers/default.rb +1 -5
- data/server/routing/forward-votes.rb +5 -1
- metadata +7 -7
- data/cockpit/templates/BPM 2020.xml +0 -26
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e90f25cd35d31ccd0b61aad184473dffa96f6a2e0fa7c986ce533c1d1338f9d3
|
|
4
|
+
data.tar.gz: 432f503b20812d156b31130a93fcddd3feedecc712c2590abc403a119d2554a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3ff0adbb47bf043234b024f63b78209655d6676be80f9f0407e6f7e44e722ef680910a7286a792ec81d663c378208b409238f2c684b02c8152d9bf6c68f81cf9
|
|
7
|
+
data.tar.gz: 5d1dd6bc94d93a6c41aa3c355e6eb812f6004e3f8f978610210266b24d13ec805b130d37f4f119faa45e64e4d581f7f5b27a02560163a62af3fcd76eaf1c7063
|
data/cockpit/css/track.css
CHANGED
data/cockpit/css/ui.css
CHANGED
|
@@ -105,9 +105,6 @@ ui-tabbed ui-tabbar ui-behind button {
|
|
|
105
105
|
#current-graph[href]:before {
|
|
106
106
|
content: "|";
|
|
107
107
|
}
|
|
108
|
-
#current-log[href]:before {
|
|
109
|
-
content: "|";
|
|
110
|
-
}
|
|
111
108
|
|
|
112
109
|
#parameters ui-content { height: 8.5em; min-height: 1.7em; }
|
|
113
110
|
|
|
@@ -146,6 +143,8 @@ ui-tabbed ui-tabbar ui-behind button {
|
|
|
146
143
|
|
|
147
144
|
#areaexecution table.x-ui-compact tbody.exe td { height: 2.2em; }
|
|
148
145
|
|
|
146
|
+
#arealog > div { padding-left: 1em; padding-top: 1em; }
|
|
147
|
+
|
|
149
148
|
#dat_endpoints {
|
|
150
149
|
border-collapse:collapse;
|
|
151
150
|
border-spacing:0;
|
data/cockpit/index.html
CHANGED
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
<ui-tab class="" data-tab="details" id="tabdetails">Graph</ui-tab>
|
|
235
235
|
<ui-tab class="inactive" data-tab="dsl" id="tabdsl" >Description</ui-tab>
|
|
236
236
|
<ui-tab class="inactive" data-tab="log" id="tablog" >Log</ui-tab>
|
|
237
|
-
<ui-behind ><a style='display:none' target='_blank' id='current-track'>T</a><a style='display:none' target='_blank' id='current-graph'>G</a
|
|
237
|
+
<ui-behind ><a style='display:none' target='_blank' id='current-track'>T</a><a style='display:none' target='_blank' id='current-graph'>G</a></ui-behind>
|
|
238
238
|
</ui-tabbar>
|
|
239
239
|
<ui-content>
|
|
240
240
|
<ui-area data-belongs-to-tab="details" id='graphcolumn'>
|
|
@@ -248,6 +248,7 @@
|
|
|
248
248
|
</ui-area>
|
|
249
249
|
<ui-area data-belongs-to-tab="dsl" id="areadsl" class="inactive"></ui-area>
|
|
250
250
|
<ui-area data-belongs-to-tab="log" id="arealog" class="inactive"> <!--{{{-->
|
|
251
|
+
<div>Persistent Log: <a style='display:none' target='_blank' id='current-log'></a></div>
|
|
251
252
|
<table id="dat_log" class="x-ui-layout"></table>
|
|
252
253
|
</ui-area> <!--}}}-->
|
|
253
254
|
</ui-content>
|
data/cockpit/js/instance.js
CHANGED
|
@@ -353,10 +353,6 @@ function monitor_instance(cin,rep,load,exec) {// {{{
|
|
|
353
353
|
$("#current-graph").attr('href','graph.html?monitor=' + url);
|
|
354
354
|
$("#current-track").show();
|
|
355
355
|
$("#current-track").attr('href','track.html?monitor=' + url);
|
|
356
|
-
if ($('body').attr('current-logs')) {
|
|
357
|
-
$("#current-log").show();
|
|
358
|
-
$("#current-log").attr('href','edit.html?monitor=' + url);
|
|
359
|
-
}
|
|
360
356
|
var q = $.parseQuerySimple();
|
|
361
357
|
history.replaceState({}, '', '?' + (q.min || q.min=="" ? "min&" : "") + 'monitor='+url);
|
|
362
358
|
|
|
@@ -446,6 +442,14 @@ function monitor_instance_values(val) {// {{{
|
|
|
446
442
|
var text = $(" > attributes > info",res).text() + " (" + url.replace(/\/$/,'').split(/[\\/]/).pop() + ")";
|
|
447
443
|
$('#title').text(text);
|
|
448
444
|
document.title = text;
|
|
445
|
+
if ($('body').attr('current-logs')) {
|
|
446
|
+
var uuid = $(" > attributes > uuid",res).text();
|
|
447
|
+
$("#current-log").show();
|
|
448
|
+
$("#current-log").attr('href',$('body').attr('current-logs') + uuid + '.xes.yaml');
|
|
449
|
+
if ($("#current-log").text() == '') {
|
|
450
|
+
$("#current-log").text(uuid + '.xes.yaml');
|
|
451
|
+
}
|
|
452
|
+
}
|
|
449
453
|
}
|
|
450
454
|
}
|
|
451
455
|
});
|
|
@@ -174,7 +174,7 @@ data.item['adjust_y'] = (data.direction_first['y'] + data.direction_second['y'])
|
|
|
174
174
|
<endpoints type="none"/>
|
|
175
175
|
</transformation>
|
|
176
176
|
<attributes>
|
|
177
|
-
<info>
|
|
177
|
+
<info>UR-VUE 2020 Manual Adjust</info>
|
|
178
178
|
<modeltype>CPEE</modeltype>
|
|
179
179
|
<theme>preset</theme>
|
|
180
180
|
<resource>ur51</resource>
|
data/cockpit/templates/{BPM 2020 Solution Baseline.xml → UR-VUE 2020 Solution Baseline.xml }
RENAMED
|
@@ -3,6 +3,13 @@
|
|
|
3
3
|
<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>
|
|
4
4
|
</dataelements>
|
|
5
5
|
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
|
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>
|
|
6
13
|
<endpoints>
|
|
7
14
|
<overview>http-put://ryloth.wst.univie.ac.at:9329/move/overview</overview>
|
|
8
15
|
<move_tool>http-put://ryloth.wst.univie.ac.at:9329/move/position/point</move_tool>
|
|
@@ -12,7 +19,7 @@
|
|
|
12
19
|
<get_offset_base>http-get://ryloth.wst.univie.ac.at:9329/view/details</get_offset_base>
|
|
13
20
|
<get_offset_neural>http-get://ryloth.wst.univie.ac.at:9330/view/details</get_offset_neural>
|
|
14
21
|
<grip_and_place>http-put://ryloth.wst.univie.ac.at:9329/move/grip_and_place</grip_and_place>
|
|
15
|
-
<subprocess>
|
|
22
|
+
<subprocess>https://cpee.org/flow/start/url/</subprocess>
|
|
16
23
|
</endpoints>
|
|
17
24
|
<description>
|
|
18
25
|
<description xmlns="http://cpee.org/ns/description/1.0">
|
|
@@ -108,7 +115,7 @@
|
|
|
108
115
|
<method>:post</method>
|
|
109
116
|
<arguments>
|
|
110
117
|
<behavior>wait_running</behavior>
|
|
111
|
-
<url>
|
|
118
|
+
<url>https://cpee.org/flow/templates/UR-VUE%202020%20Manual%20Adjust.xml</url>
|
|
112
119
|
<init/>
|
|
113
120
|
<endpoints/>
|
|
114
121
|
<stream/>
|
|
@@ -188,7 +195,7 @@ data.item['y'] = data.items.first['y'] + data.item['adjust_y']</finalize>
|
|
|
188
195
|
<endpoints type="none"/>
|
|
189
196
|
</transformation>
|
|
190
197
|
<attributes>
|
|
191
|
-
<info>
|
|
198
|
+
<info>UR-VUE 2020 Solution Baseline</info>
|
|
192
199
|
<modeltype>CPEE</modeltype>
|
|
193
200
|
<theme>preset</theme>
|
|
194
201
|
<resource>ur51</resource>
|
|
@@ -189,7 +189,7 @@ data.item = result[0]</finalize>
|
|
|
189
189
|
<endpoints type="none"/>
|
|
190
190
|
</transformation>
|
|
191
191
|
<attributes>
|
|
192
|
-
<info>
|
|
192
|
+
<info>UR-VUE 2020 Solution NN</info>
|
|
193
193
|
<modeltype>CPEE</modeltype>
|
|
194
194
|
<theme>preset</theme>
|
|
195
195
|
<resource>ur51</resource>
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
<testset xmlns="http://cpee.org/ns/properties/2.0">
|
|
2
2
|
<dataelements/>
|
|
3
3
|
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
|
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>
|
|
4
11
|
<endpoints>
|
|
5
12
|
<overview>http-put://ryloth.wst.univie.ac.at:9329/move/overview</overview>
|
|
6
13
|
<move_tool>http-put://ryloth.wst.univie.ac.at:9329/move/position/point</move_tool>
|
|
@@ -136,7 +143,7 @@ data.item = result[0]</finalize>
|
|
|
136
143
|
<endpoints type="none"/>
|
|
137
144
|
</transformation>
|
|
138
145
|
<attributes>
|
|
139
|
-
<info>
|
|
146
|
+
<info>UR-VUE 2020 Solution View</info>
|
|
140
147
|
<modeltype>CPEE</modeltype>
|
|
141
148
|
<theme>preset</theme>
|
|
142
149
|
<resource>ur51</resource>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<testset>
|
|
2
|
+
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
|
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
|
+
<endpoints>
|
|
11
|
+
<overview>http-put://ryloth.wst.univie.ac.at:9329/move/overview</overview>
|
|
12
|
+
<move_tool>http-put://ryloth.wst.univie.ac.at:9329/move/position/point</move_tool>
|
|
13
|
+
<move_camera>http-put://ryloth.wst.univie.ac.at:9329/move/position/view</move_camera>
|
|
14
|
+
<get_items_base>http-get://ryloth.wst.univie.ac.at:9329/view/items</get_items_base>
|
|
15
|
+
<get_items_neural>http-get://ryloth.wst.univie.ac.at:9330/view/items</get_items_neural>
|
|
16
|
+
<get_offset_base>http-get://ryloth.wst.univie.ac.at:9329/view/details</get_offset_base>
|
|
17
|
+
<get_offset_neural>http-get://ryloth.wst.univie.ac.at:9330/view/details</get_offset_neural>
|
|
18
|
+
<grip_and_place>http-put://ryloth.wst.univie.ac.at:9329/move/grip_and_place</grip_and_place>
|
|
19
|
+
<subprocess>https://cpee.org/flow/start/url/</subprocess>
|
|
20
|
+
<wait>http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</wait>
|
|
21
|
+
<adjust>http://cpee.org/~demo/cpee-cockpit/templates/UR-VUE%202020%20Manual%20Adjust.xml</adjust>
|
|
22
|
+
</endpoints>
|
|
23
|
+
<attributes>
|
|
24
|
+
<resource>ur51</resource>
|
|
25
|
+
</attributes>
|
|
26
|
+
</testset>
|
|
@@ -2,12 +2,18 @@
|
|
|
2
2
|
<attribute name="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
|
|
3
3
|
<data type="float" rngui:label="Hz"/>
|
|
4
4
|
</attribute>
|
|
5
|
-
<attribute name="
|
|
5
|
+
<attribute name="overrun" rngui:label="Interval duration overrun">
|
|
6
6
|
<choice>
|
|
7
7
|
<value>wait</value>
|
|
8
8
|
<value>cancel</value>
|
|
9
9
|
</choice>
|
|
10
10
|
</attribute>
|
|
11
|
+
<attribute name="execution" rngui:label="Measure-control cycle execution">
|
|
12
|
+
<choice>
|
|
13
|
+
<value>sequential</value>
|
|
14
|
+
<value>parallel</value>
|
|
15
|
+
</choice>
|
|
16
|
+
</attribute>
|
|
11
17
|
<element name="_probability" rngui:mark="true" rngui:header="Execution Probability">
|
|
12
18
|
<element name="_probability_min" rngui:label="Min times">
|
|
13
19
|
<data type="nonNegativeInteger" rngui:label="Times"/>
|
|
@@ -2,12 +2,18 @@
|
|
|
2
2
|
<attribute name="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
|
|
3
3
|
<data type="float" rngui:label="Hz"/>
|
|
4
4
|
</attribute>
|
|
5
|
-
<attribute name="
|
|
5
|
+
<attribute name="overrun" rngui:label="Interval duration overrun">
|
|
6
6
|
<choice>
|
|
7
7
|
<value>wait</value>
|
|
8
8
|
<value>cancel</value>
|
|
9
9
|
</choice>
|
|
10
10
|
</attribute>
|
|
11
|
+
<attribute name="execution" rngui:label="Measure-control cycle execution">
|
|
12
|
+
<choice>
|
|
13
|
+
<value>sequential</value>
|
|
14
|
+
<value>parallel</value>
|
|
15
|
+
</choice>
|
|
16
|
+
</attribute>
|
|
11
17
|
<element name="_probability" rngui:mark="true" rngui:header="Execution Probability">
|
|
12
18
|
<element name="_probability_min" rngui:label="Min times">
|
|
13
19
|
<data type="nonNegativeInteger" rngui:label="Times"/>
|
|
@@ -2,12 +2,18 @@
|
|
|
2
2
|
<attribute name="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
|
|
3
3
|
<data type="float" rngui:label="Hz"/>
|
|
4
4
|
</attribute>
|
|
5
|
-
<attribute name="
|
|
5
|
+
<attribute name="overrun" rngui:label="Interval duration overrun">
|
|
6
6
|
<choice>
|
|
7
7
|
<value>wait</value>
|
|
8
8
|
<value>cancel</value>
|
|
9
9
|
</choice>
|
|
10
10
|
</attribute>
|
|
11
|
+
<attribute name="execution" rngui:label="Measure-control cycle execution">
|
|
12
|
+
<choice>
|
|
13
|
+
<value>sequential</value>
|
|
14
|
+
<value>parallel</value>
|
|
15
|
+
</choice>
|
|
16
|
+
</attribute>
|
|
11
17
|
<element name="_probability" rngui:mark="true" rngui:header="Execution Probability">
|
|
12
18
|
<element name="_probability_min" rngui:label="Min times">
|
|
13
19
|
<data type="nonNegativeInteger" rngui:label="Times"/>
|
|
@@ -866,7 +866,7 @@ function WFAdaptorManifestation(adaptor) {
|
|
|
866
866
|
},
|
|
867
867
|
'label': function(node){
|
|
868
868
|
var avg = $('> _probability_avg',$(node).children('_probability')).text();
|
|
869
|
-
var ret = [ { column: 'Label', value: 'f = ' + $(node).attr('frequency') + ' Hz (' + $(node).attr('
|
|
869
|
+
var ret = [ { column: 'Label', value: 'f = ' + $(node).attr('frequency') + ' Hz (' + $(node).attr('overrun') + ')' } ];
|
|
870
870
|
if (avg != '') {
|
|
871
871
|
ret.push({ column: 'Average', value: avg + '%' });
|
|
872
872
|
}
|
|
@@ -2,12 +2,18 @@
|
|
|
2
2
|
<attribute name="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
|
|
3
3
|
<data type="float" rngui:label="Hz"/>
|
|
4
4
|
</attribute>
|
|
5
|
-
<attribute name="
|
|
5
|
+
<attribute name="overrun" rngui:label="Interval duration overrun">
|
|
6
6
|
<choice>
|
|
7
7
|
<value>wait</value>
|
|
8
8
|
<value>cancel</value>
|
|
9
9
|
</choice>
|
|
10
10
|
</attribute>
|
|
11
|
+
<attribute name="execution" rngui:label="Measure-control cycle execution">
|
|
12
|
+
<choice>
|
|
13
|
+
<value>sequential</value>
|
|
14
|
+
<value>parallel</value>
|
|
15
|
+
</choice>
|
|
16
|
+
</attribute>
|
|
11
17
|
<element name="_probability" rngui:mark="true" rngui:header="Execution Probability">
|
|
12
18
|
<element name="_probability_min" rngui:label="Min times">
|
|
13
19
|
<data type="nonNegativeInteger" rngui:label="Times"/>
|
|
@@ -2,12 +2,18 @@
|
|
|
2
2
|
<attribute name="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
|
|
3
3
|
<data type="float" rngui:label="Hz"/>
|
|
4
4
|
</attribute>
|
|
5
|
-
<attribute name="
|
|
5
|
+
<attribute name="overrun" rngui:label="Interval duration overrun">
|
|
6
6
|
<choice>
|
|
7
7
|
<value>wait</value>
|
|
8
8
|
<value>cancel</value>
|
|
9
9
|
</choice>
|
|
10
10
|
</attribute>
|
|
11
|
+
<attribute name="execution" rngui:label="Measure-control cycle execution">
|
|
12
|
+
<choice>
|
|
13
|
+
<value>sequential</value>
|
|
14
|
+
<value>parallel</value>
|
|
15
|
+
</choice>
|
|
16
|
+
</attribute>
|
|
11
17
|
<element name="_probability" rngui:mark="true" rngui:header="Execution Probability">
|
|
12
18
|
<element name="_probability_min" rngui:label="Min times">
|
|
13
19
|
<data type="nonNegativeInteger" rngui:label="Times"/>
|
|
@@ -2,12 +2,18 @@
|
|
|
2
2
|
<attribute name="frequency" rngui:label="Interval frequency in Hz" rngui:default="0.1">
|
|
3
3
|
<data type="float" rngui:label="Hz"/>
|
|
4
4
|
</attribute>
|
|
5
|
-
<attribute name="
|
|
5
|
+
<attribute name="overrun" rngui:label="Interval duration overrun">
|
|
6
6
|
<choice>
|
|
7
7
|
<value>wait</value>
|
|
8
8
|
<value>cancel</value>
|
|
9
9
|
</choice>
|
|
10
10
|
</attribute>
|
|
11
|
+
<attribute name="execution" rngui:label="Measure-control cycle execution">
|
|
12
|
+
<choice>
|
|
13
|
+
<value>sequential</value>
|
|
14
|
+
<value>parallel</value>
|
|
15
|
+
</choice>
|
|
16
|
+
</attribute>
|
|
11
17
|
<element name="_probability" rngui:mark="true" rngui:header="Execution Probability">
|
|
12
18
|
<element name="_probability_min" rngui:label="Min times">
|
|
13
19
|
<data type="nonNegativeInteger" rngui:label="Times"/>
|
data/cockpit/track.html
CHANGED
data/cpee.gemspec
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Gem::Specification.new do |s|
|
|
2
2
|
s.name = "cpee"
|
|
3
|
-
s.version = "2.0.
|
|
3
|
+
s.version = "2.0.15"
|
|
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."
|
data/lib/cpee/controller.rb
CHANGED
|
@@ -89,7 +89,7 @@ module CPEE
|
|
|
89
89
|
end
|
|
90
90
|
|
|
91
91
|
def start
|
|
92
|
-
if vote("state/change")
|
|
92
|
+
if vote("state/change", :state => 'running')
|
|
93
93
|
@thread = @instance.start
|
|
94
94
|
@thread.join
|
|
95
95
|
else
|
|
@@ -126,6 +126,7 @@ module CPEE
|
|
|
126
126
|
@redis.smembers("instance:#{id}/handlers/#{handler}").each do |client|
|
|
127
127
|
voteid = Digest::MD5.hexdigest(Kernel::rand().to_s)
|
|
128
128
|
content[:key] = voteid
|
|
129
|
+
content[:attributes] = attributes_translated
|
|
129
130
|
content[:subscription] = client
|
|
130
131
|
votes << voteid
|
|
131
132
|
CPEE::Message::send(:vote,what,base,@id,uuid,info,content,@redis)
|
|
@@ -140,7 +141,7 @@ module CPEE
|
|
|
140
141
|
index = message.index(' ')
|
|
141
142
|
mess = message[index+1..-1]
|
|
142
143
|
m = JSON.parse(mess)
|
|
143
|
-
collect << (m['content'] == 'true' || false)
|
|
144
|
+
collect << ((m['content'] == true || m['content'] == 'true') || false)
|
|
144
145
|
@votes.delete m['name']
|
|
145
146
|
cancel_callback m['name']
|
|
146
147
|
if collect.length >= votes.length
|
|
@@ -24,11 +24,7 @@ class DefaultHandlerWrapper < WEEL::HandlerWrapperBase
|
|
|
24
24
|
|
|
25
25
|
def self::inform_state_change(arguments,newstate) # {{{
|
|
26
26
|
controller = arguments[0]
|
|
27
|
-
controller.notify("state/change", :state => newstate
|
|
28
|
-
end # }}}
|
|
29
|
-
def self::inform_state_change(arguments,newstate) # {{{
|
|
30
|
-
controller = arguments[0]
|
|
31
|
-
controller.notify("state/change", :state => newstate, :timestamp => Time.now.xmlschema(3))
|
|
27
|
+
controller.notify("state/change", :state => newstate)
|
|
32
28
|
end # }}}
|
|
33
29
|
def self::inform_syntax_error(arguments,err,code)# {{{
|
|
34
30
|
controller = arguments[0]
|
|
@@ -86,7 +86,11 @@ Daemonite.new do |opts|
|
|
|
86
86
|
Riddl::Parameter::Complex::new('notification','application/json',mess)
|
|
87
87
|
] rescue [ 0, [], []])
|
|
88
88
|
if status >= 200 && status < 300
|
|
89
|
-
val = result[0].
|
|
89
|
+
val = if result[0].class == Riddl::Parameter::Simple
|
|
90
|
+
result[0].value
|
|
91
|
+
else
|
|
92
|
+
result[0].value.read
|
|
93
|
+
end
|
|
90
94
|
if (headers["CPEE_CALLBACK"] && headers["CPEE_CALLBACK"] == 'true') || val == 'callback'
|
|
91
95
|
persist_handler instance, callback_key, m, redis
|
|
92
96
|
else # they may send true or false
|
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.0.
|
|
4
|
+
version: 2.0.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Juergen eTM Mangler
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: tools
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2020-11-
|
|
13
|
+
date: 2020-11-06 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: riddl
|
|
@@ -185,17 +185,17 @@ files:
|
|
|
185
185
|
- cockpit/templates.legacy/convert_preset.rb
|
|
186
186
|
- cockpit/templates.legacy/testsets.xml
|
|
187
187
|
- cockpit/templates.legacy/transformations.xml
|
|
188
|
-
- cockpit/templates/BPM 2020 Manual Adjust.xml
|
|
189
|
-
- cockpit/templates/BPM 2020 Solution Baseline.xml
|
|
190
|
-
- cockpit/templates/BPM 2020 Solution NN.xml
|
|
191
|
-
- cockpit/templates/BPM 2020 Solution View.xml
|
|
192
|
-
- cockpit/templates/BPM 2020.xml
|
|
193
188
|
- cockpit/templates/Coopis 2010.xml
|
|
194
189
|
- cockpit/templates/IUPC arXiv:1104.3609 P34 1.xml
|
|
195
190
|
- cockpit/templates/IUPC arXiv:1104.3609 P34 2.xml
|
|
196
191
|
- cockpit/templates/IUPC arXiv:1104.3609 P34 3.xml
|
|
197
192
|
- cockpit/templates/Track Test Local.xml
|
|
198
193
|
- cockpit/templates/Track Test.xml
|
|
194
|
+
- cockpit/templates/UR-VUE 2020 Manual Adjust.xml
|
|
195
|
+
- cockpit/templates/UR-VUE 2020 Solution Baseline.xml
|
|
196
|
+
- cockpit/templates/UR-VUE 2020 Solution NN.xml
|
|
197
|
+
- cockpit/templates/UR-VUE 2020 Solution View.xml
|
|
198
|
+
- cockpit/templates/UR-VUE 2020.xml
|
|
199
199
|
- cockpit/templates/Worklist.xml
|
|
200
200
|
- cockpit/templates/instantiate.local/Take_Sub.xml
|
|
201
201
|
- cockpit/templates/instantiate/Take_Perf.xml
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<testset>
|
|
2
|
-
<handlerwrapper>DefaultHandlerWrapper</handlerwrapper>
|
|
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
|
-
<endpoints>
|
|
11
|
-
<overview xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://ryloth.wst.univie.ac.at:9329/move/overview</overview>
|
|
12
|
-
<move_tool xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://ryloth.wst.univie.ac.at:9329/move/position/point</move_tool>
|
|
13
|
-
<move_camera xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://ryloth.wst.univie.ac.at:9329/move/position/view</move_camera>
|
|
14
|
-
<get_items_base xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9329/view/items</get_items_base>
|
|
15
|
-
<get_items_neural xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9330/view/items</get_items_neural>
|
|
16
|
-
<get_offset_base xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9329/view/details</get_offset_base>
|
|
17
|
-
<get_offset_neural xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-get://ryloth.wst.univie.ac.at:9330/view/details</get_offset_neural>
|
|
18
|
-
<wait xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://gruppe.wst.univie.ac.at/~mangler/services/timeout.php</wait>
|
|
19
|
-
<grip_and_place xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http-put://ryloth.wst.univie.ac.at:9329/move/grip_and_place</grip_and_place>
|
|
20
|
-
<subprocess xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://cpee.org:9296/url/</subprocess>
|
|
21
|
-
<adjust xmlns="http://riddl.org/ns/common-patterns/properties/1.0">http://cpee.org/~demo/cpee-cockpit/templates/BPM%202020%20Manual%20Adjust.xml</adjust>
|
|
22
|
-
</endpoints>
|
|
23
|
-
<attributes>
|
|
24
|
-
<resource xmlns="http://riddl.org/ns/common-patterns/properties/1.0">ur51</resource>
|
|
25
|
-
</attributes>
|
|
26
|
-
</testset>
|