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

combine configuration from multiple repositories #550

Closed
shalom938 opened this issue Nov 14, 2016 · 3 comments
Closed

combine configuration from multiple repositories #550

shalom938 opened this issue Nov 14, 2016 · 3 comments

Comments

@shalom938
Copy link

shalom938 commented Nov 14, 2016

We are using config server for many services, we share common configuration for services by calling the files with different file name prefix and then we set multiple application names, for example:

myapp.yml
myapp-amsterdam.yml
myapp-bangkok.yml
kafka-producer.yml
kafka-producer-amsterdam.yml
kafka-producer-bangkok.yml

then in the service bootstrap.yml :

spring.application.name=myapp,kafka-producer
spring.cloud.config.profiles=bangkok

this works fine

now we want a service to also be a cassandra-client, we could do the same but for various reasons we want the cassandra configuration to reside in a separate git repo, we tried by configuring the spring.cloud.config.server.git.repos with different patterns but it didn't work, config server would only load configuration from one git repo. so we actually want to combine configuration from different git repositories. or a repository url could be a list of repositories.

@spencergibb
Copy link
Member

Duplicate of #286?

@shalom938
Copy link
Author

Overrides is not a good solution for us. this is more a duplicate of #383.

@spencergibb
Copy link
Member

we already rejected #383

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants