Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 649 Bytes

overriding-properties-using-placeholders.adoc

File metadata and controls

20 lines (14 loc) · 649 Bytes

Overriding Properties Using Placeholders

A cleaner way to override properties without enabling config first bootstrap is to use property placeholders in the configuration coming from the config server.

For example if the configuration coming from the config server contains the following property

hello=${app.hello:Hello From Config Server!}

You can override the value of hello coming from the config server by setting app.hello in your local application configuration

app.hello=Hello From Application!