Geo Sites - Update API Paths
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) |
---|---|
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.
- Ensure no other GDKs are running.
gdk stop/gdk kill
- Open an empty directory and install and run Geo with the one-line command found on the Easy installation instructions
- Access your primary and secondary Geo instances via
127.0.0.1:3000
and127.0.0.1:3001
.
Testing
- Access your primary GDK Geo Page (
127.0.0.1:3000/admin/geo
) - Ensure page loads and that network tab is routing the API requests to
geo_sites
URL.
Related to #411486
Edited by Zack Cuddy