title: Spring Cloud Config Server Shared Properties Across Applications
body: <p>I currently have a number of deployable applications that work in a distributed fashion to solve a business problem. We are currently using a number of property configuration files to provide changing configuration per environment based off a system environment variable. All these deployable application share common configuration for database and messaging. This is currently achieved by picking up property files from the class path and having both deployed apps share a common jar for each connection (db, jms) containing property files.</p>
  
  <p>I am looking to start using Spring Config Server to externalize this configuration if possible. I have a question about how to share this common config.</p>
  
  <p>Currently it looks something like this:-</p>
  
  <p>Web1<br>
   - database<br>
   - jms</p>
  
  <p>Messaging1<br>
   - database<br>
   - jms</p>
  
  <p>In this situation both deployed apps share the same connections and these connections change per environment (lab, prf, prd, etc). How can I achieve the same with the Spring Configuration Server where I have app config for each deployable app? </p>
  
  <p>Application.yml<br>
  Web1.yml<br>
  Web1-dev.yml<br>
  Messaging1.yml<br>
  Messaging1-dev.yml  </p>
  
  <p>If a connection property changed for an environment I would need to make the change to each deployable app configuration rather than making it just once.</p>
  
  <p>Is there currently anyway to achieve this? Am I just missing a simple point?</p>