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

method to remove/reset/reload routes #150

Open
vasiliy-t opened this issue Nov 5, 2021 · 2 comments
Open

method to remove/reset/reload routes #150

vasiliy-t opened this issue Nov 5, 2021 · 2 comments
Labels
feature A new functionality

Comments

@vasiliy-t
Copy link

Would be nice to have a method to remove or reset already registered routes as part of public http API. Possible scenarios of application:

  1. handlers reload for e.g. in case of application code upgrade
  2. live coding for e.g. i'm working on application that accepts webhooks and to iterate fast I setup webhook and traffic tunneling via ngrok to my localhost, then I start tarantool with httpd server and write and debug handler in live mode - write code, trigger webhook, write next version, trigger webhook etc.
  3. different maintenance scenarios e.g. degrading an API to allow only reads and disabling all write methods
@vasiliy-t vasiliy-t added the feature A new functionality label Nov 5, 2021
@Totktonada
Copy link
Member

Cartridge hacks it. I would also note this fixup for the routes deletion code.

@Totktonada
Copy link
Member

See also #110.

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

No branches or pull requests

3 participants