| Namespace | http://www.mulesoft.org/schema/mule/ion |
|---|---|
| Schema Location | http://www.mulesoft.org/schema/mule/ion/1.0/mule-ion.xsd |
| Version | 1.0 |
| Minimum Mule Version | 3.2 |
Provides the ability to interact with Mule iON from within a Mule application. There are operations to deploy, start, stop, and update applications as well as send notifications from your application to iON.
When running this connector in an application inside iON, it will use token based authentication to access the API. This will allow access and usage of the iON APIs without the need to specify your username and password.
| Configuration | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Configure an instance of this module
| |||||||||||
| Message Processors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a notification inside iON.
| |||||||||||
Create a notification inside iON for your flow.
| |||||||||||
Delete an application.
| |||||||||||
Deploy specified application.
| |||||||||||
Dismiss all notifications.
| |||||||||||
Dismiss an individual notification.
| |||||||||||
Get an application.
| |||||||||||
List applications.
| |||||||||||
List a user's notifications.
| |||||||||||
Start an application.
| |||||||||||
Stop an application.
| |||||||||||
Update an application.
| |||||||||||
To use the this module within a flow the namespace to the module must be included. The resulting flow will look similar to the following:
<mule xmlns="http://www.mulesoft.org/schema/mule/core"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ion="http://www.mulesoft.org/schema/mule/ion"
xsi:schemaLocation="
http://www.mulesoft.org/schema/mule/core
http://www.mulesoft.org/schema/mule/core/current/mule.xsd
http://www.mulesoft.org/schema/mule/ion
http://www.mulesoft.org/schema/mule/ion/1.0/mule-ion.xsd">
<!-- here goes your flows and configuration elements -->
</mule>
This module is configured using the config element. This element must be placed outside of your flows and at the root of your Mule application. You can create as many configurations as you deem necesary as long as each carries its own name.
Each message processor, message source or transformer carries a config-ref attribute that allows the invoker to specify which configuration to use.
| Attributes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Type | Name | Default Value | Description | Optional. Give a name to this configuration so it can be later referenced. | |||||||
| 0 | Optional. Maximum time allowed to deplpoy/undeploy. | ||||||||||
| Optional. iON password. | |||||||||||
| https://muleion.com/ | Optional. iON URL. | ||||||||||
| Optional. iON username. | |||||||||||
Create a notification inside iON.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The contents of the notification. | ||
| The notification priority. | ||
| Optional. The application domain. | ||
| The payload of the message. If it's an exception, it'll get appended to the message. |
Create a notification inside iON for your flow. If not running in an iON environment, this will log to the console.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The contents of the notification. | ||
| The notification priority. | ||
| The payload of the message. If it's an exception, it'll get appended to the message. | ||
| Optional. If the message payload contains an Exception, whether or not to include the stacktrace. True by default. |
Delete an application.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The application domain. |
Deploy specified application.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Mule application to deploy | ||
| The application domain. | ||
| Optional. The version of Mule, e.g. 3.2.2. | ||
| Optional. The number of workers to deploy. |
Dismiss all notifications.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. |
Dismiss an individual notification.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The href property of the Notification object. |
Get an application.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The application domain. |
List applications.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. |
List a user's notifications.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| Optional. The domain to list notifications for. | ||
| Optional. The maximum number of results to retrieve. | ||
| Optional. The offset to start listing alerts from. | ||
| Optional. Whether or not to include dismissed messages. |
Start an application.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The application domain. |
Stop an application.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The application domain. |
Update an application.
INCLUDE_ERROR
| Name | Default Value | Description |
|---|---|---|
| Optional. Specify which configuration to use. | ||
| The application to update. |