smart_proxy_dynflow 0.6.2 → 0.6.3

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: 993736ce6d5ac64679839ee2b724956021f823904893863d13e22483e7ad5f48
4
- data.tar.gz: 98299433eff4fb8c382c5cbb9cd74f5e0f062ff2c595ce14638e012329c3f560
3
+ metadata.gz: 6673ce798c24b310ce2b132ac1c07cddbdfbd49ac9b0dd8e0e8abbc0312b2a0c
4
+ data.tar.gz: b966221317f31e9e32ba85a77d8f26c64ae238d35d99548da8e9647da5b092a5
5
5
  SHA512:
6
- metadata.gz: ef12614f425197f81ca6675b62194035a1f63a74e83865b1d1423b9e24ff7a1571b86634a5fd247756b3e035198909ce289455423a5be7f04918e7c6275b1032
7
- data.tar.gz: f7d8da665d8e958cca84309cd887b50dc5fc2959e1b5df7302ce398d8da49a3eea5549793bfc1665b4369846da6a46e20048d265d371aafa586d3c301f24ad69
6
+ metadata.gz: e05968e12c48d7b997d60231cc541d4bb0ae13a3f2ba8a1b586af0a0a1232086cd09cceb5b49e10deb68bd8dfe65817a925b09a44f022126a7695316532bf89d
7
+ data.tar.gz: ea263ed0aa2e2ca216c85385c7ec00e66cca6df6ca569cc6dda67f98fe1c5ef0d30eea3510b6227fdc69f61a9619b949265bd2f286a036a8d3f09520ed004326
@@ -11,7 +11,7 @@ module Proxy::Dynflow
11
11
  settings_file "dynflow.yml"
12
12
  requires :foreman_proxy, ">= 1.16.0"
13
13
  default_settings :console_auth => true,
14
- :execution_plan_cleaner_age => 60 * 60 * 24
14
+ :execution_plan_cleaner_age => 60 * 30
15
15
  plugin :dynflow, Proxy::Dynflow::VERSION
16
16
 
17
17
  after_activation do
@@ -1,5 +1,5 @@
1
1
  module Proxy
2
2
  module Dynflow
3
- VERSION = '0.6.2'.freeze
3
+ VERSION = '0.6.3'.freeze
4
4
  end
5
5
  end
@@ -6,5 +6,5 @@
6
6
  # :console_auth: true
7
7
 
8
8
  # Maximum age of execution plans to keep before having them cleaned
9
- # by the execution plan cleaner (in seconds), defaults to 24 hours
10
- # :execution_plan_cleaner_age: 86400
9
+ # by the execution plan cleaner (in seconds), defaults to 30 minutes
10
+ # :execution_plan_cleaner_age: 1800
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.6.2
4
+ version: 0.6.3
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: 2022-02-17 00:00:00.000000000 Z
11
+ date: 1980-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dynflow
@@ -146,14 +146,11 @@ files:
146
146
  - Gemfile
147
147
  - LICENSE
148
148
  - bundler.d/dynflow.rb
149
- - bundler.d/inspect_anything.rb
150
- - bundler.d/x.local.rb
151
149
  - lib/smart_proxy_dynflow.rb
152
150
  - lib/smart_proxy_dynflow/action.rb
153
151
  - lib/smart_proxy_dynflow/action/batch.rb
154
152
  - lib/smart_proxy_dynflow/action/batch_callback.rb
155
153
  - lib/smart_proxy_dynflow/action/batch_runner.rb
156
- - lib/smart_proxy_dynflow/action/external_polling.rb
157
154
  - lib/smart_proxy_dynflow/action/output_collector.rb
158
155
  - lib/smart_proxy_dynflow/action/runner.rb
159
156
  - lib/smart_proxy_dynflow/action/shareable.rb
@@ -168,7 +165,6 @@ files:
168
165
  - lib/smart_proxy_dynflow/middleware/keep_current_request_id.rb
169
166
  - lib/smart_proxy_dynflow/otp_manager.rb
170
167
  - lib/smart_proxy_dynflow/plugin.rb
171
- - lib/smart_proxy_dynflow/process_manager.rbs
172
168
  - lib/smart_proxy_dynflow/proxy_adapter.rb
173
169
  - lib/smart_proxy_dynflow/runner.rb
174
170
  - lib/smart_proxy_dynflow/runner/base.rb
@@ -208,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
208
204
  - !ruby/object:Gem::Version
209
205
  version: '0'
210
206
  requirements: []
211
- rubygems_version: 3.1.2
207
+ rubygems_version: 3.2.26
212
208
  signing_key:
213
209
  specification_version: 4
214
210
  summary: Dynflow runtime for Foreman smart proxy
@@ -1 +0,0 @@
1
- # gem 'inspect_anything'
data/bundler.d/x.local.rb DELETED
@@ -1 +0,0 @@
1
- # gem 'dynflow', :path => '../dynflow'
@@ -1,17 +0,0 @@
1
- module Proxy::Dynflow::Action
2
- module WithExternalPolling
3
- Poll = Algebrick.atom
4
-
5
- def run(event = nil)
6
- if event.is_a?(Poll)
7
- poll
8
- suspend
9
- else
10
- super
11
- end
12
- end
13
-
14
- def poll
15
- end
16
- end
17
- end
@@ -1,46 +0,0 @@
1
- # TypeProf 0.21.2
2
-
3
- # Classes
4
- module Proxy
5
- module Dynflow
6
- class IOBuffer
7
- @callback: nil
8
-
9
- attr_accessor io: nil
10
- attr_reader buffer: String
11
- def initialize: (nil io) -> void
12
- def on_data: -> nil
13
- def to_io: -> IO
14
- def to_s: -> String
15
- def empty?: -> bool
16
- def closed?: -> untyped
17
- def close: -> nil
18
- def read_available!: -> nil
19
- def write_available!: -> nil
20
- def add_data: (untyped data) -> String
21
-
22
- private
23
- def with_callback: (String? data) -> String?
24
- end
25
-
26
- class ProcessManager
27
- @command: untyped
28
-
29
- attr_reader stdin: IOBuffer
30
- attr_reader stdout: IOBuffer
31
- attr_reader stderr: IOBuffer
32
- attr_reader pid: Integer
33
- attr_reader status: Integer?
34
- def initialize: (untyped command) -> void
35
- def run!: -> ProcessManager
36
- def start!: -> String
37
- def started?: -> bool
38
- def done?: -> bool
39
- def close: -> [IOBuffer, IOBuffer, IOBuffer]
40
- def process: (?timeout: nil) -> Array[untyped]?
41
- def finish: -> Integer?
42
- def on_stdout: -> nil
43
- def on_stderr: -> nil
44
- end
45
- end
46
- end