Skip to content

Commit

Permalink
fix: switch to the proper URL for Red Hat's Hybrid Cloud Console
Browse files Browse the repository at this point in the history
The right hostname is console.redhat.com, rather than the deprecated
cloud.redhat.com. Also use the secure https for it instead of http.
  • Loading branch information
ptoscano authored and m-horky committed Aug 12, 2024
1 parent 9bcfc71 commit 4e82e27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/insights.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -520,9 +520,9 @@ export class InsightsStatus extends React.Component {

let url;
try {
url = "http://cloud.redhat.com/insights/inventory/" + this.state.host_details.results[0].id;
url = "https://console.redhat.com/insights/inventory/" + this.state.host_details.results[0].id;
} catch (err) {
url = "http://cloud.redhat.com/insights";
url = "https://console.redhat.com/insights";
}

let text;
Expand Down
2 changes: 1 addition & 1 deletion test/check-subscriptions
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ class TestSubscriptions(SubscriptionsCase):
with b.wait_timeout(600):
b.wait_not_present(".pf-c-modal-box")

b.wait_visible("#overview a[href='http://cloud.redhat.com/insights/inventory/123-nice-id']")
b.wait_visible("#overview a[href='https://console.redhat.com/insights/inventory/123-nice-id']")
b.wait_visible("#overview a:contains('3 hits, including important')")

# test system purpose
Expand Down

0 comments on commit 4e82e27

Please sign in to comment.