Skip to content

Geo Sites - Update API Paths

Zack Cuddy requested to merge 411486-update-geo-api-paths into master

What does this MR do and why?

Resolves #411486

We have deprecated and renamed the Geo Sites URL from geo_nodes => geo_sites as part of #369140. Naturally, due to our v4 API version we support both concurrently. However, now that the API is fully functional we should update our codebase to use the non-deprecated one.

This change updates the API file to call the correct API and validates all functionality remains.

Screenshots or screen recordings

Before After (No Change)
Screenshot_2025-01-07_at_1.18.38_PM Screenshot_2025-01-07_at_1.18.18_PM

How to set up and validate locally

Setup Geo (optional)

Important: To properly test Geo you will need a separate GDK setup. Setup is straightforward but takes some time. Another option is to validate the code functionally and if needed schedule a call to sync and I can screen share my instance.

  1. Ensure no other GDKs are running. gdk stop/gdk kill
  2. Open an empty directory and install and run Geo with the one-line command found on the Easy installation instructions
  3. Access your primary and secondary Geo instances via 127.0.0.1:3000 and 127.0.0.1:3001.

Testing

  1. Access your primary GDK Geo Page (127.0.0.1:3000/admin/geo)
  2. Ensure page loads and that network tab is routing the API requests to geo_sites URL.

Related to #411486

Edited by Zack Cuddy

Merge request reports

Loading