rimashah25 commented on pull request #4994:
URL: https://github.com/apache/trafficcontrol/pull/4994#issuecomment-693016346
Successful manual tested as follows:
1. Ran a POST /api/3.0/servers to create a new server. Returned 200 response
2. Got the ID (eg 15) from the newly created server.
3. Created another server with the ID (eg 15) received from step 2.
4. Got the following error with a 400 response.
`{"alerts":[{"text":"server with id 15 already exists. Please do not provide
an id.","level":"error"}]}`
5. I deleted the existing server (ID:15)
6. Ran a POST call (/api/3.0/servers) with the same ID (15) and was able to
create a new server.
Unit tests pass
API tests pass (v2/v3)
Code is formatted correctly
LGTM
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]