foreman_rh_cloud 12.2.0 → 12.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/rh_cloud/advisor_engine_config_controller.rb +1 -1
  3. data/app/controllers/api/v2/rh_cloud/cloud_request_controller.rb +3 -0
  4. data/app/controllers/api/v2/rh_cloud/inventory_controller.rb +3 -0
  5. data/app/controllers/concerns/foreman_rh_cloud/iop_smart_proxy_access.rb +28 -0
  6. data/app/controllers/concerns/insights_cloud/package_profile_upload_extensions.rb +1 -1
  7. data/app/controllers/foreman_inventory_upload/uploads_controller.rb +3 -0
  8. data/app/controllers/foreman_rh_cloud/foreman_rh_cloud_controller.rb +22 -0
  9. data/app/controllers/insights_cloud/api/machine_telemetries_controller.rb +19 -5
  10. data/app/controllers/insights_cloud/ui_requests_controller.rb +11 -0
  11. data/app/services/foreman_rh_cloud/cert_auth.rb +1 -1
  12. data/app/services/foreman_rh_cloud/cloud_request.rb +1 -1
  13. data/app/services/foreman_rh_cloud/cloud_request_forwarder.rb +1 -1
  14. data/app/services/foreman_rh_cloud/hit_remediations_retriever.rb +27 -10
  15. data/app/services/foreman_rh_cloud/url_remediations_retriever.rb +1 -1
  16. data/app/views/api/v2/hosts/insights/base.rabl +2 -2
  17. data/app/views/api/v2/hosts/insights/single.rabl +1 -1
  18. data/config/routes.rb +8 -14
  19. data/lib/foreman_inventory_upload/async/generate_all_reports_job.rb +2 -2
  20. data/lib/foreman_inventory_upload/async/upload_report_job.rb +1 -1
  21. data/lib/foreman_inventory_upload/generators/slice.rb +24 -0
  22. data/lib/foreman_rh_cloud/engine.rb +8 -131
  23. data/lib/foreman_rh_cloud/plugin.rb +150 -0
  24. data/lib/foreman_rh_cloud/version.rb +1 -1
  25. data/lib/foreman_rh_cloud.rb +5 -6
  26. data/lib/insights_cloud/async/insights_scheduled_sync.rb +2 -2
  27. data/lib/inventory_sync/async/inventory_hosts_sync.rb +1 -1
  28. data/lib/inventory_sync/async/inventory_scheduled_sync.rb +2 -2
  29. data/lib/tasks/insights.rake +1 -1
  30. data/lib/tasks/rh_cloud_inventory.rake +20 -2
  31. data/package.json +1 -1
  32. data/test/controllers/insights_cloud/api/machine_telemetries_controller_test.rb +20 -3
  33. data/test/controllers/insights_cloud/ui_requests_controller_test.rb +23 -0
  34. data/test/controllers/insights_sync/settings_controller_test.rb +1 -1
  35. data/test/factories/inventory_upload_factories.rb +4 -112
  36. data/test/jobs/inventory_scheduled_sync_test.rb +3 -3
  37. data/test/test_plugin_helper.rb +8 -2
  38. data/test/unit/rh_cloud_http_proxy_test.rb +3 -3
  39. data/test/unit/services/foreman_rh_cloud/cloud_request_forwarder_test.rb +4 -1
  40. data/test/unit/slice_generator_test.rb +33 -0
  41. data/test/unit/tags_generator_test.rb +4 -1
  42. data/webpack/CVEsHostDetailsTab/CVEsHostDetailsTab.js +2 -1
  43. data/webpack/CVEsHostDetailsTab/CVEsHostDetailsTab.scss +3 -0
  44. data/webpack/CveDetailsPage/CveDetailsPage.js +1 -1
  45. data/webpack/CveDetailsPage/CveDetailsPage.test.js +1 -3
  46. data/webpack/ForemanColumnExtensions/index.js +20 -15
  47. data/webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/PageDescription.js +23 -0
  48. data/webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/__tests__/PageDescription.test.js +2 -0
  49. data/webpack/ForemanRhCloudPages.js +1 -0
  50. data/webpack/InsightsCloudSync/Components/RemediationModal/RemediationHelpers.js +26 -4
  51. data/webpack/InsightsCloudSync/Components/RemediationModal/RemediationModal.js +85 -11
  52. data/webpack/InsightsCloudSync/Components/RemediationModal/RemediationModalFooter.js +39 -5
  53. data/webpack/InsightsCloudSync/Components/RemediationModal/Resolutions.js +13 -0
  54. data/webpack/InsightsCloudSync/InsightsCloudSync.js +9 -7
  55. data/webpack/InsightsHostDetailsTab/NewHostDetailsTab.js +16 -15
  56. data/webpack/InsightsVulnerability/InsightsVulnerabilityListPage.js +1 -1
  57. data/webpack/IopRecommendationDetails/IopRecommendationDetails.js +1 -11
  58. data/webpack/common/Hooks/ConfigHooks.js +1 -2
  59. data/webpack/common/styles.scss +7 -0
  60. metadata +6 -1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_rh_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.2.0
