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.

TP: Remove calls to deprecated TO API endpoints #4235

Description

@mitchell852

I'm submitting a ...

  • bug report
  • new feature / enhancement request
  • improvement request (usability, performance, tech debt, etc.)
  • other

Traffic Control components affected ...

  • CDN in a Box
  • Documentation
  • Grove
  • Traffic Control Client
  • Traffic Monitor
  • Traffic Ops
  • Traffic Ops ORT
  • Traffic Portal
  • Traffic Router
  • Traffic Stats
  • Traffic Vault
  • unknown

Current behavior:

TP currently makes calls to API endpoints that will soon be deprecated with api 1.x. These calls need to be removed or changed to another suitable endpoint.

You can determine which calls TP makes to soon-to-be-deprecated api 1.x routes as they look like this:

$http.get(ENV.api['legacy']

API calls are made in the following services: https://github.com/apache/trafficcontrol/tree/master/traffic_portal/app/src/common/api

Expected / new behavior:

TP does not make any API calls to deprecated (legacy) endpoints.

Minimal reproduction of the problem with instructions:

Metadata

Metadata

Assignees

Labels

Traffic Portal v1related to Traffic Portal version 1tech debtrework due to choosing easy/limited solution

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