Geo Replicable - Only request verification info if verification is enabled
What / Why
Follow up to #385753 (closed)
Related thread: #385753 (comment 1212972356)
Currently in the Geo Replicable UI we request verification info via GraphQL from every Registry regardless if the Registry supports verification. Requesting this data throws an error and fails the request due to the verification data not existing on non-supported Registries.
The workaround currently is to define empty verification methods on the Registries to get the GraphQL request to pass. Additionally the UI will then say Last verified: Unknown
.
Currently (2022-01-04) the following Registries that don't support verification and are using this workaround are:
Proposal
- Expose
verification_enabled?
toee/geo/replicables/index.html.haml
- Remove "dummy methods" from registries that have no verification
- Add logic GraphQL request to not fetch verification keys if verification enabled is false
- Add UI elements to express verification is disabled in the UI
cc/ @vsizov @dbalexandre @juan-silva this is the follow up issue we discussed in the Geo Scheduling call on 2022-01-03