foreman-tasks 0.7.10 → 0.7.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -48,3 +48,8 @@
48
48
  transform: rotate(360deg);
49
49
  }
50
50
  }
51
+
52
+ div.form-group div.trigger_fields {
53
+ margin-top: 15px;
54
+ }
55
+
@@ -0,0 +1,4 @@
1
+ div.form-group div.trigger_fields {
2
+ margin-top: 15px;
3
+ }
4
+
@@ -0,0 +1,44 @@
1
+ module ForemanTasks
2
+ module Api
3
+ class RecurringLogicsController < ::Api::V2::BaseController
4
+ include ::Api::Version2
5
+
6
+ resource_description do
7
+ resource_id 'recurring_logics'
8
+ api_version 'v2'
9
+ api_base_url '/foreman_tasks/api'
10
+ end
11
+
12
+ before_filter :find_resource, :only => %w{show cancel destroy}
13
+
14
+ api :GET, '/recurring_logics', N_('List recurring logics')
15
+ def index
16
+ @recurring_logics = resource_scope_for_index
17
+ end
18
+
19
+ api :GET, '/recurring_logics/:id', N_('Show recurring logic details')
20
+ param :id, :identifier, desc: "ID of the recurring logic", required: true
21
+ def show
22
+ end
23
+
24
+ api :POST, '/recurring_logics/:id/cancel', N_('Cancel recurring logic')
25
+ param :id, :identifier, desc: 'ID of the recurring logic', required: true
26
+ def cancel
27
+ process_response @recurring_logic.cancel
28
+ end
29
+
30
+ def resource_class
31
+ ForemanTasks::RecurringLogic
32
+ end
33
+
34
+ def action_permission
35
+ case params[:action]
36
+ when 'cancel'
37
+ 'edit'
38
+ else
39
+ super
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
@@ -1,14 +1,22 @@
1
- <div class="form-group trigger_mode">
2
- <% javascript 'trigger_form' %>
3
- <%= javascript_tag do %>
4
- $(function() { trigger_form_selector_binds('<%= f.options[:html][:id] %>','<%= f.object_name %>') });
5
- <% end %>
6
- <%= fields_for :triggering, triggering do |trigger_fields| %>
7
- <legend><%= _('Schedule Job') %></legend>
8
- <%= radio_button_f trigger_fields, :mode, :class => 'trigger_mode_selector', :value => 'immediate', :text => _("Execute now") %>
9
- <%= radio_button_f trigger_fields, :mode, :class => 'trigger_mode_selector', :value => 'future', :text => _("Schedule future execution") %>
10
- <%= radio_button_f trigger_fields, :mode, :class => 'trigger_mode_selector', :value => 'recurring', :text => _("Set up recurring execution") %>
11
- <%= future_mode_fieldset trigger_fields, triggering %>
12
- <%= recurring_mode_fieldset trigger_fields, triggering %>
13
- <% end %>
1
+ <div class="form-group ">
2
+ <label class="col-md-2 control-label"><%= _('Schedule') %></label>
3
+ <div class="col-md-6">
4
+ <% javascript 'trigger_form' %>
5
+ <% stylesheet 'foreman_tasks/trigger_form' %>
6
+
7
+ <%= javascript_tag do %>
8
+ $(function() { trigger_form_selector_binds('<%= f.options[:html][:id] %>','<%= f.object_name %>') });
9
+ <% end %>
10
+
11
+ <%= fields_for :triggering, triggering do |trigger_fields| %>
12
+ <%= radio_button_f trigger_fields, :mode, :class => 'trigger_mode_selector', :value => 'immediate', :text => _("Execute now") %>
13
+ <%= radio_button_f trigger_fields, :mode, :class => 'trigger_mode_selector', :value => 'future', :text => _("Schedule future execution") %>
14
+ <%= radio_button_f trigger_fields, :mode, :class => 'trigger_mode_selector', :value => 'recurring', :text => _("Set up recurring execution") %>
15
+
16
+ <div class="trigger_fields">
17
+ <%= future_mode_fieldset trigger_fields, triggering %>
18
+ <%= recurring_mode_fieldset trigger_fields, triggering %>
19
+ </div>
20
+ <% end %>
21
+ </div>
14
22
  </div>
@@ -0,0 +1,3 @@
1
+ object @recurring_logic
2
+
3
+ attributes :id, :cron_line, :end_time, :iteration, :task_group_id, :state
@@ -0,0 +1,3 @@
1
+ collection @recurring_logics
2
+
3
+ extends 'foreman_tasks/api/recurring_logics/base'
@@ -0,0 +1,7 @@
1
+ object @recurring_logic
2
+
3
+ extends 'foreman_tasks/api/recurring_logics/base'
4
+
5
+ child :tasks => :tasks do
6
+ extends 'foreman_tasks/api/tasks/show'
7
+ end
@@ -0,0 +1,3 @@
1
+ object @recurring_logic
2
+
3
+ extends 'foreman_tasks/api/recurring_logics/main'
data/config/routes.rb CHANGED
@@ -21,6 +21,12 @@ Foreman::Application.routes.draw do
21
21
  end
22
22
 
23
23
  namespace :api do
24
+ resources :recurring_logics, :only => [:index, :show] do
25
+ member do
26
+ post :cancel
27
+ end
28
+ end
29
+
24
30
  resources :tasks, :only => [:show, :index] do
25
31
  collection do
26
32
  post :bulk_search
@@ -25,7 +25,9 @@ module ForemanTasks
25
25
  # including its steps
26
26
  case data[:state]
27
27
  when :pending
28
- ForemanTasks::Task::DynflowTask.new_for_execution_plan(execution_plan_id, data).save!
28
+ task = ForemanTasks::Task::DynflowTask.new_for_execution_plan(execution_plan_id, data)
29
+ task.start_at ||= Time.now
30
+ task.save!
29
31
  when :scheduled
30
32
  delayed_plan = load_delayed_plan(execution_plan_id)
31
33
  raise Foreman::Exception.new('Plan is delayed but the delay record is missing') if delayed_plan.nil?
@@ -46,10 +46,12 @@ module ForemanTasks
46
46
 
47
47
  permission :create_recurring_logics, { }, :resource_type => ForemanTasks::RecurringLogic.name
48
48
 
49
- permission :view_recurring_logics, { :'foreman_tasks/recurring_logics' => [:index, :show] }, :resource_type => ForemanTasks::RecurringLogic.name
49
+ permission :view_recurring_logics, { :'foreman_tasks/recurring_logics' => [:index, :show],
50
+ :'foreman_tasks/api/recurring_logics' => [:index, :show] }, :resource_type => ForemanTasks::RecurringLogic.name
51
+
52
+ permission :edit_recurring_logics, { :'foreman_tasks/recurring_logics' => [:cancel],
53
+ :'foreman_tasks/api/recurring_logics' => [:cancel] }, :resource_type => ForemanTasks::RecurringLogic.name
50
54
 
51
- permission :edit_recurring_logics, { :'foreman_tasks/recurring_logics' => [:cancel] }, :resource_type => ForemanTasks::RecurringLogic.name
52
-
53
55
  end
54
56
 
55
57
  logger :dynflow, :enabled => true
@@ -1,3 +1,3 @@
1
1
  module ForemanTasks
2
- VERSION = "0.7.10"
2
+ VERSION = "0.7.11"
3
3
  end
@@ -0,0 +1,43 @@
1
+ require "foreman_tasks_test_helper"
2
+
3
+ module ForemanRecurringLogic
4
+ class Api::RecurringLogicControllerTest < ActionController::TestCase
5
+ describe 'recurring logic api controller' do
6
+ tests ForemanTasks::Api::RecurringLogicsController
7
+
8
+ before do
9
+ User.current = User.where(:login => 'apiadmin').first
10
+ @request.env['HTTP_ACCEPT'] = 'application/json'
11
+ @request.env['CONTENT_TYPE'] = 'application/json'
12
+ @recurring_logic = FactoryGirl.create(:recurring_logic)
13
+ end
14
+
15
+ describe 'GET /api/recurring_logics' do
16
+ it 'gets index' do
17
+ get :index
18
+ assert_response :success
19
+ assert_template 'api/recurring_logics/index'
20
+ end
21
+ end
22
+
23
+ describe 'GET /api/recurring_logics/:id' do
24
+ it 'searches for recurring logic' do
25
+ get(:show, :id => @recurring_logic.id)
26
+ assert_response :success
27
+ assert_template 'api/recurring_logics/show'
28
+ end
29
+ end
30
+
31
+ describe 'POST /api/recurring_logics/:id/cancel' do
32
+ it 'cancels recurring logic' do
33
+ post(:cancel, :id => @recurring_logic.id)
34
+ assert_response :success
35
+ @recurring_logic.reload
36
+ assert @recurring_logic.state == 'cancelled'
37
+ end
38
+ end
39
+ end
40
+ end
41
+ end
42
+
43
+
@@ -0,0 +1,8 @@
1
+ FactoryGirl.define do
2
+ factory :recurring_logic, :class => ForemanTasks::RecurringLogic do
3
+ cron_line '* * * * *'
4
+ after(:build) { |logic| logic.task_group = build(:recurring_logic_task_group) }
5
+ end
6
+
7
+ factory :recurring_logic_task_group, :class => ::ForemanTasks::TaskGroups::RecurringLogicTaskGroup
8
+ end
metadata CHANGED
@@ -1,242 +1,273 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman-tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.10
4
+ version: 0.7.11
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Ivan Nečas
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2016-01-07 00:00:00.000000000 Z
12
+ date: 2016-01-20 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: dynflow
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - "~>"
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
21
  version: 0.8.8
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - "~>"
27
+ - - ~>
25
28
  - !ruby/object:Gem::Version
26
29
  version: 0.8.8
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: sequel
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - ">="
35
+ - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
37
  version: '0'
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - ">="
43
+ - - ! '>='
39
44
  - !ruby/object:Gem::Version
40
45
  version: '0'
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: sinatra
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - ">="
51
+ - - ! '>='
46
52
  - !ruby/object:Gem::Version
47
53
  version: '0'
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - ">="
59
+ - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: daemons
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - ">="
67
+ - - ! '>='
60
68
  - !ruby/object:Gem::Version
61
69
  version: '0'
62
70
  type: :runtime
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - ">="
75
+ - - ! '>='
67
76
  - !ruby/object:Gem::Version
68
77
  version: '0'
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: parse-cron
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - "~>"
83
+ - - ~>
74
84
  - !ruby/object:Gem::Version
75
85
  version: 0.1.4
76
86
  type: :runtime
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - "~>"
91
+ - - ~>
81
92
  - !ruby/object:Gem::Version
82
93
  version: 0.1.4
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.
94
+ description: ! 'The goal of this plugin is to unify the way of showing task statuses
95
+ across the Foreman instance.
96
+
97
+ It defines Task model for keeping the information about the tasks and Lock for assigning
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
+ '
88
107
  email:
89
108
  - inecas@redhat.com
90
109
  executables: []
91
110
  extensions: []
92
111
  extra_rdoc_files: []
93
112
  files:
94
- - LICENSE
95
- - README.md
96
113
  - app/assets/javascripts/trigger_form.js
114
+ - app/assets/stylesheets/foreman_tasks/trigger_form.css
97
115
  - app/assets/stylesheets/foreman_tasks/application.css.scss
98
- - app/controllers/foreman_tasks/api/tasks_controller.rb
99
- - app/controllers/foreman_tasks/concerns/hosts_controller_extension.rb
100
- - app/controllers/foreman_tasks/recurring_logics_controller.rb
101
- - app/controllers/foreman_tasks/tasks_controller.rb
102
116
  - app/helpers/foreman_tasks/foreman_tasks_helper.rb
103
117
  - app/helpers/foreman_tasks/tasks_helper.rb
104
- - app/lib/actions/action_with_sub_plans.rb
105
- - app/lib/actions/base.rb
106
- - app/lib/actions/bulk_action.rb
107
- - app/lib/actions/entry_action.rb
108
- - app/lib/actions/foreman/architecture/create.rb
109
- - app/lib/actions/foreman/architecture/destroy.rb
110
- - app/lib/actions/foreman/architecture/update.rb
111
- - app/lib/actions/foreman/host/import_facts.rb
112
118
  - app/lib/actions/helpers/args_serialization.rb
113
119
  - app/lib/actions/helpers/humanizer.rb
114
120
  - app/lib/actions/helpers/lock.rb
