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

/actuator/gateway not listing all available sub endpoints

Open
#1,165 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
4.9k
Forks
3.5k
Avg merge
20h 57m
Merged PRs (30d)
8

Description

Bug report/Enhancement

I was just playing around with Actuator, and was trying to visit all available endpoints.
When visiting http://localhost:8080/actuator I saw the list of what was exposed.
When I was redirected to http://localhost:8080/actuator/gateway I was expecting to see all available gateway actuator endpoints there, like /routes, /globalfilters and /routefilters. However I got a 404 so I was stuck in traversing everything.

I'm not sure if it's supposed to behave like this, that's why I marked this as bug/enhancement.

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

Reproduce the behavior by visiting /actuator and then /actuator/gateway in a Spring Cloud Gateway application. Trace how the gateway actuator endpoint exposes or lists sub-endpoints, including /routes, /globalfilters, and /routefilters; done means the expected available endpoints are discoverable without a 404.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, spring, spring-boot
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.