cpee 2.1.38 → 2.1.39
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/js/wfadaptor.js +2 -1
- data/cockpit/themes/compact/symbols/start_event.svg +5 -0
- data/cockpit/themes/compact/theme.js +30 -0
- data/cockpit/themes/control/symbols/start_event.svg +5 -0
- data/cockpit/themes/default/symbols/start_event.svg +5 -0
- data/cockpit/themes/default/theme.js +30 -0
- data/cockpit/themes/extended/symbols/start_event.svg +5 -0
- data/cockpit/themes/extended/theme.js +30 -0
- data/cockpit/themes/model/symbols/start_event.svg +5 -0
- data/cockpit/themes/packed/symbols/start_event.svg +5 -0
- data/cockpit/themes/packed/theme.js +30 -0
- data/cockpit/themes/preset/symbols/start_event.svg +5 -0
- data/cockpit/themes/preset/theme.js +30 -0
- data/cpee.gemspec +1 -1
- metadata +9 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a9256c97fb6db6f726abc1135b36227812902da3e9e9904155812adaf7e210d4
|
4
|
+
data.tar.gz: 331436cf6d23f7b2eb2f41e54c29955d82035db3fc3925d658edd3ee08798c3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec187671b4741f712a2830d46f8e03972bbc98a39d6994ebad11c834f5dd0187fc7bb4dbf493d2463957885bd1e5b51c7383bf462558d82a8a8a37bb965d803c
|
7
|
+
data.tar.gz: 9b5fb43a84305481a9c314694f41d18243ae39507b6c74290f1390477c5cfa98dfcb66c168946376b687bbac72874bce29fa4ec324aa2f7918a480ffcdab0186
|
data/cockpit/js/wfadaptor.js
CHANGED
@@ -565,7 +565,7 @@ function WfDescription(wf_adaptor, wf_illustrator) { // Model {{{
|
|
565
565
|
if (illustrator.elements[sname].label) {
|
566
566
|
labels.push({row: pos.row, element_id: 'start', tname: 'start', label: illustrator.elements[sname].label(root)});
|
567
567
|
}
|
568
|
-
illustrator.draw.draw_symbol(
|
568
|
+
illustrator.draw.draw_symbol(sname, 'description', 'START', pos.row, pos.col, group);
|
569
569
|
} // }}}
|
570
570
|
|
571
571
|
$(root).children().filter(function(){ return this.localName[0] != '_'; }).each(function() {
|
@@ -658,6 +658,7 @@ function WfDescription(wf_adaptor, wf_illustrator) { // Model {{{
|
|
658
658
|
else if(typeof illustrator.elements[tname].resolve_symbol == 'function') {sname = illustrator.elements[tname].resolve_symbol(context,illustrator.elements[tname].col_shift ? illustrator.elements[tname].col_shift(context) : undefined);}
|
659
659
|
else if(typeof illustrator.elements[tname].resolve_symbol == 'string') {sname = illustrator.elements[tname].resolve_symbol;}
|
660
660
|
else {sname = tname;}
|
661
|
+
if (sname == null) {sname = tname;}
|
661
662
|
return sname;
|
662
663
|
} //}}}
|
663
664
|
var set_details = function(tname,sname,pos,context,simple) { //{{{
|
@@ -1176,6 +1176,30 @@ function WFAdaptorManifestation(adaptor) {
|
|
1176
1176
|
'expansion': function(node) {
|
1177
1177
|
return 'vertical';
|
1178
1178
|
},
|
1179
|
+
'resolve_symbol': function(node) {
|
1180
|
+
let plist = []
|
1181
|
+
let dirty = false
|
1182
|
+
$('*:not(:has(*))',node).each(function(i,n) {
|
1183
|
+
let lines = n.textContent.split(/(\r\n)|\n|;/)
|
1184
|
+
for (const l of lines) {
|
1185
|
+
if (l != null) {
|
1186
|
+
let m0 = l.match(/^[^=]*data\.([a-z0-9A-Z_]+)[^=]*=/)
|
1187
|
+
if (m0 != null) {
|
1188
|
+
plist.push(m0[1])
|
1189
|
+
}
|
1190
|
+
let m1 = l.match(/=[^=].*data\.([a-z0-9A-Z_]+)/)
|
1191
|
+
let m2 = l.match(/^[^=]*data\.([a-z0-9A-Z_]+)[^=]*$/)
|
1192
|
+
if (m1 != null && !plist.includes(m1[1])) {
|
1193
|
+
dirty = true
|
1194
|
+
}
|
1195
|
+
if (m2 != null && !plist.includes(m2[1])) {
|
1196
|
+
dirty = true
|
1197
|
+
}
|
1198
|
+
}
|
1199
|
+
}
|
1200
|
+
})
|
1201
|
+
if (dirty) { return 'start_event'; }
|
1202
|
+
},
|
1179
1203
|
'closing_symbol': 'end',
|
1180
1204
|
'col_shift': function(node) {
|
1181
1205
|
return true;
|
@@ -1249,6 +1273,12 @@ function WFAdaptorManifestation(adaptor) {
|
|
1249
1273
|
// Abstract Elements
|
1250
1274
|
// * they may only have an illustrator (or other parts)
|
1251
1275
|
// * they HAVE TO have a parent
|
1276
|
+
this.elements.start_event = { /*{{{*/
|
1277
|
+
'parent': 'start',
|
1278
|
+
'illustrator': {//{{{
|
1279
|
+
'svg': self.adaptor.theme_dir + 'symbols/start_event.svg'
|
1280
|
+
}//}}}
|
1281
|
+
}; /*}}}*/
|
1252
1282
|
this.elements.call_sensor = { /*{{{*/
|
1253
1283
|
'parent': 'call',
|
1254
1284
|
'illustrator': {//{{{
|
@@ -1177,6 +1177,30 @@ function WFAdaptorManifestation(adaptor) {
|
|
1177
1177
|
'expansion': function(node) {
|
1178
1178
|
return 'vertical';
|
1179
1179
|
},
|
1180
|
+
'resolve_symbol': function(node) {
|
1181
|
+
let plist = []
|
1182
|
+
let dirty = false
|
1183
|
+
$('*:not(:has(*))',node).each(function(i,n) {
|
1184
|
+
let lines = n.textContent.split(/(\r\n)|\n|;/)
|
1185
|
+
for (const l of lines) {
|
1186
|
+
if (l != null) {
|
1187
|
+
let m0 = l.match(/^[^=]*data\.([a-z0-9A-Z_]+)[^=]*=/)
|
1188
|
+
if (m0 != null) {
|
1189
|
+
plist.push(m0[1])
|
1190
|
+
}
|
1191
|
+
let m1 = l.match(/=[^=].*data\.([a-z0-9A-Z_]+)/)
|
1192
|
+
let m2 = l.match(/^[^=]*data\.([a-z0-9A-Z_]+)[^=]*$/)
|
1193
|
+
if (m1 != null && !plist.includes(m1[1])) {
|
1194
|
+
dirty = true
|
1195
|
+
}
|
1196
|
+
if (m2 != null && !plist.includes(m2[1])) {
|
1197
|
+
dirty = true
|
1198
|
+
}
|
1199
|
+
}
|
1200
|
+
}
|
1201
|
+
})
|
1202
|
+
if (dirty) { return 'start_event'; }
|
1203
|
+
},
|
1180
1204
|
'closing_symbol': 'end',
|
1181
1205
|
'col_shift': function(node) {
|
1182
1206
|
return true;
|
@@ -1250,6 +1274,12 @@ function WFAdaptorManifestation(adaptor) {
|
|
1250
1274
|
// Abstract Elements
|
1251
1275
|
// * they may only have an illustrator (or other parts)
|
1252
1276
|
// * they HAVE TO have a parent
|
1277
|
+
this.elements.start_event = { /*{{{*/
|
1278
|
+
'parent': 'start',
|
1279
|
+
'illustrator': {//{{{
|
1280
|
+
'svg': self.adaptor.theme_dir + 'symbols/start_event.svg'
|
1281
|
+
}//}}}
|
1282
|
+
}; /*}}}*/
|
1253
1283
|
this.elements.call_sensor = { /*{{{*/
|
1254
1284
|
'parent': 'call',
|
1255
1285
|
'illustrator': {//{{{
|
@@ -1211,6 +1211,30 @@ function WFAdaptorManifestation(adaptor) {
|
|
1211
1211
|
'expansion': function(node) {
|
1212
1212
|
return 'vertical';
|
1213
1213
|
},
|
1214
|
+
'resolve_symbol': function(node) {
|
1215
|
+
let plist = []
|
1216
|
+
let dirty = false
|
1217
|
+
$('*:not(:has(*))',node).each(function(i,n) {
|
1218
|
+
let lines = n.textContent.split(/(\r\n)|\n|;/)
|
1219
|
+
for (const l of lines) {
|
1220
|
+
if (l != null) {
|
1221
|
+
let m0 = l.match(/^[^=]*data\.([a-z0-9A-Z_]+)[^=]*=/)
|
1222
|
+
if (m0 != null) {
|
1223
|
+
plist.push(m0[1])
|
1224
|
+
}
|
1225
|
+
let m1 = l.match(/=[^=].*data\.([a-z0-9A-Z_]+)/)
|
1226
|
+
let m2 = l.match(/^[^=]*data\.([a-z0-9A-Z_]+)[^=]*$/)
|
1227
|
+
if (m1 != null && !plist.includes(m1[1])) {
|
1228
|
+
dirty = true
|
1229
|
+
}
|
1230
|
+
if (m2 != null && !plist.includes(m2[1])) {
|
1231
|
+
dirty = true
|
1232
|
+
}
|
1233
|
+
}
|
1234
|
+
}
|
1235
|
+
})
|
1236
|
+
if (dirty) { return 'start_event'; }
|
1237
|
+
},
|
1214
1238
|
'closing_symbol': 'end',
|
1215
1239
|
'col_shift': function(node) {
|
1216
1240
|
return true;
|
@@ -1284,6 +1308,12 @@ function WFAdaptorManifestation(adaptor) {
|
|
1284
1308
|
// Abstract Elements
|
1285
1309
|
// * they may only have an illustrator (or other parts)
|
1286
1310
|
// * they HAVE TO have a parent
|
1311
|
+
this.elements.start_event = { /*{{{*/
|
1312
|
+
'parent': 'start',
|
1313
|
+
'illustrator': {//{{{
|
1314
|
+
'svg': self.adaptor.theme_dir + 'symbols/start_event.svg'
|
1315
|
+
}//}}}
|
1316
|
+
}; /*}}}*/
|
1287
1317
|
this.elements.call_sensor = { /*{{{*/
|
1288
1318
|
'parent': 'call',
|
1289
1319
|
'illustrator': {//{{{
|
@@ -1176,6 +1176,30 @@ function WFAdaptorManifestation(adaptor) {
|
|
1176
1176
|
'expansion': function(node) {
|
1177
1177
|
return 'vertical';
|
1178
1178
|
},
|
1179
|
+
'resolve_symbol': function(node) {
|
1180
|
+
let plist = []
|
1181
|
+
let dirty = false
|
1182
|
+
$('*:not(:has(*))',node).each(function(i,n) {
|
1183
|
+
let lines = n.textContent.split(/(\r\n)|\n|;/)
|
1184
|
+
for (const l of lines) {
|
1185
|
+
if (l != null) {
|
1186
|
+
let m0 = l.match(/^[^=]*data\.([a-z0-9A-Z_]+)[^=]*=/)
|
1187
|
+
if (m0 != null) {
|
1188
|
+
plist.push(m0[1])
|
1189
|
+
}
|
1190
|
+
let m1 = l.match(/=[^=].*data\.([a-z0-9A-Z_]+)/)
|
1191
|
+
let m2 = l.match(/^[^=]*data\.([a-z0-9A-Z_]+)[^=]*$/)
|
1192
|
+
if (m1 != null && !plist.includes(m1[1])) {
|
1193
|
+
dirty = true
|
1194
|
+
}
|
1195
|
+
if (m2 != null && !plist.includes(m2[1])) {
|
1196
|
+
dirty = true
|
1197
|
+
}
|
1198
|
+
}
|
1199
|
+
}
|
1200
|
+
})
|
1201
|
+
if (dirty) { return 'start_event'; }
|
1202
|
+
},
|
1179
1203
|
'closing_symbol': 'end',
|
1180
1204
|
'col_shift': function(node) {
|
1181
1205
|
return true;
|
@@ -1249,6 +1273,12 @@ function WFAdaptorManifestation(adaptor) {
|
|
1249
1273
|
// Abstract Elements
|
1250
1274
|
// * they may only have an illustrator (or other parts)
|
1251
1275
|
// * they HAVE TO have a parent
|
1276
|
+
this.elements.start_event = { /*{{{*/
|
1277
|
+
'parent': 'start',
|
1278
|
+
'illustrator': {//{{{
|
1279
|
+
'svg': self.adaptor.theme_dir + 'symbols/start_event.svg'
|
1280
|
+
}//}}}
|
1281
|
+
}; /*}}}*/
|
1252
1282
|
this.elements.call_sensor = { /*{{{*/
|
1253
1283
|
'parent': 'call',
|
1254
1284
|
'illustrator': {//{{{
|
@@ -1177,6 +1177,30 @@ function WFAdaptorManifestation(adaptor) {
|
|
1177
1177
|
'expansion': function(node) {
|
1178
1178
|
return 'vertical';
|
1179
1179
|
},
|
1180
|
+
'resolve_symbol': function(node) {
|
1181
|
+
let plist = []
|
1182
|
+
let dirty = false
|
1183
|
+
$('*:not(:has(*))',node).each(function(i,n) {
|
1184
|
+
let lines = n.textContent.split(/(\r\n)|\n|;/)
|
1185
|
+
for (const l of lines) {
|
1186
|
+
if (l != null) {
|
1187
|
+
let m0 = l.match(/^[^=]*data\.([a-z0-9A-Z_]+)[^=]*=/)
|
1188
|
+
if (m0 != null) {
|
1189
|
+
plist.push(m0[1])
|
1190
|
+
}
|
1191
|
+
let m1 = l.match(/=[^=].*data\.([a-z0-9A-Z_]+)/)
|
1192
|
+
let m2 = l.match(/^[^=]*data\.([a-z0-9A-Z_]+)[^=]*$/)
|
1193
|
+
if (m1 != null && !plist.includes(m1[1])) {
|
1194
|
+
dirty = true
|
1195
|
+
}
|
1196
|
+
if (m2 != null && !plist.includes(m2[1])) {
|
1197
|
+
dirty = true
|
1198
|
+
}
|
1199
|
+
}
|
1200
|
+
}
|
1201
|
+
})
|
1202
|
+
if (dirty) { return 'start_event'; }
|
1203
|
+
},
|
1180
1204
|
'closing_symbol': 'end',
|
1181
1205
|
'col_shift': function(node) {
|
1182
1206
|
return true;
|
@@ -1250,6 +1274,12 @@ function WFAdaptorManifestation(adaptor) {
|
|
1250
1274
|
// Abstract Elements
|
1251
1275
|
// * they may only have an illustrator (or other parts)
|
1252
1276
|
// * they HAVE TO have a parent
|
1277
|
+
this.elements.start_event = { /*{{{*/
|
1278
|
+
'parent': 'start',
|
1279
|
+
'illustrator': {//{{{
|
1280
|
+
'svg': self.adaptor.theme_dir + 'symbols/start_event.svg'
|
1281
|
+
}//}}}
|
1282
|
+
}; /*}}}*/
|
1253
1283
|
this.elements.call_sensor = { /*{{{*/
|
1254
1284
|
'parent': 'call',
|
1255
1285
|
'illustrator': {//{{{
|
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.
|
3
|
+
s.version = "2.1.39"
|
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.
|
4
|
+
version: 2.1.39
|
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: 2022-12-
|
13
|
+
date: 2022-12-08 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: riddl
|
@@ -306,6 +306,7 @@ files:
|
|
306
306
|
- cockpit/themes/compact/symbols/parallel_eventbased_parallel.svg
|
307
307
|
- cockpit/themes/compact/symbols/scripts.svg
|
308
308
|
- cockpit/themes/compact/symbols/start.svg
|
309
|
+
- cockpit/themes/compact/symbols/start_event.svg
|
309
310
|
- cockpit/themes/compact/symbols/stop.svg
|
310
311
|
- cockpit/themes/compact/symbols/terminate.svg
|
311
312
|
- cockpit/themes/compact/theme.js
|
@@ -359,6 +360,7 @@ files:
|
|
359
360
|
- cockpit/themes/control/symbols/parallel_eventbased_parallel.svg
|
360
361
|
- cockpit/themes/control/symbols/scripts.svg
|
361
362
|
- cockpit/themes/control/symbols/start.svg
|
363
|
+
- cockpit/themes/control/symbols/start_event.svg
|
362
364
|
- cockpit/themes/control/symbols/stop.svg
|
363
365
|
- cockpit/themes/control/symbols/terminate.svg
|
364
366
|
- cockpit/themes/control/theme.js
|
@@ -412,6 +414,7 @@ files:
|
|
412
414
|
- cockpit/themes/default/symbols/parallel_eventbased_parallel.svg
|
413
415
|
- cockpit/themes/default/symbols/scripts.svg
|
414
416
|
- cockpit/themes/default/symbols/start.svg
|
417
|
+
- cockpit/themes/default/symbols/start_event.svg
|
415
418
|
- cockpit/themes/default/symbols/stop.svg
|
416
419
|
- cockpit/themes/default/symbols/terminate.svg
|
417
420
|
- cockpit/themes/default/theme.js
|
@@ -465,6 +468,7 @@ files:
|
|
465
468
|
- cockpit/themes/extended/symbols/parallel_eventbased_parallel.svg
|
466
469
|
- cockpit/themes/extended/symbols/scripts.svg
|
467
470
|
- cockpit/themes/extended/symbols/start.svg
|
471
|
+
- cockpit/themes/extended/symbols/start_event.svg
|
468
472
|
- cockpit/themes/extended/symbols/stop.svg
|
469
473
|
- cockpit/themes/extended/symbols/terminate.svg
|
470
474
|
- cockpit/themes/extended/theme.js
|
@@ -513,6 +517,7 @@ files:
|
|
513
517
|
- cockpit/themes/model/symbols/parallel_eventbased_parallel.svg
|
514
518
|
- cockpit/themes/model/symbols/scripts.svg
|
515
519
|
- cockpit/themes/model/symbols/start.svg
|
520
|
+
- cockpit/themes/model/symbols/start_event.svg
|
516
521
|
- cockpit/themes/model/symbols/stop.svg
|
517
522
|
- cockpit/themes/model/symbols/terminate.svg
|
518
523
|
- cockpit/themes/model/theme.js
|
@@ -566,6 +571,7 @@ files:
|
|
566
571
|
- cockpit/themes/packed/symbols/parallel_eventbased_parallel.svg
|
567
572
|
- cockpit/themes/packed/symbols/scripts.svg
|
568
573
|
- cockpit/themes/packed/symbols/start.svg
|
574
|
+
- cockpit/themes/packed/symbols/start_event.svg
|
569
575
|
- cockpit/themes/packed/symbols/stop.svg
|
570
576
|
- cockpit/themes/packed/symbols/terminate.svg
|
571
577
|
- cockpit/themes/packed/theme.js
|
@@ -619,6 +625,7 @@ files:
|
|
619
625
|
- cockpit/themes/preset/symbols/parallel_eventbased_parallel.svg
|
620
626
|
- cockpit/themes/preset/symbols/scripts.svg
|
621
627
|
- cockpit/themes/preset/symbols/start.svg
|
628
|
+
- cockpit/themes/preset/symbols/start_event.svg
|
622
629
|
- cockpit/themes/preset/symbols/stop.svg
|
623
630
|
- cockpit/themes/preset/symbols/terminate.svg
|
624
631
|
- cockpit/themes/preset/theme.js
|