You can choose to override property settings on a property-by-property or a
file-by-file basis. To override settings at the property level, create an
override.properties file, which is the preferred method. To override settings
at the file level, configure the CONFIG_OVERRIDE property.
This feature is useful to retain your customized settings. For example, if you have
uncommented a property that is commented out by default, the migrate-config
script will populate your custom value for that property in the new configuration. However,
the property will be commented out in the new file. You will then have to uncomment this
property.
Create the override.properties file
To override properties when you deploy, follow the steps below:
When you deploy, the system copies over the modified properties on a property-by-property basis.
CONFIG_OVERRIDE directory will overwrite properties files of the same
name. This override takes priority over the override.properties file.
Configure the CONFIG_OVERRIDE property
To override properties files when you deploy, follow the steps below:
When you run the update-config script, the system overwrites properties
files with the same name with the properties in this location.