cpee 2.1.49 → 2.1.50

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: 34164853ededc651de8bd49042f1fbd395a2085897ae8f0de3d589f6896e55a4
4
- data.tar.gz: 94547c5e075aae343ac0bcd01cd99f31907841cf0621d3623d2dc41a30aab8cb
3
+ metadata.gz: ae076f6c9e29ad07d9fde309d7d442c217f4f5e6dc7d53a1568539ac8ab355b5
4
+ data.tar.gz: 848076eca4541d65022199637c8b49a01a27072a05217e953b56b260e131bbf3
5
5
  SHA512:
6
- metadata.gz: 1eb722ee4a2d1721c70af726a98c1ef4dc41ce553b4332aa45eb6c2a5f96d1081f860b0c67bd90ba88f0275391e178ec063e6a77eeab54d55ed96437fc93d2aa
7
- data.tar.gz: d144450ff15ec4c4856d41334e119f60a56c1e8d27eeafc63540cb11f01bb9dec3bcbfa9615a3d83001e24d806b514f80aa5f5b841f16799416c3f12338ce464
6
+ metadata.gz: 9fb987297935bf548bd59a0547bf11b1b4b2a333d7064d7b4e1b124ece5372384c39263550476d474cf1b255a58a2dfb59ce8858d4b15f5572b7277cccfd755c
7
+ data.tar.gz: c7ce6bcb5a7d798ea680c160941fd3d2a76c990ee7a32c9ee55da99eff9dc9f75c5073c05cf6b01066d6a05e7afa31e8a13717ffb32e4382e2e3bd8f91c622f7
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.49"
3
+ s.version = "2.1.50"
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."
@@ -132,7 +132,7 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
132
132
  end
133
133
 
134
134
  status = result = headers = nil
135
- catch :no_mock do
135
+ begin
136
136
  tendpoint = @handler_endpoint.sub(/^http(s)?-(get|put|post|delete):/,'http\\1:')
137
137
  type = $2 || parameters[:method] || 'post'
138
138
 
@@ -144,9 +144,16 @@ class ConnectionWrapper < WEEL::ConnectionWrapperBase
144
144
  status, result, headers = client.request type => params
145
145
  if status == 561
146
146
  @handler_endpoint = @handler_endpoint_orig
147
- throw :no_mock
147
+ params.delete_if { |p| p.name == 'original_endpoint' }
148
+ params.each do |p|
149
+ if p.name == 'attributes'
150
+ t = JSON::parse(p.value) rescue {}
151
+ t['mock'] = @controller.attributes['mock']
152
+ p.value = t.to_json
153
+ end
154
+ end
148
155
  end
149
- end
156
+ end while status == 561
150
157
 
151
158
  if status < 200 || status >= 300
152
159
  headers['CPEE_SALVAGE'] = true
@@ -1 +1 @@
1
- 383721
1
+ 1105683
@@ -1 +1 @@
1
- 383730
1
+ 1105692
@@ -1 +1 @@
1
- 383727
1
+ 1105689
@@ -1 +1 @@
1
- 383724
1
+ 1105686
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.49
4
+ version: 2.1.50
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-08-24 00:00:00.000000000 Z
13
+ date: 2023-09-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: riddl