This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Topology based DS's + reqd capabilities + ORG servers should show ORG servers, alongwith the other servers when queried for the linked servers#5389
Merged
zrhoffman merged 12 commits intoapache:masterfrom Dec 22, 2020
Conversation
zrhoffman
suggested changes
Dec 21, 2020
zrhoffman
suggested changes
Dec 22, 2020
zrhoffman
approved these changes
Dec 22, 2020
ocket8888
pushed a commit
that referenced
this pull request
Jan 7, 2021
… servers, alongwith the other servers when queried for the linked servers (#5389) * wip * wip * modified query * adding test * Adding new test * adding test in the right file * refactoring * changing error msg * Adding changelog * code review fixes * code review fixes (cherry picked from commit bef0008)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR (Pull Request) do?
Which Traffic Control components are affected by this PR?
What is the best way to verify this PR?
Create a topology based DS with some required capabilities
Assign some ORG servers directly to this DS
Before the fix:
If you query for the servers of this DS using
GET /api/3.0/servers?dsId=<YOUR DS ID>, you will only get the edges and mids that are:1.) In the topology AND
2.) In the same CDN as the DS AND
3.) Have the server capabilities as specified in the DS
You will notice that the ORG servers DO NOT show up in the list.
After the fix:
If you perform the same steps, you will notice that the ORG servers also show up in the result now.
If this is a bug fix, what versions of Traffic Control are affected?
The following criteria are ALL met by this PR
Additional Information