rawlinp opened a new pull request #4011: Implement GET /api/1.1/roles handler
URL: https://github.com/apache/trafficcontrol/pull/4011
 
 
   
   
   ## What does this PR (Pull Request) do?
   Modify the 1.3 GET handler to also handle requests at 1.1 (the only
   difference is the addition of the "capabilities" field in 1.3).
   
   - [x] This PR fixes #3820
   
   ## Which Traffic Control components are affected by this PR?
   
   - Traffic Ops
   
   ## What is the best way to verify this PR?
   1. Run the TO API tests
   2. `GET /api/1.1/roles` and `GET /api/1.2/roles`, verify that the 
`capabilities` field **does not exist** in the result.
   3. `GET /api/1.3/roles` and `GET /api/1.4/roles`, verify that the 
`capabilities` field **does exist** in the result.
   
   ## The following criteria are ALL met by this PR
   
   - [x] This PR includes tests
   - [x] Documentation already exists for /api/1.1/roles
   - [x] This PR includes an update to CHANGELOG.md
   - [x] This PR includes any and all required license headers
   - [x] This PR does not include a database migration
   - [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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to