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

Conversation

@zrhoffman
Copy link
Member

@zrhoffman zrhoffman commented Dec 19, 2023

This PR fixes #7887 by making GET /servers/{id}/deliveryservices exclude topology-based DSes that contain the server's cachegroup but are in a different CDN.


Which Traffic Control components are affected by this PR?

  • Traffic Ops

What is the best way to verify this PR?

Run tests

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

8.0.0 RC4

PR submission checklist

@zrhoffman zrhoffman added Traffic Ops related to Traffic Ops regression bug a bug in existing functionality introduced by a new version labels Dec 19, 2023
@codecov
Copy link

codecov bot commented Dec 19, 2023

Codecov Report

Attention: 5 lines in your changes are missing coverage. Please review.

Comparison is base (36e3ae1) 28.87% compared to head (cddff21) 31.83%.
Report is 1 commits behind head on master.

Files Patch % Lines
...ffic_ops_golang/deliveryservice/servers/servers.go 0.00% 5 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #7888      +/-   ##
============================================
+ Coverage     28.87%   31.83%   +2.95%     
  Complexity       98       98              
============================================
  Files           602      719     +117     
  Lines         77355    82731    +5376     
  Branches         90      970     +880     
============================================
+ Hits          22339    26339    +4000     
- Misses        52925    54234    +1309     
- Partials       2091     2158      +67     
Flag Coverage Δ
golib_unit 53.85% <ø> (ø)
grove_unit 12.02% <ø> (ø)
t3c_unit 5.88% <ø> (+0.11%) ⬆️
traffic_monitor_unit 25.47% <ø> (ø)
traffic_ops_integration 69.42% <ø> (ø)
traffic_ops_unit 21.67% <0.00%> (-0.01%) ⬇️
traffic_portal_v2 74.37% <ø> (?)
traffic_stats_unit 10.78% <ø> (ø)
unit_tests 29.15% <0.00%> (+3.46%) ⬆️
v3 57.79% <ø> (ø)
v4 79.18% <ø> (ø)
v5 78.58% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@kdamichie kdamichie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@zrhoffman zrhoffman merged commit 26ef01b into apache:master Dec 20, 2023
rimashah25 pushed a commit that referenced this pull request Jan 3, 2024
…es to ones in the same CDN (#7888)

(cherry picked from commit 26ef01b)
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.

GET /servers/{id}/deliveryservices includes topology-based DSes in other CDNs

2 participants