Spring.profile.active=native,git == > native is a must, other wise the application throws an error, last argument only taken here so git wil be used. but native should be there as default.
add spring cloud dependencies as a BOM in dependency management. and add spring cloud config server.
add spring.cloud.config.server.git.search-paths=folderNames in gitHub
2) Git Config
add a normal project
add a folder with the name of project.
add applicatio.properties and application-dev.properties.
1) Config Server:
Spring.profile.active=native,git == > native is a must, other wise the application throws an error, last argument only taken here so git wil be used. but native should be there as default.
add spring cloud dependencies as a BOM in dependency management. and add spring cloud config server.
add spring.cloud.config.server.git.search-paths=folderNames in gitHub 2) Git Config
add a normal project
add a folder with the name of project.
add applicatio.properties and application-dev.properties.