foreman_rh_cloud 12.1.1 → 12.1.3
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.
- checksums.yaml +4 -4
- data/app/views/api/v2/hosts/insights/single.rabl +5 -0
- data/config/package-lock.json.plugin +4137 -3036
- data/config/routes.rb +1 -0
- data/db/seeds.d/200_features.rb +4 -0
- data/lib/foreman_inventory_upload/generators/tags.rb +4 -1
- data/lib/foreman_rh_cloud/engine.rb +39 -4
- data/lib/foreman_rh_cloud/version.rb +1 -1
- data/lib/insights_vulnerability.rb +2 -0
- data/lib/tasks/hybrid_cloud.rake +105 -37
- data/package.json +1 -1
- data/test/controllers/insights_cloud/api/cloud_request_controller_test.rb +1 -2
- data/test/unit/rh_cloud_http_proxy_test.rb +8 -0
- data/test/unit/tags_generator_test.rb +1 -0
- data/webpack/CVEsHostDetailsTab/CVEsHostDetailsTab.js +17 -0
- data/webpack/CVEsHostDetailsTab/__tests__/CVEsHostDetailsTab.test.js +18 -0
- data/webpack/CVEsHostDetailsTab/index.js +3 -0
- data/webpack/ForemanInventoryUpload/Components/InventorySettings/MinimalInventoryDropdown.js +1 -1
- data/webpack/ForemanRhCloudFills.js +11 -1
- data/webpack/ForemanRhCloudHelpers.js +3 -0
- data/webpack/ForemanRhCloudPages.js +7 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsLabel.js +40 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsSection.js +30 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsSection.scss +25 -0
- data/webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js +4 -6
- data/webpack/InsightsVulnerability/InsightsVulnerability.js +13 -0
- data/webpack/InsightsVulnerability/InsightsVulnerability.test.js +18 -0
- data/webpack/__tests__/ForemanRhCloudHelpers.test.js +30 -1
- data/webpack/__tests__/__snapshots__/ForemanRhCloudHelpers.test.js.snap +10 -0
- metadata +12 -1
@@ -1,3 +1,13 @@
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
2
2
|
|
3
3
|
exports[`ForemanRhCloud helpers should return foreman Url 1`] = `"MY_TEST_URL_PREFIX.example.com/test_path"`;
|
4
|
+
|
5
|
+
exports[`ForemanRhCloud helpers vulnerabilityDisabled returns false for RHEL host with vulnerability enabled 1`] = `false`;
|
6
|
+
|
7
|
+
exports[`ForemanRhCloud helpers vulnerabilityDisabled returns true for RHEL host with vulnerability disabled 1`] = `true`;
|
8
|
+
|
9
|
+
exports[`ForemanRhCloud helpers vulnerabilityDisabled returns true for missing hostDetails 1`] = `true`;
|
10
|
+
|
11
|
+
exports[`ForemanRhCloud helpers vulnerabilityDisabled returns true for missing vulnerability object 1`] = `true`;
|
12
|
+
|
13
|
+
exports[`ForemanRhCloud helpers vulnerabilityDisabled returns true for non-RHEL host 1`] = `true`;
|
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.1.
|
4
|
+
version: 12.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Foreman Red Hat Cloud team
|
@@ -144,6 +144,7 @@ files:
|
|
144
144
|
- app/views/api/v2/advisor_engine/host_details.json.rabl
|
145
145
|
- app/views/api/v2/hosts/insights/base.rabl
|
146
146
|
- app/views/api/v2/hosts/insights/insights.rabl
|
147
|
+
- app/views/api/v2/hosts/insights/single.rabl
|
147
148
|
- app/views/hosts/_insights_tab.html.erb
|
148
149
|
- app/views/job_templates/cloud_connector.erb
|
149
150
|
- app/views/job_templates/rh_cloud_download_playbook.erb
|
@@ -172,6 +173,7 @@ files:
|
|
172
173
|
- db/migrate/20241220184900_change_sync_insights_recommendations_to_true.rb
|
173
174
|
- db/seeds.d/179_ui_notifications.rb
|
174
175
|
- db/seeds.d/189_add_host_inventory_param.rb
|
176
|
+
- db/seeds.d/200_features.rb
|
175
177
|
- db/seeds.d/50_job_templates.rb
|
176
178
|
- lib/foreman_inventory_upload.rb
|
177
179
|
- lib/foreman_inventory_upload/async/async_helpers.rb
|
@@ -207,6 +209,7 @@ files:
|
|
207
209
|
- lib/insights_cloud/async/insights_scheduled_sync.rb
|
208
210
|
- lib/insights_cloud/async/rules_result.rb
|
209
211
|
- lib/insights_cloud/generators/playbook_progress_generator.rb
|
212
|
+
- lib/insights_vulnerability.rb
|
210
213
|
- lib/inventory_sync/async/host_result.rb
|
211
214
|
- lib/inventory_sync/async/inventory_full_sync.rb
|
212
215
|
- lib/inventory_sync/async/inventory_hosts_sync.rb
|
@@ -278,6 +281,9 @@ files:
|
|
278
281
|
- test/unit/shell_process_job_test.rb
|
279
282
|
- test/unit/slice_generator_test.rb
|
280
283
|
- test/unit/tags_generator_test.rb
|
284
|
+
- webpack/CVEsHostDetailsTab/CVEsHostDetailsTab.js
|
285
|
+
- webpack/CVEsHostDetailsTab/__tests__/CVEsHostDetailsTab.test.js
|
286
|
+
- webpack/CVEsHostDetailsTab/index.js
|
281
287
|
- webpack/ForemanInventoryUpload/Components/AccountList/AccountList.fixtures.js
|
282
288
|
- webpack/ForemanInventoryUpload/Components/AccountList/AccountList.js
|
283
289
|
- webpack/ForemanInventoryUpload/Components/AccountList/AccountList.stories.js
|
@@ -538,6 +544,9 @@ files:
|
|
538
544
|
- webpack/InsightsCloudSync/Components/InsightsSettings/__tests__/__snapshots__/InsightsSettingsSelectors.test.js.snap
|
539
545
|
- webpack/InsightsCloudSync/Components/InsightsSettings/index.js
|
540
546
|
- webpack/InsightsCloudSync/Components/InsightsSettings/insightsSettings.scss
|
547
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/InsightsLabel.js
|
548
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/InsightsSection.js
|
549
|
+
- webpack/InsightsCloudSync/Components/InsightsTable/InsightsSection.scss
|
541
550
|
- webpack/InsightsCloudSync/Components/InsightsTable/InsightsTable.js
|
542
551
|
- webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableActions.js
|
543
552
|
- webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js
|
@@ -599,6 +608,8 @@ files:
|
|
599
608
|
- webpack/InsightsHostDetailsTab/components/ListItem/ListItem.js
|
600
609
|
- webpack/InsightsHostDetailsTab/components/ListItem/index.js
|
601
610
|
- webpack/InsightsHostDetailsTab/index.js
|
611
|
+
- webpack/InsightsVulnerability/InsightsVulnerability.js
|
612
|
+
- webpack/InsightsVulnerability/InsightsVulnerability.test.js
|
602
613
|
- webpack/__mocks__/foremanReact/Root/Context/ForemanContext.js
|
603
614
|
- webpack/__mocks__/foremanReact/common/I18n.js
|
604
615
|
- webpack/__mocks__/foremanReact/common/MountingService.js
|