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.

API v5 client.CreateDeliveryServicesRequiredCapability 404s #7801

@zrhoffman

Description

@zrhoffman

This Bug Report affects these Traffic Control components:

  • Traffic Control Client - Go library
  • Traffic Ops - v5 API tests
  • CDN in a Box - enroller, Traffic Ops data

What did you do?

The enroller tried to create a DS required capability using client.CreateDeliveryServicesRequiredCapability (in API v5)

What did you expect to happen?

Capability is created

What actually happened?

error creating Delivery Services Required Capability: error requesting Traffic Ops: path 'https://trafficops.infra.ciab.test:443/api/5.0/deliveryservices_required_capabilities' gave HTTP error 404 Not Found - error-level alerts: The requested path '/api/5.0/deliveryservices_required_capabilities' does not exist.

It was removed from API v5 in #7224, so these client methods should be removed:
CreateDeliveryServicesRequiredCapability
DeleteDeliveryServicesRequiredCapability
GetDeliveryServicesRequiredCapabilities

And the places using them should be updated use Delivery Services directly.

infrastructure/cdn-in-a-box/enroller/enroller.go
traffic_ops/testing/api/v5/deliveryservices_required_capabilities_test.go

Metadata

Metadata

Assignees

No one assigned

    Labels

    TO Client (Go)related to the Go implementation of a TC clientTraffic Opsrelated to Traffic Opsbugsomething isn't working as intendedcache-configCache config generationcdn-in-a-boxrelated to the Docker-based CDN-in-a-Box systemtestsrelated to tests and/or testing infrastructure

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions