sagcc exec templates composite validate

Validates the composite template with the specified alias.

Syntax

  • Command Central syntax:
    sagcc exec templates composite validate template_alias
    [templateParameter=value...]  [options]
  • Not supported on Platform Manager.

Arguments and Options

Argument or Option Description
template_alias Required. The alias of the template to validate. You can determine the template alias using the sagcc get templates composite command.

                              [templateParameter=value...]
                          
Optional. Specify template parameters that determine which validation checks the command will perform.
[options] Optional. The command allows all options supported by the Command Line Interface. For a description of the options, see Common Options.

Skipping Validation Checks

You can skip some parts of the template validation by setting the template parameters in the following table to true:

Argument or Option Description

                              skip.runtime.validation=true
                          
Does not validate the entire template.

                              skip.repo.conn.validation=true
                          
Does not check the connection to the repositories and if the products and fixes defined in the template and their dependencies are available in the repositories.

                              skip.product.dep.validation=true
                          
Does not check if the products and their dependencies are available in the product repositories.

                              skip.fix.dep.validation=true
                          
Does not check if the fixes and their dependencies are available in the fix repositories.

Usage Notes

The checks of the template validity that the command performs are described in the Validating a Composite Template topic.

Example When Executing on Command Central

  • To validate a template with alias name “testTemplate”:

    sagcc exec templates composite validate testTemplate -p mypassword
  • To skip checking if the fixes defined in the template with alias name "testTemplate" and their dependencies are available in the fix repositories:
    sagcc exec templates composite validate testTemplate skip.fix.dep.validation=true