Validate products and editions
When you save a product, APD validates the product and its editions. The following topics list several of the validations performed, but there are many others.
Validate products
When you save a product, APD validates the schema, changes and removals, and content.
Validate the product schema
When validating the product schema, APD checks to see if:
uuid
exists (If not, it is generated.)code
exists and is different from the line codename
exists for all languagesabbreviation
exists and is all uppercase
Validate product changes and removals
APD makes sure that certain content has not been removed or changed relative to a
package that is in production or will be in production shortly. Such removals and
changes include:
- Removal of coverages, attributes, and so on
- Change of code (for all elements)
- Change of sequence (for all arrayed elements)
To perform this validation, APD compares the deployment of the package under
development to the most recently deployed package on a non-development planet. For
example, assume the following deployments are available:
- DEV [Package 10] (Working package/planet)
- DEV [Package 9]
- UAT [Package 9]
- PROD [Package 8]
Validate product content
When validating product content, APD makes sure that:
costDefinitions
have no duplicate codescurrencyConfig
availability is definedcurrencyConfig
has no duplicatestags
have no duplicatesblanketDefinitions
have no duplicatesblanketDefinitions
have no duplicate clause codes or subclausesline
prefix is all uppercase
Validate editions
When you save a product, APD validates its editions' schema and relation.
Validate the edition schema
When validating the edition schema, APD checks to see if:
schemaVersion
existsname
existscode
existsproduct
(ProductEdition) exists
Validate the edition relation
When validating the edition relation, APD checks to see if:
product
defined within the edition existscommonRuleset
defined within the edition exists