How to fetch configurations from multiple sub directories of git repo using spring cloud config..?
I tried with below
spring:
application:
name: entity-explorer-ms
profiles:
active: ${spring.profiles.active}
cloud:
config:
server:
git:
searchPaths: commons ---> folder name present on git repo
# file name that are present on git :- commons-application, entity-explorer
label: ${spring.cloud.config.label}
# Taking values from vm arguments
config:
import: configserver:${spring.cloud.import}
I am expecting i want to fetch values from files present inside commons folder, root folder and also from other folders.