Beginning with CA Gateway 2.8 all the keys in the application.yml
configuration file must meet kebab-case (words separated by a hyphen). If you are reusing a legacy configuration, open a command-line interpreter in the bin
folder of the cagw-util
tool and run the following command.
cagw-util normalize-yaml <INPUT_YAML> <OUTPUT_YAML>
Where:
<INPUT_YAML>
is the path of the file containing the YAML configuration to normalize.<OUTPUT_YAML>
is the path for the output file containing the normalized YAML configuration.
For example:
cagw-util normalize-yaml c:/test/input.yml c:/test/output.yml
In the output YAML, the normalizer excludes the comments and the keys with null values (null
, !!null
, ~
, spaces, and empty lines).