spring-guides / getting-started-guides

Getting Started Guide template :: The template for new guides and also the place to request them.
https://github.com/spring-guides/getting-started-guides/wiki
Apache License 2.0
521 stars 204 forks source link

Centralized Configuration - missing git command #41

Closed assafsh2 closed 6 years ago

assafsh2 commented 7 years ago

Hi,

I succed to build client\server according to the guide of centralized configuration and found 2 issues 1.It's not clear that each parameters in the properties file must have method in the client, eg - param address=NY and method -

@RequestMapping("/address")
String getAddress() {
    return this.address;
}

2.To upload the a-bootiful-client.properties to the git, need to run first git add a-bootiful-client.properties and than git commit, otherwisw the server will not recoginze the file.

thanks, Assaf

ryanjbaxter commented 6 years ago

Please open your issue here https://github.com/spring-guides/gs-centralized-configuration