Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning

Properties supplied to the runtime through the config server take precedence over all other property sources. This may be changed changed by setting the one of the following properties:

  • spring.cloud.config.allowOverride=[true|false] (false for lowest priority)
  • spring.cloud.config.overrideNone=[true|false] (true for highest priority)
  • spring.cloud.config.overrideSystemProperties=[true|false] (true for higher priority than system properties, false for lower priority than system properties)

For any of these properties to have effect, they must be specified or in one of the property files hosted by the config server. For example in

Include Page
_PropertiesFileJava
_PropertiesFileJava
in the directory specified by spring.cloud.config.server.native.searchLocations property or in the configured git repository if applicable.

See also http://cloud.spring.io/spring-cloud-static/spring-cloud.html#overriding-bootstrap-properties for more information

...