Geo Replicables - SSF Bulk Actions UI
What does this MR do and why?
Closes #364729 (closed)
Implements !123758 (merged)
Modeled after similar implementations !122251 (merged) and !123067 (merged)
This change adds the Resync All and Reverify All Mutations to the Geo Replication views for SSF Replicables. SSF Replicables are served via GraphQL while legacy Replicables are still using REST or HAML/Rails.
This change is behind a feature flag :geo_registries_update_mutation
Important Context
This vue app currently has dual support for RESTful and GraphQL implementations. This can be seen by the usage of state.useGraphQl
throughout the directory.
All the RESTful code are artifacts of a fully removed API that is no longer accessible. This RESTful code is going to be fully removed and state.useGraphql
will be peeled back in the following issue: #219417 (closed). To try and keep this MR readable in the context of the current component structure the no longer usable RESTful code is being preserved for this change.
Screenshots or screen recordings
Resync All
Before | Action | After |
---|---|---|
Resync |
Reverify All
Before | Action | After |
---|---|---|
Reverify |
How to set up and validate locally
- Fetch and checkout this branch
- Setup Geo by following the 1-line installation in the Easy Installation section (How to setup Geo)
- Enable Feature Flag
Feature.enable(:geo_registries_update_mutation)
- Access your Secondary GDK UI
- Navigate to the Geo Replication View for Package Files (ex.
http://127.0.0.1:3001/admin/geo/sites/2/replication/package_files
) - Click either Resync all or Reverify all (and confirm modal)
- Wait a few minutes, refresh and ensure the appropriate timestamp is updated
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #364729 (closed)