cpee 1.5.25 → 1.5.26

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: 37efc8a4ee5d0180cb006297e5948408f7c1772b9f8fc2a87d1612b7d59caf06
4
- data.tar.gz: 77d0bec7010653f12b05ef43a1f585c3207fe45a07fddb28c3fb6f4e411a107e
3
+ metadata.gz: 74b1a776ad1f01c2ed0d5c7340211b3dafde7f9551d97e42c5115ceccb4c20fc
4
+ data.tar.gz: c38b3495ea50ee3f4018e4e4f050ca0a53184a651481cf93e026e46d1774ffcd
5
5
  SHA512:
6
- metadata.gz: 6c3985ee99ff71092829163a58fed998a6095df1c34bd50d9172d607894ff43ff7e47de0c0ceceab0cf67ee8eefb9d1b67973f3bec3ccd6019fc67e2a84ff3cb
7
- data.tar.gz: 879610b214fbd73ba364936ee83f75a63921d058966ba37e5308b44e8f164cf4029afbe0211c0a01aa322a6fa96ce3518b03971345c814809ecc91f70934f946
6
+ metadata.gz: a0959aca5925b61680097b2b062610f284d7ff060aca74cda8e092897a0fc378526a99ed28cd2232c7985fcf6a0a08b243451ec841d4743fad2f83f930598c39
7
+ data.tar.gz: be8d21b1ba43dd09b4e2ab499c294d72a79c62f34ebd34a654c770487e3a5789772215d2fdf5da07d9f35422e1419ef130f40ed30118a162d257068f85df0b93
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee"
3
- s.version = "1.5.25"
3
+ s.version = "1.5.26"
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). If you just need workflow execution, without a rest/xmpp service exposing it, then use WEEL"
@@ -34,7 +34,7 @@ module CPEE
34
34
  doc.register_namespace 'desc', 'http://cpee.org/ns/description/1.0'
35
35
  doc.register_namespace 'prop', 'http://riddl.org/ns/common-patterns/properties/1.0'
36
36
 
37
- srv = Riddl::Client.new(cpee, cpee + "?riddl-description")
37
+ srv = Riddl::Client.new(cpee, File.join(cpee,'?riddl-description'))
38
38
  res = srv.resource("/")
39
39
  if name
40
40
  doc.find("/testset/attributes/prop:info").each do |e|
@@ -109,7 +109,7 @@ module CPEE
109
109
 
110
110
  if cb
111
111
  cbk = SecureRandom.uuid
112
- srv = Riddl::Client.new(cpee, cpee + "?riddl-description")
112
+ srv = Riddl::Client.new(cpee, File.join(cpee,'?riddl-description'))
113
113
  status, response = srv.resource("/#{instance}/notifications/subscriptions/").post [
114
114
  Riddl::Parameter::Simple.new("url",File.join(selfurl,'callback',cbk)),
115
115
  Riddl::Parameter::Simple.new("topic","state"),
@@ -126,7 +126,7 @@ module CPEE
126
126
  private :handle_waiting
127
127
  def handle_starting(cpee,instance,behavior) #{{{
128
128
  if behavior =~ /_running$/
129
- srv = Riddl::Client.new(cpee, cpee + "?riddl-description")
129
+ srv = Riddl::Client.new(cpee, File.join(cpee,'?riddl-description'))
130
130
  res = srv.resource("/#{instance}/properties/values")
131
131
  status, response = res.put [
132
132
  Riddl::Parameter::Simple.new('name', 'state'),
@@ -141,7 +141,7 @@ module CPEE
141
141
  JSON::parse(data).each do |k,v|
142
142
  content.root.add(k,v)
143
143
  end
144
- srv = Riddl::Client.new(cpee, cpee + "?riddl-description")
144
+ srv = Riddl::Client.new(cpee, File.join(cpee,'?riddl-description'))
145
145
  res = srv.resource("/#{instance}/properties/values/dataelements/")
146
146
  status, response = res.patch [
147
147
  Riddl::Parameter::Complex.new('content','text/xml',content.to_s)
@@ -154,7 +154,7 @@ module CPEE
154
154
  JSON::parse(data).each do |k,v|
155
155
  content.root.add(k,v)
156
156
  end
157
- srv = Riddl::Client.new(cpee, cpee + "?riddl-description")
157
+ srv = Riddl::Client.new(cpee, File.join(cpee,'?riddl-description'))
158
158
  res = srv.resource("/#{instance}/properties/values/endpoints/")
159
159
  status, response = res.patch [
160
160
  Riddl::Parameter::Complex.new('content','text/xml',content.to_s)
@@ -280,7 +280,7 @@ module CPEE
280
280
  cblist = @a[2]
281
281
  instance = @p[1].value
282
282
 
283
- srv = Riddl::Client.new(cpee, cpee + "?riddl-description")
283
+ srv = Riddl::Client.new(cpee, File.join(cpee,'?riddl-description'))
284
284
  res = srv.resource("/#{instance}/properties/values/attributes/uuid")
285
285
  status, response = res.get
286
286
 
@@ -316,7 +316,7 @@ module CPEE
316
316
 
317
317
  if notification['state'] == condition
318
318
  cblist.del(key)
319
- srv = Riddl::Client.new(cpee, cpee + "?riddl-description")
319
+ srv = Riddl::Client.new(cpee, File.join(cpee,'?riddl-description'))
320
320
  res = srv.resource("/#{instance}/properties/values/dataelements")
321
321
  status, response = res.get
322
322
  if status >= 200 && status < 300
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: 1.5.25
4
+ version: 1.5.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: tools
13
13
  cert_chain: []
14
- date: 2020-10-05 00:00:00.000000000 Z
14
+ date: 2020-10-06 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: riddl