How to make configuration in config server to share common properties files to different git repositories (I mean multiple git repositories) ?
Hi Guys,
I am facing a problem with sharing common properties of config server to multiple git repositories (Now common properties are there in default git repository). I don't want to move those common properties physically into other git repositories. Please suggest how can i achieve this feature.
My desired functionality is for example:
Default Git : Which contains common properties.
Application1 Git: Which contains application1 specific properties.
Application2 Git: Which contains application2 specific properties.
Now when the application1 got executed then it has to get the application1 properties as well as the common properties of Default Git.
Same for the application2 also.
I need the solution in configuration level i.e. application.properties/application.yml file of config server not with the coding in java files.
Thanks in advance.
I dont think there is a solution to achieve this. I think the best way to do this is to keep everything in one repo and put the default properties in application.properties and specific application properties in app specific properties files.
@ryanjbaxter That's great but the application specific git repositories are won't be available with us. It is a platform we are developing and giving onboarding services to different applications developed by other teams. They will have their own git repository and properties. With those application specific properties we have to fetch our default platform related properties.
Pretty sure we have an open issue for this already
Yup here is the issue https://github.com/spring-cloud/spring-cloud-config/issues/286.