WIP: Add routes.pod_id and implement automatic pod redirection
What does this MR do and why?
Simple demo of how the redirection and caching logic should work in Rails for Pods as described in !97320 (merged) . This is based on this POC !99132 (closed) and adds only:
-
routes.pod_id
column - Model logic to persist the current pod as
routes.pod_id
when creating these - Rack middleware to set headers based on which pod should be serving a request
Screenshots or screen recordings
How to set up and validate locally
Same instructions as !99132 (closed)
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.
Edited by Dylan Griffith