Skip to content

Add internal api endpoint to toggle geo node status

Alex Ives requested to merge alexives/35913/add_geo_pause_api_endpoint into master

What does this MR do?

Add internal api endpoint to toggle geo node status

  • Add api endpoints to toggle replication
  • Remove enabled check in jwt auth, the check only ran for the status endpoint, and we actually may want an endpoint status even if it's paused.
  • Add helper method to geo node for use in upcoming MR

Relates to #35913 (closed)

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Alex Ives

Merge request reports

Loading