4
+ version: 12.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman Red Hat Cloud team
@@ -98,6 +98,7 @@ files:
98
98
  - app/controllers/api/v2/rh_cloud/advisor_engine_config_controller.rb
99
99
  - app/controllers/api/v2/rh_cloud/cloud_request_controller.rb
100
100
  - app/controllers/api/v2/rh_cloud/inventory_controller.rb
101
+ - app/controllers/concerns/foreman_rh_cloud/iop_smart_proxy_access.rb
101
102
  - app/controllers/concerns/insights_cloud/candlepin_cache.rb
102
103
  - app/controllers/concerns/insights_cloud/client_authentication.rb
103
104
  - app/controllers/concerns/insights_cloud/package_profile_upload_extensions.rb
@@ -110,6 +111,7 @@ files:
110
111
  - app/controllers/foreman_inventory_upload/tasks_controller.rb
111
112
  - app/controllers/foreman_inventory_upload/uploads_controller.rb
112
113
  - app/controllers/foreman_inventory_upload/uploads_settings_controller.rb
114
+ - app/controllers/foreman_rh_cloud/foreman_rh_cloud_controller.rb
113
115
  - app/controllers/insights_cloud/api/machine_telemetries_controller.rb
114
116
  - app/controllers/insights_cloud/hits_controller.rb
115
117
  - app/controllers/insights_cloud/settings_controller.rb
@@ -202,6 +204,7 @@ files:
202
204
  - lib/foreman_rh_cloud.rb
203
205
  - lib/foreman_rh_cloud/async/exponential_backoff.rb
204
206
  - lib/foreman_rh_cloud/engine.rb
207
+ - lib/foreman_rh_cloud/plugin.rb
205
208
  - lib/foreman_rh_cloud/version.rb
206
209
  - lib/insights_cloud.rb
207
210
  - lib/insights_cloud/async/cloud_connector_announce_task.rb
@@ -290,6 +293,7 @@ files:
290
293
  - test/unit/slice_generator_test.rb
291
294
  - test/unit/tags_generator_test.rb
292
295
  - webpack/CVEsHostDetailsTab/CVEsHostDetailsTab.js
296
+ - webpack/CVEsHostDetailsTab/CVEsHostDetailsTab.scss
293
297
  - webpack/CVEsHostDetailsTab/__tests__/CVEsHostDetailsTab.test.js
294
298
  - webpack/CVEsHostDetailsTab/index.js
295
299
  - webpack/CveDetailsPage/CveDetailsPage.js
@@ -660,6 +664,7 @@ files:
660
664
  - webpack/common/Switcher/__tests__/__snapshots__/HelpLabel.test.js.snap
661
665
  - webpack/common/Switcher/__tests__/__snapshots__/SwitcherPF4.test.js.snap
662
666
  - webpack/common/Switcher/index.js
667
+ - webpack/common/styles.scss
663
668
  - webpack/common/table/EmptyState.js
664
669
  - webpack/common/table/helpers.js
665
670
  - webpack/global_index.js