spring-cloud / spring-cloud/spring-cloud-gateway
Include route map configuration so routes across property sources can be merged
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Java
- Stars
- 4.9k
- Forks
- 3.5k
- Avg merge
- 20h 57m
- Merged PRs (30d)
- 8
Description
In zuul, we were able to configure routes across multiple files since its read as a map (with the id as key). But in spring cloud gateway, since routes are read as list, this is not possible. Any workaround or plans to enhance this?
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
No files or tests are named in the issue. Start by tracing how Spring Cloud Gateway reads route lists from property sources and compare that with Zuul's map-based configuration. Define and test merging routes across multiple sources by route id, including collision behavior, before considering implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring, spring-boot
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100