- style
restartApplication(Mule)
The restartApplication operation restarts a running Mule Application. It can be used in build or deploy workflows.
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 should run on the Mule server where the project will be restarted. Since standalone servers don't natively support this operation, This operation runs a FlexDeploy specific process to mark the application as one to be stopped. The application will be shown as undeployed in the logs, and then deployed again. |
Environment/Instance Properties
Property Name | Property Code | Required for which FDMULE_TYPE | Description |
---|---|---|---|
Mule Home | FDMULE_HOME | Standalone | Path to the Mule Standalone Install |
Anypoint Username | FDMULE_USER | CloudHub, Anypoint Runtime Manager | Anypoint Platform Username |
Anypoint Password | FDMULE_PASSWORD | CloudHub, Anypoint Runtime Manager | Anypoint Platform Password |
Mule Type | FDMULE_TYPE | All | The type Mule server that this environment includes. (CloudHub, Anypoint Runtime Manager, Runtime Agent, Standalone) |
Organization Name | FDMULE_ORG_NAME | CloudHub, Anypoint Runtime Manager | Mule Organization Name |
Environment Name | FDMULE_ENV_NAME | CloudHub, Anypoint Runtime Manager | Mule Environment Name Defaults to |
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. |
Anypoint URL | FDMULE_ANYPOINT_URL | CloudHub, Anypoint Runtime Manager | The URL of Anypoint Runtime Manager Defaults to https://anypoint.mulesoft.com |
Runtime Agent URL | FDMULE_AGENT_URL | Runtime Agent | The URL of Runtime Agent |
Mule Region Code | FDMULE_REGION | CloudHub, Anypoint Runtime Manager | Region Code for Mule |
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 Type | FDMULE_TARGET_TYPE | CloudHub, 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 Name | FDMULE_TARGET_NAME | CloudHub, 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 Address | FDMULE_STATIC_IPADDRESS | CloudHub, 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.
- style