Getting below Json response for the url http://localhost:8888/limits-service/default.It is not reading the file limit-service.properties
{ "name": "limits-service", "profiles": [ "maximum" ], "label": null, "version": null, "state": null, "propertySources": [] }
application.properties
spring.application.name=spring-cloud-confg-server
server.port = 8888
spring.profiles.active=native
spring.cloud.config.server.native.search-locations=file:///C:/Learning/configs-repo/
limit-service.properties (path C:/Learning/configs-repo/)
limits-service.maximum =8999
limits-service.minimum = 8
SpringCloudConfigServerApplication.java
@EnableConfigServer
@SpringBootApplication
public class SpringCloudConfigServerApplication {
public static void main(String[] args) {
SpringApplication.run(SpringCloudConfigServerApplication.class, args);
}
}
Could you please help me understanding why it is not reading the file