PP-677: Add YAML config files (.yml) to the supported list of config files for PBS hooks
Interface 1: New config file type (.yml) added to supported hook configuration file types
- Visibility: Public
- Change Control: Stable
- Details: Admin can use a YAML formatted file as a hook configuration file
- Added .yml file extension to the valid list of file extensions for hook configuration files
Usage:
qmgr -c "create hook h1"
qmgr -c "import hook h1 application/x-config default test.yml"
This will import the test.yml file and verify that it is properly formatted YAML
If it is not valid YAML the file will be rejected with the following message
qmgr obj=test svr=default: Failed to validate config file, hook 'test' config file not overwritten qmgr: hook error returned from server