## I'm submitting a ... <!-- (check all that apply with "[x]") --> - [x] new feature / enhancement request ## Description <!--- describe the new feature here--> The `/cachegroups` endpoints need to be updated to reflect the changes that having Topologies introduces. ## Traffic Control components affected ... <!-- (check all that apply with "[x]") --> - [x] Documentation - [x] Traffic Ops ## Acceptance Criteria <!--- What will the project look like when this is done? --> * `GET /cachegroups` supports `?topology={{topology}}` as a query parameter to retrieve all the Cachegroups that are used in a given Topology. * `DELETE /cachegroups` returns a useful error when trying to delete a Cachegroup that is currently used in a Topology. * `PUT /cachegroups` updates all foreign key references if `name` is updated. This is done automatically in the database via the FK references. The line See the Flexible Topologies PR for specifics: apache/trafficcontrol#4537
I'm submitting a ...
Description
The
/cachegroupsendpoints need to be updated to reflect the changes that having Topologies introduces.Traffic Control components affected ...
Acceptance Criteria
GET /cachegroupssupports?topology={{topology}}as a query parameter to retrieve all the Cachegroups that are used in a given Topology.DELETE /cachegroupsreturns a useful error when trying to delete a Cachegroup that is currently used in a Topology.PUT /cachegroupsupdates all foreign key references ifnameis updated. This is done automatically in the database via the FK references.The line
See the Flexible Topologies PR for specifics: #4537