115
- - app/lib/actions/middleware/inherit_task_groups.rb
116
- - app/lib/actions/middleware/keep_current_user.rb
117
- - app/lib/actions/middleware/recurring_logic.rb
121
+ - app/lib/actions/entry_action.rb
122
+ - app/lib/actions/base.rb
118
123
  - app/lib/actions/proxy_action.rb
119
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
+ - app/lib/actions/middleware/inherit_task_groups.rb
129
+ - app/lib/actions/middleware/keep_current_user.rb
130
+ - app/lib/actions/foreman/host/import_facts.rb
131
+ - app/lib/actions/foreman/architecture/create.rb
132
+ - app/lib/actions/foreman/architecture/update.rb
133
+ - app/lib/actions/foreman/architecture/destroy.rb
120
134
  - app/lib/proxy_api/foreman_dynflow/dynflow_proxy.rb
121
- - app/models/foreman_tasks/concerns/action_subject.rb
122
- - app/models/foreman_tasks/concerns/action_triggering.rb
135
+ - app/views/foreman_tasks/api/tasks/show.json.rabl
136
+ - app/views/foreman_tasks/api/recurring_logics/index.json.rabl
137
+ - app/views/foreman_tasks/api/recurring_logics/main.json.rabl
138
+ - app/views/foreman_tasks/api/recurring_logics/base.json.rabl
139
+ - app/views/foreman_tasks/api/recurring_logics/show.json.rabl
140
+ - app/views/foreman_tasks/tasks/_running_steps.html.erb
141
+ - app/views/foreman_tasks/tasks/show.html.erb
142
+ - app/views/foreman_tasks/tasks/_details.html.erb
143
+ - app/views/foreman_tasks/tasks/index.html.erb
144
+ - app/views/foreman_tasks/tasks/_raw.html.erb
145
+ - app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
146
+ - app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
147
+ - app/views/foreman_tasks/tasks/_errors.html.erb
148
+ - app/views/foreman_tasks/tasks/_locks.html.erb
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
123
165
  - app/models/foreman_tasks/concerns/architecture_action_subject.rb
166
+ - app/models/foreman_tasks/concerns/action_triggering.rb
124
167
  - app/models/foreman_tasks/concerns/host_action_subject.rb
125
- - app/models/foreman_tasks/lock.rb
126
- - app/models/foreman_tasks/recurring_logic.rb
127
- - app/models/foreman_tasks/task.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
128
171
  - app/models/foreman_tasks/task/dynflow_task.rb
129
172
  - app/models/foreman_tasks/task/status_explicator.rb
130
- - app/models/foreman_tasks/task/summarizer.rb
131
173
  - app/models/foreman_tasks/task/task_cancelled_exception.rb
132
- - app/models/foreman_tasks/task_group.rb
133
- - app/models/foreman_tasks/task_group_member.rb
134
- - app/models/foreman_tasks/task_groups/recurring_logic_task_group.rb
135
- - app/models/foreman_tasks/triggering.rb
174
+ - app/models/foreman_tasks/task/summarizer.rb
175
+ - app/models/foreman_tasks/lock.rb
176
+ - app/models/foreman_tasks/task.rb
136
177
  - app/models/setting/foreman_tasks.rb
137
- - app/views/common/_trigger_form.html.erb
138
- - app/views/foreman_tasks/api/tasks/show.json.rabl
139
- - app/views/foreman_tasks/recurring_logics/_tab_related.html.erb
140
- - app/views/foreman_tasks/recurring_logics/index.html.erb
141
- - app/views/foreman_tasks/recurring_logics/show.html.erb
142
- - app/views/foreman_tasks/task_groups/_common.html.erb
143
- - app/views/foreman_tasks/task_groups/_detail.html.erb
144
- - app/views/foreman_tasks/task_groups/_tab_related.html.erb
145
- - app/views/foreman_tasks/task_groups/recurring_logic_task_groups/_recurring_logic_task_group.html.erb
146
- - app/views/foreman_tasks/tasks/_details.html.erb
147
- - app/views/foreman_tasks/tasks/_errors.html.erb
148
- - app/views/foreman_tasks/tasks/_locks.html.erb
149
- - app/views/foreman_tasks/tasks/_raw.html.erb
150
- - app/views/foreman_tasks/tasks/_running_steps.html.erb
151
- - app/views/foreman_tasks/tasks/dashboard/_latest_tasks_in_error_warning.html.erb
152
- - app/views/foreman_tasks/tasks/dashboard/_tasks_status.html.erb
153
- - app/views/foreman_tasks/tasks/index.html.erb
154
- - app/views/foreman_tasks/tasks/show.html.erb
155
178
  - bin/dynflow-executor
