modifyProcessDependency

Back to index

Summary

Modifies a dependency between two process steps.
projectName
Stringrequired
The name for the project that must be unique among all projects.
processName
Stringrequired
The name of the process.
processStepName
Stringrequired
The name of the process step.
targetProcessStepName
Stringrequired
The name of the target process step.
applicationName
Stringoptional
The name of the application, if the process is owned by an application.
branchCondition
Stringoptional
The branch condition.
branchConditionName
Stringoptional
The branch condition name.
branchConditionType
Stringoptional
The branch condition type.
Possible values: "CUSTOM", "NONE", "VALUE"
branchType
Stringoptional
The branch type.
Possible values: "ALWAYS", "ERROR", "SUCCESS"
componentApplicationName
Stringoptional
If specified, the component is scoped to this application not the project.
componentName
Stringoptional
The name of the component, if the process is owned by a component.
microserviceApplicationName
Stringoptional
Name of the application containing the microservice.
microserviceName
Stringoptional
The name of the microservice, if the process is owned by a microservice.

Usage

Perl

$cmdr->modifyProcessDependency( "test-projectName", # projectName "test-processName", # processName "test-processStepName", # processStepName "test-targetProcessStepName" # targetProcessStepName # optionals );

ectool

ectool modifyProcessDependency \ "test-projectName" `# projectName` \ "test-processName" `# processName` \ "test-processStepName" `# processStepName` \ "test-targetProcessStepName" `# targetProcessStepName` \ # optionals

Examples

Perl

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

$cmdr->modifyProcessDependency('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->modifyProcessDependency('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->modifyProcessDependency('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 modifyProcessDependency '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 modifyProcessDependency '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 modifyProcessDependency 'Default' 'Deploy' 'Get WAR file', 'Copy WAR file' --applicationName 'Shopping Cart' --branchConditionName 'Create new WAR file'