You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Multiple ConfigurationKey for Consul Store KV #384
featureA new featuregood first issueShould be pretty easy to dohelp wantedNot actively being worked on. If you plan to contribute, please drop a note.medium effortLikely a few days of development effortwontfixNo plan to include this issue in the Ocelot core functionality.
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
@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! 😄
That was the point! Any help would be appreciated.
Morover, i would like yo know if when we use the administration API, the config.json file, could be overwritten? As far as I have tested, this does not happen
@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.
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.
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"?)
@Stronhold Dear Sergio!
Your request confuses all parties including Tom.
What is your user scenario?
Also, I see that your repos have no Ocelot forked repo.
So, forked Ocelot repo doesn't exist in your account!
I would say you violated Ocelot development process which says: discuss -> issue -> PR.
But working on an issue means you have to fork Ocelot repo.
🆗 First fork, then request...
You have a right to reopen the issue in future.
featureA new featuregood first issueShould be pretty easy to dohelp wantedNot actively being worked on. If you plan to contribute, please drop a note.medium effortLikely a few days of development effortwontfixNo plan to include this issue in the Ocelot core functionality.
Activity
TomPallister commentedon Jun 8, 2018
Hi @Stronhold please see docs here this might help!
Stronhold commentedon Jun 8, 2018
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
TomPallister commentedon Jun 8, 2018
@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.
Stronhold commentedon Jun 8, 2018
That was the point! Any help would be appreciated.
Morover, i would like yo know if when we use the administration API, the config.json file, could be overwritten? As far as I have tested, this does not happen
Thanks in advance!
TomPallister commentedon Jun 9, 2018
@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.
Stronhold commentedon Jun 9, 2018
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 :)
TomPallister commentedon Jun 10, 2018
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.
Stronhold commentedon Jun 10, 2018
I want to be able to have múltiple configurationkey to access to different consul configurations and merge them
TomPallister commentedon Jun 13, 2018
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.
ThreeMammals#384
marrop commentedon Aug 17, 2020
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"?)
raman-m commentedon Nov 29, 2023
@ggnaegi What is your opinion on this crazy idea with the Consul config? 😄
ggnaegi commentedon Nov 29, 2023
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?
raman-m commentedon Nov 29, 2023
@Stronhold Dear Sergio!
Your request confuses all parties including Tom.
What is your user scenario?
Also, I see that your repos have no Ocelot forked repo.
So, forked Ocelot repo doesn't exist in your account!
I would say you violated Ocelot development process which says: discuss -> issue -> PR.
But working on an issue means you have to fork Ocelot repo.
🆗 First fork, then request...
You have a right to reopen the issue in future.
raman-m commentedon Nov 29, 2023
@ggnaegi
I have no idea... We need to ask the author.
But it makes sense to convert this issue to Idea discussion... 😉