cpee 1.5.25 → 1.5.26
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/cpee.gemspec +1 -1
- data/lib/cpee/instantiation.rb +7 -7
- 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: 74b1a776ad1f01c2ed0d5c7340211b3dafde7f9551d97e42c5115ceccb4c20fc
|
4
|
+
data.tar.gz: c38b3495ea50ee3f4018e4e4f050ca0a53184a651481cf93e026e46d1774ffcd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0959aca5925b61680097b2b062610f284d7ff060aca74cda8e092897a0fc378526a99ed28cd2232c7985fcf6a0a08b243451ec841d4743fad2f83f930598c39
|
7
|
+
data.tar.gz: be8d21b1ba43dd09b4e2ab499c294d72a79c62f34ebd34a654c770487e3a5789772215d2fdf5da07d9f35422e1419ef130f40ed30118a162d257068f85df0b93
|
data/cpee.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "cpee"
|
3
|
-
s.version = "1.5.
|
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"
|
data/lib/cpee/instantiation.rb
CHANGED
@@ -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
|
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
|
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
|
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
|
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
|
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
|
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
|
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.
|
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-
|
14
|
+
date: 2020-10-06 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: riddl
|