method to remove/reset/reload routes
Open
Nobody has claimed this yet.
feature
- Dominant language
- Lua
- Stars
- 81
- Forks
- 41
- PR merge metrics
- No merged PRs in 30d
Description
Would be nice to have a method to remove or reset already registered routes as part of public http API. Possible scenarios of application:
- handlers reload for e.g. in case of application code upgrade
- 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.
- different maintenance scenarios e.g. degrading an API to allow only reads and disabling all write methods
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the public HTTP API and the existing route-registration behavior. Clarify whether removal, reset, and reload are separate operations and define how handlers and read/write routes should behave in each scenario; done means the API contract and expected behavior are settled and covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100