156
179
  - bin/foreman-tasks
157
- - config/foreman-tasks.yaml.example
158
180
  - config/routes.rb
159
- - db/migrate/20131205204140_create_foreman_tasks.rb
160
- - db/migrate/20131209122644_create_foreman_tasks_locks.rb
161
- - db/migrate/20140324104010_remove_foreman_tasks_progress.rb
162
- - db/migrate/20140813215942_add_parent_task_id.rb
181
+ - config/foreman-tasks.yaml.example
182
+ - db/seeds.d/61-foreman_tasks_bookmarks.rb
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
163
186
  - db/migrate/20150814204140_add_task_type_value_index.rb
164
- - db/migrate/20150817102538_add_delay_attributes.rb
165
187
  - db/migrate/20150907124936_create_recurring_logic.rb
188
+ - db/migrate/20131209122644_create_foreman_tasks_locks.rb
189
+ - db/migrate/20131205204140_create_foreman_tasks.rb
190
+ - db/migrate/20140324104010_remove_foreman_tasks_progress.rb
166
191
  - db/migrate/20150907131503_create_task_groups.rb
192
+ - db/migrate/20140813215942_add_parent_task_id.rb
167
193
  - db/migrate/20151022123457_add_recurring_logic_state.rb
168
- - db/migrate/20151112152108_create_triggerings.rb
169
- - db/seeds.d/20-foreman_tasks_permissions.rb
170
- - db/seeds.d/60-dynflow_proxy_feature.rb
171
- - db/seeds.d/61-foreman_tasks_bookmarks.rb
194
+ - db/migrate/20150817102538_add_delay_attributes.rb
172
195
  - deploy/foreman-tasks.init
173
196
  - deploy/foreman-tasks.service
174
197
  - deploy/foreman-tasks.sysconfig
175
- - lib/foreman-tasks.rb
176
- - lib/foreman_tasks.rb
177
- - lib/foreman_tasks/authorizer_ext.rb
198
+ - lib/tasks/gettext.rake
199
+ - lib/foreman_tasks/tasks/export_tasks.rake
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
178
204
  - lib/foreman_tasks/cleaner.rb
179
- - lib/foreman_tasks/dynflow.rb
205
+ - lib/foreman_tasks/triggers.rb
206
+ - lib/foreman_tasks/authorizer_ext.rb
207
+ - lib/foreman_tasks/test_extensions.rb
208
+ - lib/foreman_tasks/task_error.rb
180
209
  - lib/foreman_tasks/dynflow/configuration.rb
181
- - lib/foreman_tasks/dynflow/console_authorizer.rb
182
- - lib/foreman_tasks/dynflow/daemon.rb
183
210
  - lib/foreman_tasks/dynflow/persistence.rb
184
- - lib/foreman_tasks/engine.rb
185
- - lib/foreman_tasks/task_error.rb
186
- - lib/foreman_tasks/tasks/cleanup.rake
187
- - lib/foreman_tasks/tasks/dynflow.rake
188
- - lib/foreman_tasks/tasks/export_tasks.rake
189
- - lib/foreman_tasks/test_extensions.rb
190
- - lib/foreman_tasks/triggers.rb
191
- - lib/foreman_tasks/version.rb
192
- - lib/tasks/gettext.rake
193
- - test/controllers/api/tasks_controller_test.rb
194
- - test/factories/task_factory.rb
195
- - test/foreman_tasks_test_helper.rb
196
- - test/helpers/foreman_tasks/tasks_helper_test.rb
197
- - test/support/dummy_dynflow_action.rb
211
+ - lib/foreman_tasks/dynflow/daemon.rb
212
+ - lib/foreman_tasks/dynflow/console_authorizer.rb
213
+ - lib/foreman_tasks/dynflow.rb
214
+ - lib/foreman_tasks.rb
215
+ - lib/foreman-tasks.rb
216
+ - LICENSE
217
+ - README.md
198
218
  - test/support/dummy_proxy_action.rb
