cpee 2.1.2 → 2.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/config.json +1 -1
- data/cockpit/css/ui.css +14 -7
- data/cockpit/edit.html +27 -23
- data/cockpit/graph.html +1 -0
- data/cockpit/index.html +26 -22
- data/cockpit/js/edit.js +8 -1
- data/cockpit/js/instance.js +103 -39
- data/cockpit/js/modifiers.js +188 -0
- data/cockpit/model.html +1 -8
- data/cockpit/themes/compact/rngs/call.rng +17 -8
- data/cockpit/themes/compact/rngs/callmanipulate.rng +18 -9
- data/cockpit/themes/compact/rngs/start.rng +9 -9
- data/cockpit/themes/compact/theme.js +1 -1
- data/cockpit/themes/control/rngs/call.rng +17 -8
- data/cockpit/themes/control/rngs/callmanipulate.rng +18 -9
- data/cockpit/themes/control/rngs/start.rng +9 -9
- data/cockpit/themes/default/rngs/call.rng +17 -8
- data/cockpit/themes/default/rngs/callmanipulate.rng +18 -9
- data/cockpit/themes/default/rngs/start.rng +9 -9
- data/cockpit/themes/extended/rngs/call.rng +17 -8
- data/cockpit/themes/extended/rngs/callmanipulate.rng +18 -9
- data/cockpit/themes/extended/rngs/start.rng +9 -9
- data/cockpit/themes/extended/theme.js +1 -1
- data/cockpit/themes/packed/rngs/call.rng +17 -8
- data/cockpit/themes/packed/rngs/callmanipulate.rng +18 -9
- data/cockpit/themes/packed/rngs/start.rng +9 -9
- data/cockpit/themes/packed/theme.js +1 -1
- data/cockpit/themes/preset/rngs/call.rng +17 -8
- data/cockpit/themes/preset/rngs/callmanipulate.rng +18 -9
- data/cockpit/themes/preset/rngs/start.rng +9 -9
- data/cockpit/track.html +1 -0
- data/cpee.gemspec +2 -2
- data/lib/cpee/implementation_notifications.rb +5 -5
- data/lib/cpee/redis.rb +13 -6
- data/server/routing/end.pid +1 -0
- data/server/routing/forward-events.pid +1 -0
- data/server/routing/forward-votes.pid +1 -0
- data/server/routing/persist.pid +1 -0
- data/tools/cpee +36 -8
- data/tools/cpee.sic +306 -0
- metadata +10 -5
- data/lib/instantiation.xml +0 -125
@@ -0,0 +1,188 @@
|
|
1
|
+
var modifiers_changed = new Event("modifiers:changed", {"bubbles":true, "cancelable":false});
|
2
|
+
|
3
|
+
$(document).ready(function() {
|
4
|
+
var timer;
|
5
|
+
|
6
|
+
$(document).on('input','#modifiers div.additional input, #modifiers div.additional textarea, #modifiers div.additional [contenteditable]',function(e){
|
7
|
+
clearTimeout(timer);
|
8
|
+
timer = setTimeout(function(){ do_main_save(e.target) }, 5000);
|
9
|
+
});
|
10
|
+
$(document).on('change','#modifiers div.additional select',function(e){
|
11
|
+
clearTimeout(timer);
|
12
|
+
do_main_save(e.target);
|
13
|
+
});
|
14
|
+
$(document).on('blur','#modifiers div.additional input, #modifiers div.additional textarea, #modifiers div.additional [contenteditable]',function(e){
|
15
|
+
clearTimeout(timer);
|
16
|
+
do_main_save(e.target);
|
17
|
+
});
|
18
|
+
$(document).on('keypress','#modifiers div.additional input',function(e){
|
19
|
+
if (e.keyCode == 13) {
|
20
|
+
clearTimeout(timer);
|
21
|
+
do_main_save(e.target);
|
22
|
+
}
|
23
|
+
});
|
24
|
+
$(document).on('keypress','#modifiers div.additional [contenteditable]',function(e){
|
25
|
+
if (e.keyCode == 13) {
|
26
|
+
document.execCommand('insertText', false, '\n');
|
27
|
+
return false;
|
28
|
+
}
|
29
|
+
});
|
30
|
+
$(document).on('relaxngui_remove', '#modifiers div.additional', function(e){
|
31
|
+
clearTimeout(timer);
|
32
|
+
do_main_save(e.target);
|
33
|
+
});
|
34
|
+
$(document).on('relaxngui_move', '#modifiers div.additional', function(e){
|
35
|
+
clearTimeout(timer);
|
36
|
+
do_main_save(e.target);
|
37
|
+
});
|
38
|
+
});
|
39
|
+
|
40
|
+
function do_main_save(target) {
|
41
|
+
let div = $(target).parents('div[data-resource]');
|
42
|
+
let top = div.attr('data-resource');
|
43
|
+
let doc = save['modifiers_additional'][top].save();
|
44
|
+
let rep = $('body').attr('current-resources');
|
45
|
+
let now = encodeURIComponent($('div.select select',div).val());
|
46
|
+
|
47
|
+
var tset = $X('<testset xmlns="http://cpee.org/ns/properties/2.0"/>');
|
48
|
+
tset.append(doc.documentElement);
|
49
|
+
|
50
|
+
set_testset(tset,false);
|
51
|
+
document.dispatchEvent(modifiers_changed);
|
52
|
+
}
|
53
|
+
|
54
|
+
async function modifiers_display() {
|
55
|
+
let promises = [];
|
56
|
+
let rep = $('body').attr('current-resources');
|
57
|
+
$('#modifiers > div').remove();
|
58
|
+
|
59
|
+
promises.push(
|
60
|
+
$.ajax({
|
61
|
+
url: rep + 'modifiers/'
|
62
|
+
}).then(async function(res) {
|
63
|
+
let ipromises = [];
|
64
|
+
$('resource',res).each(function(_,r) {
|
65
|
+
ipromises.push(
|
66
|
+
$.ajax({
|
67
|
+
url: rep + 'modifiers/' + $(r).text()
|
68
|
+
}).then(async function(ses){
|
69
|
+
let clone = document.importNode(document.querySelector('#modifiers template').content,true);
|
70
|
+
let t = $(r).text();
|
71
|
+
$('> div',clone).attr('data-resource',t);
|
72
|
+
$('div.title *',clone).text(decodeURIComponent(t));
|
73
|
+
|
74
|
+
let cpromises = [];
|
75
|
+
$('resource',ses).each(function(_,s) {
|
76
|
+
let opt = $('<option/>');
|
77
|
+
opt.text(decodeURIComponent($(s).text()));
|
78
|
+
$('div.select select',clone).append(opt);
|
79
|
+
|
80
|
+
cpromises.push(
|
81
|
+
$.ajax({
|
82
|
+
url: rep + 'modifiers/' + $(r).text() + '/' + $(s).text() + '/condition.json'
|
83
|
+
}).then(function(tes){
|
84
|
+
save['modifiers'][$(r).text() + '/' + $(s).text()] = tes;
|
85
|
+
})
|
86
|
+
);
|
87
|
+
|
88
|
+
});
|
89
|
+
$(clone).insertBefore($('#modifiers template'));
|
90
|
+
|
91
|
+
await Promise.all(cpromises);
|
92
|
+
})
|
93
|
+
);
|
94
|
+
});
|
95
|
+
await Promise.all(ipromises);
|
96
|
+
})
|
97
|
+
);
|
98
|
+
await Promise.all(promises);
|
99
|
+
}
|
100
|
+
|
101
|
+
function modifiers_display_ui(url,top,it,notchanged) {
|
102
|
+
if (notchanged) {
|
103
|
+
if (save['modifiers_additional'][top]) {
|
104
|
+
let attr = save['attributes'].save();
|
105
|
+
save['modifiers_additional'][top].content(attr);
|
106
|
+
}
|
107
|
+
} else {
|
108
|
+
$('#modifiers div[data-resource]').each(function(_,r){
|
109
|
+
if ($(r).attr('data-resource') == top) {
|
110
|
+
$('div.additional',r).empty();
|
111
|
+
}
|
112
|
+
});
|
113
|
+
$.ajax({
|
114
|
+
url: url + top + '/' + it + '/ui.rng',
|
115
|
+
success: function(rng) {
|
116
|
+
$('#modifiers div[data-resource]').each(function(_,r){
|
117
|
+
if ($(r).attr('data-resource') == top) {
|
118
|
+
save['modifiers_additional'][top] = new RelaxNGui(rng, $('div.additional',r));
|
119
|
+
let attr = save['attributes'].save();
|
120
|
+
save['modifiers_additional'][top].content(attr);
|
121
|
+
}
|
122
|
+
});
|
123
|
+
}
|
124
|
+
});
|
125
|
+
}
|
126
|
+
}
|
127
|
+
|
128
|
+
function modifiers_select() {
|
129
|
+
let atts = {}
|
130
|
+
let attr = save['attributes'].save();
|
131
|
+
let rep = $('body').attr('current-resources');
|
132
|
+
$('> attributes > *',attr).each(function(_,s){
|
133
|
+
atts[s.nodeName] = $(s).text();
|
134
|
+
});
|
135
|
+
$('#modifiers div[data-resource]').each(function(_,r){
|
136
|
+
$('select option',r).each(function(_,s){
|
137
|
+
let where = $(r).attr('data-resource') + '/' + encodeURIComponent($(s).text());
|
138
|
+
let cond = save['modifiers'][where];
|
139
|
+
let success = true;
|
140
|
+
for (x in cond) {
|
141
|
+
if (cond[x] != atts[x]) { success = false; }
|
142
|
+
}
|
143
|
+
if (success) {
|
144
|
+
let top = $(r).attr('data-resource');
|
145
|
+
let it = encodeURIComponent($(s).text());
|
146
|
+
$('select',r).val($(s).text());
|
147
|
+
modifiers_display_ui(rep + 'modifiers/',top,it,save['modifiers_active'][top] == it);
|
148
|
+
save['modifiers_active'][top] = it;
|
149
|
+
}
|
150
|
+
});
|
151
|
+
});
|
152
|
+
}
|
153
|
+
|
154
|
+
function modifiers_update_patch(url,top,now) {
|
155
|
+
$.ajax({
|
156
|
+
url: url + top + '/' + now + '/patch.xml',
|
157
|
+
success: function(res) {
|
158
|
+
set_testset(res,false);
|
159
|
+
document.dispatchEvent(modifiers_changed);
|
160
|
+
}
|
161
|
+
});
|
162
|
+
}
|
163
|
+
function modifiers_update_unpatch(url,top,last,now) {
|
164
|
+
$.ajax({
|
165
|
+
url: url + top + '/' + last + '/unpatch.xml',
|
166
|
+
success: function(res) {
|
167
|
+
set_testset(res,false).then(function() {
|
168
|
+
modifiers_update_patch(url,top,now);
|
169
|
+
});
|
170
|
+
},
|
171
|
+
error: function() {
|
172
|
+
modifiers_update_patch(url,top,now);
|
173
|
+
}
|
174
|
+
});
|
175
|
+
}
|
176
|
+
|
177
|
+
function modifiers_update(e) {
|
178
|
+
let rep = $('body').attr('current-resources');
|
179
|
+
let top = $(e.target).parents('div[data-resource]').attr('data-resource');
|
180
|
+
let last = save['modifiers_active'][top];
|
181
|
+
let now = $(e.target).val();
|
182
|
+
|
183
|
+
if (last) {
|
184
|
+
modifiers_update_unpatch(rep + 'modifiers/',top,last,now);
|
185
|
+
} else {
|
186
|
+
modifiers_update_patch(rep + 'modifiers/',top,now);
|
187
|
+
}
|
188
|
+
}
|
data/cockpit/model.html
CHANGED
@@ -54,6 +54,7 @@
|
|
54
54
|
<script type="text/javascript" src="js/details.js"></script>
|
55
55
|
<script type="text/javascript" src="js/parameters.js"></script>
|
56
56
|
<script type="text/javascript" src="js/model.js"></script>
|
57
|
+
<script type="text/javascript" src="js/modifiers.js"></script>
|
57
58
|
<script type="text/javascript" src="js/edit.js"></script>
|
58
59
|
<link rel="stylesheet" href="css/ui.css" type="text/css"/>
|
59
60
|
<link rel="stylesheet" href="css/model.css" type="text/css"/>
|
@@ -151,14 +152,6 @@
|
|
151
152
|
<button title='a testset includes various settings, subscriptions and a model' name="savesvgfile">save SVG</button>
|
152
153
|
</div>
|
153
154
|
</div>
|
154
|
-
<div class='section'>
|
155
|
-
<div>
|
156
|
-
Current model: <span id='currentmodel'></span>
|
157
|
-
</div>
|
158
|
-
<div>
|
159
|
-
<button title='a testset includes various settings, subscriptions and a model' name="loadmodeltype">set model type</button>
|
160
|
-
</div>
|
161
|
-
</div>
|
162
155
|
</ui-area> <!--}}}-->
|
163
156
|
<ui-area data-belongs-to-tab="dataelements" id="areadataelements" class="inactive"> <!--{{{-->
|
164
157
|
<button title='add entry'><span>New</span></button>
|
@@ -25,19 +25,28 @@
|
|
25
25
|
</element>
|
26
26
|
</zeroOrMore>
|
27
27
|
</element>
|
28
|
-
<element name="
|
28
|
+
<element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
|
29
29
|
|
30
|
-
<element name="
|
31
|
-
<zeroOrMore rngui:label="Add
|
32
|
-
<element name="
|
30
|
+
<element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
|
31
|
+
<zeroOrMore rngui:label="Add Probe">
|
32
|
+
<element name="probe">
|
33
33
|
<element name="name" rngui:label="Label">
|
34
34
|
<data type="string" rngui:label="Label"/>
|
35
35
|
</element>
|
36
|
-
<element name="
|
36
|
+
<element name="extractor_type" rngui:label="Extractor Type">
|
37
|
+
<choice>
|
38
|
+
<value id='code'>Code</value>
|
39
|
+
<value id='service'>Service</value>
|
40
|
+
</choice>
|
41
|
+
</element>
|
42
|
+
<element name="extractor_code" rngui:label="Extractor Code" rngui:hint='For extrinsic data'>
|
43
|
+
<text rngui:label="Code"/>
|
44
|
+
</element>
|
45
|
+
<element name="extractor_url" rngui:label="Extractor Service" rngui:hint='For extrinsic & discrete data'>
|
37
46
|
<data type="string" rngui:label="Service Url"/>
|
38
47
|
</element>
|
39
|
-
<element name="extractor_params" rngui:label="Extractor Arguments:">
|
40
|
-
<zeroOrMore rngui:label="Create
|
48
|
+
<element name="extractor_params" rngui:label="Extractor Service Arguments:">
|
49
|
+
<zeroOrMore rngui:label="Create Argument Pairs">
|
41
50
|
<element rngui:label="Name">
|
42
51
|
<anyName/>
|
43
52
|
<data type="string" rngui:label="Value / Json"/>
|
@@ -48,7 +57,7 @@
|
|
48
57
|
<data type="string" rngui:label="Service Url"/>
|
49
58
|
</element>
|
50
59
|
<element name="visualizer_params" rngui:label="Visualizer Arguments">
|
51
|
-
<zeroOrMore rngui:label="Create
|
60
|
+
<zeroOrMore rngui:label="Create Argument Pairs">
|
52
61
|
<element rngui:label="Name">
|
53
62
|
<anyName/>
|
54
63
|
<data type="string" rngui:label="Value / Json"/>
|
@@ -25,19 +25,28 @@
|
|
25
25
|
</element>
|
26
26
|
</zeroOrMore>
|
27
27
|
</element>
|
28
|
-
<element name="
|
28
|
+
<element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
|
29
29
|
|
30
|
-
<element name="
|
31
|
-
<zeroOrMore rngui:label="Add
|
32
|
-
<element name="
|
30
|
+
<element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
|
31
|
+
<zeroOrMore rngui:label="Add Probe">
|
32
|
+
<element name="probe">
|
33
33
|
<element name="name" rngui:label="Label">
|
34
34
|
<data type="string" rngui:label="Label"/>
|
35
35
|
</element>
|
36
|
-
<element name="
|
36
|
+
<element name="extractor_type" rngui:label="Extractor Type">
|
37
|
+
<choice>
|
38
|
+
<value id='code'>Code</value>
|
39
|
+
<value id='service'>Service</value>
|
40
|
+
</choice>
|
41
|
+
</element>
|
42
|
+
<element name="extractor_code" rngui:label="Extractor Code" rngui:hint='For extrinsic data'>
|
43
|
+
<text rngui:label="Code"/>
|
44
|
+
</element>
|
45
|
+
<element name="extractor_url" rngui:label="Extractor Service" rngui:hint='For extrinsic & discrete data'>
|
37
46
|
<data type="string" rngui:label="Service Url"/>
|
38
47
|
</element>
|
39
|
-
<element name="extractor_params" rngui:label="Extractor Arguments:">
|
40
|
-
<zeroOrMore rngui:label="Create
|
48
|
+
<element name="extractor_params" rngui:label="Extractor Service Arguments:">
|
49
|
+
<zeroOrMore rngui:label="Create Argument Pairs">
|
41
50
|
<element rngui:label="Name">
|
42
51
|
<anyName/>
|
43
52
|
<data type="string" rngui:label="Value / Json"/>
|
@@ -47,8 +56,8 @@
|
|
47
56
|
<element name="visualizer_url" rngui:label="Visualizer Url">
|
48
57
|
<data type="string" rngui:label="Service Url"/>
|
49
58
|
</element>
|
50
|
-
<element name="visualizer_params" rngui:
|
51
|
-
<zeroOrMore rngui:label="Create
|
59
|
+
<element name="visualizer_params" rngui:label="Visualizer Arguments">
|
60
|
+
<zeroOrMore rngui:label="Create Argument Pairs">
|
52
61
|
<element rngui:label="Name">
|
53
62
|
<anyName/>
|
54
63
|
<data type="string" rngui:label="Value / Json"/>
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<element xmlns="http://relaxng.org/ns/structure/1.0" xmlns:rngui="http://rngui.org" rngui:version="1.2" name="description" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes" ns="http://cpee.org/ns/description/1.0">
|
2
|
-
<element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data elements
|
2
|
+
<element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All changes to data elements in the process as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to individual tasks to define more restricted data probes.">
|
3
3
|
|
4
|
-
<element name="probes" rngui:header="Context Data Extraction" rngui:fold="closed">
|
4
|
+
<element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
|
5
5
|
<zeroOrMore rngui:label="Add Probe">
|
6
6
|
<element name="probe">
|
7
7
|
<element name="name" rngui:label="Label">
|
@@ -9,18 +9,18 @@
|
|
9
9
|
</element>
|
10
10
|
<element name="extractor_type" rngui:label="Extractor Type">
|
11
11
|
<choice>
|
12
|
-
<value id='code'>
|
13
|
-
<value id='service'>
|
12
|
+
<value id='code'>Code</value>
|
13
|
+
<value id='service'>Service</value>
|
14
14
|
</choice>
|
15
15
|
</element>
|
16
|
-
<element name="extractor_code" rngui:label="Extractor Code">
|
17
|
-
<text rngui:label="
|
16
|
+
<element name="extractor_code" rngui:label="Extractor Code" rngui:hint='For intrinsic data'>
|
17
|
+
<text rngui:label="Code"/>
|
18
18
|
</element>
|
19
|
-
<element name="extractor_url" rngui:label="Extractor Service">
|
19
|
+
<element name="extractor_url" rngui:label="Extractor Service" rngui:hint='For intrinsic & discrete data'>
|
20
20
|
<data type="string" rngui:label="Service Url"/>
|
21
21
|
</element>
|
22
22
|
<element name="extractor_params" rngui:label="Extractor Service Arguments:">
|
23
|
-
<zeroOrMore rngui:label="Create
|
23
|
+
<zeroOrMore rngui:label="Create Argument Pairs">
|
24
24
|
<element rngui:label="Name">
|
25
25
|
<anyName/>
|
26
26
|
<data type="string" rngui:label="Value / Json"/>
|
@@ -31,7 +31,7 @@
|
|
31
31
|
<data type="string" rngui:label="Service Url"/>
|
32
32
|
</element>
|
33
33
|
<element name="visualizer_params" rngui:label="Visualizer Arguments">
|
34
|
-
<zeroOrMore rngui:label="Create
|
34
|
+
<zeroOrMore rngui:label="Create Argument Pairs">
|
35
35
|
<element rngui:label="Name">
|
36
36
|
<anyName/>
|
37
37
|
<data type="string" rngui:label="Value / Json"/>
|
@@ -1154,7 +1154,7 @@ function WFAdaptorManifestation(adaptor) {
|
|
1154
1154
|
},
|
1155
1155
|
'svg': self.adaptor.theme_dir + 'symbols/start.svg'
|
1156
1156
|
},//}}}
|
1157
|
-
'description':
|
1157
|
+
'description': self.adaptor.theme_dir + 'rngs/start.rng',
|
1158
1158
|
'permissible_children': function(node,mode) { //{{{
|
1159
1159
|
var func = null;
|
1160
1160
|
if (mode == 'into') { func = self.adaptor.description.insert_first_into }
|
@@ -25,19 +25,28 @@
|
|
25
25
|
</element>
|
26
26
|
</zeroOrMore>
|
27
27
|
</element>
|
28
|
-
<element name="
|
28
|
+
<element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
|
29
29
|
|
30
|
-
<element name="
|
31
|
-
<zeroOrMore rngui:label="Add
|
32
|
-
<element name="
|
30
|
+
<element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
|
31
|
+
<zeroOrMore rngui:label="Add Probe">
|
32
|
+
<element name="probe">
|
33
33
|
<element name="name" rngui:label="Label">
|
34
34
|
<data type="string" rngui:label="Label"/>
|
35
35
|
</element>
|
36
|
-
<element name="
|
36
|
+
<element name="extractor_type" rngui:label="Extractor Type">
|
37
|
+
<choice>
|
38
|
+
<value id='code'>Code</value>
|
39
|
+
<value id='service'>Service</value>
|
40
|
+
</choice>
|
41
|
+
</element>
|
42
|
+
<element name="extractor_code" rngui:label="Extractor Code" rngui:hint='For extrinsic data'>
|
43
|
+
<text rngui:label="Code"/>
|
44
|
+
</element>
|
45
|
+
<element name="extractor_url" rngui:label="Extractor Service" rngui:hint='For extrinsic & discrete data'>
|
37
46
|
<data type="string" rngui:label="Service Url"/>
|
38
47
|
</element>
|
39
|
-
<element name="extractor_params" rngui:label="Extractor Arguments:">
|
40
|
-
<zeroOrMore rngui:label="Create
|
48
|
+
<element name="extractor_params" rngui:label="Extractor Service Arguments:">
|
49
|
+
<zeroOrMore rngui:label="Create Argument Pairs">
|
41
50
|
<element rngui:label="Name">
|
42
51
|
<anyName/>
|
43
52
|
<data type="string" rngui:label="Value / Json"/>
|
@@ -48,7 +57,7 @@
|
|
48
57
|
<data type="string" rngui:label="Service Url"/>
|
49
58
|
</element>
|
50
59
|
<element name="visualizer_params" rngui:label="Visualizer Arguments">
|
51
|
-
<zeroOrMore rngui:label="Create
|
60
|
+
<zeroOrMore rngui:label="Create Argument Pairs">
|
52
61
|
<element rngui:label="Name">
|
53
62
|
<anyName/>
|
54
63
|
<data type="string" rngui:label="Value / Json"/>
|
@@ -25,19 +25,28 @@
|
|
25
25
|
</element>
|
26
26
|
</zeroOrMore>
|
27
27
|
</element>
|
28
|
-
<element name="
|
28
|
+
<element name="_context_data_analysis" rngui:header="Context Data Analysis" rngui:hint="All data returned from the endpoint implementing this task as well as arbitray external data streams can be consumed and transformed in data probes. All probes can be the basis for impact factors. Please go to start to define instance data probes.">
|
29
29
|
|
30
|
-
<element name="
|
31
|
-
<zeroOrMore rngui:label="Add
|
32
|
-
<element name="
|
30
|
+
<element name="probes" rngui:header="Data Probes - Context Data Extraction" rngui:fold="closed">
|
31
|
+
<zeroOrMore rngui:label="Add Probe">
|
32
|
+
<element name="probe">
|
33
33
|
<element name="name" rngui:label="Label">
|
34
34
|
<data type="string" rngui:label="Label"/>
|
35
35
|
</element>
|
36
|
-
<element name="
|
36
|
+
<element name="extractor_type" rngui:label="Extractor Type">
|
37
|
+
<choice>
|
38
|
+
<value id='code'>Code</value>
|
39
|
+
<value id='service'>Service</value>
|
40
|
+
</choice>
|
41
|
+
</element>
|
42
|
+
<element name="extractor_code" rngui:label="Extractor Code" rngui:hint='For extrinsic data'>
|
43
|
+
<text rngui:label="Code"/>
|
44
|
+
</element>
|
45
|
+
<element name="extractor_url" rngui:label="Extractor Service" rngui:hint='For extrinsic & discrete data'>
|
37
46
|
<data type="string" rngui:label="Service Url"/>
|
38
47
|
</element>
|
39
|
-
<element name="extractor_params" rngui:label="Extractor Arguments:">
|
40
|
-
<zeroOrMore rngui:label="Create
|
48
|
+
<element name="extractor_params" rngui:label="Extractor Service Arguments:">
|
49
|
+
<zeroOrMore rngui:label="Create Argument Pairs">
|
41
50
|
<element rngui:label="Name">
|
42
51
|
<anyName/>
|
43
52
|
<data type="string" rngui:label="Value / Json"/>
|
@@ -47,8 +56,8 @@
|
|
47
56
|
<element name="visualizer_url" rngui:label="Visualizer Url">
|
48
57
|
<data type="string" rngui:label="Service Url"/>
|
49
58
|
</element>
|
50
|
-
<element name="visualizer_params" rngui:
|
51
|
-
<zeroOrMore rngui:label="Create
|
59
|
+
<element name="visualizer_params" rngui:label="Visualizer Arguments">
|
60
|
+
<zeroOrMore rngui:label="Create Argument Pairs">
|
52
61
|
<element rngui:label="Name">
|
53
62
|
<anyName/>
|
54
63
|
<data type="string" rngui:label="Value / Json"/>
|