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

Dynamic mapping change #91

Open
andrerigon opened this issue Jul 5, 2019 · 3 comments
Open

Dynamic mapping change #91

andrerigon opened this issue Jul 5, 2019 · 3 comments

Comments

@andrerigon
Copy link

Hi,

Is there way to dynamically change/delete a mapping? The idea is to use a persisted feature flag to turn on/off some routes.

Thanks in advance.

@mkopylec
Copy link
Owner

mkopylec commented Jul 5, 2019

Currently there is no such feature, but it's an interesting concept :)
I will implement it in next version of Charon.

@mkopylec
Copy link
Owner

mkopylec commented Aug 13, 2019

I thought about this and found one way to implement such a feature.
I could create a background scheduler which will invoke a function in a fixed rate.
The function will have to return Charon's configuration. The returned configuration will replace the current one until the next scheduler run.

Does this idea suit your requirements?

@KevinVanthuyne
Copy link

I'd also like this functionality to dynamically add routes to the configuration when spinning up new backends

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

3 participants