foreman-tasks 0.7.11 → 0.7.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/controllers/foreman_tasks/concerns/environments_extension.rb +24 -0
- data/app/lib/actions/foreman/puppetclass/import.rb +28 -0
- data/app/models/foreman_tasks/recurring_logic.rb +1 -1
- data/db/migrate/20131205204140_create_foreman_tasks.rb +2 -2
- data/lib/foreman_tasks/engine.rb +2 -0
- data/lib/foreman_tasks/version.rb +1 -1
- data/test/factories/triggering_factory.rb +24 -0
- data/test/unit/recurring_logic_test.rb +6 -1
- metadata +122 -139
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 52b001e513de0c0d5f488f10c6d8189947322374
|
4
|
+
data.tar.gz: c706e8621d354642f59ab9eab53b01fadc1f4e60
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 422cb384a3bcfb144f5c845b4fe31a3aa4bfebaf3b58143900d4a1ce26891a4c5bd0af9804a94c3547d0c8d9564e9cc43062435809d8d5103250d9594df5aa9d
|
7
|
+
data.tar.gz: bf86c24e79a38c54011b3fe9bb0852ebb5cac94071af659be497dc6f2f096607a1fa906fc35a73a507d7b7aa561308e74ee45efe8e52c4515200261a96ad50e3
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module ForemanTasks
|
2
|
+
module Concerns
|
3
|
+
module EnvironmentsExtension
|
4
|
+
extend ActiveSupport::Concern
|
5
|
+
|
6
|
+
included do
|
7
|
+
alias_method_chain :obsolete_and_new, :dynflow
|
8
|
+
end
|
9
|
+
|
10
|
+
def obsolete_and_new_with_dynflow
|
11
|
+
task = ForemanTasks.async_task(::Actions::Foreman::Puppetclass::Import,
|
12
|
+
params)
|
13
|
+
|
14
|
+
notice _("Added import task to queue, it will be run shortly")
|
15
|
+
rescue ::Foreman::Exception => e
|
16
|
+
error _("Failed to add task to queue: %s") % e.to_s
|
17
|
+
ensure
|
18
|
+
redirect_to :controller => controller_path
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
@@ -0,0 +1,28 @@
|
|
1
|
+
module Actions
|
2
|
+
module Foreman
|
3
|
+
module Puppetclass
|
4
|
+
class Import < Actions::EntryAction
|
5
|
+
def resource_locks
|
6
|
+
:import_puppetclasses
|
7
|
+
end
|
8
|
+
|
9
|
+
def run
|
10
|
+
output[:results] = ::PuppetClassImporter.new.obsolete_and_new(input[:changed])
|
11
|
+
end
|
12
|
+
|
13
|
+
def rescue_strategy
|
14
|
+
::Dynflow::Action::Rescue::Skip
|
15
|
+
end
|
16
|
+
|
17
|
+
def humanized_name
|
18
|
+
_("Import puppetclasses")
|
19
|
+
end
|
20
|
+
|
21
|
+
# default value for cleaning up the tasks, it can be overriden by settings
|
22
|
+
def self.cleanup_after
|
23
|
+
'30d'
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -112,7 +112,7 @@ module ForemanTasks
|
|
112
112
|
::ForemanTasks::RecurringLogic.assemble_cronline(cronline_hash triggering.input_type, triggering.time, triggering.days_of_week)
|
113
113
|
end
|
114
114
|
::ForemanTasks::RecurringLogic.new_from_cronline(cronline).tap do |manager|
|
115
|
-
manager.end_time =
|
115
|
+
manager.end_time = triggering.end_time unless triggering.end_time_limited.blank?
|
116
116
|
manager.max_iteration = triggering.max_iteration unless triggering.max_iteration.blank?
|
117
117
|
manager.triggering = triggering
|
118
118
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class CreateForemanTasks < ActiveRecord::Migration
|
2
2
|
def change
|
3
|
-
create_table :foreman_tasks_tasks, :id => false do |t|
|
4
|
-
t.string :id,
|
3
|
+
create_table :foreman_tasks_tasks, :id => false, :primary_key => :id do |t|
|
4
|
+
t.string :id, null: false
|
5
5
|
t.string :type, index: true, null: false
|
6
6
|
t.string :label, index: true
|
7
7
|
t.datetime :started_at, index: true
|
data/lib/foreman_tasks/engine.rb
CHANGED
@@ -103,6 +103,8 @@ module ForemanTasks
|
|
103
103
|
|
104
104
|
config.to_prepare do
|
105
105
|
::Api::V2::HostsController.send :include, ForemanTasks::Concerns::HostsControllerExtension
|
106
|
+
::PuppetclassesController.send :include, ForemanTasks::Concerns::EnvironmentsExtension
|
107
|
+
::EnvironmentsController.send :include, ForemanTasks::Concerns::EnvironmentsExtension
|
106
108
|
::Host::Base.send :include, ForemanTasks::Concerns::HostActionSubject
|
107
109
|
::Architecture.send :include, ForemanTasks::Concerns::ArchitectureActionSubject
|
108
110
|
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
FactoryGirl.define do
|
2
|
+
factory :triggering, :class => ForemanTasks::Triggering do
|
3
|
+
mode :immediate
|
4
|
+
|
5
|
+
trait :future do
|
6
|
+
time = Time.now
|
7
|
+
mode :future
|
8
|
+
start_at time
|
9
|
+
start_at_raw(time.strftime(ForemanTasks::Triggering::TIME_FORMAT))
|
10
|
+
end
|
11
|
+
|
12
|
+
trait :recurring do
|
13
|
+
mode :recurring
|
14
|
+
input_type :cronline
|
15
|
+
cronline '* * * * *'
|
16
|
+
end
|
17
|
+
|
18
|
+
trait :end_time_limited do
|
19
|
+
end_time_limited true
|
20
|
+
end_time(Time.now + 60)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
end
|
@@ -85,6 +85,11 @@ class RecurringLogicsTest < ActiveSupport::TestCase
|
|
85
85
|
recurring_logic.expects(:save!).twice
|
86
86
|
recurring_logic.start(::Support::DummyDynflowAction)
|
87
87
|
end
|
88
|
-
end
|
89
88
|
|
89
|
+
it 'can be created from triggering' do
|
90
|
+
triggering = FactoryGirl.create(:triggering, :recurring, :end_time_limited)
|
91
|
+
logic = ForemanTasks::RecurringLogic.new_from_triggering(triggering)
|
92
|
+
logic.end_time.must_equal triggering.end_time
|
93
|
+
end
|
94
|
+
end
|
90
95
|
end
|
metadata
CHANGED
@@ -1,273 +1,256 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman-tasks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
5
|
-
prerelease:
|
4
|
+
version: 0.7.12
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Ivan Nečas
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2016-
|
11
|
+
date: 2016-02-08 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: dynflow
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- - ~>
|
17
|
+
- - "~>"
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: 0.8.8
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- - ~>
|
24
|
+
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: 0.8.8
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: sequel
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: sinatra
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: daemons
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - ">="
|
68
60
|
- !ruby/object:Gem::Version
|
69
61
|
version: '0'
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - ">="
|
76
67
|
- !ruby/object:Gem::Version
|
77
68
|
version: '0'
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: parse-cron
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- - ~>
|
73
|
+
- - "~>"
|
84
74
|
- !ruby/object:Gem::Version
|
85
75
|
version: 0.1.4
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- - ~>
|
80
|
+
- - "~>"
|
92
81
|
- !ruby/object:Gem::Version
|
93
82
|
version: 0.1.4
|
94
|
-
description:
|
95
|
-
across the Foreman instance.
|
96
|
-
|
97
|
-
|
98
|
-
the tasks
|
99
|
-
|
100
|
-
to resources. The locking allows dealing with preventing multiple colliding tasks
|
101
|
-
to be run on the
|
102
|
-
|
103
|
-
same resource. It also optionally provides Dynflow infrastructure for using it for
|
104
|
-
managing the tasks.
|
105
|
-
|
106
|
-
'
|
83
|
+
description: |
|
84
|
+
The goal of this plugin is to unify the way of showing task statuses across the Foreman instance.
|
85
|
+
It defines Task model for keeping the information about the tasks and Lock for assigning the tasks
|
86
|
+
to resources. The locking allows dealing with preventing multiple colliding tasks to be run on the
|
87
|
+
same resource. It also optionally provides Dynflow infrastructure for using it for managing the tasks.
|
107
88
|
email:
|
108
89
|
- inecas@redhat.com
|
109
90
|
executables: []
|
110
91
|
extensions: []
|
111
92
|
extra_rdoc_files: []
|
112
93
|
files:
|
94
|
+
- LICENSE
|
95
|
+
- README.md
|
113
96
|
- app/assets/javascripts/trigger_form.js
|
114
|
-
- app/assets/stylesheets/foreman_tasks/trigger_form.css
|
115
97
|
- app/assets/stylesheets/foreman_tasks/application.css.scss
|
98
|
+
- app/assets/stylesheets/foreman_tasks/trigger_form.css
|
99
|
+
- app/controllers/foreman_tasks/api/recurring_logics_controller.rb
|
100
|
+
- app/controllers/foreman_tasks/api/tasks_controller.rb
|
101
|
+
- app/controllers/foreman_tasks/concerns/environments_extension.rb
|
102
|
+
- app/controllers/foreman_tasks/concerns/hosts_controller_extension.rb
|
103
|
+
- app/controllers/foreman_tasks/recurring_logics_controller.rb
|
104
|
+
- app/controllers/foreman_tasks/tasks_controller.rb
|
116
105
|
- app/helpers/foreman_tasks/foreman_tasks_helper.rb
|
117
106
|
- app/helpers/foreman_tasks/tasks_helper.rb
|
107
|
+
- app/lib/actions/action_with_sub_plans.rb
|
108
|
+
- app/lib/actions/base.rb
|
109
|
+
- app/lib/actions/bulk_action.rb
|
110
|
+
- app/lib/actions/entry_action.rb
|
111
|
+
- app/lib/actions/foreman/architecture/create.rb
|
112
|
+
- app/lib/actions/foreman/architecture/destroy.rb
|
113
|
+
- app/lib/actions/foreman/architecture/update.rb
|
114
|
+
- app/lib/actions/foreman/host/import_facts.rb
|
115
|
+
- app/lib/actions/foreman/puppetclass/import.rb
|
118
116
|
- app/lib/actions/helpers/args_serialization.rb
|
119
117
|
- app/lib/actions/helpers/humanizer.rb
|
120
118
|
- app/lib/actions/helpers/lock.rb
|
121
|
-
- app/lib/actions/entry_action.rb
|
122
|
-
- app/lib/actions/base.rb
|
123
|
-
- app/lib/actions/proxy_action.rb
|
124
|
-
- app/lib/actions/serializers/active_record_serializer.rb
|
125
|
-
- app/lib/actions/bulk_action.rb
|
126
|
-
- app/lib/actions/action_with_sub_plans.rb
|
127
|
-
- app/lib/actions/middleware/recurring_logic.rb
|
128
119
|
- app/lib/actions/middleware/inherit_task_groups.rb
|
129
120
|
- app/lib/actions/middleware/keep_current_user.rb
|
130
|
-
- app/lib/actions/
|
131
|
-
- app/lib/actions/
|
132
|
-
- app/lib/actions/
|
133
|
-
- app/lib/actions/foreman/architecture/destroy.rb
|
121
|
+
- app/lib/actions/middleware/recurring_logic.rb
|
122
|
+
- app/lib/actions/proxy_action.rb
|
123
|
+
- app/lib/actions/serializers/active_record_serializer.rb
|
134
124
|
- app/lib/proxy_api/foreman_dynflow/dynflow_proxy.rb
|
135
|
-
- app/
|
125
|
+
- app/models/foreman_tasks/concerns/action_subject.rb
|
126
|
+
- app/models/foreman_tasks/concerns/action_triggering.rb
|
127
|
+
- app/models/foreman_tasks/concerns/architecture_action_subject.rb
|
128
|
+
- app/models/foreman_tasks/concerns/host_action_subject.rb
|
129
|
+
- app/models/foreman_tasks/lock.rb
|
130
|
+
- app/models/foreman_tasks/recurring_logic.rb
|
131
|
+
- app/models/foreman_tasks/task.rb
|
132
|
+
- app/models/foreman_tasks/task/dynflow_task.rb
|
133
|
+
- app/models/foreman_tasks/task/status_explicator.rb
|
134
|
+
- app/models/foreman_tasks/task/summarizer.rb
|
135
|
+
- app/models/foreman_tasks/task/task_cancelled_exception.rb
|
136
|
+
- app/models/foreman_tasks/task_group.rb
|
137
|
+
- app/models/foreman_tasks/task_group_member.rb
|
138
|
+
- app/models/foreman_tasks/task_groups/recurring_logic_task_group.rb
|
139
|
+
- app/models/foreman_tasks/triggering.rb
|
140
|
+
- app/models/setting/foreman_tasks.rb
|
141
|
+
- app/views/common/_trigger_form.html.erb
|
142
|
+
- app/views/foreman_tasks/api/recurring_logics/base.json.rabl
|
136
143
|
- app/views/foreman_tasks/api/recurring_logics/index.json.rabl
|
137
144
|
- app/views/foreman_tasks/api/recurring_logics/main.json.rabl
|
138
|
-
- app/views/foreman_tasks/api/recurring_logics/base.json.rabl
|
139
145
|
- app/views/foreman_tasks/api/recurring_logics/show.json.rabl
|
140
|
-
- app/views/foreman_tasks/tasks/
|
141
|
-
- app/views/foreman_tasks/
|
146
|
+
- app/views/foreman_tasks/api/tasks/show.json.rabl
|
147
|
+
- app/views/foreman_tasks/recurring_logics/_tab_related.html.erb
|
148
|
+
- app/views/foreman_tasks/recurring_logics/index.html.erb
|
149
|
+
- app/views/foreman_tasks/recurring_logics/show.html.erb
|
150
|
+
- app/views/foreman_tasks/task_groups/_common.html.erb
|
151
|
+
- app/views/foreman_tasks/task_groups/_detail.html.erb
|
152
|
+
- app/views/foreman_tasks/task_groups/_tab_related.html.erb
|
153
|
+
- app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
|
142
154
|
- app/views/foreman_tasks/tasks/_details.html.erb
|
143
|
-
- app/views/foreman_tasks/tasks/
|
155
|
+
- app/views/foreman_tasks/tasks/_errors.html.erb
|
156
|
+
- app/views/foreman_tasks/tasks/_locks.html.erb
|
144
157
|
- app/views/foreman_tasks/tasks/_raw.html.erb
|
158
|
+
- app/views/foreman_tasks/tasks/_running_steps.html.erb
|
145
159
|
- app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
|
146
160
|
- app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
|
147
|
-
- app/views/foreman_tasks/tasks/
|
148
|
-
- app/views/foreman_tasks/tasks/
|
149
|
-
- app/views/foreman_tasks/task_groups/_detail.html.erb
|
150
|
-
- app/views/foreman_tasks/task_groups/_common.html.erb
|
151
|
-
- app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
|
152
|
-
- app/views/foreman_tasks/task_groups/_tab_related.html.erb
|
153
|
-
- app/views/foreman_tasks/recurring_logics/show.html.erb
|
154
|
-
- app/views/foreman_tasks/recurring_logics/index.html.erb
|
155
|
-
- app/views/foreman_tasks/recurring_logics/_tab_related.html.erb
|
156
|
-
- app/views/common/_trigger_form.html.erb
|
157
|
-
- app/controllers/foreman_tasks/api/tasks_controller.rb
|
158
|
-
- app/controllers/foreman_tasks/api/recurring_logics_controller.rb
|
159
|
-
- app/controllers/foreman_tasks/tasks_controller.rb
|
160
|
-
- app/controllers/foreman_tasks/recurring_logics_controller.rb
|
161
|
-
- app/controllers/foreman_tasks/concerns/hosts_controller_extension.rb
|
162
|
-
- app/models/foreman_tasks/recurring_logic.rb
|
163
|
-
- app/models/foreman_tasks/task_group_member.rb
|
164
|
-
- app/models/foreman_tasks/triggering.rb
|
165
|
-
- app/models/foreman_tasks/concerns/architecture_action_subject.rb
|
166
|
-
- app/models/foreman_tasks/concerns/action_triggering.rb
|
167
|
-
- app/models/foreman_tasks/concerns/host_action_subject.rb
|
168
|
-
- app/models/foreman_tasks/concerns/action_subject.rb
|
169
|
-
- app/models/foreman_tasks/task_group.rb
|
170
|
-
- app/models/foreman_tasks/task_groups/recurring_logic_task_group.rb
|
171
|
-
- app/models/foreman_tasks/task/dynflow_task.rb
|
172
|
-
- app/models/foreman_tasks/task/status_explicator.rb
|
173
|
-
- app/models/foreman_tasks/task/task_cancelled_exception.rb
|
174
|
-
- app/models/foreman_tasks/task/summarizer.rb
|
175
|
-
- app/models/foreman_tasks/lock.rb
|
176
|
-
- app/models/foreman_tasks/task.rb
|
177
|
-
- app/models/setting/foreman_tasks.rb
|
161
|
+
- app/views/foreman_tasks/tasks/index.html.erb
|
162
|
+
- app/views/foreman_tasks/tasks/show.html.erb
|
178
163
|
- bin/dynflow-executor
|
179
164
|
- bin/foreman-tasks
|
180
|
-
- config/routes.rb
|
181
165
|
- config/foreman-tasks.yaml.example
|
182
|
-
-
|
183
|
-
- db/seeds.d/60-dynflow_proxy_feature.rb
|
184
|
-
- db/seeds.d/20-foreman_tasks_permissions.rb
|
185
|
-
- db/migrate/20151112152108_create_triggerings.rb
|
186
|
-
- db/migrate/20150814204140_add_task_type_value_index.rb
|
187
|
-
- db/migrate/20150907124936_create_recurring_logic.rb
|
188
|
-
- db/migrate/20131209122644_create_foreman_tasks_locks.rb
|
166
|
+
- config/routes.rb
|
189
167
|
- db/migrate/20131205204140_create_foreman_tasks.rb
|
168
|
+
- db/migrate/20131209122644_create_foreman_tasks_locks.rb
|
190
169
|
- db/migrate/20140324104010_remove_foreman_tasks_progress.rb
|
191
|
-
- db/migrate/20150907131503_create_task_groups.rb
|
192
170
|
- db/migrate/20140813215942_add_parent_task_id.rb
|
193
|
-
- db/migrate/
|
171
|
+
- db/migrate/20150814204140_add_task_type_value_index.rb
|
194
172
|
- db/migrate/20150817102538_add_delay_attributes.rb
|
173
|
+
- db/migrate/20150907124936_create_recurring_logic.rb
|
174
|
+
- db/migrate/20150907131503_create_task_groups.rb
|
175
|
+
- db/migrate/20151022123457_add_recurring_logic_state.rb
|
176
|
+
- db/migrate/20151112152108_create_triggerings.rb
|
177
|
+
- db/seeds.d/20-foreman_tasks_permissions.rb
|
178
|
+
- db/seeds.d/60-dynflow_proxy_feature.rb
|
179
|
+
- db/seeds.d/61-foreman_tasks_bookmarks.rb
|
195
180
|
- deploy/foreman-tasks.init
|
196
181
|
- deploy/foreman-tasks.service
|
197
182
|
- deploy/foreman-tasks.sysconfig
|
198
|
-
- lib/tasks
|
199
|
-
- lib/foreman_tasks
|
200
|
-
- lib/foreman_tasks/tasks/dynflow.rake
|
201
|
-
- lib/foreman_tasks/tasks/cleanup.rake
|
202
|
-
- lib/foreman_tasks/engine.rb
|
203
|
-
- lib/foreman_tasks/version.rb
|
204
|
-
- lib/foreman_tasks/cleaner.rb
|
205
|
-
- lib/foreman_tasks/triggers.rb
|
183
|
+
- lib/foreman-tasks.rb
|
184
|
+
- lib/foreman_tasks.rb
|
206
185
|
- lib/foreman_tasks/authorizer_ext.rb
|
207
|
-
- lib/foreman_tasks/
|
208
|
-
- lib/foreman_tasks/
|
186
|
+
- lib/foreman_tasks/cleaner.rb
|
187
|
+
- lib/foreman_tasks/dynflow.rb
|
209
188
|
- lib/foreman_tasks/dynflow/configuration.rb
|
210
|
-
- lib/foreman_tasks/dynflow/persistence.rb
|
211
|
-
- lib/foreman_tasks/dynflow/daemon.rb
|
212
189
|
- lib/foreman_tasks/dynflow/console_authorizer.rb
|
213
|
-
- lib/foreman_tasks/dynflow.rb
|
214
|
-
- lib/foreman_tasks.rb
|
215
|
-
- lib/
|
216
|
-
-
|
217
|
-
-
|
218
|
-
-
|
219
|
-
-
|
190
|
+
- lib/foreman_tasks/dynflow/daemon.rb
|
191
|
+
- lib/foreman_tasks/dynflow/persistence.rb
|
192
|
+
- lib/foreman_tasks/engine.rb
|
193
|
+
- lib/foreman_tasks/task_error.rb
|
194
|
+
- lib/foreman_tasks/tasks/cleanup.rake
|
195
|
+
- lib/foreman_tasks/tasks/dynflow.rake
|
196
|
+
- lib/foreman_tasks/tasks/export_tasks.rake
|
197
|
+
- lib/foreman_tasks/test_extensions.rb
|
198
|
+
- lib/foreman_tasks/triggers.rb
|
199
|
+
- lib/foreman_tasks/version.rb
|
200
|
+
- lib/tasks/gettext.rake
|
201
|
+
- test/controllers/api/recurring_logics_controller_test.rb
|
202
|
+
- test/controllers/api/tasks_controller_test.rb
|
203
|
+
- test/factories/recurring_logic_factory.rb
|
204
|
+
- test/factories/task_factory.rb
|
205
|
+
- test/factories/triggering_factory.rb
|
206
|
+
- test/foreman_tasks_test_helper.rb
|
220
207
|
- test/helpers/foreman_tasks/tasks_helper_test.rb
|
221
|
-
- test/
|
222
|
-
- test/
|
208
|
+
- test/support/dummy_dynflow_action.rb
|
209
|
+
- test/support/dummy_proxy_action.rb
|
223
210
|
- test/unit/actions/action_with_sub_plans_test.rb
|
211
|
+
- test/unit/actions/proxy_action_test.rb
|
224
212
|
- test/unit/cleaner_test.rb
|
225
|
-
- test/unit/task_test.rb
|
226
213
|
- test/unit/dynflow_console_authorizer_test.rb
|
227
214
|
- test/unit/recurring_logic_test.rb
|
228
|
-
- test/
|
229
|
-
- test/
|
230
|
-
- test/controllers/api/recurring_logics_controller_test.rb
|
231
|
-
- test/controllers/api/tasks_controller_test.rb
|
232
|
-
- test/foreman_tasks_test_helper.rb
|
215
|
+
- test/unit/task_groups_test.rb
|
216
|
+
- test/unit/task_test.rb
|
233
217
|
homepage: https://github.com/theforeman/foreman-tasks
|
234
218
|
licenses: []
|
219
|
+
metadata: {}
|
235
220
|
post_install_message:
|
236
221
|
rdoc_options: []
|
237
222
|
require_paths:
|
238
223
|
- lib
|
239
224
|
required_ruby_version: !ruby/object:Gem::Requirement
|
240
|
-
none: false
|
241
225
|
requirements:
|
242
|
-
- -
|
226
|
+
- - ">="
|
243
227
|
- !ruby/object:Gem::Version
|
244
228
|
version: '0'
|
245
229
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
246
|
-
none: false
|
247
230
|
requirements:
|
248
|
-
- -
|
231
|
+
- - ">="
|
249
232
|
- !ruby/object:Gem::Version
|
250
233
|
version: '0'
|
251
234
|
requirements: []
|
252
235
|
rubyforge_project:
|
253
|
-
rubygems_version:
|
236
|
+
rubygems_version: 2.2.0
|
254
237
|
signing_key:
|
255
|
-
specification_version:
|
238
|
+
specification_version: 4
|
256
239
|
summary: Foreman plugin for showing tasks information for resoruces and users
|
257
240
|
test_files:
|
258
|
-
- test/support/dummy_proxy_action.rb
|
259
|
-
- test/support/dummy_dynflow_action.rb
|
260
241
|
- test/helpers/foreman_tasks/tasks_helper_test.rb
|
261
|
-
- test/
|
262
|
-
- test/
|
263
|
-
- test/
|
242
|
+
- test/support/dummy_dynflow_action.rb
|
243
|
+
- test/support/dummy_proxy_action.rb
|
244
|
+
- test/foreman_tasks_test_helper.rb
|
245
|
+
- test/controllers/api/recurring_logics_controller_test.rb
|
246
|
+
- test/controllers/api/tasks_controller_test.rb
|
247
|
+
- test/factories/task_factory.rb
|
248
|
+
- test/factories/triggering_factory.rb
|
249
|
+
- test/factories/recurring_logic_factory.rb
|
264
250
|
- test/unit/cleaner_test.rb
|
265
|
-
- test/unit/task_test.rb
|
266
251
|
- test/unit/dynflow_console_authorizer_test.rb
|
267
252
|
- test/unit/recurring_logic_test.rb
|
268
|
-
- test/
|
269
|
-
- test/
|
270
|
-
- test/
|
271
|
-
- test/
|
272
|
-
- test/foreman_tasks_test_helper.rb
|
273
|
-
has_rdoc:
|
253
|
+
- test/unit/actions/proxy_action_test.rb
|
254
|
+
- test/unit/actions/action_with_sub_plans_test.rb
|
255
|
+
- test/unit/task_test.rb
|
256
|
+
- test/unit/task_groups_test.rb
|