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

Add an alias to 'uri' to make the configuration clearer for newcomers.

Open
#2,864 0 comments 1 reaction 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

To make a route configuration clearer it would be more comprehensible to have something likedestination-uri or to-uri or target-uri, same thing in Java configuration, having a destinationUri() or toUri() or targetUri() method.
I'm myself a bit lost when I didn't touch Spring Cloud Gateway for a while and have to configure some routes.

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 locating the existing route configuration property named uri and its Java configuration equivalent. Review how route properties and Java methods are exposed before resolving which alias is preferred; done means the agreed alias is available consistently in both configuration styles and is covered by the project's relevant tests.

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
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.