The provisionServer operation creates a standalone Mule server on a Linux or Windows Endpoint.
The Mule runtime files are taken from an archive file (zip, tar.gz, .tgz) file in the FD_ARTIFACTS_DIR if it exists. If not, the FDMULE_DOWNLOAD_URL property is used to download the Mule Runtime.
The archive is extracted to FDMULE_HOME, tested and setup to be run. On Windows, this includes installing the service. On Unix, this includes verifying that the mule executable has the execute flag set.
Environment/Instance Properties
Property Name | Property Code | Required | Description |
---|
Project Properties
Property Name | Property Code | Required | DescriptionMule Home | FDMULE_HOME | Yes | |
---|---|---|---|---|---|---|
Download URL | FDMULE_ | APPDOWNLOAD_ | NAMEURL | FDMULE_HOME | Yes |
Inputs
Input Name | Input Code | Required | Description | |
---|---|---|---|---|
Mule Project Path | FDMULE_PROJECT_PATH | No | This is the folder that typically is named for your application and contains your [src] folder. Relative paths are sourced from the FD_TEMP_DIR. | |
http.port | FDMULE_HTTP_PORT | No | HTTP port to use when running JUnit tests. This should be a different number than the one that is usually used to run the application on the server. This only works ifNo | Complete URL to download Mule from. Required if no archive file of Mule is present in the FD_ARTIFACTS_DIR. |
Recreate Existing | FDMULE_RECREATE_IF_EXISTS | No | If checked, this operation will recreate a clean server where one existed. If unchecked, the operation will error out if the Mule Home exists. | |
Stop if Running | FDMULE_STOP_IF_RUNNING | No | If checked, this operation will stop a running mule server if it is running before removing it. If unchecked, the operation will error out if the Mule server is running. | |
MULE_APP | FDMULE_APP | No | (Windows only) The Service Name to use for this Mule server Must be unique on the Endpoint. | |
MULE_APP_LONG | FDMULE_APP_LONG | No | (Windows only) The Service Description Name to use for this Mule server Must be unique on the Endpoint. |
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
Outputs
Output Name | Required | Description |
---|---|---|
Artifacts
This operation produces artifacts that will be stored in consumes artifacts from the artifacts repository.
Endpoint Selection
This operation will select all available endpoints associated to the environment/instance.
Endpoint Execution
This operation will execute on any one all of the selected endpoints and will be random in the determination of which one.