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
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 */ )