I'm trying to set up Spring Cloud Config to get the application parameters bootstraped from a git repo. For our use case, each project can have specific parameters for each customer, and each of those can have their own environments as well. So the configuration repo structure looks like this:
> projectA/
> customerx/
> customerx-dev.yml
> customerx-uat.yml
> customerx-prod.yml
> customerz/
> customerz-dev.yml
> customerz-uat.yml
> customerz-prod.yml
This is the configuration I have for Config Server:
spring:
cloud:
config:
server:
git:
uri: git@repo.com/myconfigrepo.git
I tried config server with the following request but got a not found error.
curl http://localhost:8080/projectA/customerx/dev
Is there a specific way I have to configure the searchPaths parameter on config server?