Replies: 13 comments 2 replies
-
Hi @Stronhold please see docs here this might help! |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
-
That was the point! Any help would be appreciated. Thanks in advance! |
Beta Was this translation helpful? Give feedback.
-
@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. |
Beta Was this translation helpful? Give feedback.
-
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 :) |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
I want to be able to have múltiple configurationkey to access to different consul configurations and merge them |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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"?) |
Beta Was this translation helpful? Give feedback.
-
@ggnaegi What is your opinion on this crazy idea with the Consul config? 😄 |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
@Stronhold Dear Sergio! Also, I see that your repos have no Ocelot forked repo. |
Beta Was this translation helpful? Give feedback.
-
I would like to know if there can be multiple 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
Beta Was this translation helpful? Give feedback.
All reactions