rawlinp opened a new pull request #2563: Fix TO Go cachegroups PUT/POST API 
endpoints
URL: https://github.com/apache/trafficcontrol/pull/2563
 
 
   The Go version of the cachegroup API was looking up parent cachegroup
   IDs using the parent names in the PUT/POST request. This is
   fundamentally different from the Perl version which only accepts the
   parent IDs and doesn't look them up by name.
   
   This commit also:
   - moves GetTypeData into the tc package for easier reuse
   - adds cachegroup client methods that use Nullable structs for
     input/output (to have something usable for the API tests - the
     incorrect implementation of the API was holding the tests up)
   - updates all API tests to use the new Nullable cg methods
   - fixes the cachegroup API test to verify the proper API behavior for
     PUT/POST
   
   Fixes #2559 

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

Reply via email to