foreman_remote_execution 14.1.4 → 15.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/job_invocations_controller.rb +8 -0
  3. data/app/controllers/template_invocations_controller.rb +57 -0
  4. data/app/controllers/ui_job_wizard_controller.rb +6 -3
  5. data/app/helpers/remote_execution_helper.rb +5 -6
  6. data/app/views/api/v2/job_invocations/base.json.rabl +1 -1
  7. data/app/views/api/v2/job_invocations/hosts.json.rabl +1 -1
  8. data/app/views/api/v2/job_invocations/main.json.rabl +1 -1
  9. data/app/views/api/v2/job_invocations/show.json.rabl +18 -0
  10. data/app/views/templates/script/convert2rhel_analyze.erb +4 -4
  11. data/config/routes.rb +2 -0
  12. data/lib/foreman_remote_execution/engine.rb +3 -3
  13. data/lib/foreman_remote_execution/version.rb +1 -1
  14. data/webpack/JobInvocationDetail/JobAdditionInfo.js +214 -0
  15. data/webpack/JobInvocationDetail/JobInvocationConstants.js +40 -2
  16. data/webpack/JobInvocationDetail/JobInvocationDetail.scss +70 -0
  17. data/webpack/JobInvocationDetail/JobInvocationHostTable.js +177 -80
  18. data/webpack/JobInvocationDetail/JobInvocationHostTableToolbar.js +63 -0
  19. data/webpack/JobInvocationDetail/JobInvocationSelectors.js +8 -1
  20. data/webpack/JobInvocationDetail/JobInvocationSystemStatusChart.js +61 -10
  21. data/webpack/JobInvocationDetail/OpenAlInvocations.js +111 -0
  22. data/webpack/JobInvocationDetail/TemplateInvocation.js +202 -0
  23. data/webpack/JobInvocationDetail/TemplateInvocationComponents/OutputCodeBlock.js +124 -0
  24. data/webpack/JobInvocationDetail/TemplateInvocationComponents/OutputToggleGroup.js +156 -0
  25. data/webpack/JobInvocationDetail/TemplateInvocationComponents/PreviewTemplate.js +50 -0
  26. data/webpack/JobInvocationDetail/TemplateInvocationComponents/TemplateActionButtons.js +224 -0
  27. data/webpack/JobInvocationDetail/TemplateInvocationPage.js +53 -0
  28. data/webpack/JobInvocationDetail/__tests__/MainInformation.test.js +1 -1
  29. data/webpack/JobInvocationDetail/__tests__/OpenAlInvocations.test.js +110 -0
  30. data/webpack/JobInvocationDetail/__tests__/OutputCodeBlock.test.js +69 -0
  31. data/webpack/JobInvocationDetail/__tests__/TemplateInvocation.test.js +131 -0
  32. data/webpack/JobInvocationDetail/__tests__/fixtures.js +130 -0
  33. data/webpack/JobInvocationDetail/index.js +18 -3
  34. data/webpack/JobWizard/JobWizard.js +38 -16
  35. data/webpack/JobWizard/{StartsBeforeErrorAlert.js → StartsErrorAlert.js} +16 -1
  36. data/webpack/JobWizard/steps/AdvancedFields/__tests__/AdvancedFields.test.js +1 -1
  37. data/webpack/JobWizard/steps/Schedule/ScheduleFuture.js +1 -1
  38. data/webpack/JobWizard/steps/Schedule/ScheduleRecurring.js +5 -3
  39. data/webpack/JobWizard/steps/Schedule/ScheduleType.js +1 -1
  40. data/webpack/JobWizard/steps/Schedule/__tests__/Schedule.test.js +3 -3
  41. data/webpack/JobWizard/steps/form/DateTimePicker.js +13 -0
  42. data/webpack/JobWizard/steps/form/Formatter.js +1 -0
  43. data/webpack/JobWizard/steps/form/ResourceSelect.js +34 -9
  44. data/webpack/Routes/routes.js +6 -0
  45. data/webpack/__mocks__/foremanReact/Root/Context/ForemanContext/index.js +1 -0
  46. data/webpack/react_app/components/RegistrationExtension/RexPull.js +27 -2
  47. data/webpack/react_app/components/TargetingHosts/components/HostStatus.js +1 -1
  48. metadata +15 -3
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: 14.1.4
4
+ version: 15.0.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-12-18 00:00:00.000000000 Z
11
+ date: 2025-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface
@@ -423,15 +423,27 @@ files:
423
423
  - test/unit/renderer_scope_input_test.rb
424
424
  - test/unit/targeting_test.rb
425
425
  - test/unit/template_invocation_input_value_test.rb
426
+ - webpack/JobInvocationDetail/JobAdditionInfo.js
426
427
  - webpack/JobInvocationDetail/JobInvocationActions.js
427
428
  - webpack/JobInvocationDetail/JobInvocationConstants.js
428
429
  - webpack/JobInvocationDetail/JobInvocationDetail.scss
429
430
  - webpack/JobInvocationDetail/JobInvocationHostTable.js
431
+ - webpack/JobInvocationDetail/JobInvocationHostTableToolbar.js
430
432
  - webpack/JobInvocationDetail/JobInvocationOverview.js
431
433
  - webpack/JobInvocationDetail/JobInvocationSelectors.js
432
434
  - webpack/JobInvocationDetail/JobInvocationSystemStatusChart.js
433
435
  - webpack/JobInvocationDetail/JobInvocationToolbarButtons.js
436
+ - webpack/JobInvocationDetail/OpenAlInvocations.js
437
+ - webpack/JobInvocationDetail/TemplateInvocation.js
438
+ - webpack/JobInvocationDetail/TemplateInvocationComponents/OutputCodeBlock.js
439
+ - webpack/JobInvocationDetail/TemplateInvocationComponents/OutputToggleGroup.js
440
+ - webpack/JobInvocationDetail/TemplateInvocationComponents/PreviewTemplate.js
441
+ - webpack/JobInvocationDetail/TemplateInvocationComponents/TemplateActionButtons.js
442
+ - webpack/JobInvocationDetail/TemplateInvocationPage.js
434
443
  - webpack/JobInvocationDetail/__tests__/MainInformation.test.js
444
+ - webpack/JobInvocationDetail/__tests__/OpenAlInvocations.test.js
445
+ - webpack/JobInvocationDetail/__tests__/OutputCodeBlock.test.js
446
+ - webpack/JobInvocationDetail/__tests__/TemplateInvocation.test.js
435
447
  - webpack/JobInvocationDetail/__tests__/fixtures.js
436
448
  - webpack/JobInvocationDetail/index.js
437
449
  - webpack/JobWizard/Footer.js
@@ -442,7 +454,7 @@ files:
442
454
  - webpack/JobWizard/JobWizardPageRerun.js
443
455
  - webpack/JobWizard/JobWizardSelectors.js
444
456
  - webpack/JobWizard/PermissionDenied.js
445
- - webpack/JobWizard/StartsBeforeErrorAlert.js
457
+ - webpack/JobWizard/StartsErrorAlert.js
446
458
  - webpack/JobWizard/__tests__/JobWizardPageRerun.test.js
447
459
  - webpack/JobWizard/__tests__/__snapshots__/integration.test.js.snap
448
460
  - webpack/JobWizard/__tests__/fixtures.js