How to load Ocelot routes from PostgreSQL database? #2232
Answered
by
raman-m
aftabkajal
asked this question in
Q&A
|
Hello, I am currently working on an Ocelot API Gateway and would like to implement a feature where the routes are dynamically loaded from a PostgreSQL database instead of the default ocelot.json configuration file. Could you please guide me on how to approach this? Specifically, I need help with:
If you have any resources, examples, or steps to follow, they would be greatly appreciated. Thank you! |
Answered by
raman-m
Dec 6, 2024
Replies: 1 comment
|
Hi @aftabkajal ! The answer is #2217 (reply in thread) |
0 replies
Answer selected by
raman-m
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @aftabkajal !
You have the option to read from a database or manually create a
FileConfigurationobject prior to injecting it into theAddOcelotmethod.The answer is #2217 (reply in thread)