-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
8
-
False
-
-
False
-
XCMSTRAT-589 - [Internal Preview] OCM console can connect to regional OCM instances to manage cluster lifecycle
-
-
-
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
- blocks
-
OCMUI-1634 Cluster list can show all clusters (pagination)
-
- Closed
-
-
OCMUI-1633 Cluster list queries only regions with data
-
- Closed
-
- depends on
-
OCMUI-1793 Set the API page size for the multi-regional cluster list calls to 500
-
- Closed
-
- is blocked by
-
OCMUI-1697 Convert ClusterList to functional component and use PF tables
-
- Closed
-
- is depended on by
-
OCMUI-1635 Cluster list can be sorted
-
- Closed
-
-
OCMUI-1636 Cluster list filtering
-
- Closed
-
-
OCMUI-1638 Cluster list filtering by region
-
- Closed
-
-
OCMUI-1640 Cluster list data currency (refetch data)
-
- Closed
-
-
OCMUI-1784 MultiRegion Cluster List - warn users if a large number of clusters is expected
-
- Closed
-
- links to
- mentioned on