modifyApplicationDependency

Back to index

Summary

Modifies a dependency between two applications.
projectName
Stringrequired
The name for the project that must be unique among all projects.
applicationName
Stringrequired
The name of the application.
applicationDependencyName
Stringoptional
The name of application dependency. If not specified, a system generated GUID is used.
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.
effectiveDate
Stringoptional
The date when this dependency is applicable (for example, 2023-05-15).
newName
Stringoptional
The new name for an existing object that is being renamed.
snapshotName
Stringoptional
Name of the snapshot; must be unique within the application.

Usage

Perl

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

ectool

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

Examples

Perl

To modify a dependency between two component process steps in a master component:

$cmdr->modifyApplicationDependency('Default', 'Deploy', 'Get WAR file', 'Copy WAR file', {componentName => 'WAR file', branchConditionName => 'Create new WAR file'});

To modify a dependency between two component process steps in a specific application:

$cmdr->modifyApplicationDependency('Default', 'Deploy', 'Get WAR file', 'Copy WAR file', {componentName => 'WAR file', componentApplicationName => 'Shopping Cart', branchConditionName => 'Create new WAR file'});

To modify a dependency between two application process steps:

$cmdr->modifyApplicationDependency('Default', 'Deploy', 'Get WAR file', 'Copy WAR file', {applicationName => 'Shopping Cart', branchConditionName => 'Create new WAR file'});

ectool

To modify a dependency between two component process steps in a master component:

ectool modifyApplicationDependency 'Default' 'Deploy' 'Get WAR file', 'Copy WAR file' --componentName 'WAR file' --branchConditionName 'Create new WAR file'

To modify a dependency between two component process steps in a specific application:

ectool modifyApplicationDependency 'Default' 'Deploy' 'Get WAR file', 'Copy WAR file' --componentName 'WAR file' --componentApplicationName 'Shopping Cart' --branchConditionName 'Create new WAR file'

To modify a dependency between two application process steps:

ectool modifyApplicationDependency 'Default' 'Deploy' 'Get WAR file', 'Copy WAR file' --applicationName 'Shopping Cart' --branchConditionName 'Create new WAR file'