Versions Compared

Key

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

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

DescriptionAPPNAME

Property Name

Property Code

Required

Mule Home

FDMULE_HOMEYes


Download URLFDMULE_DOWNLOAD_URLFDMULE_HOMEYes

Inputs

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 if
${http.port} is used in your HTTP Connector.
Input Name

Input Code

Required

Description

Mule Project PathFDMULE_PROJECT_PATHNoThis 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.portFDMULE_HTTP_PORTNoNo

Complete URL to download Mule from.

Required if no archive file of Mule is present in the FD_ARTIFACTS_DIR.

Recreate ExistingFDMULE_RECREATE_IF_EXISTSNoIf 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 RunningFDMULE_STOP_IF_RUNNINGNoIf 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_APPFDMULE_APPNo

(Windows only) The Service Name to use for this Mule server

Must be unique on the Endpoint.


MULE_APP_LONG
FDMULE_APP_LONGNo

(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.