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 2022/04/27 19:32:48 UTC

[GitHub] [trafficcontrol] ocket8888 opened a new issue, #6793: Missing property in DELETE responses from /federation_resolvers

ocket8888 opened a new issue, #6793:
URL: https://github.com/apache/trafficcontrol/issues/6793

   ## This Improvement request (usability, performance, tech debt, etc.) affects these Traffic Control components:
   - Traffic Ops
   
   ## Current behavior:
   When creating a Federation Resolver, one is required to specify its Type by ID using the `typeId` property. When retrieving Federation Resolvers, the Type name is shown as the `type` property and the Type ID is shown as the `typeId` property. When deleting a Federation Resolver, however, no `typeId` property is present in the response.
   
   ## New behavior:
   Representations should be consistent - if a `typeId` property is required in requests and shown in all other responses, then DELETE responses should contain it as well.
   
   Although honestly a much better system IMO would be to do away with mutable types on Federation Resolvers. The only point to that is to differentiate between address families, which can be trivially(-ish) deduced from the actual value of the resolver's IP, so no extra "Type" ought to be necessary.


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

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org