cpee 2.1.33 → 2.1.34
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/templates/Subprocess.xml +5 -4
- data/cpee.gemspec +2 -1
- data/tools/cpee +3 -1
- metadata +17 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8457b0e49c82e8b44919cd7357de2ecc51067f9df04c81b17ec7b6fea57f9b3a
|
|
4
|
+
data.tar.gz: e391eee4876c1c6e653f0db52072c2f8e93434a8513e6200503549bab804ffbf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2e19e6b803139d751fc5d58f4c7d2e79f8ca4efc6a5c5c7b79db23a20586a07f755fe0340f537f85af5eda52a0c1de1ee0a787b21cd57206fe5f3d6dd3ec62fb
|
|
7
|
+
data.tar.gz: 48811e367128497ee1896adda017ebf524a14d08b5c3038222580f22ea37805a5c63bdf3d5dc9dbfd85c06d4e42d4132ecba3308cdd5a008b8497792fdd80690
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
<?xml version="1.0"?>
|
|
2
2
|
<testset xmlns="http://cpee.org/ns/properties/2.0">
|
|
3
3
|
<executionhandler>ruby</executionhandler>
|
|
4
|
-
<dataelements
|
|
4
|
+
<dataelements>
|
|
5
|
+
<brr>{ "a": 3 }</brr>
|
|
6
|
+
</dataelements>
|
|
5
7
|
<endpoints>
|
|
6
8
|
<timeout>https://cpee.org/services/timeout.php</timeout>
|
|
7
|
-
<subprocess>https://cpee.org/flow/start/url/</subprocess>
|
|
9
|
+
<subprocess>https-post://cpee.org/flow/start/url/</subprocess>
|
|
8
10
|
</endpoints>
|
|
9
11
|
<attributes>
|
|
10
12
|
<info>Subprocess</info>
|
|
@@ -24,12 +26,11 @@
|
|
|
24
26
|
<call id="a1" endpoint="subprocess">
|
|
25
27
|
<parameters>
|
|
26
28
|
<label>Sub</label>
|
|
27
|
-
<method>:post</method>
|
|
28
29
|
<arguments>
|
|
29
30
|
<behavior>wait_running</behavior>
|
|
30
31
|
<url>https://cpee.org/design/server/Templates.dir/Wait.xml</url>
|
|
31
32
|
<init>
|
|
32
|
-
<bla
|
|
33
|
+
<bla>!data.brr</bla>
|
|
33
34
|
</init>
|
|
34
35
|
<endpoints/>
|
|
35
36
|
<customization/>
|
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.34"
|
|
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."
|
|
@@ -29,4 +29,5 @@ Gem::Specification.new do |s|
|
|
|
29
29
|
s.add_runtime_dependency 'charlock_holmes', '~>0'
|
|
30
30
|
s.add_runtime_dependency 'mimemagic', '~>0'
|
|
31
31
|
s.add_runtime_dependency 'get_process_mem', '~>0.2'
|
|
32
|
+
s.add_runtime_dependency 'webrick', '~>1.7'
|
|
32
33
|
end
|
data/tools/cpee
CHANGED
|
@@ -235,7 +235,9 @@ elsif command == 'abandon'
|
|
|
235
235
|
print "Working on: " + name.to_s + "\r"
|
|
236
236
|
res1 = Typhoeus.get(File.join(base,name.to_s,'properties','state','/'))
|
|
237
237
|
if res1.success?
|
|
238
|
-
if res1.response_body == '
|
|
238
|
+
if res1.response_body == 'running'
|
|
239
|
+
Typhoeus.put(File.join(base,name.to_s,'properties','state','/'), headers: {'Content-Type' => 'application/x-www-form-urlencoded'}, body: "value=stopping")
|
|
240
|
+
elsif res1.response_body == 'ready' || res1.response_body == 'stopped'
|
|
239
241
|
Typhoeus.put(File.join(base,name.to_s,'properties','state','/'), headers: {'Content-Type' => 'application/x-www-form-urlencoded'}, body: "value=abandoned")
|
|
240
242
|
end
|
|
241
243
|
end
|
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.34
|
|
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-
|
|
13
|
+
date: 2022-05-03 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: riddl
|
|
@@ -130,6 +130,20 @@ dependencies:
|
|
|
130
130
|
- - "~>"
|
|
131
131
|
- !ruby/object:Gem::Version
|
|
132
132
|
version: '0.2'
|
|
133
|
+
- !ruby/object:Gem::Dependency
|
|
134
|
+
name: webrick
|
|
135
|
+
requirement: !ruby/object:Gem::Requirement
|
|
136
|
+
requirements:
|
|
137
|
+
- - "~>"
|
|
138
|
+
- !ruby/object:Gem::Version
|
|
139
|
+
version: '1.7'
|
|
140
|
+
type: :runtime
|
|
141
|
+
prerelease: false
|
|
142
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
143
|
+
requirements:
|
|
144
|
+
- - "~>"
|
|
145
|
+
- !ruby/object:Gem::Version
|
|
146
|
+
version: '1.7'
|
|
133
147
|
description: see http://cpee.org
|
|
134
148
|
email: juergen.mangler@gmail.com
|
|
135
149
|
executables:
|
|
@@ -693,7 +707,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
693
707
|
- !ruby/object:Gem::Version
|
|
694
708
|
version: '0'
|
|
695
709
|
requirements: []
|
|
696
|
-
rubygems_version: 3.
|
|
710
|
+
rubygems_version: 3.3.7
|
|
697
711
|
signing_key:
|
|
698
712
|
specification_version: 4
|
|
699
713
|
summary: Preliminary release of cloud process execution engine (cpee.org). If you
|