Slide 1

Slide 1 text

Cloudhub connector with mulesoft

Slide 2

Slide 2 text

Cloudhub connector CloudHub connector provides the ability to interact with CloudHub from within Mule application. It provides various operations like start, stop, deploy and update mule applications as well as send notifications from your mule application to cloudhub. For more details on CloudHub, please go through my article Introduction To Power Of Anypoint CloudHub With Mulesoft. Install CloudHub connector from Anypoint Exchange. You can connect to exchange from Anypoint Studio and search for cloudhub connector. Click Install and it will install cloudhub connector in your studio.

Slide 3

Slide 3 text

Cloudhub connector Once connector is installed, it will restart the Anypoint studio. Now we will walkthrough how we can implement the cloudhub connector in your mule application. Create Notification Place the HTTP listener into the canvas and click to open the Properties console. Click the green + and configure as follows:

Slide 4

Slide 4 text

Cloudhub connector Drag and Drop the cloudhub connector in message processor region and configure it. Click on green add button near Connector Configuration. It will open popup window for you. Select CloudHub: Basic Auth Authentication and Click OK.

Slide 5

Slide 5 text

Cloudhub connector Provide the username and password of Anypoint platform account and Test Connection. Click OK.

Slide 6

Slide 6 text

Cloudhub connector Select Operation from drop-down and in this case we will going to select Create Notification. You need provide Domain, Message and Priority.

Slide 7

Slide 7 text

Cloudhub connector Select Operation from drop-down and in this case we will going to select Create Notification. You need provide Domain, Message and Priority. This operation in the CloudHub connector creates a notification message for the domain that the application is currently running on.

Slide 8

Slide 8 text

Cloudhub connector Select Operation from drop-down and in this case we will going to select Create Notification. You need provide Domain, Message and Priority. This operation in the CloudHub connector creates a notification message for the domain that the application is currently running on.

Slide 9

Slide 9 text

Cloudhub connector List Application Now we will change the Operation to List application. This operation will return list of the application deployed to cloudhub with various details like status, worker size, no. of workers, application name, workertype etc.

Slide 10

Slide 10 text

Cloudhub connector Update Application Update application operation is used to update Mule Version, Worker Size and number of workers. You can update Auto Restart Monitoring, Multitenanted, Persistent Queues and VPN Enabled.

Slide 11

Slide 11 text

Cloudhub connector Retrieve Application Logs Retrieve application logs will read the logs of your application like error, warn, information etc. You can read the log for specific period of time. It will provide the log depending on your configuration.

Slide 12

Slide 12 text

Cloudhub connector There are many more operation that you can perform using CloudHub Connector. • Create, Update, Delete and Deploy Mule applications. • Get applications details. • List application. • Get, List and Create Notification. • Retrieve applications logs. • Create, Get, Update and Delete tenants.

Slide 13

Slide 13 text

Thank you.