foreman_rh_cloud 4.0.25.1 → 5.0.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/api/v2/rh_cloud/inventory_controller.rb +4 -1
- data/app/controllers/concerns/inventory_upload/report_actions.rb +1 -1
- data/app/controllers/foreman_inventory_upload/reports_controller.rb +1 -1
- data/app/controllers/insights_cloud/api/machine_telemetries_controller.rb +8 -0
- data/app/controllers/insights_cloud/hits_controller.rb +1 -1
- data/app/models/insights_hit.rb +4 -0
- data/app/models/setting/rh_cloud.rb +0 -1
- data/app/models/task_output_line.rb +2 -0
- data/app/models/task_output_status.rb +2 -0
- data/app/services/foreman_rh_cloud/cloud_request_forwarder.rb +14 -2
- data/config/Gemfile.lock.gh_test +169 -152
- data/config/database.yml.example +2 -2
- data/config/package-lock.json.plugin +10551 -7500
- data/config/routes.rb +1 -1
- data/db/migrate/20211027000001_create_task_output.foreman_rh_cloud.rb +18 -0
- data/lib/foreman_inventory_upload/async/generate_all_reports_job.rb +11 -7
- data/lib/foreman_inventory_upload/async/generate_report_job.rb +24 -12
- data/lib/foreman_inventory_upload/async/progress_output.rb +5 -28
- data/lib/foreman_inventory_upload/async/queue_for_upload_job.rb +20 -5
- data/lib/foreman_inventory_upload/async/shell_process.rb +17 -4
- data/lib/foreman_inventory_upload/async/upload_report_job.rb +22 -13
- data/lib/foreman_inventory_upload/generators/queries.rb +1 -0
- data/lib/foreman_inventory_upload/generators/tags.rb +1 -2
- data/lib/foreman_rh_cloud/engine.rb +4 -10
- data/lib/foreman_rh_cloud/version.rb +1 -1
- data/lib/foreman_rh_cloud.rb +12 -1
- data/lib/insights_cloud/async/insights_client_status_aging.rb +4 -0
- data/lib/insights_cloud/async/insights_full_sync.rb +4 -0
- data/lib/insights_cloud/async/insights_generate_notifications.rb +4 -0
- data/lib/insights_cloud/async/insights_resolutions_sync.rb +7 -2
- data/lib/insights_cloud/async/insights_rules_sync.rb +10 -2
- data/lib/insights_cloud/async/insights_scheduled_sync.rb +11 -7
- data/lib/inventory_sync/async/host_result.rb +0 -5
- data/lib/inventory_sync/async/inventory_full_sync.rb +18 -9
- data/lib/inventory_sync/async/inventory_hosts_sync.rb +6 -6
- data/lib/inventory_sync/async/inventory_scheduled_sync.rb +4 -0
- data/lib/inventory_sync/async/inventory_self_host_sync.rb +4 -0
- data/lib/inventory_sync/async/query_inventory_job.rb +4 -0
- data/lib/tasks/rh_cloud_inventory.rake +2 -2
- data/package.json +8 -13
- data/test/controllers/insights_cloud/api/machine_telemetries_controller_test.rb +16 -39
- data/test/controllers/insights_sync/settings_controller_test.rb +2 -2
- data/test/controllers/uploads_settings_controller_test.rb +2 -2
- data/test/factories/inventory_upload_factories.rb +14 -0
- data/test/jobs/insights_full_sync_test.rb +2 -2
- data/test/jobs/insights_resolutions_sync_test.rb +11 -2
- data/test/jobs/insights_rules_sync_test.rb +2 -2
- data/test/jobs/inventory_full_sync_test.rb +31 -5
- data/test/jobs/inventory_hosts_sync_test.rb +16 -1
- data/test/jobs/inventory_scheduled_sync_test.rb +2 -2
- data/test/jobs/inventory_self_host_sync_test.rb +1 -1
- data/test/jobs/upload_report_job_test.rb +6 -4
- data/test/test_plugin_helper.rb +0 -2
- data/test/unit/foreman_rh_cloud_self_host_test.rb +28 -0
- data/test/unit/rh_cloud_http_proxy_test.rb +1 -1
- data/test/unit/services/foreman_rh_cloud/branch_info_test.rb +1 -1
- data/test/unit/services/foreman_rh_cloud/cloud_request_forwarder_test.rb +26 -0
- data/test/unit/services/foreman_rh_cloud/template_renderer_helper_test.rb +1 -1
- data/test/unit/shell_process_job_test.rb +3 -1
- data/test/unit/slice_generator_test.rb +39 -7
- data/test/unit/tags_generator_test.rb +20 -20
- data/webpack/ForemanInventoryUpload/Components/AccountList/accountList.scss +8 -0
- data/webpack/ForemanInventoryUpload/Components/PageHeader/PageHeader.scss +17 -4
- data/webpack/ForemanInventoryUpload/Components/PageHeader/PageTitle.js +29 -17
- data/webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/__snapshots__/PageTitle.test.js.snap +58 -47
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/PageDescription.js +12 -10
- data/webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/__tests__/__snapshots__/PageDescription.test.js.snap +10 -10
- data/webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/__tests__/__snapshots__/InventoryAutoUpload.test.js.snap +1 -1
- data/webpack/ForemanRhCloudFills.js +7 -0
- data/webpack/InsightsCloudSync/Components/InsightsHeader/index.js +0 -2
- data/webpack/InsightsCloudSync/Components/InsightsSettings/insightsSettings.scss +1 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsTable.js +22 -6
- data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableActions.js +23 -16
- data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js +49 -2
- data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableHelpers.js +31 -14
- data/webpack/InsightsCloudSync/Components/InsightsTable/__tests__/__snapshots__/InsightsTable.test.js.snap +19 -2
- data/webpack/InsightsCloudSync/Components/InsightsTable/__tests__/__snapshots__/InsightsTableActions.test.js.snap +0 -1
- data/webpack/InsightsCloudSync/Components/InsightsTable/table.scss +11 -13
- data/webpack/InsightsCloudSync/Components/RemediationModal/RemediationModal.scss +0 -14
- data/webpack/InsightsCloudSync/Components/ToolbarDropdown.js +13 -0
- data/webpack/InsightsCloudSync/Components/__tests__/__snapshots__/InsightsHeader.test.js.snap +0 -1
- data/webpack/InsightsCloudSync/Components/__tests__/__snapshots__/NoTokenEmptyState.test.js.snap +24 -13
- data/webpack/InsightsCloudSync/InsightsCloudSync.js +2 -0
- data/webpack/InsightsCloudSync/InsightsCloudSyncHelpers.js +8 -0
- data/webpack/InsightsCloudSync/__snapshots__/InsightsCloudSync.test.js.snap +2 -1
- data/webpack/InsightsHostDetailsTab/InsightsTab.scss +4 -0
- data/webpack/InsightsHostDetailsTab/NewHostDetailsTab.js +104 -0
- data/webpack/__mocks__/foremanReact/components/Head.js +11 -0
- data/webpack/common/DropdownToggle.js +24 -0
- data/webpack/common/Switcher/HelpLabel.js +1 -1
- data/webpack/common/Switcher/__tests__/__snapshots__/HelpLabel.test.js.snap +1 -1
- data/webpack/common/Switcher/__tests__/__snapshots__/SwitcherPF4.test.js.snap +1 -0
- metadata +11 -3
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_rh_cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 5.0.29
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Foreman Red Hat Cloud team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: katello
|
@@ -158,6 +158,8 @@ files:
|
|
158
158
|
- app/models/insights_rule.rb
|
159
159
|
- app/models/inventory_sync/inventory_status.rb
|
160
160
|
- app/models/setting/rh_cloud.rb
|
161
|
+
- app/models/task_output_line.rb
|
162
|
+
- app/models/task_output_status.rb
|
161
163
|
- app/overrides/hosts_list.rb
|
162
164
|
- app/overrides/layouts/base/styles.html.erb.deface
|
163
165
|
- app/services/foreman_rh_cloud/branch_info.rb
|
@@ -188,6 +190,7 @@ files:
|
|
188
190
|
- db/migrate/20210307000001_add_unique_to_insights_facet.foreman_rh_cloud.rb
|
189
191
|
- db/migrate/20210404000001_change_resolutions.foreman_rh_cloud.rb
|
190
192
|
- db/migrate/20210720000001_remove_old_insights_statuses.foreman_rh_cloud.rb
|
193
|
+
- db/migrate/20211027000001_create_task_output.foreman_rh_cloud.rb
|
191
194
|
- db/seeds.d/179_ui_notifications.rb
|
192
195
|
- db/seeds.d/50_job_templates.rb
|
193
196
|
- lib/foreman_inventory_upload.rb
|
@@ -255,6 +258,7 @@ files:
|
|
255
258
|
- test/test_plugin_helper.rb
|
256
259
|
- test/unit/archived_report_generator_test.rb
|
257
260
|
- test/unit/fact_helpers_test.rb
|
261
|
+
- test/unit/foreman_rh_cloud_self_host_test.rb
|
258
262
|
- test/unit/insights_facet_test.rb
|
259
263
|
- test/unit/metadata_generator_test.rb
|
260
264
|
- test/unit/rh_cloud_http_proxy_test.rb
|
@@ -591,6 +595,7 @@ files:
|
|
591
595
|
- webpack/InsightsHostDetailsTab/InsightsTabConstants.js
|
592
596
|
- webpack/InsightsHostDetailsTab/InsightsTabReducer.js
|
593
597
|
- webpack/InsightsHostDetailsTab/InsightsTabSelectors.js
|
598
|
+
- webpack/InsightsHostDetailsTab/NewHostDetailsTab.js
|
594
599
|
- webpack/InsightsHostDetailsTab/__tests__/InsightsTab.fixtures.js
|
595
600
|
- webpack/InsightsHostDetailsTab/__tests__/InsightsTab.test.js
|
596
601
|
- webpack/InsightsHostDetailsTab/__tests__/InsightsTabActions.test.js
|
@@ -608,6 +613,7 @@ files:
|
|
608
613
|
- webpack/__mocks__/foremanReact/common/I18n.js
|
609
614
|
- webpack/__mocks__/foremanReact/common/MountingService.js
|
610
615
|
- webpack/__mocks__/foremanReact/common/helpers.js
|
616
|
+
- webpack/__mocks__/foremanReact/components/Head.js
|
611
617
|
- webpack/__mocks__/foremanReact/components/Layout/LayoutConstants.js
|
612
618
|
- webpack/__mocks__/foremanReact/components/Layout/LayoutSelectors.js
|
613
619
|
- webpack/__mocks__/foremanReact/constants.js
|
@@ -623,6 +629,7 @@ files:
|
|
623
629
|
- webpack/__tests__/__snapshots__/ForemanRhCloudHelpers.test.js.snap
|
624
630
|
- webpack/__tests__/__snapshots__/ForemanRhCloudSelectors.test.js.snap
|
625
631
|
- webpack/__tests__/__snapshots__/ForemanRhCloudTestHelpers.test.js.snap
|
632
|
+
- webpack/common/DropdownToggle.js
|
626
633
|
- webpack/common/ForemanTasks/ForemanTasksActions.js
|
627
634
|
- webpack/common/ForemanTasks/ForemanTasksHelpers.js
|
628
635
|
- webpack/common/ForemanTasks/index.js
|
@@ -657,7 +664,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
657
664
|
- !ruby/object:Gem::Version
|
658
665
|
version: '0'
|
659
666
|
requirements: []
|
660
|
-
rubygems_version: 3.2.
|
667
|
+
rubygems_version: 3.2.22
|
661
668
|
signing_key:
|
662
669
|
specification_version: 4
|
663
670
|
summary: Summary of ForemanRhCloud.
|
@@ -685,6 +692,7 @@ test_files:
|
|
685
692
|
- test/test_plugin_helper.rb
|
686
693
|
- test/unit/archived_report_generator_test.rb
|
687
694
|
- test/unit/fact_helpers_test.rb
|
695
|
+
- test/unit/foreman_rh_cloud_self_host_test.rb
|
688
696
|
- test/unit/insights_facet_test.rb
|
689
697
|
- test/unit/metadata_generator_test.rb
|
690
698
|
- test/unit/rh_cloud_http_proxy_test.rb
|