Utility - exportDependencyGraph


Utility - exportDependencyGraph

Description :

This command exports a CSV file that lists an asset's dependencies.

You can export dependencies for the following types of assets. Use the assetType argument to specify the type of asset whose dependencies you want to export:

Depot assets:

  • DEPOT_FILE_OBJECT
  • NSHSCRIPT
  • BLPACKAGE

Software assets:

  • SOLARIS_PACKAGE_INSTALLABLE
  • SOLARIS_PATCH_INSTALLABLE
  • SOLARIS_PATCH_CLUSTER_INSTALLABLE
  • RPM_INSTALLABLE
  • AIX_PACKAGE_INSTALLABLE
  • AIX_PATCH_INSTALLABLE
  • HP_BUNDLE_INSTALLABLE
  • HP_PATCH_INSTALLABLE
  • HP_PRODUCT_INSTALLABLE
  • HOTFIX_WINDOWS_INSTALLABLE
  • IIS_HOTFIX_WINDOWS_INSTALLABLE
  • MSI_WINDOWS_INSTALLABLE
  • SERVICEPACK_WINDOWS_INSTALLABLE
  • INSTALLSHIELD_WINDOWS_INSTALLABLE
  • CUSTOM_SOFTWARE_INSTALLABLE

Component template assets:

  • TEMPLATE

Job assets:

  • AUDIT_JOB
  • SNAPSHOT_JOB
  • PATCH_ANALYSIS_JOB
  • COMPONENT_DISCOVERY_JOB
  • BLPACKAGE_BUILDER_JOB
  • FILE_DEPLOY_JOB
  • DEPLOY_JOB
  • DEPLOY_DRYRUN_JOB
  • DEPLOY_STAGING_JOB
  • DEPLOY_APPLY_JOB
  • DEPLOY_UNDO_JOB
  • NSH_SCRIPT_JOB
  • BATCH_JOB
  • COMPLIANCE_JOB
  • ACL_PUSH_JOB
  • UPDATE_SERVER_PROPERTY_JOB

Return type : java.lang.Void

Command Input :

Variable Name

Variable Type

Description

assetType

String

The type of asset.

assetGroup

String

The parent group of the asset.

assetName

String

The name of the asset.

exportFilePath

String

Name of the export CSV file. Specify the full path including the file name.

upward

Boolean

True to export upward dependencies. False to export downward dependencies.

levelDepth

Integer

The depth of dependencies to export. Use 0 to export all levels.

Example

The following example shows how to export the dependencies of a BLPackage.

Script





blcli Utility exportDependencyGraph BLPACKAGE "/group1" "package1" "c:/tmp/up-export.csv" true 0



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*