rawlinp opened a new pull request #5270:
URL: https://github.com/apache/trafficcontrol/pull/5270


   ## What does this PR (Pull Request) do?
   Server capabilities do not apply to ORG servers (origins), so the
   validation needs to exclude them.
   
   - [x] This PR fixes #5268 
   
   ## Which Traffic Control components are affected by this PR?
   - Traffic Ops
   
   ## What is the best way to verify this PR?
   Verify the TO API tests pass.
   
   1. Create a topology with an ORG_LOC cachegroup with at least one server and 
an EDGE_LOC cachegroup with at least one server.
   2. Create and add a server capability to the server in the EDGE_LOC 
cachegroup.
   3. Assign a delivery service to the topology
   4. Add the capability from step 2 as a required capability on the delivery 
service (should succeed).
   
   ## If this is a bug fix, what versions of Traffic Control are affected?
   - master
   - 5.0.x
   
   ## The following criteria are ALL met by this PR
   - [x] This PR includes tests
   - [x] bug fix, no docs necessary
   - [x] unreleased bug, no changelog necessary
   - [x] This PR includes any and all required license headers
   - [x] This PR **DOES NOT FIX A SERIOUS SECURITY VULNERABILITY** (see [the 
Apache Software Foundation's security 
guidelines](https://www.apache.org/security/) for details)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to