Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.x API permits duplicate servers #5407

Closed
jhg03a opened this issue Jan 6, 2021 · 1 comment · Fixed by #5415
Closed

1.x API permits duplicate servers #5407

jhg03a opened this issue Jan 6, 2021 · 1 comment · Fixed by #5415
Assignees
Labels
bug something isn't working as intended high impact impacts the basic function, deployment, or operation of a CDN regression bug a bug in existing functionality introduced by a new version Traffic Ops related to Traffic Ops

Comments

@jhg03a
Copy link
Contributor

jhg03a commented Jan 6, 2021

I'm submitting a ...

  • bug report

Traffic Control components affected ...

  • Traffic Ops

Current behavior:

Issuing the same POST request to https://{{TO_BASE_URL}}/api/1.3/servers twice creates two identical servers

Expected behavior:

Issuing the same POST request to https://{{TO_BASE_URL}}/api/1.3/servers should succeed the first time and throw an error the second.

Minimal reproduction of the problem with instructions:

Make a server POST request twice without changing the body.

Anything else:

@jhg03a jhg03a added the bug something isn't working as intended label Jan 6, 2021
@rawlinp rawlinp added the Traffic Ops related to Traffic Ops label Jan 6, 2021
@jhg03a jhg03a added high impact impacts the basic function, deployment, or operation of a CDN regression bug a bug in existing functionality introduced by a new version labels Jan 6, 2021
@jhg03a jhg03a changed the title API permits duplicate servers 1.x API permits duplicate servers Jan 6, 2021
@srijeet0406
Copy link
Contributor

I can take this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working as intended high impact impacts the basic function, deployment, or operation of a CDN regression bug a bug in existing functionality introduced by a new version Traffic Ops related to Traffic Ops
Projects
None yet
3 participants