getApplicationDependencies

On this page
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

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.getApplicationDependencies( projectName: "test-projectName", applicationName: "test-applicationName" /* optional arguments */ )