-
Notifications
You must be signed in to change notification settings - Fork 1.6k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Multiple ConfigurationKey for Consul Store KV #384
Comments
Hi @Stronhold please see docs here this might help! |
Hi, I checked that before. As i Saw, there would be only one configurationkey at the same time or am I wrong? Thanks in advance |
@Stronhold you can one key per deployment of Ocelot. You cannot merge multiple configurations from Consul at the moment. If you would like to implement this I can support you! 😄 edited: please ignore initial comment. |
That was the point! Any help would be appreciated. Thanks in advance! |
@Stronhold are you using admin api with consul storing your configuration? If so the json file is not changed. If you are not using consul then it will be changed. |
Nope. The idea would be using multiple configurationkey and use consul to have the routes. Through the administration API chance the config.json. Any support to have multiple configurationkey is appreciated :) |
Sorry @Stronhold I am very confused by what it is you want to implement. Please could you add as much detail as possible so I can understand. |
I want to be able to have múltiple configurationkey to access to different consul configurations and merge them |
this feature implement config merging for consul, same logic we use for file merging but applied to consul. put abstraction around logic so we can use same for both concrete implementations. |
To Support Multiple ConfigurationKey for Consul Store KV
This might be slightly off topic but here goes. Is it possible via Ocelot to read a consul value from Consul's Key/Value store? Or is the only value one may read from Consul the configuration ("InternalConfiguration" or set by "GlobalConfiguration/ConfigurationKey"?) |
@ggnaegi What is your opinion on this crazy idea with the Consul config? 😄 |
I think it would be a nice addition, at least provide a custom key for the ocelot config stored in key/value store. But then merge config... Like appsettings? |
@Stronhold Dear Sergio! Also, I see that your repos have no Ocelot forked repo. |
I have no idea... We need to ask the author. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
I would like to know if there can bemultiple configuration keys to access different configuration files in KV Store or if I can match them using a pattern like it is done in issue 296
The text was updated successfully, but these errors were encountered: