| java.lang.Object | |
| ↳ | org.mule.modules.cloudhub.CloudHubConnector |
Known Direct Subclasses
|
Known Indirect Subclasses
|
Provides the ability to interact with Mule CloudHub from within a Mule application. There are operations to deploy, start, stop, and update applications as well as send notifications from your application to CloudHub.
When running this connector in an application inside CloudHub, it will use token based authentication to access the API. This will allow access and usage of the CloudHub APIs without the need to specify your username and password.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | DOMAIN_SYSTEM_PROPERTY | ||||||||||
| String | EXCEPTION_MESSAGE_CUSTOM_PROPERTY | ||||||||||
| String | EXCEPTION_STACKTRACE_CUSTOM_PROPERTY | ||||||||||
| String | TENANT_ID_PROPERTY | ||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| connection | |||||||||||
| logger | |||||||||||
| maxWaitTime | Maximum time allowed to deplpoy/undeploy. | ||||||||||
| password | CloudHub password. | ||||||||||
| url | CloudHub URL. | ||||||||||
| username | CloudHub username. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a notification inside CloudHub. | |||||||||||
Delete an application. | |||||||||||
Deploy specified application.
| |||||||||||
Dismiss an individual notification. | |||||||||||
Get an application.
| |||||||||||
List applications.
| |||||||||||
List a user's notifications. | |||||||||||
Start an application.
| |||||||||||
Stop an application.
| |||||||||||
Update an application.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Maximum time allowed to deplpoy/undeploy.
CloudHub password.
CloudHub URL.
CloudHub username.
Create a notification inside CloudHub.
If the notification is sent after an exception, it attaches the exception.message and exception.stacktrace as as custom properties of the notification. Those custom properties can be accessed from Cloudhub console with the names 'exception.message' and 'exception.stacktrace'
In the case of multitenant applications the connector will create a notification for a particular tenant. (the one that is executing the flow)
| message | The contents of the notification. |
|---|---|
| priority | The notification priority. |
| customProperties | a map to represent custom placeholders on the notification template |
| muleEvent | Processed mule event |
Delete an application.
| domain | The application domain. |
|---|
Deploy specified application.
| file | Mule application to deploy, Input Object type: java.io.InputStream |
|---|---|
| domain | The application domain. |
| muleVersion | The version of Mule, e.g. 3.2.2. |
| workerCount | The number of workers to deploy. |
| environmentVariables | Environment variables for you application. |
Dismiss an individual notification.
This operation does not depend on the tenant environment.
| href | The href property of the Notification object. |
|---|
Get an application.
| domain | The application domain. |
|---|
| aThrowable |
|---|
List applications.
List a user's notifications.
In the case of a multitenant application it searches for the notifications registered for the current tenant.
| maxResults | The maximum number of results to retrieve. |
|---|---|
| offset | The offset to start listing alerts from. |
| muleEvent | Processed mule event |
| maxWaitTime |
|---|
| password |
|---|
| url |
|---|
| username |
|---|
Start an application.
| domain | The application domain. |
|---|
Stop an application.
| domain | The application domain. |
|---|
Update an application.
| application | The application to update. |
|---|