These are chat archives for spring-cloud/spring-cloud
spring.cloud.config.label=master,test) to pull configurations from, but it doesn't seem to work for me. When I provide comma separated values of git branches, I'm not even getting the config values from the default master. The doc says
Label can also be provided as a comma-separated list, in which case the items in the list are tried on-by-one until one succeeds. This can be useful when working on a feature branch, for instance, when you might want to align the config label with your branch, but make it optional (e.g. spring.cloud.config.label=myfeature,develop).Could someone please explain why it doesn't work for me? @dsyer @spencergibb
master,testin client, it didn't go back to master. It just had some hardcoded value I was passing that was outside of the git repo entirely
There was an unexpected error (type=Not Found, status=404). No such label: master,test_0.1
testand I'm seeing the same error
_ = _and
__ = /?
If I have the following:
spring: application: name: shared,myApp #most specific must be last cloud: config: profile: dev label: master,release1 #most specific must be first
I get the merged values from shared and myApp, but if a new value appears in myApp it wins out. However the opposite occurs with the label
spring.application.namecomma separated? That's weird.
spring.cloud.config.nameis what you mean
@ConfigurationPropertiesare coming from
spring: application: name: myApp cloud: config: name: shared,myApp #most specific must be last profile: dev label: master,release1 #most specific must be first