spring-cloud / spring-cloud/spring-cloud-gateway
I'd like to refresh only one route.
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 4.9k
- Forks
- 3.5k
- Avg merge
- 20h 57m
- Merged PRs (30d)
- 8
Description
Hello.
The /actuactor/gateway/refresh endpoint refresh the cache after retrieving all the route definitions.
If you want to refresh only one route, there is an unnecessary cost.
Is it possible to support an endpoint that can refresh only one route?
for example)
POST /actuactor/gateway/routes/{route-id}/refresh
Or is there another way?
Contributor guide
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 tracing the existing POST /actuactor/gateway/refresh endpoint and how it retrieves route definitions. Determine where route-specific refresh behavior belongs and whether the proposed /actuactor/gateway/routes/{route-id}/refresh contract fits the gateway API. Done means one identified route can be refreshed without retrieving all route definitions, with appropriate coverage for the new endpoint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring, spring-boot
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100