cpee 2.1.33 → 2.1.34

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 682e529161147c9cefe172e0428a514f6a0f0ab1da0e584584d2a40cdf1e8b31
4
- data.tar.gz: fd3509bbf881ad2325ca56a785224b5528af1b8c925fb8572e6f07f8542b214e
3
+ metadata.gz: 8457b0e49c82e8b44919cd7357de2ecc51067f9df04c81b17ec7b6fea57f9b3a
4
+ data.tar.gz: e391eee4876c1c6e653f0db52072c2f8e93434a8513e6200503549bab804ffbf
5
5
  SHA512:
6
- metadata.gz: 4e33966fe123d62a6da0a1cdd50cf2fc991a0f2646fcf1d7214d2ca11784ccd9a2dfb0e5d27c272d36b1eedf95135bb64e2d3c799caba374abbc8345deeef674
7
- data.tar.gz: 24885c7f3c35c86c204048c5db47ae5ddb79bc2b29d1aaa619d2f2155efbfb607c205bf319e5360e8bbf71bb2f071ba412492a11a34dc673e4d13daf5386f432
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>3</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.33"
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 == 'ready' || res1.response_body == 'stopped'
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.33
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-04-05 00:00:00.000000000 Z
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.2.22
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