Just heads up to the following behavior changes in the upcoming MP Config release:
I summarise the behavior change below:
For the following config source:
server.host=localhost
server.port=9080
server.url=http://${server.host}:${server.port}
when calling config.getValue(server.url, String.class), it will return
http://localhost:9080
Previously, the value will be
http://${server.host}:${server.port}
Obviously, this is a behavior change. We plan to come up with a solution to restore to the old behavior. e.g. variable.substitute=true can be specified in the individual config source to disengage the variable substituation.
With this change, even though the previous app will still compile but the return value might be different. If no strong objections, we will want to make this to the next MP Config release.
If you have comments, please either comment here or directly on the above issue.
Thanks
Emily