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 thedependentApplicationName
argument, it returns all dependencies between the two applications regardless of their snapshot names.projectNameStringrequiredThe name for the project that must be unique among all projects. applicationNameStringrequiredThe name of the application. dependentApplicationNameStringoptionalThe name of application which this application depends on. dependentProjectNameStringoptionalThe name the project containing the dependent application. dependentSnapshotNameStringoptionalThe name of snapshot of the dependent application. snapshotNameStringoptionalName 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'