199
- - test/unit/actions/action_with_sub_plans_test.rb
219
+ - test/support/dummy_dynflow_action.rb
220
+ - test/helpers/foreman_tasks/tasks_helper_test.rb
221
+ - test/unit/task_groups_test.rb
200
222
  - test/unit/actions/proxy_action_test.rb
223
+ - test/unit/actions/action_with_sub_plans_test.rb
201
224
  - test/unit/cleaner_test.rb
225
+ - test/unit/task_test.rb
202
226
  - test/unit/dynflow_console_authorizer_test.rb
203
227
  - test/unit/recurring_logic_test.rb
204
- - test/unit/task_groups_test.rb
205
- - test/unit/task_test.rb
228
+ - test/factories/recurring_logic_factory.rb
229
+ - test/factories/task_factory.rb
230
+ - test/controllers/api/recurring_logics_controller_test.rb
231
+ - test/controllers/api/tasks_controller_test.rb
232
+ - test/foreman_tasks_test_helper.rb
206
233
  homepage: https://github.com/theforeman/foreman-tasks
207
234
  licenses: []
208
- metadata: {}
209
235
  post_install_message:
210
236
  rdoc_options: []
211
237
  require_paths:
212
238
  - lib
213
239
  required_ruby_version: !ruby/object:Gem::Requirement
240
+ none: false
214
241
  requirements:
215
- - - ">="
242
+ - - ! '>='
216
243
  - !ruby/object:Gem::Version
217
244
  version: '0'
218
245
  required_rubygems_version: !ruby/object:Gem::Requirement
246
+ none: false
219
247
  requirements:
220
- - - ">="
248
+ - - ! '>='
221
249
  - !ruby/object:Gem::Version
222
250
  version: '0'
223
251
  requirements: []
224
252
  rubyforge_project:
225
- rubygems_version: 2.4.5
253
+ rubygems_version: 1.8.23
226
254
  signing_key:
227
- specification_version: 4
255
+ specification_version: 3
228
256
  summary: Foreman plugin for showing tasks information for resoruces and users
229
257
  test_files:
230
- - test/helpers/foreman_tasks/tasks_helper_test.rb
231
- - test/support/dummy_dynflow_action.rb
232
258
  - test/support/dummy_proxy_action.rb
233
- - test/foreman_tasks_test_helper.rb
234
- - test/controllers/api/tasks_controller_test.rb
235
- - test/factories/task_factory.rb
236
- - test/unit/cleaner_test.rb
237
- - test/unit/dynflow_console_authorizer_test.rb
238
- - test/unit/recurring_logic_test.rb
259
+ - test/support/dummy_dynflow_action.rb
260
+ - test/helpers/foreman_tasks/tasks_helper_test.rb
261
+ - test/unit/task_groups_test.rb
239
262
  - test/unit/actions/proxy_action_test.rb
240
263
  - test/unit/actions/action_with_sub_plans_test.rb
264
+ - test/unit/cleaner_test.rb
241
265
  - test/unit/task_test.rb
242
- - test/unit/task_groups_test.rb
266
+ - test/unit/dynflow_console_authorizer_test.rb
267
+ - test/unit/recurring_logic_test.rb
268
+ - test/factories/recurring_logic_factory.rb
269
+ - test/factories/task_factory.rb
270
+ - test/controllers/api/recurring_logics_controller_test.rb
271
+ - test/controllers/api/tasks_controller_test.rb
272
+ - test/foreman_tasks_test_helper.rb
273
+ has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 4d82a1c25062e39b3b9a4432d430aa549b11cdc6
4
- data.tar.gz: c7efaf7cafb34b445f04cc41975ca3926d979a32
5
- SHA512:
6
- metadata.gz: 090fa2bc3c6169770cf30ffecd71d4b2daddb867d74dd95df22c0597f41e2c3beeebc0fd13b13f784eb66d990f44c3577e8811c9f857601d64aa29552b8a92f8
7
- data.tar.gz: 604bca51431a289b80b82d49be1e101fdca77ca0cea1b4aa646c2a1c483a6147f7cc6cd6977e34567b535e92b0402424d5b97c683932082cfed6fbd9727228b4