smart_proxy_dynflow 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/smart_proxy_dynflow/action/batch_callback.rb +1 -1
- data/lib/smart_proxy_dynflow/action/batch_runner.rb +1 -1
- data/lib/smart_proxy_dynflow/action/output_collector.rb +1 -1
- data/lib/smart_proxy_dynflow/action/shareable.rb +2 -2
- data/lib/smart_proxy_dynflow/version.rb +1 -1
- 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: ad7f3e5a2de559c96dab48e0da3b064a2339a902af0bb23935f2c5eb90a4f61a
|
4
|
+
data.tar.gz: '08b7073408bef24c3b0d6d358e1b5b23da954056c9fdb30740c376b05c7dc088'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8bd8529c02290846b47bd745920293fda07efe134b410455dee796f8e99a94d9a8a56478d313824a0659dbaee6e208f6d0dbea6392000b1f81a30a3fd10a4075
|
7
|
+
data.tar.gz: 231132ad10b549c2e2c5b7262f261726ec4b4d4780fa73390b18a17d1715243e50709a4416a9590edd32375ae23c5a13e41c454e8fe9524cc093714e58ea9a12
|
@@ -6,7 +6,7 @@ module Proxy::Dynflow::Action
|
|
6
6
|
|
7
7
|
def run
|
8
8
|
payload = format_payload(input['targets'], input['results'])
|
9
|
-
|
9
|
+
Proxy::Dynflow::Callback::Request.new.callback({ :callbacks => payload }.to_json)
|
10
10
|
end
|
11
11
|
|
12
12
|
private
|
@@ -7,7 +7,7 @@ module Proxy::Dynflow::Action
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def initiate_runner
|
10
|
-
launcher =
|
10
|
+
launcher = Proxy::Dynflow::TaskLauncherRegistry.fetch(input[:operation])
|
11
11
|
launcher.runner_class.new(input[:targets], suspended_action: suspended_action)
|
12
12
|
end
|
13
13
|
end
|
@@ -12,14 +12,14 @@ module Proxy::Dynflow::Action
|
|
12
12
|
planned_action = plan_self(input)
|
13
13
|
# code only applicable, when run with SmartProxyDynflowCore in place
|
14
14
|
if on_proxy? && callback
|
15
|
-
plan_action(
|
15
|
+
plan_action(Proxy::Dynflow::Callback::Action, callback, planned_action.output)
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
19
19
|
private
|
20
20
|
|
21
21
|
def on_proxy?
|
22
|
-
|
22
|
+
true
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smart_proxy_dynflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Nečas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: dynflow
|