-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
Quality / Stability / Reliability
-
3
-
False
-
-
True
-
OCMUI-3192 - Doc base 'access.redhat.com' has already been sunsetted
-
-
-
3
-
OCMUI Core Sprint 276, OCMUI Core Sprint 277, OCMUI Team Sprint 278
rhn-support-aldiaz wrote:
"The Customer Portal docs that were hosted at access.redhat.com has already been sunsetted in favor of docs.redhat.com. Short version is that docs.redhat.com should be our main docs site for any and all docs and links to docs."
To that end, the OCMUI team needs to:
- Identify all 'access.redhat.com' urls used in OCMUI, in and outside of our main 'src/common/installLinks.mjs' file.
- Consolidate 'access.redhat.com' urls into single source for easy testing.
- Test and determine which ones result in 404s
- If necessary, contact the decommissioning team as outlined in this epic.
Should we consolidate into src/common/installLinks.mjs, or a new file such as docLinks.mjs ?
Occurrences of "access.redhat.com" outside of installLinks.mjs
- Note: this includes fixtures and unit tests, not sure if that is a separate task/story.
Directory: /Users/dtaylor/repos/uhc-portal/src/
File Mask: *.tsx, *.ts, *.jsx, *.js
Total Usages Found: 99
1. Usages in Comments (2 occurrences)
File: src/types/insights-results-aggregator.v1/index.ts
- Line 442: Disable. Knowledgebase Article
File: src/types/insights-results-aggregator.v2/index.ts
- Line 699: Disable. Knowledgebase Article
2. Usages in String Constants (97 occurrences)
Common Errors (1 occurrence)
File: src/common/errors.ts
- Line 51: Learn more: https://access.redhat.com/articles/1340183
Test Fixtures (1 occurrence)
File: src/common/{}tests{}/MarkdownParser.fixtures.ts
- Line 2: scope <a href="https://{}access.redhat.com{}/support/offerings/techpreview">here</a>
Cluster Login (5 occurrences)
File: src/components/CLILoginPage/TokenUtils.ts
- Line 35: url: ['\\\\\{*}access.redhat.com\\\\\{*}', 'prod.foo.redhat.com', 'cloud.redhat.com', 'console.redhat.com']
- Line 37: portal: 'https://access.redhat.com'
- Line 62: portal: 'https://access.redhat.com'
- Line 67: portal: 'https://access.redhat.com'
- Line 72: portal: 'https://access.redhat.com'
Cluster Details & Support Cases (Multiple occurrences)
- Cluster Details Multi-Region:
-
- src/components/clusters/ClusterDetailsMultiRegion/{}tests{}/ClusterDetails.fixtures.js (1 occurrence)
- src/components/clusters/ClusterDetailsMultiRegion/components/AddOns/{}tests{}/AddOns.fixtures.jsx (3 occurrences)
- src/components/clusters/ClusterDetailsMultiRegion/components/AddOns/AddOnsDrawer/AddOnsDrawerFailedBox.jsx (1 occurrence)
- src/components/clusters/ClusterDetailsMultiRegion/components/Support/components/SupportCasesCardHelper.tsx (2 occurrences)
- src/components/clusters/ClusterDetailsMultiRegion/components/ClusterLogs/LogTable.test.tsx (3 occurrences)
- src/components/clusters/ClusterDetailsMultiRegion/components/Overview/DetailsRight/DetailsRight.test.jsx (3 occurrences)
- src/components/clusters/ClusterDetailsMultiRegion/components/ClusterDetailsTop/components/ExpirationAlert.tsx (1 occurrence)
- src/components/clusters/ClusterDetailsMultiRegion/components/ClusterDetailsTop/components/TransferClusterOwnershipInfo.tsx (1 occurrence)
- Cluster List:
-
- src/components/clusters/ClusterListMultiRegion/components/ClusterCreatedIndicator.jsx (1 occurrence)
- src/components/clusters/ClusterListMultiRegion/components/ClusterListTable.jsx (1 occurrence)
Upgrade & Subscription Management (Multiple occurrences)
- Upgrade Handling:
-
- src/components/clusters/common/Upgrades/UpgradeAcknowledge/{}tests{}/UpgradeAcknowledgeHelpers.test.ts (11 occurrences)
- src/components/clusters/common/Upgrades/UpgradeSettingsFields.jsx (1 occurrence)
- src/components/clusters/wizards/common/ClusterUpdates.tsx (1 occurrence)
- src/components/clusters/wizards/rosa/common/Upgrades/UpgradeSettingsFields.jsx (1 occurrence)
- Subscription Management:
-
- src/components/clusters/common/EditSubscriptionSettingsDialog/EditSubscriptionSettingsFields/components/SupportLevelLabel.tsx (1 occurrence)
- src/components/clusters/common/TransferClusterOwnershipDialog/TransferClusterOwnershipDialog.tsx (1 occurrence)
Security & Policies (Multiple occurrences)
- Security & Patch Policies:
-
- src/components/clusters/wizards/common/ClusterSettings/Details/VersionSelectField.fixtures.ts (2 occurrences)
- src/components/clusters/wizards/rosa/ClusterSettings/VersionSelection.fixtures.ts (2 occurrences)
- src/components/clusters/install/instructions/components/TokenErrorAlert.jsx (1 occurrence)
- src/components/clusters/common/Upgrades/UpgradeAcknowledge/{}tests{}/UpgradeAcknowledgeHelpers.test.ts (11 occurrences)
- Errata & Lifecycle Policies:
-
- src/components/releases/{}mocks{}/ocpReleases.ts (30 occurrences)
- src/services/productLifeCycleService.ts (1 occurrence)
Summary
- Total occurrences of "access.redhat.com": 99
- Comment references: 2
- String constants: 97
- Most occurrences in:
- src/components/releases/{}mocks{}/ocpReleases.ts (30 usages)
- src/components/clusters/common/Upgrades/UpgradeAcknowledgeHelpers.test.ts (11 usages)
- is cloned by
-
OCMUI-3744 Move support and doc links from installLinks.mjs into other link files
-
- To Do
-
- is depended on by
-
OCMUI-3744 Move support and doc links from installLinks.mjs into other link files
-
- To Do
-
- is duplicated by
-
OCMUI-1976 replace all https://access.redhat.com/documentation links to https://docs.redhat.com/en/documentation
-
- Closed
-
- links to