Back to index
Summary
Modifies a dependency between two applications.projectNameStringrequiredThe name for the project that must be unique among all projects. applicationNameStringrequiredThe name of the application. applicationDependencyNameStringoptionalThe name of application dependency. If not specified, a system generated GUID is used. 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. effectiveDateStringoptionalThe date when this dependency is applicable (for example, 2023-05-15). newNameStringoptionalThe new name for an existing object that is being renamed. snapshotNameStringoptionalName 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'