These are chat archives for spring-cloud/spring-cloud

18th
Jun 2016
Tommy Ludwig
@shakuzen
Jun 18 2016 05:10
@sprgn what is your use case in wanting the config server to not resolve the property place holders in plain text files? I think you can escape the placeholder symbol per this note in the documentation:
Normal, Spring environment placeholders with "${}" can be escaped (and resolved on the client) by using backslash ("\") to escape the "$" or the "{", e.g. \${app.foo:bar} resolves to "bar" unless the app provides its own "app.foo". Note that in YAML you don’t need to escape the backslash itself, but in properties files you do, when you configure the overrides on the server.
I think that might work with plain text files too, but you'd have to test.
Spencer Gibb
@spencergibb
Jun 18 2016 05:15
It's the same function