Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-25573

Wrong baseUrl from "All Services" page

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • Unset
    • No

      When I navigate from Consoledot's "All Services" page (stage-beta), the HCS UI uses the wrong base URL for its Axios requests.

      Bad baseUrl for API request

      Steps to reproduce
      1. Navigate to Cost Management
      2. Navigate to "All Services"
      3. Click on the HCS overview link
      4. HCS displays an error

      It appears that HCS is somehow using the old, base URL from Cost Management. There shouldn't be "cost-management" anywhere in the API request below.
      https://console.stage.redhat.com/api/cost-management/v1/authorization/hcsEnrollment

      The HCS UI is expected to request https://billing.qa.api.redhat.com/v1/authorization/hcsEnrollment

      That said, the "All Services" navigation works as expected upon a new login. That is, providing we don't navigate to another app, first

        1. API error.png
          33 kB
          Daniel Labrecque

            Unassigned Unassigned
            dlabrecq@redhat.com Daniel Labrecque
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: