• 8
    • ACM Console Sprint 254

      User story:

      Base implementation of new cluster list

      Acceptance criteria:

      • Fetches and displays clusters from all regions listed in https://api.stage.openshift.com/static/ocm-shards.json (including the existing "commercial" us-east-1 endpoint)
      • Data is aggregated from cluster service and AMS (clusters and subscriptions)
      • All the same columns as the existing cluster list
      • All filtering and sorting options are hidden or disabled
      • Cluster link may not be fully functional

      Out of Scope

      • Sorting of table
      • Pagination of table
      • Filtering of table
      • Searching for specific clusters in table
      • Refresh/polling handling
      • Archived cluster list
      • Conversion to TSX
      • Addition of new unit tests
      • Conversion from class to functional component
      • Change to new PF table

       
      NOTE:
      In order to view the new cluster cluster list, you will need the feature gate enabled (see OCMUI-1758 ) and have the "?multiregion=true" flag at the end of the URL. So for example https://console.dev.redhat.com/openshift?multiregion=true
      -------------------------------------------------------------------------------------------------------------------------------

      Implementation details

      Major tasks:

      • Evaluate the POC code to see what can be re-used
      • Determine where data is from and fetch using React Query
      • Copy list component (so not to interfere with existing code)
      • List all clusters (multi-region and global) in a single table 
      • Hide filtering
      • Hide pagination
      • Load list only on component load (aka no polling)
      • Hide view cluster archives link
      • Turn off sorting
      • Turn off cluster actions
      • Implement some type of initial loading icon
      • Verify that the register cluster button/functionality works (it should). This is currently hidden until filtering/sorting is enabled

       

            kdoberst Kim Doberstein
            rh-ee-kcormier Kevin Cormier
            Vitor Graziano Vitor Graziano (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: