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

Conversation

@tcfdev
Copy link
Collaborator

@tcfdev tcfdev commented Jul 12, 2022

Closes: #6795

The API response incorrectly adds an additional response and alert wrapper. The API will now return a response as documented at /federations/{{id}}/federation_resolvers


Which Traffic Control components are affected by this PR?

  • Traffic Ops

What is the best way to verify this PR?

Federations can only be accessed via the API (or the client libraries). Attempt to POST a body with contents similar to:

{
	"fedResolverIds": [1],
	"replace": true
}

to the federations/{{id}}/federation_resolvers endpoint where the resolverIds matches existing resolvers and the {{id}} matches an existing federation.

If this is a bugfix, which Traffic Control versions contained the bug?

PR submission checklist

@mitchell852 mitchell852 added Traffic Ops related to Traffic Ops regression bug a bug in existing functionality introduced by a new version labels Jul 12, 2022
@ocket8888 ocket8888 self-assigned this Jul 13, 2022
@ocket8888
Copy link
Contributor

Looks like the APIv4 tests are expecting the wrapped format.

@ocket8888 ocket8888 merged commit da4456a into apache:master Jul 15, 2022
@asf-ci asf-ci mentioned this pull request Aug 1, 2022
4 tasks
zrhoffman pushed a commit to zrhoffman/trafficcontrol that referenced this pull request Oct 2, 2022
* Remove wrapper around response object

* Add CHANGELOG entry

Co-authored-by: Taylor Frey <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

regression bug a bug in existing functionality introduced by a new version Traffic Ops related to Traffic Ops

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect response from associating zero or more Federation Resolvers with a Federation

3 participants