Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Update /cachegroups endpoints for Topologies #4570

Description

@zrhoffman

I'm submitting a ...

  • new feature / enhancement request

Description

The /cachegroups endpoints need to be updated to reflect the changes that having Topologies introduces.

Traffic Control components affected ...

  • Documentation
  • Traffic Ops

Acceptance Criteria

  • 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: #4537

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Opsrelated to Traffic Opsdocumentationrelated to documentationnew featureA new feature, capability or behavior

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions