trafficcontrol
trafficcontrol copied to clipboard
Missing property in responses from /federation_resolvers
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 not given.
New behavior:
Representations should be consistent - if a typeId property is required in requests, then 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.