title: Spring Cloud Config Server configuration with local repository
body: <p>I'm trying to set up Spring Cloud Config Server with backend repository (filesystem), but the endpoint(<code>http://localhost:8888/licensingservice/default</code>) returns the following:</p>
  
  <pre><code>{"name":"licensingservice","profiles":["default"],"label":null,"version":null,"state":null,"propertySources":[]}
  </code></pre>
  
  <p>The Main:</p>
  
  <pre><code>@EnableConfigServer
  @SpringBootApplication
  public class ConfigServerApplication {
  
      public static void main(String[] args) {
          SpringApplication.run(ConfigServerApplication.class, args);
      }
  }
  </code></pre>
  
  <p>The application.yml:</p>
  
  <pre><code>server:
     port: 8888
  spring:
     profiles:
        active: native
      cloud:
         config:
            server:
               native:
                  searchLocations: file:///Users/josedavi/Desenvolvimento/WorkSpace/Pessoal/sample-spring-microservices/sample-spring-microservices/config-server/src/main/resources/config
  </code></pre>
  
  <p>The licensingservice.yml:</p>
  
  <pre><code>tracer.property: "I AM THE DEFAULT"
  spring.jpa.database: "POSTGRESQL"
  spring.datasource.platform: "postgres"
  spring.jpa.show-sql: "true"
  spring.database.driverClassName: "org.postgresql.Driver"
  spring.datasource.url: "jdbc:postgresql://database:5432/eagle_eye_local"
  spring.datasource.username: "postgres"
  spring.datasource.password: "p0stgr@s"
  spring.datasource.testWhileIdle: "true"
  spring.datasource.validationQuery: "SELECT 1"
  spring.jpa.properties.hibernate.dialect: "org.hibernate.dialect.PostgreSQLDialect"
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/kniDC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kniDC.png" alt="enter image description here"></a></p>
  
  <p>The path of the service config:</p>
  
  <pre><code>C:\Users\josedavi\Desenvolvimento\WorkSpace\Pessoal\sample-spring-microservices\sample-spring-microservices\config-server\src\main\resources\config
  </code></pre>
  
  <p>The Project:
  <a href="https://github.com/jdavid-araujo/sample-spring-microservices" rel="nofollow noreferrer">https://github.com/jdavid-araujo/sample-spring-microservices</a></p>