cpee 2.1.50 → 2.1.51
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cockpit/css/wfadaptor.css +23 -0
- data/cpee.gemspec +1 -1
- data/lib/cpee/persistence.rb +3 -1
- data/server/executionhandlers/ruby/connection.rb +8 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53d9392ee2d94e307e588b467e9a435901f8d231d42f84ff326432444764be99
|
4
|
+
data.tar.gz: d0f08d2fc5100b961f218e5c1890931d894bc9d3ed844e880ca187fffb3342d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56677348739cd49fc763e867d9d6d464afa1183fe5220277bd2141410b46ddd065320ae4e11c8ed469a82107d57a3f0afc6148624d71c88f6ba1bf961bd9af9a
|
7
|
+
data.tar.gz: 4bcf1ce059ae0839862910e620697907a045ac925ffd30c7212d7b8ff8819f9f6c6a2eb845365ab3c7887db9d0e6d567122b98ce77699d3a23fbbafa2c2ff790
|
data/cockpit/css/wfadaptor.css
CHANGED
@@ -22,6 +22,7 @@
|
|
22
22
|
--wfadaptor-exec-vote-text: #73d216;
|
23
23
|
--wfadaptor-highlight: #0081c7;
|
24
24
|
--wfadaptor-base: #000000;
|
25
|
+
--wfadaptor-base-light: #A9A9A9;
|
25
26
|
--wfadaptor-label: #d4d4d4;
|
26
27
|
--wfadaptor-mark: #d4d4d4;
|
27
28
|
--wfadaptor-selected: #f57900;
|
@@ -134,6 +135,17 @@ svg .standfat {
|
|
134
135
|
stroke-opacity:1;
|
135
136
|
stroke-dasharray:none;
|
136
137
|
}
|
138
|
+
svg .greyfat {
|
139
|
+
fill: var(--wfadaptor-background);
|
140
|
+
fill-opacity:1;
|
141
|
+
stroke: var(--wfadaptor-base-light);
|
142
|
+
stroke-width:3;
|
143
|
+
stroke-linecap:round;
|
144
|
+
stroke-linejoin:round;
|
145
|
+
stroke-miterlimit:4;
|
146
|
+
stroke-opacity:1;
|
147
|
+
stroke-dasharray:none;
|
148
|
+
}
|
137
149
|
svg .standfat.menu {
|
138
150
|
stroke: var(--wfadaptor-menu);
|
139
151
|
}
|
@@ -170,6 +182,17 @@ svg .black {
|
|
170
182
|
stroke-opacity:1;
|
171
183
|
stroke-dasharray:none;
|
172
184
|
}
|
185
|
+
svg .grey {
|
186
|
+
fill: var(--wfadaptor-base-light);
|
187
|
+
fill-opacity:1;
|
188
|
+
stroke: var(--wfadaptor-base-light);
|
189
|
+
stroke-width: 1.6;
|
190
|
+
stroke-linecap:round;
|
191
|
+
stroke-linejoin:round;
|
192
|
+
stroke-miterlimit:4;
|
193
|
+
stroke-opacity:1;
|
194
|
+
stroke-dasharray:none;
|
195
|
+
}
|
173
196
|
|
174
197
|
svg .marked text.label {
|
175
198
|
color: var(--wfadaptor-label);
|
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.51"
|
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/persistence.rb
CHANGED
@@ -82,7 +82,9 @@ module CPEE
|
|
82
82
|
end
|
83
83
|
|
84
84
|
def self::new_object(opts)
|
85
|
-
opts[:redis].zrevrange(@@obj + 's', 0, 0).first.to_i + 1
|
85
|
+
id = opts[:redis].zrevrange(@@obj + 's', 0, 0).first.to_i + 1
|
86
|
+
opts[:redis].zadd(@@obj + 's',id,id)
|
87
|
+
id
|
86
88
|
end
|
87
89
|
|
88
90
|
def self::keys(id,opts,item=nil)
|
@@ -20,6 +20,7 @@ require 'get_process_mem'
|
|
20
20
|
class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
21
21
|
def self::loop_guard(arguments,id,count) # {{{
|
22
22
|
controller = arguments[0]
|
23
|
+
return false if controller.attributes['nednoamol']
|
23
24
|
tsn = Time.now
|
24
25
|
tso = controller.loop_guard[id][:timestamp] rescue Time.now
|
25
26
|
controller.loop_guard[id] = { :count => count, :timestamp => tsn }
|
@@ -142,6 +143,8 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
142
143
|
@controller.callback(self,callback,:'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position)
|
143
144
|
|
144
145
|
status, result, headers = client.request type => params
|
146
|
+
@guard_files += result
|
147
|
+
|
145
148
|
if status == 561
|
146
149
|
@handler_endpoint = @handler_endpoint_orig
|
147
150
|
params.delete_if { |p| p.name == 'original_endpoint' }
|
@@ -281,7 +284,7 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
281
284
|
end
|
282
285
|
end
|
283
286
|
else
|
284
|
-
Riddl::Parameter::Array[*result]
|
287
|
+
result = Riddl::Parameter::Array[*result]
|
285
288
|
end
|
286
289
|
if result.is_a? String
|
287
290
|
enc = detect_encoding(result)
|
@@ -352,6 +355,7 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
352
355
|
recv = structurize_result(result)
|
353
356
|
@controller.notify("activity/receiving", :'activity-uuid' => @handler_activity_uuid, :label => @label, :activity => @handler_position, :endpoint => @handler_endpoint, :received => recv, :annotations => @anno)
|
354
357
|
@guard_files += result
|
358
|
+
|
355
359
|
@handler_returnValue = simplify_result(result)
|
356
360
|
@handler_returnOptions = options
|
357
361
|
if options['CPEE_INSTANTIATION']
|
@@ -379,13 +383,15 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
|
|
379
383
|
end
|
380
384
|
|
381
385
|
def mem_guard() #{{{
|
382
|
-
@guard_files.
|
386
|
+
@guard_files.delete_if do |p|
|
383
387
|
if p&.respond_to?(:close)
|
384
388
|
p.close
|
385
389
|
elsif p&.value&.respond_to?(:close)
|
386
390
|
p.value.close
|
387
391
|
end
|
392
|
+
true
|
388
393
|
end
|
394
|
+
GC.start
|
389
395
|
end #}}}
|
390
396
|
|
391
397
|
def test_condition(mr,code,args)
|
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.51
|
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: 2023-
|
13
|
+
date: 2023-10-10 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: riddl
|