From 852dbf29197bfd9099ad67bf5bda385629418056 Mon Sep 17 00:00:00 2001 From: Ron Lavi <1ronlavi@gmail.com> Date: Thu, 11 Jan 2024 10:21:36 +0000 Subject: [PATCH] Add a better documentation link to inventory upload page --- .../PageHeader/__tests__/__snapshots__/PageTitle.test.js.snap | 2 +- webpack/ForemanInventoryUpload/ForemanInventoryHelpers.js | 2 +- .../__snapshots__/ForemanInventoryHelpers.test.js.snap | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/__snapshots__/PageTitle.test.js.snap b/webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/__snapshots__/PageTitle.test.js.snap index 345dbce1..6ae9ad6c 100644 --- a/webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/__snapshots__/PageTitle.test.js.snap +++ b/webpack/ForemanInventoryUpload/Components/PageHeader/__tests__/__snapshots__/PageTitle.test.js.snap @@ -31,7 +31,7 @@ exports[`PageTitle rendering render without Props 1`] = ` Actions history , diff --git a/webpack/ForemanInventoryUpload/ForemanInventoryHelpers.js b/webpack/ForemanInventoryUpload/ForemanInventoryHelpers.js index 0630a644..e7a2017e 100644 --- a/webpack/ForemanInventoryUpload/ForemanInventoryHelpers.js +++ b/webpack/ForemanInventoryUpload/ForemanInventoryHelpers.js @@ -7,7 +7,7 @@ export const inventoryUrl = path => export const getInventoryDocsUrl = () => foremanUrl( `/links/manual/?root_url=${URI.encode( - 'https://access.redhat.com/products/subscription-central' + 'https://access.redhat.com/documentation/en-us/red_hat_insights/2023/html/red_hat_insights_remediations_guide/host-communication-with-insights_red-hat-insights-remediation-guide#uploading-satellite-host-inventory-to-insights_configuring-satellite-cloud-connector' )}` ); diff --git a/webpack/ForemanInventoryUpload/__tests__/__snapshots__/ForemanInventoryHelpers.test.js.snap b/webpack/ForemanInventoryUpload/__tests__/__snapshots__/ForemanInventoryHelpers.test.js.snap index 34571262..d0238758 100644 --- a/webpack/ForemanInventoryUpload/__tests__/__snapshots__/ForemanInventoryHelpers.test.js.snap +++ b/webpack/ForemanInventoryUpload/__tests__/__snapshots__/ForemanInventoryHelpers.test.js.snap @@ -2,4 +2,4 @@ exports[`ForemanInventoryUpload helpers should return inventory Url 1`] = `"/foreman_inventory_upload/test_path"`; -exports[`ForemanInventoryUpload helpers should return inventory docs url 1`] = `"/links/manual/?root_url=https%3A%2F%2Faccess.redhat.com%2Fproducts%2Fsubscription-central"`; +exports[`ForemanInventoryUpload helpers should return inventory docs url 1`] = `"/links/manual/?root_url=https%3A%2F%2Faccess.redhat.com%2Fdocumentation%2Fen-us%2Fred_hat_insights%2F2023%2Fhtml%2Fred_hat_insights_remediations_guide%2Fhost-communication-with-insights_red-hat-insights-remediation-guide%23uploading-satellite-host-inventory-to-insights_configuring-satellite-cloud-connector"`;