Open andreykirson opened 3 years ago
Hi Andrey, could you include also your current folder structure in Consul and its contents? This line in your logs point to the locations where it's trying to find your specific config, so it seems Spring Consul is doing its thing:
Located property source: [BootstrapPropertySource {name='bootstrapProperties-config/application,multiplication/'}, BootstrapPropertySource {name='bootstrapProperties-config/application,default/'}, BootstrapPropertySource {name='bootstrapProperties-config/application/'}, BootstrapPropertySource {name='bootstrapProperties-config/default,multiplication/'}, BootstrapPropertySource {name='bootstrapProperties-config/default,default/'}, BootstrapPropertySource {name='bootstrapProperties-config/default/'}]
I've tried using that path but still does not work. Here is my path structure in consul:
I use windows
Hi, I'm a little bit confused about how to use spring-consul. I can set default value but if it needs a more specified value in another folder for example config/multiplication/production spring does not use it and still uses the default value.
Here are my start app logs.
This is my current state of the app https://github.com/andreykirson/mental_arithmetic/tree/getway