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 +4 -4
- data/cpee-instantiation.gemspec +1 -1
- data/lib/cpee-instantiation/instantiation.rb +7 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b92cd471892d3eef55e68e3684b33cdeab451ca7844cc381a220fe10dd62e7a
|
4
|
+
data.tar.gz: bb7ac9554eb9226c37c77937da6f32afe9b21187db9bef9a2b8460c90b03d086
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea47cf96378fbd39c8661a7c1e5054d193a662deac7626e80777ebedbf8eb41520a17c734167581d9257946073cf6cc8b1d3efde4f1b895fff51d44c9768cbbe
|
7
|
+
data.tar.gz: fcf4c3d6c298531f2cad59d75b4144cd618d17597f32bde9f52ae88959a120ce3d3c2873495a30cb76771b1554ca33fdf0c06bd0c10fa2863f37933b6ce61547
|
data/cpee-instantiation.gemspec
CHANGED
@@ -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
|
-
|
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[:
|
451
|
-
run InstantiateUrl, opts[:cpee], opts[:self], opts[:
|
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[:
|
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[:
|
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[:
|
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.
|
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:
|
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.
|
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)
|