Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api/{{version}/deliveryservices/{id}/health returns no info if the delivery service uses a topology #6827

Merged
merged 4 commits into from
May 23, 2022

Conversation

srijeet0406
Copy link
Contributor

Closes: #6271


Which Traffic Control components are affected by this PR?

  • Traffic Ops

What is the best way to verify this PR?

Run CDN-in-a-box.
Create two ds, one with and another without a valid topology.
Assign some "REPORTED" EDGE caches to the topology, and also do the same for the first DS (without topology).
Snap both the delivery services.
Make a call to GET deliveryservices/{id}/health for the both the DS's.
Make sure that both DS's show valid counts of online/ offline caches.

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

  • master

PR submission checklist

@srijeet0406 srijeet0406 added bug something isn't working as intended Traffic Ops related to Traffic Ops medium impact impacts a significant portion of a CDN, or has the potential to do so labels May 12, 2022
@ocket8888 ocket8888 self-assigned this May 20, 2022
@ocket8888 ocket8888 merged commit f039b78 into apache:master May 23, 2022
@asf-ci asf-ci mentioned this pull request Jun 1, 2022
4 tasks
zrhoffman pushed a commit to zrhoffman/trafficcontrol that referenced this pull request Oct 2, 2022
…delivery service uses a topology (apache#6827)

* initial changes

* add tests. changelog

* code review fixes

* return error as last param
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working as intended medium impact impacts a significant portion of a CDN, or has the potential to do so Traffic Ops related to Traffic Ops
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GET api/{version}/deliveryservices/{id}/health returns no info if delivery service uses a topology
2 participants