foreman_remote_execution 4.2.1 → 4.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/js_ci.yml +29 -0
- data/.github/workflows/{ci.yml → ruby_ci.yml} +22 -50
- data/.prettierrc +4 -0
- data/.rubocop.yml +13 -49
- data/.rubocop_todo.yml +326 -102
- data/Gemfile +1 -4
- data/app/controllers/api/v2/job_invocations_controller.rb +17 -1
- data/app/controllers/foreman_remote_execution/concerns/api/v2/registration_commands_controller_extensions.rb +19 -0
- data/app/controllers/ui_job_wizard_controller.rb +18 -0
- data/app/helpers/remote_execution_helper.rb +27 -0
- data/app/lib/actions/remote_execution/run_host_job.rb +38 -1
- data/app/lib/foreman_remote_execution/provider_input.rb +29 -0
- data/app/lib/foreman_remote_execution/renderer/scope/input.rb +1 -0
- data/app/models/foreign_input_set.rb +1 -1
- data/app/models/host_status/execution_status.rb +7 -0
- data/app/models/invocation_provider_input_value.rb +12 -0
- data/app/models/job_invocation.rb +5 -1
- data/app/models/job_invocation_composer.rb +13 -0
- data/app/models/remote_execution_provider.rb +17 -2
- data/app/models/setting/remote_execution.rb +10 -0
- data/app/models/template_invocation.rb +2 -0
- data/app/services/renderer_methods.rb +12 -0
- data/app/views/job_invocations/_form.html.erb +8 -0
- data/app/views/template_invocations/show.html.erb +30 -23
- data/config/routes.rb +4 -0
- data/db/migrate/20210312074713_add_provider_inputs.rb +10 -0
- data/foreman_remote_execution.gemspec +1 -2
- data/lib/foreman_remote_execution/engine.rb +17 -7
- data/lib/foreman_remote_execution/version.rb +1 -1
- data/lib/tasks/foreman_remote_execution_tasks.rake +1 -18
- data/locale/action_names.rb +1 -0
- data/locale/de/foreman_remote_execution.po +77 -27
- data/locale/en/foreman_remote_execution.po +77 -27
- data/locale/en_GB/foreman_remote_execution.po +77 -27
- data/locale/es/foreman_remote_execution.po +77 -27
- data/locale/foreman_remote_execution.pot +241 -163
- data/locale/fr/foreman_remote_execution.po +77 -27
- data/locale/ja/foreman_remote_execution.po +77 -27
- data/locale/ko/foreman_remote_execution.po +77 -27
- data/locale/pt_BR/foreman_remote_execution.po +77 -27
- data/locale/ru/foreman_remote_execution.po +77 -27
- data/locale/zh_CN/foreman_remote_execution.po +77 -27
- data/locale/zh_TW/foreman_remote_execution.po +77 -27
- data/package.json +3 -2
- data/test/functional/api/v2/job_invocations_controller_test.rb +24 -4
- data/test/functional/api/v2/registration_controller_test.rb +4 -13
- data/test/functional/ui_job_wizard_controller_test.rb +16 -0
- data/test/helpers/remote_execution_helper_test.rb +16 -0
- data/test/unit/job_invocation_composer_test.rb +41 -1
- data/test/unit/job_invocation_report_template_test.rb +57 -0
- data/webpack/JobWizard/JobWizard.js +55 -0
- data/webpack/JobWizard/JobWizard.scss +12 -0
- data/webpack/JobWizard/JobWizardConstants.js +5 -0
- data/webpack/JobWizard/JobWizardSelectors.js +21 -0
- data/webpack/JobWizard/__tests__/JobWizard.test.js +20 -0
- data/webpack/JobWizard/__tests__/__snapshots__/JobWizard.test.js.snap +83 -0
- data/webpack/JobWizard/index.js +32 -0
- data/webpack/JobWizard/steps/CategoryAndTemplate/CategoryAndTemplate.js +77 -0
- data/webpack/JobWizard/steps/CategoryAndTemplate/CategoryAndTemplate.test.js +45 -0
- data/webpack/JobWizard/steps/CategoryAndTemplate/__snapshots__/CategoryAndTemplate.test.js.snap +64 -0
- data/webpack/JobWizard/steps/CategoryAndTemplate/index.js +86 -0
- data/webpack/JobWizard/steps/form/GroupedSelectField.js +88 -0
- data/webpack/JobWizard/steps/form/SelectField.js +39 -0
- data/webpack/JobWizard/steps/form/__tests__/GroupedSelectField.test.js +38 -0
- data/webpack/JobWizard/steps/form/__tests__/SelectField.test.js +23 -0
- data/webpack/JobWizard/steps/form/__tests__/__snapshots__/GroupedSelectField.test.js.snap +36 -0
- data/webpack/JobWizard/steps/form/__tests__/__snapshots__/SelectField.test.js.snap +22 -0
- data/webpack/Routes/routes.js +12 -0
- data/webpack/__mocks__/foremanReact/common/helpers.js +1 -0
- data/webpack/__mocks__/foremanReact/history.js +1 -0
- data/webpack/__mocks__/foremanReact/redux/API/index.js +5 -0
- data/webpack/__mocks__/foremanReact/routes/common/PageLayout/PageLayout.js +10 -0
- data/webpack/fills_index.js +11 -0
- data/webpack/global_index.js +8 -0
- data/webpack/index.js +0 -4
- data/webpack/react_app/components/RecentJobsCard/RecentJobsCard.js +87 -0
- data/webpack/react_app/components/RecentJobsCard/constants.js +1 -0
- data/webpack/react_app/components/RecentJobsCard/index.js +1 -0
- data/webpack/react_app/components/RecentJobsCard/styles.css +15 -0
- data/webpack/react_app/components/RegistrationExtension/RexInterface.js +50 -0
- data/webpack/react_app/components/RegistrationExtension/__tests__/RexInterface.test.js +9 -0
- data/webpack/react_app/components/RegistrationExtension/__tests__/__snapshots__/RexInterface.test.js.snap +35 -0
- data/webpack/react_app/components/TargetingHosts/TargetingHostsPage.js +1 -1
- data/webpack/react_app/components/TargetingHosts/TargetingHostsPage.scss +0 -3
- data/webpack/react_app/components/TargetingHosts/__tests__/__snapshots__/TargetingHostsPage.test.js.snap +1 -1
- data/webpack/react_app/extend/fills.js +10 -0
- data/webpack/react_app/extend/reducers.js +4 -0
- metadata +54 -24
- data/app/views/api/v2/registration/_form.html.erb +0 -12
@@ -0,0 +1 @@
|
|
1
|
+
export const HOST_DETAILS_JOBS = 'HOST_DETAILS_JOBS';
|
@@ -0,0 +1 @@
|
|
1
|
+
export { default } from './RecentJobsCard';
|
@@ -0,0 +1,15 @@
|
|
1
|
+
.properties-side-panel-pf-property-value {
|
2
|
+
font-size: 14px !important;
|
3
|
+
margin-top: 8px;
|
4
|
+
word-break: break-word;
|
5
|
+
}
|
6
|
+
|
7
|
+
.properties-side-panel-pf-property-label {
|
8
|
+
font-weight: 700 !important;
|
9
|
+
font-size: 14px !important;
|
10
|
+
margin: 0 !important;
|
11
|
+
}
|
12
|
+
|
13
|
+
.properties-side-panel-pf-property {
|
14
|
+
margin-top: 24px;
|
15
|
+
}
|
@@ -0,0 +1,50 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import PropTypes from 'prop-types';
|
3
|
+
|
4
|
+
import { translate as __ } from 'foremanReact/common/I18n';
|
5
|
+
|
6
|
+
import { FormGroup, TextInput, Popover } from '@patternfly/react-core';
|
7
|
+
|
8
|
+
import { HelpIcon } from '@patternfly/react-icons';
|
9
|
+
|
10
|
+
const RexInterface = ({ isLoading, onChange }) => (
|
11
|
+
<FormGroup
|
12
|
+
label={__('Remote Execution Interface')}
|
13
|
+
fieldId="reg_rex_interface"
|
14
|
+
labelIcon={
|
15
|
+
<Popover
|
16
|
+
bodyContent={
|
17
|
+
<div>
|
18
|
+
{__('Identifier of the Host interface for Remote execution')}
|
19
|
+
</div>
|
20
|
+
}
|
21
|
+
>
|
22
|
+
<button
|
23
|
+
className="pf-c-form__group-label-help"
|
24
|
+
onClick={e => e.preventDefault()}
|
25
|
+
>
|
26
|
+
<HelpIcon noVerticalAlign />
|
27
|
+
</button>
|
28
|
+
</Popover>
|
29
|
+
}
|
30
|
+
>
|
31
|
+
<TextInput
|
32
|
+
type="text"
|
33
|
+
onBlur={e => onChange({ remoteExecutionInterface: e.target.value })}
|
34
|
+
id="reg_rex_interface_input"
|
35
|
+
isDisabled={isLoading}
|
36
|
+
/>
|
37
|
+
</FormGroup>
|
38
|
+
);
|
39
|
+
|
40
|
+
RexInterface.propTypes = {
|
41
|
+
onChange: PropTypes.func,
|
42
|
+
isLoading: PropTypes.bool,
|
43
|
+
};
|
44
|
+
|
45
|
+
RexInterface.defaultProps = {
|
46
|
+
onChange: undefined,
|
47
|
+
isLoading: false,
|
48
|
+
};
|
49
|
+
|
50
|
+
export default RexInterface;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { testComponentSnapshotsWithFixtures } from '@theforeman/test';
|
2
|
+
import RexInterface from '../RexInterface';
|
3
|
+
|
4
|
+
const fixtures = {
|
5
|
+
renders: { isLoading: false, onChange: () => {} },
|
6
|
+
};
|
7
|
+
|
8
|
+
describe('RexInterface', () =>
|
9
|
+
testComponentSnapshotsWithFixtures(RexInterface, fixtures));
|
@@ -0,0 +1,35 @@
|
|
1
|
+
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
|
+
|
3
|
+
exports[`RexInterface renders 1`] = `
|
4
|
+
<FormGroup
|
5
|
+
fieldId="reg_rex_interface"
|
6
|
+
label="Remote Execution Interface"
|
7
|
+
labelIcon={
|
8
|
+
<Popover
|
9
|
+
bodyContent={
|
10
|
+
<div>
|
11
|
+
Identifier of the Host interface for Remote execution
|
12
|
+
</div>
|
13
|
+
}
|
14
|
+
>
|
15
|
+
<button
|
16
|
+
className="pf-c-form__group-label-help"
|
17
|
+
onClick={[Function]}
|
18
|
+
>
|
19
|
+
<HelpIcon
|
20
|
+
color="currentColor"
|
21
|
+
noVerticalAlign={true}
|
22
|
+
size="sm"
|
23
|
+
/>
|
24
|
+
</button>
|
25
|
+
</Popover>
|
26
|
+
}
|
27
|
+
>
|
28
|
+
<TextInput
|
29
|
+
id="reg_rex_interface_input"
|
30
|
+
isDisabled={false}
|
31
|
+
onBlur={[Function]}
|
32
|
+
type="text"
|
33
|
+
/>
|
34
|
+
</FormGroup>
|
35
|
+
`;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { addGlobalFill } from 'foremanReact/components/common/Fill/GlobalFill';
|
3
|
+
import RecentJobsCard from '../components/RecentJobsCard';
|
4
|
+
|
5
|
+
export default addGlobalFill(
|
6
|
+
'details-cards',
|
7
|
+
'rex-host-details-latest-jobs',
|
8
|
+
<RecentJobsCard />,
|
9
|
+
1000
|
10
|
+
);
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_remote_execution
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Foreman Remote Execution team
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|
@@ -64,14 +64,14 @@ dependencies:
|
|
64
64
|
requirements:
|
65
65
|
- - ">="
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version:
|
67
|
+
version: 4.1.0
|
68
68
|
type: :runtime
|
69
69
|
prerelease: false
|
70
70
|
version_requirements: !ruby/object:Gem::Requirement
|
71
71
|
requirements:
|
72
72
|
- - ">="
|
73
73
|
- !ruby/object:Gem::Version
|
74
|
-
version:
|
74
|
+
version: 4.1.0
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
name: factory_bot_rails
|
77
77
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,20 +86,6 @@ dependencies:
|
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
88
|
version: 4.8.0
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: rubocop
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: 0.80.0
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: 0.80.0
|
103
89
|
- !ruby/object:Gem::Dependency
|
104
90
|
name: rdoc
|
105
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -127,8 +113,10 @@ files:
|
|
127
113
|
- ".babelrc.js"
|
128
114
|
- ".eslintignore"
|
129
115
|
- ".eslintrc"
|
130
|
-
- ".github/workflows/
|
116
|
+
- ".github/workflows/js_ci.yml"
|
117
|
+
- ".github/workflows/ruby_ci.yml"
|
131
118
|
- ".gitignore"
|
119
|
+
- ".prettierrc"
|
132
120
|
- ".rubocop.yml"
|
133
121
|
- ".rubocop_todo.yml"
|
134
122
|
- ".tx/config"
|
@@ -154,12 +142,14 @@ files:
|
|
154
142
|
- app/controllers/concerns/foreman/controller/parameters/job_template.rb
|
155
143
|
- app/controllers/concerns/foreman/controller/parameters/remote_execution_feature.rb
|
156
144
|
- app/controllers/concerns/foreman/controller/parameters/targeting.rb
|
145
|
+
- app/controllers/foreman_remote_execution/concerns/api/v2/registration_commands_controller_extensions.rb
|
157
146
|
- app/controllers/foreman_remote_execution/concerns/api/v2/registration_controller_extensions.rb
|
158
147
|
- app/controllers/foreman_remote_execution/concerns/api/v2/subnets_controller_extensions.rb
|
159
148
|
- app/controllers/job_invocations_controller.rb
|
160
149
|
- app/controllers/job_templates_controller.rb
|
161
150
|
- app/controllers/remote_execution_features_controller.rb
|
162
151
|
- app/controllers/template_invocations_controller.rb
|
152
|
+
- app/controllers/ui_job_wizard_controller.rb
|
163
153
|
- app/helpers/concerns/foreman_remote_execution/hosts_helper_extensions.rb
|
164
154
|
- app/helpers/concerns/foreman_remote_execution/job_templates_extensions.rb
|
165
155
|
- app/helpers/job_invocation_output_helper.rb
|
@@ -169,6 +159,7 @@ files:
|
|
169
159
|
- app/lib/actions/middleware/bind_job_invocation.rb
|
170
160
|
- app/lib/actions/remote_execution/run_host_job.rb
|
171
161
|
- app/lib/actions/remote_execution/run_hosts_job.rb
|
162
|
+
- app/lib/foreman_remote_execution/provider_input.rb
|
172
163
|
- app/lib/foreman_remote_execution/renderer/scope/input.rb
|
173
164
|
- app/lib/proxy_api/remote_execution_ssh.rb
|
174
165
|
- app/mailers/.gitkeep
|
@@ -191,6 +182,7 @@ files:
|
|
191
182
|
- app/models/foreign_input_set.rb
|
192
183
|
- app/models/host_status/execution_status.rb
|
193
184
|
- app/models/input_template_renderer.rb
|
185
|
+
- app/models/invocation_provider_input_value.rb
|
194
186
|
- app/models/job_invocation.rb
|
195
187
|
- app/models/job_invocation_composer.rb
|
196
188
|
- app/models/job_invocation_task_group.rb
|
@@ -209,6 +201,7 @@ files:
|
|
209
201
|
- app/overrides/subnet_proxies.rb
|
210
202
|
- app/services/default_proxy_proxy_selector.rb
|
211
203
|
- app/services/remote_execution_proxy_selector.rb
|
204
|
+
- app/services/renderer_methods.rb
|
212
205
|
- app/services/ui_notifications/remote_execution_jobs/base_job_finish.rb
|
213
206
|
- app/views/api/v2/foreign_input_sets/base.json.rabl
|
214
207
|
- app/views/api/v2/foreign_input_sets/create.json.rabl
|
@@ -227,7 +220,6 @@ files:
|
|
227
220
|
- app/views/api/v2/job_templates/main.json.rabl
|
228
221
|
- app/views/api/v2/job_templates/show.json.rabl
|
229
222
|
- app/views/api/v2/job_templates/update.json.rabl
|
230
|
-
- app/views/api/v2/registration/_form.html.erb
|
231
223
|
- app/views/api/v2/remote_execution_features/base.json.rabl
|
232
224
|
- app/views/api/v2/remote_execution_features/index.json.rabl
|
233
225
|
- app/views/api/v2/remote_execution_features/main.json.rabl
|
@@ -331,6 +323,7 @@ files:
|
|
331
323
|
- db/migrate/20190111153330_remove_remote_execution_without_proxy_setting.rb
|
332
324
|
- db/migrate/20200623073022_rename_sudo_password_to_effective_user_password.rb
|
333
325
|
- db/migrate/20200820122057_add_proxy_selector_override_to_remote_execution_feature.rb
|
326
|
+
- db/migrate/20210312074713_add_provider_inputs.rb
|
334
327
|
- db/seeds.d/100-assign_features_with_templates.rb
|
335
328
|
- db/seeds.d/20-permissions.rb
|
336
329
|
- db/seeds.d/50-notification_blueprints.rb
|
@@ -385,6 +378,7 @@ files:
|
|
385
378
|
- test/functional/cockpit_controller_test.rb
|
386
379
|
- test/functional/job_invocations_controller_test.rb
|
387
380
|
- test/functional/job_templates_controller_test.rb
|
381
|
+
- test/functional/ui_job_wizard_controller_test.rb
|
388
382
|
- test/helpers/remote_execution_helper_test.rb
|
389
383
|
- test/models/orchestration/ssh_test.rb
|
390
384
|
- test/support/remote_execution_helper.rb
|
@@ -397,6 +391,7 @@ files:
|
|
397
391
|
- test/unit/execution_task_status_mapper_test.rb
|
398
392
|
- test/unit/input_template_renderer_test.rb
|
399
393
|
- test/unit/job_invocation_composer_test.rb
|
394
|
+
- test/unit/job_invocation_report_template_test.rb
|
400
395
|
- test/unit/job_invocation_test.rb
|
401
396
|
- test/unit/job_template_effective_user_test.rb
|
402
397
|
- test/unit/job_template_test.rb
|
@@ -405,14 +400,45 @@ files:
|
|
405
400
|
- test/unit/renderer_scope_input.rb
|
406
401
|
- test/unit/targeting_test.rb
|
407
402
|
- test/unit/template_invocation_input_value_test.rb
|
403
|
+
- webpack/JobWizard/JobWizard.js
|
404
|
+
- webpack/JobWizard/JobWizard.scss
|
405
|
+
- webpack/JobWizard/JobWizardConstants.js
|
406
|
+
- webpack/JobWizard/JobWizardSelectors.js
|
407
|
+
- webpack/JobWizard/__tests__/JobWizard.test.js
|
408
|
+
- webpack/JobWizard/__tests__/__snapshots__/JobWizard.test.js.snap
|
409
|
+
- webpack/JobWizard/index.js
|
410
|
+
- webpack/JobWizard/steps/CategoryAndTemplate/CategoryAndTemplate.js
|
411
|
+
- webpack/JobWizard/steps/CategoryAndTemplate/CategoryAndTemplate.test.js
|
412
|
+
- webpack/JobWizard/steps/CategoryAndTemplate/__snapshots__/CategoryAndTemplate.test.js.snap
|
413
|
+
- webpack/JobWizard/steps/CategoryAndTemplate/index.js
|
414
|
+
- webpack/JobWizard/steps/form/GroupedSelectField.js
|
415
|
+
- webpack/JobWizard/steps/form/SelectField.js
|
416
|
+
- webpack/JobWizard/steps/form/__tests__/GroupedSelectField.test.js
|
417
|
+
- webpack/JobWizard/steps/form/__tests__/SelectField.test.js
|
418
|
+
- webpack/JobWizard/steps/form/__tests__/__snapshots__/GroupedSelectField.test.js.snap
|
419
|
+
- webpack/JobWizard/steps/form/__tests__/__snapshots__/SelectField.test.js.snap
|
420
|
+
- webpack/Routes/routes.js
|
408
421
|
- webpack/__mocks__/foremanReact/common/I18n.js
|
422
|
+
- webpack/__mocks__/foremanReact/common/helpers.js
|
409
423
|
- webpack/__mocks__/foremanReact/components/Pagination/PaginationWrapper.js
|
410
424
|
- webpack/__mocks__/foremanReact/components/SearchBar.js
|
411
425
|
- webpack/__mocks__/foremanReact/components/common/ActionButtons/ActionButtons.js
|
412
426
|
- webpack/__mocks__/foremanReact/constants.js
|
427
|
+
- webpack/__mocks__/foremanReact/history.js
|
413
428
|
- webpack/__mocks__/foremanReact/redux/API/APISelectors.js
|
429
|
+
- webpack/__mocks__/foremanReact/redux/API/index.js
|
414
430
|
- webpack/__mocks__/foremanReact/redux/middlewares/IntervalMiddleware/IntervalSelectors.js
|
431
|
+
- webpack/__mocks__/foremanReact/routes/common/PageLayout/PageLayout.js
|
432
|
+
- webpack/fills_index.js
|
433
|
+
- webpack/global_index.js
|
415
434
|
- webpack/index.js
|
435
|
+
- webpack/react_app/components/RecentJobsCard/RecentJobsCard.js
|
436
|
+
- webpack/react_app/components/RecentJobsCard/constants.js
|
437
|
+
- webpack/react_app/components/RecentJobsCard/index.js
|
438
|
+
- webpack/react_app/components/RecentJobsCard/styles.css
|
439
|
+
- webpack/react_app/components/RegistrationExtension/RexInterface.js
|
440
|
+
- webpack/react_app/components/RegistrationExtension/__tests__/RexInterface.test.js
|
441
|
+
- webpack/react_app/components/RegistrationExtension/__tests__/__snapshots__/RexInterface.test.js.snap
|
416
442
|
- webpack/react_app/components/TargetingHosts/TargetingHosts.js
|
417
443
|
- webpack/react_app/components/TargetingHosts/TargetingHostsConsts.js
|
418
444
|
- webpack/react_app/components/TargetingHosts/TargetingHostsHelpers.js
|
@@ -436,6 +462,8 @@ files:
|
|
436
462
|
- webpack/react_app/components/jobInvocations/AggregateStatus/index.js
|
437
463
|
- webpack/react_app/components/jobInvocations/AggregateStatus/index.test.js
|
438
464
|
- webpack/react_app/components/jobInvocations/index.js
|
465
|
+
- webpack/react_app/extend/fills.js
|
466
|
+
- webpack/react_app/extend/reducers.js
|
439
467
|
- webpack/react_app/redux/actions/jobInvocations/index.js
|
440
468
|
- webpack/react_app/redux/consts.js
|
441
469
|
- webpack/react_app/redux/reducers/index.js
|
@@ -447,7 +475,7 @@ homepage: https://github.com/theforeman/foreman_remote_execution
|
|
447
475
|
licenses:
|
448
476
|
- GPL-3.0
|
449
477
|
metadata: {}
|
450
|
-
post_install_message:
|
478
|
+
post_install_message:
|
451
479
|
rdoc_options: []
|
452
480
|
require_paths:
|
453
481
|
- lib
|
@@ -462,8 +490,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
462
490
|
- !ruby/object:Gem::Version
|
463
491
|
version: '0'
|
464
492
|
requirements: []
|
465
|
-
rubygems_version: 3.
|
466
|
-
signing_key:
|
493
|
+
rubygems_version: 3.1.2
|
494
|
+
signing_key:
|
467
495
|
specification_version: 4
|
468
496
|
summary: A plugin bringing remote execution to the Foreman, completing the config
|
469
497
|
management functionality with remote management functionality.
|
@@ -480,6 +508,7 @@ test_files:
|
|
480
508
|
- test/functional/cockpit_controller_test.rb
|
481
509
|
- test/functional/job_invocations_controller_test.rb
|
482
510
|
- test/functional/job_templates_controller_test.rb
|
511
|
+
- test/functional/ui_job_wizard_controller_test.rb
|
483
512
|
- test/helpers/remote_execution_helper_test.rb
|
484
513
|
- test/models/orchestration/ssh_test.rb
|
485
514
|
- test/support/remote_execution_helper.rb
|
@@ -492,6 +521,7 @@ test_files:
|
|
492
521
|
- test/unit/execution_task_status_mapper_test.rb
|
493
522
|
- test/unit/input_template_renderer_test.rb
|
494
523
|
- test/unit/job_invocation_composer_test.rb
|
524
|
+
- test/unit/job_invocation_report_template_test.rb
|
495
525
|
- test/unit/job_invocation_test.rb
|
496
526
|
- test/unit/job_template_effective_user_test.rb
|
497
527
|
- test/unit/job_template_test.rb
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<div class='form-group'>
|
2
|
-
<label class='col-md-2 control-label'>
|
3
|
-
<%= _('Remote Execution Interface') %>
|
4
|
-
<% help = _('Identifier of the Host interface for Remote execution') %>
|
5
|
-
<a rel="popover" data-content="<%= help %>" data-trigger="focus" data-container="body" data-html="true" tabindex="-1">
|
6
|
-
<span class="pficon pficon-info "></span>
|
7
|
-
</a>
|
8
|
-
</label>
|
9
|
-
<div class='col-md-4'>
|
10
|
-
<%= text_field_tag 'remote_execution_interface', params[:remote_execution_interface], class: 'form-control' %>
|
11
|
-
</div>
|
12
|
-
</div>
|