cpee-instantiation 1.0.12 → 1.0.13

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: 8b68dcb92b69a204fc1ffc477f4f0b8005267c78c8706b95dde750896fe706fd
4
- data.tar.gz: 692bcc545e9f23ccbc50d5ce51158145fea345e9831577cf0ac2781070e4945f
3
+ metadata.gz: 0ff6b47e9462a3f92a2e6536974359fe3cc0b18b7583518d88f83998e2f79885
4
+ data.tar.gz: b881374ebad85ebe328cfe97534829979d3aec54ff8a0d976d89f79245a78d87
5
5
  SHA512:
6
- metadata.gz: 87447ee9ab76d60bc19e77befcb33528c57cc07a13f7cfa6708d898a7449eed7650e81b9f23f82f7dd6784816787418fffb2639a43cbf5d1eed32efc38dcf00d
7
- data.tar.gz: 6a983ac4661f16eca78b304801e4cda5daff51657043cc6e6dbaecf3b0772128fb5561264e99abef7ee17f3fd4232b1562adc76531b1d11147fb5f01dd432d17
6
+ metadata.gz: 9fd8d7ec4b66b06b94b53976886854548d27a1fc41faaf76b6fb994dbb1e58432c53be3a799eccbd23c9890723b8fab453e0375360a0f9dd981057097a672947
7
+ data.tar.gz: 3d3172e5b4a6a290a34ce06867539307bb0ba283c3a25a7770f17c0bba40a37f7bd05a02c29028f4c2b2cef50d52816391c42a08e750981e4c631e9c51c36b34
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee-instantiation"
3
- s.version = "1.0.12"
3
+ s.version = "1.0.13"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0"
6
6
  s.summary = "Subprocess instantiation service for the cloud process execution engine (cpee.org)"
@@ -84,7 +84,6 @@ module CPEE
84
84
  end
85
85
  parts << Riddl::Parameter::Simple.new('url', s.attributes['url'])
86
86
  s.find('sub:topic').each do |t|
87
- p s.find('sub:event').map{ |e| e.text }
88
87
  if (evs = t.find('sub:event').map{ |e| e.text }.join(',')).length > 0
89
88
  parts << Riddl::Parameter::Simple.new('topic', t.attributes['id'])
90
89
  parts << Riddl::Parameter::Simple.new('events', evs)
@@ -137,7 +136,7 @@ module CPEE
137
136
  if data && !data.empty?
138
137
  content = XML::Smart.string('<dataelements xmlns="http://cpee.org/ns/properties/2.0"/>')
139
138
  JSON::parse(data).each do |k,v|
140
- content.root.add(k,v)
139
+ content.root.add(k,CPEE::ValueHelper::generate(v))
141
140
  end
142
141
  srv = Riddl::Client.new(cpee, File.join(cpee,'?riddl-description'))
143
142
  res = srv.resource("/#{instance}/properties/dataelements/")
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee-instantiation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.12
4
+ version: 1.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
8
8
  autorequire:
9
9
  bindir: tools
10
10
  cert_chain: []
11
- date: 2021-11-23 00:00:00.000000000 Z
11
+ date: 2022-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: riddl