Skip to content

Geo Sites - Generalize Summary Counts

Zack Cuddy requested to merge 373303-generic-geo-replication-counts into master

What does this MR do and why?

Closes #373303 (closed)

This change generalizes the Geo Sites Replication Summary Counts. Currently the counts were hard coded to two Data Types Git and File. We are adding a 3rd data type as part of !93690 (merged)

This change abstracts the array of data types and counts into a getter that then derives the information fully from the data rather than by hard coding the "dataTypes". This will allow us to add new data types without any new Frontend changes.

Screenshots or screen recordings

Before After
Counts Counts_-_Before Counts_-_After
List List_-_Before List_-_After

How to set up and validate locally

  1. Fetch and checkout this branch
  2. Setup Geo and access your Primary GDK (How to setup Geo)
  3. Go to the Geo Sites page (admin/geo/sites)
  4. Scroll to the secondary sites replication details
  5. Ensure you see Git, Container repository, and File in the Replication Summary Box
  6. Ensure the Component Container Repositories has a Data Type of Container repository in the list view

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #373303 (closed)

Edited by Zack Cuddy

Merge request reports