Validate a snapshot from the Snapshot tab. For example, manually validate a snapshot to ensure that its valid for new policy requirements.
Antes de Iniciar
Importante: DevOps Config is now deprecated and no longer supported or available for new activation.
Role required: cdm_editor or cdm_admin
Por Que e Quando Desempenhar Esta Tarefa
- Do not manually validate snapshots that have already been validated and
published.
- If you select the Validate snapshots or Validate and
publish snapshots option when committing a changeset, then the system
auto-validates each snapshot when it is first generated.
- To view the current validation failures or warnings for a snapshot, open the snapshot
and select the Validation Results tab. For details, see View the results of snapshot validation.
- Use the Policy Test Playground feature to revalidate snapshots while you develop a policy. The resulting validation results are flagged as test results and do not affect operations.
- If there is a requirement to revalidate all snapshots for a deployable, revalidate
only after you have tested and published the policies.
Procedimento
-
Use either of the following methods to validate a snapshot:
- Use the REST API endpoint to validate.
- On the Snapshots tab for an application, select
the name of the snapshot to validate and then select
Validate.
- On any tab for an open snapshot, select Validate.
-
Confirm the action on the Validate snapshot dialog box.
The system follows this procedure to validate snapshots:
- The system executes all policies that are statically or dynamically mapped to the associated deployable.
- If the snapshot passes all policies, then the Validation status
value is set to Passed and no entries
are listed on the Validation Results
tab. If validation was invoked with the Publish
Valid publish option, then valid
snapshots are auto-published.
- If any policy encounters issues, then the Validation status
value is set to Failed. The
Validation Results tab
displays all failures or warnings returned by policies.
- If any policy failed to run to completion, then the Validation
status value is set to Execution
error and the Validation
Results tab indicates that validation
failed due to error.
O que Fazer Depois
If the snapshot failed validation, you can view the issues
to fix them. See View the results of snapshot validation.