title: spring cloud config propertySources "name" changed
body: <p>when migrating from </p>
  
  <pre><code> &lt;dependency&gt;
       &lt;groupId&gt;org.springframework.cloud&lt;/groupId&gt;
       &lt;artifactId&gt;spring-cloud-config-server&lt;/artifactId&gt;
       &lt;version&gt;1.3.4.RELEASE&lt;/version&gt;
   &lt;/dependency&gt;
  </code></pre>
  
  <p>to</p>
  
  <p><code>Greenwich.SR2 (aka 2.1.3.RELEASE)</code></p>
  
  <p>I wrote a simple script to compare the config returned by both servers (to validate before converting).  My script is failing because the propertySources "name" field changed:</p>
  
  <p>It <em>used</em> to return:</p>
  
  <p><code>"name": "git@my-server:MyOrg/central-config.git/some-application.yml#dev"</code></p>
  
  <p>but <strong>now</strong> returns:</p>
  
  <p><code>"name": "git@my-server:MyOrg/central-config.git/some-application.yml (document #3)"</code></p>
  
  <p>IE <code>#dev</code> is now <code>(document #3)</code> which is much less valuable when debugging configs.</p>
  
  <p>I understand I can ignore the <code>name</code> in the test, but I'd like to get the old format back for usability's sake.</p>
  
  <p>was this by design?<br>
  Is there anyway to configure this back?</p>
  
  <p>UPDATE:</p>
  
  <p>before the upgrade:
  <a href="https://i.stack.imgur.com/1kVTc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1kVTc.png" alt="before the upgrade"></a></p>
  
  <p>after the upgrade:
  <a href="https://i.stack.imgur.com/XnLDA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XnLDA.png" alt="after the upgrade"></a></p>