rawlinp opened a new issue #2559: TO Go Cachegroup API doesn't match Perl version URL: https://github.com/apache/trafficcontrol/issues/2559 The TO Go PUT/POST cachegroups API implementation takes `parentCachegroupName` and `secondaryParentCachegroupName` in the request, then looks up the IDs of the named cachegroups in order to INSERT or UPDATE the cachegroup with the parent IDs. This is a divergence from the Perl version which only accepts `parentCachegroupId` and `secondaryParentCachegroupId` in PUT/POST requests and doesn't lookup parent IDs using the parent names in the request. Also, the Cachegroup v12 API documentation does not match the actual Perl implementation of the API and should be updated to reflect the implementation. This issue can be seen in TP by trying to update a cachegroup's parent cachegroup. The parent cachegroup cannot be updated because TP sends the updated parent ID rather than the parent Name in the request (as it should, because that's what the Perl version expects).
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
