You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2019/04/11 22:14:47 UTC

[GitHub] [trafficcontrol] ocket8888 edited a comment on issue #3455: Traffic Ops GET /api/*/cdns should be sorted alphabetically by name by default

ocket8888 edited a comment on issue #3455: Traffic Ops GET /api/*/cdns should be sorted alphabetically by name by default
URL: https://github.com/apache/trafficcontrol/issues/3455#issuecomment-482346463
 
 
   I think the API should impose _some_ order on the results it returns. Whether or not it's configurable via e.g. an `orderBy` query parameter is something I don't feel strongly about, but when things cannot be guaranteed to have any specific order it means that two requests to the same endpoint with the same TODB dataset cannot be guaranteed to have the same response, which harms testability. Imposing a specific ordering would eliminate a full third of the use case of my PR #3478 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services