Top Banner
CLOUDHUB CONNECTOR WITH MULESOFT
13

CloudHub Connector With Mulesoft

Apr 05, 2017

Download

Software

Jitendra Bafna
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CloudHub Connector With Mulesoft

CLOUDHUB CONNECTOR WITH MULESOFT

Page 2: CloudHub Connector With Mulesoft

CLOUDHUB CONNECTORCloudHub 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.

Page 3: CloudHub Connector With Mulesoft

CLOUDHUB CONNECTOROnce 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:

Page 4: CloudHub Connector With Mulesoft

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.

Page 5: CloudHub Connector With Mulesoft

CLOUDHUB CONNECTOR

Provide the username and password of Anypoint platform account and Test

Connection. Click OK.

Page 6: CloudHub Connector With Mulesoft

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.

Page 7: CloudHub Connector With Mulesoft

CLOUDHUB CONNECTORSelect 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.

Page 8: CloudHub Connector With Mulesoft

CLOUDHUB CONNECTORSelect 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.

Page 9: CloudHub Connector With Mulesoft

CLOUDHUB CONNECTORList 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.

Page 10: CloudHub Connector With Mulesoft

CLOUDHUB CONNECTORUpdate 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.

Page 11: CloudHub Connector With Mulesoft

CLOUDHUB CONNECTORRetrieve 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.

Page 12: CloudHub Connector With Mulesoft

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.

Page 13: CloudHub Connector With Mulesoft

THANK YOU.