foreman_remote_execution 13.1.0 → 13.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/foreman_remote_execution/locale/de/foreman_remote_execution.js +1000 -973
- data/app/assets/javascripts/foreman_remote_execution/locale/en/foreman_remote_execution.js +553 -526
- data/app/assets/javascripts/foreman_remote_execution/locale/en_GB/foreman_remote_execution.js +584 -557
- data/app/assets/javascripts/foreman_remote_execution/locale/es/foreman_remote_execution.js +1043 -1016
- data/app/assets/javascripts/foreman_remote_execution/locale/fr/foreman_remote_execution.js +1047 -1020
- data/app/assets/javascripts/foreman_remote_execution/locale/ja/foreman_remote_execution.js +1041 -1014
- data/app/assets/javascripts/foreman_remote_execution/locale/ka/foreman_remote_execution.js +1015 -988
- data/app/assets/javascripts/foreman_remote_execution/locale/ko/foreman_remote_execution.js +886 -859
- data/app/assets/javascripts/foreman_remote_execution/locale/pt_BR/foreman_remote_execution.js +1047 -1020
- data/app/assets/javascripts/foreman_remote_execution/locale/ru/foreman_remote_execution.js +901 -874
- data/app/assets/javascripts/foreman_remote_execution/locale/zh_CN/foreman_remote_execution.js +1041 -1014
- data/app/assets/javascripts/foreman_remote_execution/locale/zh_TW/foreman_remote_execution.js +886 -859
- data/app/controllers/api/v2/job_invocations_controller.rb +1 -0
- data/app/models/job_invocation.rb +23 -0
- data/app/models/job_invocation_composer.rb +2 -0
- data/app/views/api/v2/job_invocations/base.json.rabl +3 -2
- data/app/views/templates/script/package_action.erb +5 -2
- data/lib/foreman_remote_execution/version.rb +1 -1
- data/locale/de/foreman_remote_execution.po +27 -0
- data/locale/en/foreman_remote_execution.po +27 -0
- data/locale/en_GB/foreman_remote_execution.po +27 -0
- data/locale/es/foreman_remote_execution.po +27 -0
- data/locale/foreman_remote_execution.pot +177 -141
- data/locale/fr/foreman_remote_execution.po +27 -0
- data/locale/ja/foreman_remote_execution.po +27 -0
- data/locale/ka/foreman_remote_execution.po +27 -0
- data/locale/ko/foreman_remote_execution.po +27 -0
- data/locale/pt_BR/foreman_remote_execution.po +27 -0
- data/locale/ru/foreman_remote_execution.po +27 -0
- data/locale/zh_CN/foreman_remote_execution.po +27 -0
- data/locale/zh_TW/foreman_remote_execution.po +27 -0
- data/package.json +2 -1
- data/webpack/JobInvocationDetail/JobInvocationActions.js +134 -3
- data/webpack/JobInvocationDetail/JobInvocationConstants.js +14 -0
- data/webpack/JobInvocationDetail/JobInvocationDetail.scss +5 -2
- data/webpack/JobInvocationDetail/JobInvocationSelectors.js +5 -0
- data/webpack/JobInvocationDetail/JobInvocationSystemStatusChart.js +13 -9
- data/webpack/JobInvocationDetail/JobInvocationToolbarButtons.js +268 -0
- data/webpack/JobInvocationDetail/__tests__/MainInformation.test.js +259 -0
- data/webpack/JobInvocationDetail/__tests__/fixtures.js +117 -0
- data/webpack/JobInvocationDetail/index.js +58 -38
- data/webpack/JobWizard/JobWizardPageRerun.js +16 -11
- data/webpack/JobWizard/steps/HostsAndInputs/HostPreviewModal.js +8 -6
- data/webpack/__mocks__/foremanReact/Root/Context/ForemanContext/index.js +2 -0
- data/webpack/__mocks__/foremanReact/components/BreadcrumbBar/index.js +4 -0
- data/webpack/__mocks__/foremanReact/components/Head/index.js +10 -0
- data/webpack/__mocks__/foremanReact/components/HostDetails/DetailsCard/DefaultLoaderEmptyState.js +8 -0
- data/webpack/__mocks__/foremanReact/components/ToastsList/index.js +3 -0
- data/webpack/__mocks__/foremanReact/redux/API/APIActions.js +21 -0
- data/webpack/__mocks__/foremanReact/redux/API/APIConstants.js +7 -0
- data/webpack/__mocks__/foremanReact/redux/API/index.js +14 -0
- data/webpack/__mocks__/foremanReact/redux/middlewares/IntervalMiddleware/index.js +9 -0
- metadata +12 -2
@@ -1,5 +1,19 @@
|
|
1
1
|
export const API = {
|
2
2
|
get: jest.fn(),
|
3
|
+
put: jest.fn(),
|
4
|
+
post: jest.fn(),
|
5
|
+
delete: jest.fn(),
|
6
|
+
patch: jest.fn(),
|
3
7
|
};
|
4
8
|
|
5
9
|
export const get = data => ({ type: 'get-some-type', ...data });
|
10
|
+
export const post = data => ({ type: 'post-some-type', ...data });
|
11
|
+
export const put = data => ({ type: 'put-some-type', ...data });
|
12
|
+
export const patch = data => ({ type: 'patch-some-type', ...data });
|
13
|
+
|
14
|
+
export const APIActions = {
|
15
|
+
get,
|
16
|
+
post,
|
17
|
+
put,
|
18
|
+
patch,
|
19
|
+
};
|
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: 13.
|
4
|
+
version: 13.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Foreman Remote Execution team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|
@@ -440,6 +440,9 @@ files:
|
|
440
440
|
- webpack/JobInvocationDetail/JobInvocationOverview.js
|
441
441
|
- webpack/JobInvocationDetail/JobInvocationSelectors.js
|
442
442
|
- webpack/JobInvocationDetail/JobInvocationSystemStatusChart.js
|
443
|
+
- webpack/JobInvocationDetail/JobInvocationToolbarButtons.js
|
444
|
+
- webpack/JobInvocationDetail/__tests__/MainInformation.test.js
|
445
|
+
- webpack/JobInvocationDetail/__tests__/fixtures.js
|
443
446
|
- webpack/JobInvocationDetail/index.js
|
444
447
|
- webpack/JobWizard/Footer.js
|
445
448
|
- webpack/JobWizard/JobWizard.js
|
@@ -512,14 +515,21 @@ files:
|
|
512
515
|
- webpack/__mocks__/foremanReact/common/hooks/API/APIHooks.js
|
513
516
|
- webpack/__mocks__/foremanReact/components/AutoComplete/AutoCompleteActions.js
|
514
517
|
- webpack/__mocks__/foremanReact/components/AutoComplete/AutoCompleteConstants.js
|
518
|
+
- webpack/__mocks__/foremanReact/components/BreadcrumbBar/index.js
|
519
|
+
- webpack/__mocks__/foremanReact/components/Head/index.js
|
520
|
+
- webpack/__mocks__/foremanReact/components/HostDetails/DetailsCard/DefaultLoaderEmptyState.js
|
515
521
|
- webpack/__mocks__/foremanReact/components/Pagination.js
|
516
522
|
- webpack/__mocks__/foremanReact/components/SearchBar.js
|
523
|
+
- webpack/__mocks__/foremanReact/components/ToastsList/index.js
|
517
524
|
- webpack/__mocks__/foremanReact/components/common/ActionButtons/ActionButtons.js
|
518
525
|
- webpack/__mocks__/foremanReact/constants.js
|
519
526
|
- webpack/__mocks__/foremanReact/history.js
|
527
|
+
- webpack/__mocks__/foremanReact/redux/API/APIActions.js
|
528
|
+
- webpack/__mocks__/foremanReact/redux/API/APIConstants.js
|
520
529
|
- webpack/__mocks__/foremanReact/redux/API/APISelectors.js
|
521
530
|
- webpack/__mocks__/foremanReact/redux/API/index.js
|
522
531
|
- webpack/__mocks__/foremanReact/redux/middlewares/IntervalMiddleware/IntervalSelectors.js
|
532
|
+
- webpack/__mocks__/foremanReact/redux/middlewares/IntervalMiddleware/index.js
|
523
533
|
- webpack/__mocks__/foremanReact/routes/Hosts/constants.js
|
524
534
|
- webpack/__mocks__/foremanReact/routes/RouterSelector.js
|
525
535
|
- webpack/__mocks__/foremanReact/routes/common/PageLayout/PageLayout.js
|