Add support for cdn query parameter filter to GET /deliveryserviceserver route #6034
Labels
cache-config
Cache config generation
improvement
The functionality exists but it could be improved in some way.
performance
impacts/improves/measures performance
Traffic Ops
related to Traffic Ops
I'm submitting a ...
Traffic Control components affected ...
Current behavior:
The
GET /deliveryserviceserver
route does not support filtering by CDN.New behavior:
The
GET /deliveryserviceserver
route should have support for a?cdn=my-cdn-name
query parameter to filter the response by CDN. Once added, we should maket3c
use it to filter by CDN instead of requesting the entirety of ds-server assignments across all CDNs.t3c
has no need for ds-server assignments for CDNs outside of its own CDN, so this leads to unnecessary network bandwidth usage and database load.Minimal reproduction of the problem with instructions:
GET /deliveryserviceserver?cdn=my-cdn
, notice how it doesn't filter by the given CDN name.The text was updated successfully, but these errors were encountered: