getApplicationDependencies

Back to index

Summary

Retrieves a list of dependencies of an application based on the specified filters in its arguments. For instance, if you use the dependentApplicationName argument, it returns all dependencies between the two applications regardless of their snapshot names.
projectName
Stringrequired
The name for the project that must be unique among all projects.
applicationName
Stringrequired
The name of the application.
dependentApplicationName
Stringoptional
The name of application which this application depends on.
dependentProjectName
Stringoptional
The name the project containing the dependent application.
dependentSnapshotName
Stringoptional
The name of snapshot of the dependent application.
snapshotName
Stringoptional
Name of the snapshot; must be unique within the application.

Usage

Perl

$cmdr->getApplicationDependencies( "test-projectName", # projectName "test-applicationName" # applicationName # optionals );

ectool

ectool getApplicationDependencies \ "test-projectName" `# projectName` \ "test-applicationName" `# applicationName` \ # optionals

Examples

Perl

To retrieve the dependencies between two component process steps in a master component:

$cmdr->getApplicationDependencies('Default', 'Deploy', {componentName => 'WAR file'});

To retrieve the dependencies between two component process steps in a specific application:

$cmdr->getApplicationDependencies('Default', 'Deploy', {componentName => 'WAR file', componentApplicationName => 'Shopping Cart'});

To retrieve the dependencies between two application process steps:

$cmdr->getApplicationDependencies('Default', 'Deploy', {applicationName => 'Shopping Cart'});

ectool

To retrieve the dependencies between two component process steps in a master component:

ectool getApplicationDependencies 'Default' 'Deploy' --componentName 'WAR file'

To retrieve the dependencies between two component process steps in a specific application:

ectool getApplicationDependencies 'Default' 'Deploy' --componentName 'WAR file' --componentApplicationName 'Shopping Cart'

To retrieve the dependencies between two application process steps:

ectool getApplicationDependencies 'Default' 'Deploy' --applicationName 'Shopping Cart'