cpee-instantiation 1.1.3 → 1.1.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b486ad9081818b993eef007d6b34f1140f7e0a35508d6cee8aed91d009f4f559
4
- data.tar.gz: 360568a27c1640c62cf619aa0365af42432e08864589895deede571db9a88f1c
3
+ metadata.gz: 206809602ed34edfa0348fe01af686f07a728ae0796af92b9c889195dbb2cd92
4
+ data.tar.gz: 4abf6ca630a0f32cb8932508f17ffdb9a02ecda82ad9bca7bc40ed333e64b23b
5
5
  SHA512:
6
- metadata.gz: cec4e88f55717ab2700718a94673f2838a163d89e3dcdebc54359110d0ea2eef2b5273bd640b7e584ee5798273a8f0ab7144ed088fff06142f2b49a65c65d0b2
7
- data.tar.gz: caffa739df23afd0d9e764fc3500d1b9748e2eca9b9395abc06d8d7ed0dd0a009de0ddaaddd0162413917a68ef19aa4ba997ef8409dd9373f9c4e7f7322d584e
6
+ metadata.gz: b6fcb313df7db5a711276c6819a28ffdac5a34276ab4e2b9128d1cad08f9f62b71563a756e353b46f5be5ec175e68f3bd12c465f4bc42782f2d2cb74ecc644d5
7
+ data.tar.gz: 7dfe51ff851b6de41ea804c4e48536da2257e81e6c56f2bc6caa0bc8a1ef34566a20301be3c7e421112f4aaa887cd349428d6a88440f66c687dab19af100053c
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee-instantiation"
3
- s.version = "1.1.3"
3
+ s.version = "1.1.4"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3.0-or-later"
6
6
  s.summary = "Subprocess instantiation service for the cloud process execution engine (cpee.org)"
@@ -97,11 +97,13 @@ module CPEE
97
97
  condition = behavior.match(/_([^_]+)_/)&.[](1) || 'finished'
98
98
 
99
99
  if cb
100
- cbk = '_instantiation_' + Digest::MD5.hexdigest(Kernel::rand().to_s)
100
+ cbk = 'instantiation_' + Digest::MD5.hexdigest(Kernel::rand().to_s)
101
101
  n = doc.find('/*/sub:subscriptions') rescue []
102
102
  if (n.empty?)
103
103
  n = doc.root.add('subscriptions')
104
104
  n.namespaces.add(nil,'http://riddl.org/ns/common-patterns/notifications-producer/2.0')
105
+ else
106
+ n = n.first
105
107
  end
106
108
  n.append('subscription', :id => cbk, :url => File.join(selfurl,'callback',cbk))
107
109
  .append('topic', :id => 'state')
@@ -241,6 +243,8 @@ module CPEE
241
243
  key = @r.last
242
244
  cb, condition, instance, uuid, instance_url = cblist.lrange(key,0,-1)
243
245
 
246
+ return if cb.nil?
247
+
244
248
  cpee = File.dirname(instance_url)
245
249
 
246
250
  send = {
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee-instantiation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
8
8
  - Heinrich Fenkart
9
- autorequire:
10
9
  bindir: tools
11
10
  cert_chain: []
12
- date: 2025-03-11 00:00:00.000000000 Z
11
+ date: 2025-04-28 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: riddl
@@ -95,7 +94,6 @@ homepage: http://cpee.org/
95
94
  licenses:
96
95
  - LGPL-3.0-or-later
97
96
  metadata: {}
98
- post_install_message:
99
97
  rdoc_options: []
100
98
  require_paths:
101
99
  - lib
@@ -110,8 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
108
  - !ruby/object:Gem::Version
111
109
  version: '0'
112
110
  requirements: []
113
- rubygems_version: 3.5.22
114
- signing_key:
111
+ rubygems_version: 3.6.2
115
112
  specification_version: 4
116
113
  summary: Subprocess instantiation service for the cloud process execution engine (cpee.org)
117
114
  test_files: []