I've already got a bit of code you can use for just that if you like. Doing the same for the config file lookups.
> On Nov 30, 2016, at 9:50 AM, Dave Neuman <[email protected]> wrote: > > Hey all, > I have been working on creating some integration tests for the Traffic Ops > client in the psql-rebase branch and fixing any bugs in Traffic Ops along > the way. > One thing I would like to change is to have the DeliveryService.create and > Deliveryservice.update in the Traffic Ops API accept cdn name, profile > name, and type name instead of cdn ID, profile ID, and type ID. I usually > don't like to have clients worry about IDs, I think it should be handled on > the server side. I don't know who all is using the Deliveryservice create > and update APIs, if anyone, so I thought I would make the suggestion here > and see if anyone is opposed? > This change would be in a 2.x version of Traffic Ops. > > Thanks, > Dave
