Skip to content

The actuator refresh endpoint returns a http 200 even if processing has not yet been completed #2526

@sagaert

Description

@sagaert

I'm using version 3.0.4 of spring-cloud-gateway (spring-cloud-dependencies 2020.0.4).
If i add a route via post-call to the routes endpoint and then send a post-call to the refresh endpoint, it returns a http code 200.
If i call the new route immediately afterwards, i get a code 404, but a short time later, the route works correct.
I think, the refresh endpoint should return a http code 202 to indicate, that processing possibly has not completed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions