cpee-instantiation 1.0.22 → 1.0.24

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: c4bcaada2f94288fb474c05aa57efd0ccc51920f7b4a877f6baac3ee9a52106c
4
- data.tar.gz: 234e40846f6fd47f1eda15737e5b5c39aaa83627a9b305e0a8f900df344c4b3f
3
+ metadata.gz: 2b92cd471892d3eef55e68e3684b33cdeab451ca7844cc381a220fe10dd62e7a
4
+ data.tar.gz: bb7ac9554eb9226c37c77937da6f32afe9b21187db9bef9a2b8460c90b03d086
5
5
  SHA512:
6
- metadata.gz: e15606a4a56063d3004fe4bf9aa954509ccfebc771fb8cede8319b1847941886214ed7cc309ec501463c74092f8376eaf4a88100fb2cecad0b0a17ea057430cf
7
- data.tar.gz: 3a134b1a185a3a0c95f34143a7224be55fb220db21971db21ad13befb7d16d05aebbf4fe39f7000bf7163cc6c530e5a4f8d9dcccf038894434f21df88e284eb4
6
+ metadata.gz: ea47cf96378fbd39c8661a7c1e5054d193a662deac7626e80777ebedbf8eb41520a17c734167581d9257946073cf6cc8b1d3efde4f1b895fff51d44c9768cbbe
7
+ data.tar.gz: fcf4c3d6c298531f2cad59d75b4144cd618d17597f32bde9f52ae88959a120ce3d3c2873495a30cb76771b1554ca33fdf0c06bd0c10fa2863f37933b6ce61547
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cpee-instantiation"
3
- s.version = "1.0.22"
3
+ s.version = "1.0.24"
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)"
@@ -327,6 +327,7 @@ class InstantiateXML < Riddl::Implementation #{{{
327
327
  if @p[0].value =~ /^wait/
328
328
  @headers << Riddl::Header.new('CPEE-CALLBACK','true')
329
329
  end
330
+ @headers << Riddl::Header.new('CPEE-INSTANTIATION',JSON::generate(send))
330
331
  Riddl::Parameter::Complex.new('instance','application/json',JSON::generate(send))
331
332
  end
332
333
  end
@@ -431,7 +432,7 @@ end #}}}
431
432
  opts[:redis_pid] ||= 'redis.pid' # use e.g. /var/run/redis.pid if you do global. Look it up in your redis config
432
433
  opts[:redis_db_name] ||= 'redis.rdb' # use e.g. /var/lib/redis.rdb for global stuff. Look it up in your redis config
433
434
 
434
- opts[:cblist] = CPEE::redis_connect opts, 'Instantiation'
435
+ CPEE::redis_connect opts, 'Instantiation'
435
436
 
436
437
  Proc.new do
437
438
  parallel do
@@ -447,18 +448,18 @@ end #}}}
447
448
  run InstantiateXML, opts[:cpee], false if post 'xml'
448
449
  end
449
450
  on resource 'url' do
450
- run InstantiateUrl, opts[:cpee], opts[:self], opts[:cblist], false if post 'url'
451
- run InstantiateUrl, opts[:cpee], opts[:self], opts[:cblist], true if post 'url_info'
451
+ run InstantiateUrl, opts[:cpee], opts[:self], opts[:redis], false if post 'url'
452
+ run InstantiateUrl, opts[:cpee], opts[:self], opts[:redis], true if post 'url_info'
452
453
  end
453
454
  on resource 'git' do
454
- run InstantiateGit, opts[:cpee], opts[:self], opts[:cblist] if post 'git'
455
+ run InstantiateGit, opts[:cpee], opts[:self], opts[:redis] if post 'git'
455
456
  end
456
457
  on resource 'instance' do
457
- run HandleInstance, opts[:cpee], opts[:self], opts[:cblist] if post 'instance'
458
+ run HandleInstance, opts[:cpee], opts[:self], opts[:redis] if post 'instance'
458
459
  end
459
460
  on resource 'callback' do
460
461
  on resource do
461
- run ContinueTask, opts[:cpee], opts[:cblist] if post
462
+ run ContinueTask, opts[:cpee], opts[:redis] if post
462
463
  end
463
464
  end
464
465
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cpee-instantiation
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.22
4
+ version: 1.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: tools
11
11
  cert_chain: []
12
- date: 2024-07-20 00:00:00.000000000 Z
12
+ date: 2025-01-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: riddl
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
110
110
  - !ruby/object:Gem::Version
111
111
  version: '0'
112
112
  requirements: []
113
- rubygems_version: 3.5.9
113
+ rubygems_version: 3.5.22
114
114
  signing_key:
115
115
  specification_version: 4
116
116
  summary: Subprocess instantiation service for the cloud process execution engine (cpee.org)