- Create a properties file in your Mule application (eg: orderapi.properties)
- Place values for all the properties for Anypoint Studio local testing.
- Use these property keys in your Mule Application instead of hard coding (eg: ${DB_USERNAME})
- In FlexDeploy create these properties in your Workflow with the MULE_ prefix (eg: MULE_DB_USERNAME)
- Provide values to these properties on the Target page.
- Specify the Property file name in the Project Properties page (Property File Name to Create)
- FlexDeploy replaces/creates the property file with the values for the environment it is deploying to.
FDMULE_TYPE | Notes Specific to the Mule Type |
|---|---|
Standalone | This operation runs on the Mule server endpoint(s). In order to deploy an application to an entire cluster, set up multiple instances or endpoints. The deployment will be run on all of them so the application will be deployed to all of the cluster members. |
Target Properties
Property Name | Property Code | Required for which Mule Type | Description |
|---|---|---|---|
Mule Account |
| CloudHub, Anypoint Runtime Manager | The Mule Integration Account See Configuring a Mule Cloud Account for help creating a Mule Cloud Account. |
Mule Home |
| Standalone | Path to the Mule Standalone Install |
Timeout in Milliseconds |
| None | Timeout for deployment and utility operations such as start and stop application. Defaults to 600000 which is 10 minutes. |
Runtime Agent URL |
| Runtime Agent | The URL of Runtime Agent |
Mule Region Code |
| 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 |
| All | Name of the Mule Application to stop |
Target Server 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 |
| Anypoint Runtime Manager | Name for the Target Server, Cluster or Group If necessary, this property can be overridden at the project/Target level. |
Static IP Address |
| None. Used for CloudHub, but optional | Static IP Address for the Application If necessary, this property can be overridden at the project/Target level. |
Number of Workers |
| None. Used for CloudHub, but optional. | Workers Count |
Worker Size Type |
| None. Used for CloudHub, but optional. | Type of the Worker Size (Micro,Small,Medium,Large,xLarge,xxLarge) Defaults to Small |
Persistent Queues |
| None. Used for CloudHub, but optional. | Enable Persistent Queues Defaults to false |
Property File Name to Create |
| None. Used for CloudHub, but optional. | Name of the property file to create with Mule Properties |
Auto Start |
| None. Used for CloudHub, but optional. | Defaults to true |
Enable Monitoring |
| None. Used for CloudHub, but optional. | Defaults to true |