ocket8888 commented on issue #3870: Rewrite /capabilities to Go
URL: https://github.com/apache/trafficcontrol/pull/3870#issuecomment-521515569
 
 
   1) `api_capability` links an API route to a particular capability.
   2) Yes and no. We need both _concepts_, but the routes governed by a 
capability could probably be dealt with under the `/capabilities` route itself.
   3) new capabilities can exist because arbitrary endpoints can be added via 
extensions. You can also group api routes under a one or more capabilities in 
arbitrary ways. Not sure that second one is a _good_ reason, but it is a true 
one.
   
   In any case, such deprecations probably need to go to the mailing list for 
discussion. I don't disagree that this could be handled better - possibly by 
requiring extensions to define a governing capability? - but I do want to just 
get the route into Go, since deprecation takes a full major release cycle 
anyway.

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