Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Gateway routes refresh support #57

Open
JWThewes opened this issue Feb 16, 2017 · 1 comment
Open

Add Gateway routes refresh support #57

JWThewes opened this issue Feb 16, 2017 · 1 comment

Comments

@JWThewes
Copy link

We're using a config server and Spring Cloud Bus to distribute a RefreshRemoteApplicationEvent. This works fine so far.
When our Zuul Proxy receives the event with changed routes they don't get loaded.
I've solved this by adding my own RefreshListener which does the following:
zuulHandlerMapping.setDirty(true);

After adding this the refresh works fine and new routes are added.

We're on Cameden SR5.
It's quite a simple setup.
One config server.
One Zuul server.
One RabbitMQ.

To reproduce add a route to the config and invoke the /monitor endpoint on the configserver.
The Zuul gets triggered but the routes are not changed.

If you need any further information feel free to ask anytime.

@spencergibb
Copy link
Member

Updating this for gateway as zuul is no longer maintained.

@spencergibb spencergibb changed the title Add Zuul routes refresh support Add Gateway routes refresh support Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants