Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The undeploy operation undeploys a Mule Application. It can be used in deploy workflows. It requires that the artifact used to deploy the application be present so that it can be determined whether it is an application or domain which is being undeployed.

This operation is compatible with the following types of servers:

FDMULE_TYPE

Notes Specific to the FDMULE_TYPE

CloudHub

Anypoint Runtime Manager

Runtime Agent

Standalone

This operation runs on the Mule server endpoint(s).

In order to undeploy an application from an entire cluster, set up multiple instances or endpoints.

The operation will be run on all of them so the application will be removed from all of the cluster members.

Target Properties

Info

In 9.0.0.3, the cloud-related properties were moved into cloud accounts. This process happens automatically during server startup / migration. If you running on a version of FlexDeploy prior to 9.0.0.2, please refer to the 8.0 documentation instead of this page.

Property Name

Property Code

Required for which Mule Type

Description

Mule Account

FDMULE_CLOUD_ACCOUNT_CODE

CloudHub, Anypoint Runtime Manager

The Mule Integration Account

Mule Home

FDMULE_HOME

Standalone

Path to the Mule Standalone Install

Mule Type

FDMULE_TYPE

All

The type Mule server that this environment includes.

(CloudHub, Anypoint Runtime Manager, Runtime Agent, Standalone)

Timeout in Milliseconds

FDMULE_TIMEOUT

None

Timeout for deployment and utility operations such as start and stop application.

Defaults to 600000 which is 10 minutes.

Runtime Agent URL

FDMULE_AGENT_URL

Runtime Agent

The URL of Runtime Agent

Mule Region Code

FDMULE_REGION

None. Used for CloudHub, but optional

Region Code for Mule

Project Properties

Property Name

Property Code

Required for which Mule Type

Description

Mule Application Name

FDMULE_APP_NAME

All

Name of the Mule Application to stop

Target Type

FDMULE_TARGET_TYPE

Anypoint Runtime Manager

Mule Target Server Type

(Server, Cluster, ServerGroup)

If necessary, this property can be overridden at the property/Target level.

Target Name

FDMULE_TARGET_NAME

Anypoint Runtime Manager

Name for the Target Server, Cluster or Group

If necessary, this property can be overridden at the property/Target level.

Static IP Address

FDMULE_STATIC_IPADDRESS

None. Used for CloudHub, but optional

Static IP Address for the Application

If necessary, this property can be overridden at the property/Target level.

Artifacts

This operation consumes Mule Application and Domain artifacts from the artifacts repository.  

Endpoint Selection

This operation will select all available endpoints associated to the Target.

Endpoint Execution

This operation will execute on all of the selected endpoints.