foreman_remote_execution 13.1.1 → 13.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/job_invocations_controller.rb +1 -0
  3. data/app/models/job_invocation.rb +23 -0
  4. data/app/models/job_invocation_composer.rb +2 -0
  5. data/app/views/api/v2/job_invocations/base.json.rabl +3 -2
  6. data/app/views/templates/script/package_action.erb +18 -10
  7. data/lib/foreman_remote_execution/version.rb +1 -1
  8. data/package.json +2 -1
  9. data/webpack/JobInvocationDetail/JobInvocationActions.js +134 -3
  10. data/webpack/JobInvocationDetail/JobInvocationConstants.js +14 -0
  11. data/webpack/JobInvocationDetail/JobInvocationDetail.scss +5 -2
  12. data/webpack/JobInvocationDetail/JobInvocationSelectors.js +5 -0
  13. data/webpack/JobInvocationDetail/JobInvocationSystemStatusChart.js +13 -9
  14. data/webpack/JobInvocationDetail/JobInvocationToolbarButtons.js +268 -0
  15. data/webpack/JobInvocationDetail/__tests__/MainInformation.test.js +259 -0
  16. data/webpack/JobInvocationDetail/__tests__/fixtures.js +117 -0
  17. data/webpack/JobInvocationDetail/index.js +58 -38
  18. data/webpack/JobWizard/JobWizard.scss +14 -5
  19. data/webpack/JobWizard/JobWizardPageRerun.js +15 -10
  20. data/webpack/JobWizard/steps/HostsAndInputs/index.js +4 -1
  21. data/webpack/__mocks__/foremanReact/components/BreadcrumbBar/index.js +4 -0
  22. data/webpack/__mocks__/foremanReact/components/Head/index.js +10 -0
  23. data/webpack/__mocks__/foremanReact/components/HostDetails/DetailsCard/DefaultLoaderEmptyState.js +8 -0
  24. data/webpack/__mocks__/foremanReact/components/ToastsList/index.js +3 -0
  25. data/webpack/__mocks__/foremanReact/redux/API/APIActions.js +21 -0
  26. data/webpack/__mocks__/foremanReact/redux/API/APIConstants.js +7 -0
  27. data/webpack/__mocks__/foremanReact/redux/API/index.js +14 -0
  28. data/webpack/__mocks__/foremanReact/redux/middlewares/IntervalMiddleware/index.js +9 -0
  29. metadata +12 -2
@@ -0,0 +1,9 @@
1
+ export const stopInterval = key => ({
2
+ type: 'STOP_INTERVAL',
3
+ key,
4
+ });
5
+
6
+ export const withInterval = key => ({
7
+ type: 'WITH_INTERVAL',
8
+ key,
9
+ });
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.1.1
4
+ version: 13.2.1
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-23 00:00:00.000000000 Z
11
+ date: 2024-06-20 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