foreman_remote_execution 14.1.0 → 14.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/lib/foreman_remote_execution/engine.rb +1 -1
  3. data/lib/foreman_remote_execution/version.rb +1 -1
  4. data/lib/tasks/foreman_remote_execution_tasks.rake +3 -0
  5. data/test/benchmark/run_hosts_job_benchmark.rb +70 -0
  6. data/test/benchmark/targeting_benchmark.rb +31 -0
  7. data/test/factories/foreman_remote_execution_factories.rb +147 -0
  8. data/test/functional/api/v2/foreign_input_sets_controller_test.rb +58 -0
  9. data/test/functional/api/v2/job_invocations_controller_test.rb +446 -0
  10. data/test/functional/api/v2/job_templates_controller_test.rb +110 -0
  11. data/test/functional/api/v2/registration_controller_test.rb +73 -0
  12. data/test/functional/api/v2/remote_execution_features_controller_test.rb +34 -0
  13. data/test/functional/api/v2/template_invocations_controller_test.rb +33 -0
  14. data/test/functional/cockpit_controller_test.rb +16 -0
  15. data/test/functional/job_invocations_controller_test.rb +132 -0
  16. data/test/functional/job_templates_controller_test.rb +31 -0
  17. data/test/functional/ui_job_wizard_controller_test.rb +16 -0
  18. data/test/graphql/mutations/job_invocations/create_test.rb +58 -0
  19. data/test/graphql/queries/job_invocation_query_test.rb +31 -0
  20. data/test/graphql/queries/job_invocations_query_test.rb +35 -0
  21. data/test/helpers/remote_execution_helper_test.rb +46 -0
  22. data/test/support/remote_execution_helper.rb +5 -0
  23. data/test/test_plugin_helper.rb +9 -0
  24. data/test/unit/actions/run_host_job_test.rb +115 -0
  25. data/test/unit/actions/run_hosts_job_test.rb +214 -0
  26. data/test/unit/api_params_test.rb +25 -0
  27. data/test/unit/concerns/foreman_tasks_cleaner_extensions_test.rb +29 -0
  28. data/test/unit/concerns/host_extensions_test.rb +219 -0
  29. data/test/unit/concerns/nic_extensions_test.rb +9 -0
  30. data/test/unit/execution_task_status_mapper_test.rb +92 -0
  31. data/test/unit/input_template_renderer_test.rb +503 -0
  32. data/test/unit/job_invocation_composer_test.rb +974 -0
  33. data/test/unit/job_invocation_report_template_test.rb +60 -0
  34. data/test/unit/job_invocation_test.rb +232 -0
  35. data/test/unit/job_template_effective_user_test.rb +37 -0
  36. data/test/unit/job_template_test.rb +316 -0
  37. data/test/unit/remote_execution_feature_test.rb +86 -0
  38. data/test/unit/remote_execution_provider_test.rb +298 -0
  39. data/test/unit/renderer_scope_input_test.rb +49 -0
  40. data/test/unit/targeting_test.rb +206 -0
  41. data/test/unit/template_invocation_input_value_test.rb +38 -0
  42. metadata +39 -2
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.0
4
+ version: 14.1.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-11-06 00:00:00.000000000 Z
11
+ date: 2024-11-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface
@@ -385,6 +385,43 @@ files:
385
385
  - locale/zh_TW/LC_MESSAGES/foreman_remote_execution.mo
386
386
  - locale/zh_TW/foreman_remote_execution.po
387
387
  - package.json
388
+ - test/benchmark/run_hosts_job_benchmark.rb
389
+ - test/benchmark/targeting_benchmark.rb
390
+ - test/factories/foreman_remote_execution_factories.rb
391
+ - test/functional/api/v2/foreign_input_sets_controller_test.rb
392
+ - test/functional/api/v2/job_invocations_controller_test.rb
393
+ - test/functional/api/v2/job_templates_controller_test.rb
394
+ - test/functional/api/v2/registration_controller_test.rb
395
+ - test/functional/api/v2/remote_execution_features_controller_test.rb
396
+ - test/functional/api/v2/template_invocations_controller_test.rb
397
+ - test/functional/cockpit_controller_test.rb
398
+ - test/functional/job_invocations_controller_test.rb
399
+ - test/functional/job_templates_controller_test.rb
400
+ - test/functional/ui_job_wizard_controller_test.rb
401
+ - test/graphql/mutations/job_invocations/create_test.rb
402
+ - test/graphql/queries/job_invocation_query_test.rb
403
+ - test/graphql/queries/job_invocations_query_test.rb
404
+ - test/helpers/remote_execution_helper_test.rb
405
+ - test/support/remote_execution_helper.rb
406
+ - test/test_plugin_helper.rb
407
+ - test/unit/actions/run_host_job_test.rb
408
+ - test/unit/actions/run_hosts_job_test.rb
409
+ - test/unit/api_params_test.rb
410
+ - test/unit/concerns/foreman_tasks_cleaner_extensions_test.rb
411
+ - test/unit/concerns/host_extensions_test.rb
412
+ - test/unit/concerns/nic_extensions_test.rb
413
+ - test/unit/execution_task_status_mapper_test.rb
414
+ - test/unit/input_template_renderer_test.rb
415
+ - test/unit/job_invocation_composer_test.rb
416
+ - test/unit/job_invocation_report_template_test.rb
417
+ - test/unit/job_invocation_test.rb
418
+ - test/unit/job_template_effective_user_test.rb
419
+ - test/unit/job_template_test.rb
420
+ - test/unit/remote_execution_feature_test.rb
421
+ - test/unit/remote_execution_provider_test.rb
422
+ - test/unit/renderer_scope_input_test.rb
423
+ - test/unit/targeting_test.rb
424
+ - test/unit/template_invocation_input_value_test.rb
388
425
  - webpack/JobInvocationDetail/JobInvocationActions.js
389
426
  - webpack/JobInvocationDetail/JobInvocationConstants.js
390
427
  - webpack/JobInvocationDetail/JobInvocationDetail.scss