createApplication
Creates a new application for a project.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
applicationName |
String |
The name of the application (Required) |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees Flow. |
deleteApplication
Deletes an application
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
applicationName |
String |
The name of the application (Required) |
foreground |
Boolean |
True to delete the object in the foreground. The default is to delete the object in the background. |
retainInventory |
Boolean |
True if you wish to retain inventory after deleting the application. |
getApplication
getApplicationDependencies
Gets the dependencies of an application.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
applicationName |
String |
The name of the application (Required) |
dependentApplicationName |
String |
The name of application which this application depends on. |
dependentProjectName |
String |
The name the project containing the dependent application. |
dependentServiceName |
String |
The name of service which this application depends on. |
dependentSnapshotName |
String |
The name of snapshot of the dependent application. |
snapshotName |
String |
Name of the snapshot; must be unique within the application. |
getApplications
Retrieve all applications in a project.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
includeEntityRevisions |
Boolean |
Include the revisions of application the search results |
referenceComponentName |
String |
name of the master component. |
referenceComponentProject |
String |
project name of the master component. |
getDeployTopology
Retrieves application and services dependencies along with cluster and environment information that will be required to render the topology view.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
applicationName |
String |
The name of the application. |
clusterName |
String |
The name of the cluster. |
environmentName |
String |
The name of the environment. |
serviceName |
String |
The name of the service. |
getEnvironmentApplications
getPartialApplicationRevision
Returns partial application object for snapshot creation
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
applicationName |
String |
The name of the application (Required) |
revisionNumber |
Integer |
Revision number (Required) |
Usage
import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.apis.model.* ElectricFlow ef = new ElectricFlow() def result = ef.getPartialApplicationRevision( projectName: 'test-projectName', applicationName: 'test-applicationName', revisionNumber: 'test-revisionNumber')
getServiceDependencies
Gets the dependencies of an service.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
serviceName |
String |
The name of the service (Required) |
dependentApplicationName |
String |
The name of application which this application depends on. |
dependentProjectName |
String |
The name the project containing the dependent application. |
dependentServiceName |
String |
The name of service which this application depends on. |
dependentSnapshotName |
String |
The name of snapshot of the dependent application. |
snapshotName |
String |
Name of the snapshot; must be unique within the application. |
modifyApplication
Modifies an existing application.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
applicationName |
String |
The name of the application (Required) |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees Flow. |
newName |
String |
New name for an existing object that is being renamed. |