Delivery Services ID result return null when doing GET Request for Federations Users #4065
Closed
2 of 16 tasks
Labels
regression bug
a bug in existing functionality introduced by a new version
Traffic Ops
related to Traffic Ops
I'm submitting a ...
Traffic Control components affected ...
Current behavior:
First create a Federation with a Delivery Service on TP. If using TO please do this:
Create a federation POST Request:
https://{{TO_BASE_URL}}/api/{{api_version}}/cdns/999/federations
With this json payload:
Add Delivery Services to Federations. POST Request:
https://{{TO_BASE_URL}}/api/{{api_version}}/federations/{{federationsID}}/deliveryservices
With this json payload:
So now we have a Federations with a Delivery Service. Check again with GET Request:
https://{{TO_BASE_URL}}/api/{{api_version}}/federations/{{fedID}}/deliveryservices
It will display the CDN connecting to that Delivery Service.Now add a Users that already connected to a Delivery Services to Federations. POST Request:
https://{{TO_BASE_URL}}/api/{{api_version}}/federations/{{fedID}}//users
And now is the error, when return the users information with GET Request:
https://{{TO_BASE_URL}}/api/{{api_version}}/federations/{{fedID}}//users
The dsIds will be null.
Expected / new behavior:
When do a GET Request for the users should return format like this:
https://{{TO_BASE_URL}}/api/{{api_version}}/federations/{{fedID}}//users
Minimal reproduction of the problem with instructions:
Anything else:
The text was updated successfully, but these errors were encountered: