Validation Tool (asg-validate)
Use validation tool to validate the configuration data for a gateway project.
The asg-validate tool checks for a complete and correct configuration set using the Config UI before the configuration can be used by the Core Engine at run time.
The asg-validate tool loads the data from all the configuration (cfg) files for a gateway configuration project into the memory and validates it against each other. The asg-validate also loads and compiles all the XSLT files for a gateway configuration project and therefore it checks if the XSLT files are valid.
The asg-validate tool ensures that the data in one configuration file that is dependent on the other configuration file is valid.
For example, you have defined a partner P_1 and assigned it to a partner group PG_1 for a myconfig project configuration. When you run asg-validate for myconfig project, it loads partner P_1 data into memory and finds that this is assigned to PG_1 partner group. Then it checks if the data of partner group PG_1 is also available in the memory of the Core Engine. If it does not find PG_1 partner group data, it throws an error indicating that partner group PG_1 is not defined in Partner Groups.
If all data such as partner, target operations, facade operations, throttles, and so on, is valid and correct for a project configuration, it displays a successful message as: The ASG configuration status is OK . Otherwise, it reports errors on the console.
You can find the output of the asg-validate tool in a log file. See Log File for asg-validate.
- Running asg-validate Using asg-tools
Utility to validate configuration data for a gateway project. - Log File for asg-validate
Set the location of log file for asg-validate tool. - Limitations of asg-validate
Defines the limitations of asg-validate tool.