spring-cloud / spring-cloud/spring-cloud-gateway

I'd like to refresh only one route.

Open
#1,706 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

waiting for votes
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.