smart_proxy_dynflow 0.4.0 → 0.6.0

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.
Files changed (40) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +4 -7
  3. data/{bundler.plugins.d → bundler.d}/dynflow.rb +0 -0
  4. data/lib/smart_proxy_dynflow/action/batch.rb +21 -0
  5. data/lib/smart_proxy_dynflow/action/batch_callback.rb +20 -0
  6. data/lib/smart_proxy_dynflow/action/batch_runner.rb +14 -0
  7. data/lib/smart_proxy_dynflow/action/output_collector.rb +8 -0
  8. data/lib/smart_proxy_dynflow/action/runner.rb +81 -0
  9. data/lib/smart_proxy_dynflow/action/shareable.rb +25 -0
  10. data/lib/smart_proxy_dynflow/action/single_runner_batch.rb +39 -0
  11. data/lib/smart_proxy_dynflow/action.rb +12 -0
  12. data/lib/smart_proxy_dynflow/api.rb +1 -1
  13. data/lib/smart_proxy_dynflow/callback.rb +8 -44
  14. data/lib/smart_proxy_dynflow/continuous_output.rb +50 -0
  15. data/lib/smart_proxy_dynflow/core.rb +2 -2
  16. data/lib/smart_proxy_dynflow/helpers.rb +11 -6
  17. data/lib/smart_proxy_dynflow/log.rb +1 -1
  18. data/lib/smart_proxy_dynflow/otp_manager.rb +36 -0
  19. data/lib/smart_proxy_dynflow/plugin.rb +9 -1
  20. data/lib/smart_proxy_dynflow/proxy_adapter.rb +1 -1
  21. data/lib/smart_proxy_dynflow/runner/base.rb +98 -0
  22. data/lib/smart_proxy_dynflow/runner/command.rb +40 -0
  23. data/lib/smart_proxy_dynflow/runner/command_runner.rb +11 -0
  24. data/lib/smart_proxy_dynflow/runner/dispatcher.rb +191 -0
  25. data/lib/smart_proxy_dynflow/runner/parent.rb +57 -0
  26. data/lib/smart_proxy_dynflow/runner/update.rb +28 -0
  27. data/lib/smart_proxy_dynflow/runner.rb +10 -0
  28. data/lib/smart_proxy_dynflow/settings.rb +1 -1
  29. data/lib/smart_proxy_dynflow/settings_loader.rb +53 -0
  30. data/lib/smart_proxy_dynflow/task_launcher/abstract.rb +44 -0
  31. data/lib/smart_proxy_dynflow/task_launcher/batch.rb +37 -0
  32. data/lib/smart_proxy_dynflow/task_launcher/group.rb +48 -0
  33. data/lib/smart_proxy_dynflow/task_launcher/single.rb +17 -0
  34. data/lib/smart_proxy_dynflow/task_launcher.rb +9 -0
  35. data/lib/smart_proxy_dynflow/task_launcher_registry.rb +1 -1
  36. data/lib/smart_proxy_dynflow/testing.rb +1 -1
  37. data/lib/smart_proxy_dynflow/ticker.rb +47 -0
  38. data/lib/smart_proxy_dynflow/version.rb +2 -2
  39. data/lib/smart_proxy_dynflow.rb +2 -7
  40. metadata +57 -5
metadata CHANGED
@@ -1,17 +1,45 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smart_proxy_dynflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.6.0
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-07 00:00:00.000000000 Z
11
+ date: 2021-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: logging
14
+ name: dynflow
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.6'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.6'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rest-client
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: sqlite3
15
43
  requirement: !ruby/object:Gem::Requirement
16
44
  requirements:
17
45
  - - ">="
@@ -117,20 +145,44 @@ extra_rdoc_files: []
117
145
  files:
118
146
  - Gemfile
119
147
  - LICENSE
120
- - bundler.plugins.d/dynflow.rb
148
+ - bundler.d/dynflow.rb
121
149
  - lib/smart_proxy_dynflow.rb
150
+ - lib/smart_proxy_dynflow/action.rb
151
+ - lib/smart_proxy_dynflow/action/batch.rb
152
+ - lib/smart_proxy_dynflow/action/batch_callback.rb
153
+ - lib/smart_proxy_dynflow/action/batch_runner.rb
154
+ - lib/smart_proxy_dynflow/action/output_collector.rb
155
+ - lib/smart_proxy_dynflow/action/runner.rb
156
+ - lib/smart_proxy_dynflow/action/shareable.rb
157
+ - lib/smart_proxy_dynflow/action/single_runner_batch.rb
122
158
  - lib/smart_proxy_dynflow/api.rb
123
159
  - lib/smart_proxy_dynflow/callback.rb
160
+ - lib/smart_proxy_dynflow/continuous_output.rb
124
161
  - lib/smart_proxy_dynflow/core.rb
125
162
  - lib/smart_proxy_dynflow/helpers.rb
126
163
  - lib/smart_proxy_dynflow/http_config.ru
127
164
  - lib/smart_proxy_dynflow/log.rb
128
165
  - lib/smart_proxy_dynflow/middleware/keep_current_request_id.rb
166
+ - lib/smart_proxy_dynflow/otp_manager.rb
129
167
  - lib/smart_proxy_dynflow/plugin.rb
130
168
  - lib/smart_proxy_dynflow/proxy_adapter.rb
169
+ - lib/smart_proxy_dynflow/runner.rb
170
+ - lib/smart_proxy_dynflow/runner/base.rb
171
+ - lib/smart_proxy_dynflow/runner/command.rb
172
+ - lib/smart_proxy_dynflow/runner/command_runner.rb
173
+ - lib/smart_proxy_dynflow/runner/dispatcher.rb
174
+ - lib/smart_proxy_dynflow/runner/parent.rb
175
+ - lib/smart_proxy_dynflow/runner/update.rb
131
176
  - lib/smart_proxy_dynflow/settings.rb
177
+ - lib/smart_proxy_dynflow/settings_loader.rb
178
+ - lib/smart_proxy_dynflow/task_launcher.rb
179
+ - lib/smart_proxy_dynflow/task_launcher/abstract.rb
180
+ - lib/smart_proxy_dynflow/task_launcher/batch.rb
181
+ - lib/smart_proxy_dynflow/task_launcher/group.rb
182
+ - lib/smart_proxy_dynflow/task_launcher/single.rb
132
183
  - lib/smart_proxy_dynflow/task_launcher_registry.rb
133
184
  - lib/smart_proxy_dynflow/testing.rb
185
+ - lib/smart_proxy_dynflow/ticker.rb
134
186
  - lib/smart_proxy_dynflow/version.rb
135
187
  - settings.d/dynflow.yml.example
136
188
  homepage: https://github.com/theforeman/smart_proxy_dynflow
@@ -143,7 +195,7 @@ require_paths:
143
195
  - lib
144
196
  required_ruby_version: !ruby/object:Gem::Requirement
145
197
  requirements:
146
- - - "~>"
198
+ - - ">="
147
199
  - !ruby/object:Gem::Version
148
200
  version: '2.5'
149
201
  required_rubygems_version: !ruby/object:Gem::Requirement