The following macros are not currently supported in the header:
  • style

deploy(Mule)

The deploy operation deploys a Mule Application. It should be used in deploy workflows.

This operation is compatible with the following types of servers:

FDMULE_TYPENotes Specific to the FDMULE_TYPE
CloudHub
Anypoint Runtime Manager
Runtime Agent
Standalone

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

Environment/Instance Properties

Property Name

Property Code

Required for which FDMULE_TYPE

Description

Mule Home

FDMULE_HOMEStandalone

Path to the Mule Standalone Install

Anypoint UsernameFDMULE_USERCloudHub, Anypoint Runtime ManagerAnypoint Platform Username
Anypoint PasswordFDMULE_PASSWORDCloudHub, Anypoint Runtime ManagerAnypoint Platform Password
Mule TypeFDMULE_TYPEAll

The type Mule server that this environment includes.

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

Organization NameFDMULE_ORG_NAMECloudHub, Anypoint Runtime ManagerMule Organization Name
Environment NameFDMULE_ENV_NAMECloudHub, Anypoint Runtime Manager

Mule Environment Name

Defaults to $FD_ENVIRONMENT_CODE

Timeout in MillisecondsFDMULE_TIMEOUTNone

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

Defaults to 600000 which is 10 minutes.

Anypoint URLFDMULE_ANYPOINT_URLCloudHub, Anypoint Runtime Manager

The URL of Anypoint Runtime Manager

Defaults to https://anypoint.mulesoft.com

Runtime Agent URLFDMULE_AGENT_URLRuntime AgentThe URL of Runtime Agent
Mule Region CodeFDMULE_REGIONCloudHub, Anypoint Runtime ManagerRegion Code for Mule
Worker Size TypeFDMULE_WORKER_TYPE
Type of the Worker Size
Number of WorkersFDMULE_WORKERS_COUNT
Workers Count
Worker CPU (vCore size)FDMULE_WORKER_CPU
Worker CPU vCore Size
Worker MemoryFDMULE_WORKER_MEMORY
Worker Memory
Persistent QueuesFDMULE_PERSISTENT_QUEUES
Enable Persistent Queues
Property File Name to CreateFDMULE_PROPERTY_FILE
Name of the property file to create with Mule Properties
Auto StartFDMULE_AUTO_START
Auto Start After deploy
Enable MonitoringFDMULE_MONITORING_ENABLED
Enable Monitoring

Project Properties

Property Name

Property Code

Required for which FDMULE_TYPE

Description

Mule Application Name

FDMULE_APP_NAME

All

Name of the Mule Application to stop

Target Server TypeFDMULE_TARGET_TYPECloudHub, Anypoint Runtime Manager

Mule Target Server Type

(Server, Cluster, ServerGroup)

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

Target Server NameFDMULE_TARGET_NAMECloudHub, Anypoint Runtime Manager

Name for the Target Server, Cluster or Group

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

Static IP AddressFDMULE_STATIC_IPADDRESSCloudHub, Anypoint Runtime Manager

Static IP Address for the Application

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

Inputs

Input Name

Input Code

Required

Description





Outputs

Output Name

Required

Description




Artifacts

This operation does not produce or consume artifacts.

Endpoint Selection

This operation will select all available endpoints associated to the environment/instance.

Endpoint Execution

This operation will execute on all of the selected endpoints.


The following macros are not currently supported in the footer:
  • style