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

safe handling of duplicate register_application requests #112

Closed
sueann opened this issue Apr 6, 2017 · 1 comment
Closed

safe handling of duplicate register_application requests #112

sueann opened this issue Apr 6, 2017 · 1 comment

Comments

@sueann
Copy link

sueann commented Apr 6, 2017

Q: what happens if you try to register the same application twice (same name)?

A: The update will overwrite the old application with the new one. I think the place this will cause problems is you will have multiple query handlers registered to the same REST endpoint and I'm not sure which one will get called. We should probably prevent this from happening (which is a 2 line code change).

@dcrankshaw
Copy link
Contributor

Fixed by #115. Clipper now throws an error if you try to register an application with the same name twice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants