jheitz200 commented on a change in pull request #4026: Feature/add 
deliveryservice required capability
URL: https://github.com/apache/trafficcontrol/pull/4026#discussion_r339299483
 
 

 ##########
 File path: traffic_ops/traffic_ops_golang/routing/routes.go
 ##########
 @@ -354,6 +354,11 @@ func Routes(d ServerData) ([]Route, []RawRoute, 
http.Handler, error) {
                {1.3, http.MethodPut, `deliveryservices/{xmlID}/urisignkeys$`, 
urisigning.SaveDeliveryServiceURIKeysHandler, auth.PrivLevelAdmin, 
Authenticated, nil},
                {1.3, http.MethodDelete, 
`deliveryservices/{xmlID}/urisignkeys$`, 
urisigning.RemoveDeliveryServiceURIKeysHandler, auth.PrivLevelAdmin, 
Authenticated, nil},
 
+               //Delivery Service Required Capabilities: CRUD
+               {1.4, http.MethodGet, 
`deliveryservice_required_capabilities/?$`, 
api.ReadHandler(&deliveryservice.RequiredCapability{}), auth.PrivLevelReadOnly, 
Authenticated, nil},
 
 Review comment:
   It seems like this should be singular as you are assigning a required 
capability to a single delivery service

----------------------------------------------------------------
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]


With regards,
Apache Git Services

Reply via email to