The predefined queries in the product
Wazi Deploy comes with predefined queries and renderers that you can use to quickly generate reports in an HTML or a YAML format.
wazideploy-evidence -df evidences -if indexes iwd-full-report-query
- Synopsis
-
Use this query to generate a detailed report of each deployment present in the Wazi Deploy evidence database. You can use its associated wd-full-report-renderer.html renderer to generate an HTML report.
- Examples
-
This command generates an HTML report in wd-full-report.html in the current folder.wazideploy-evidence -q wd-full-report-query -if indexes -o wd-full-report.html r renderer_name=wd-full-report-renderer.html environment_name="*"
This command generates a YAML report in wd-full-report.yml in the current folder.wazideploy-evidence -q wd-full-report-query -if indexes -o wd-full-report.yml r
- Parameters
- Parameters must be added at the end of the
wazideploy-evidence command line with the following format:
environment_name=zos_env_testTable 1. wd-full-report-queryparametersParameter Comments environment_name
stringIf this parameter is specified, only the specified environment is selected. If this parameter is not specified, all the environments are selected.
renderer_name
stringIf this parameter is specified, the selected renderer is used for the output. An HTML renderer is provided in the product.
wd-deployments-summary-query
- Synopsis
-
Use this query to generate a detailed report of each deployed artifact.
- Examples
-
This command generates an HTML report in wd-deployments-summary.html in the current folder.wazideploy-evidence -q wd-deployments-summary-query -if indexes -o wd-deployments-summary.html r renderer_name=wd-deployments-summary-renderer.html environment_name="*"
This command generates a YAML report in wd-deployments-summary.html in the current folder.wazideploy-evidence -q wd-deployments-summary-query -if indexes -o wd-deployments-summary.yml r
- Parameters
- Parameters must be added at the end of the
wazideploy-evidence command line with the following format:
environment_name=zos_env_testTable 2. wd-full-report-queryparametersParameter Comments application_name
stringIf this parameter is specified, only the specified application is selected. If this parameter is not specified, all the applications are selected.
artifact_name
stringIf this parameter is specified, only the specified artifact is selected. If this parameter is not specified, all the artifacts are selected.
artifact_type
stringIf this parameter is specified, only the specified artifact type ( DBRMorCICSLOADfor example) is selected.If this parameter is not specified, all the artifacts are selected.
environment_name
stringIf this parameter is specified, only the specified environment is selected. If this parameter is not specified, all the environments are selected.
renderer_name
stringIf this parameter is specified, the selected renderer is used for the output. An HTML renderer is provided in the product. - Sample output
-
A sample output of this query is provided in
wd-deployments-summary-querysample output.