SlideShare a Scribd company logo
1 of 10
CloudHub ApplicationCloudHub Application
2
Developing a CloudHub Application
The best way to learn how to develop a CloudHub application is to read the
Getting Started with CloudHub guide, which includes walkthroughs of basic
concepts and examples to help get you familiar with the process of
developing and deploying your applications in CloudHub.
This page covers additional details relevant to deployment.
3
Specifying a Host
Define the Host address in a CloudHub configuration as 0.0.0.0. CloudHub
routes requests from your application domain URL to the endpoint. If you
deploy multiple workers, CloudHub load-balances incoming traffic
automatically across these workers for you. As your application scales,
work loads automatically distribute between your workers.
4
Providing an External HTTP or HTTPS Port
Providing an External HTTP or HTTPS Port
If your application requires an externally accessible HTTP or HTTPS port to
receive messages, trigger events, or expose a web service or user
interface, declare the Port using the reserved property ${http.port} `or $
{https.port}`. On CloudHub, port ${http.port} `or ${https.port}` is assigned
automatically by the platform services. Traffic on port 80 to your application
domain’s URL routes to this port.
5
Running Your Application Locally
If you want to run a CloudHub application locally, create an application
properties file named mule-app.properties in the src/main/app folder of your
project. You need to do this whether you work in Anypoint Studio or
another IDE. This allows you to define a local value for the variable
http.port or https.port.
If you have other runtime settings that you want to configure differently
when running locally, you may also place them in the application properties
file and refer to them using the syntax ${propertyname} in your Mule
application configuration. Each application can declare a set of
environment variables when it is deploys to provide a different value when
deploying on CloudHub. You can define these environment variables using
the CloudHub Console or the Command Line Tools.
6
Logging
All log messages from your application are captured by the CloudHub
logging service and available through the log search tool in the CloudHub
console. If you wish to expose additional information in your logs for
diagnostic or audit purposes, Mule provides a logger element for fine
grained logging of message content.
7
Packaging Third-Party Libraries
CloudHub provides services in the platform that support connecting over
many different protocols and transforming many data formats. All the
standard Mule libraries are included and available to your application. If you
have the need to include a different third party library, you can package that
library in the <mule application zip>/lib folder of your application package.
Any libraries that are packaged in your Mule application lib folder are
available on the classpath to your application at run time.
8
Adding a UI for Your Application
CloudHub applications can have a web UI using HTML and JavaScript. The
AJAX Module provides support for interacting with your application from the
browser and provides support for serving up static content.
Thank You
Thank You

More Related Content

Viewers also liked

Viewers also liked (20)

Batch processing
Batch processingBatch processing
Batch processing
 
Deploying a cloud hub application
Deploying a cloud hub applicationDeploying a cloud hub application
Deploying a cloud hub application
 
Soa
SoaSoa
Soa
 
Connectors for Marketing
Connectors for MarketingConnectors for Marketing
Connectors for Marketing
 
Data weave
Data weaveData weave
Data weave
 
Xml transformation
Xml transformationXml transformation
Xml transformation
 
Deploying a cloud hub application
Deploying a cloud hub applicationDeploying a cloud hub application
Deploying a cloud hub application
 
healthcare toolkit
healthcare toolkithealthcare toolkit
healthcare toolkit
 
Security spring security manager
Security   spring security managerSecurity   spring security manager
Security spring security manager
 
Security authorization using spring security
Security   authorization using spring securitySecurity   authorization using spring security
Security authorization using spring security
 
API Layer
API LayerAPI Layer
API Layer
 
SEcurity ldap for spring security
SEcurity   ldap for spring securitySEcurity   ldap for spring security
SEcurity ldap for spring security
 
Cloud hub console overview
Cloud hub console overviewCloud hub console overview
Cloud hub console overview
 
Mule esb flow processing strategies
Mule esb flow processing strategiesMule esb flow processing strategies
Mule esb flow processing strategies
 
Cloudhub
CloudhubCloudhub
Cloudhub
 
Cloudhub deployment
Cloudhub deploymentCloudhub deployment
Cloudhub deployment
 
Mule integration patterns
Mule    integration patternsMule    integration patterns
Mule integration patterns
 
Integration patterns in muleesb
Integration patterns in muleesbIntegration patterns in muleesb
Integration patterns in muleesb
 
Design considerations in MULE ESB
Design considerations in MULE ESBDesign considerations in MULE ESB
Design considerations in MULE ESB
 
Security components in mule esb
Security components in mule esbSecurity components in mule esb
Security components in mule esb
 

Similar to Cloud hub

Create Home Directories on Storage Using WFA and ServiceNow integration
Create Home Directories on Storage Using WFA and ServiceNow integrationCreate Home Directories on Storage Using WFA and ServiceNow integration
Create Home Directories on Storage Using WFA and ServiceNow integration
Rutul Shah
 

Similar to Cloud hub (20)

Mule cloudhub
Mule cloudhubMule cloudhub
Mule cloudhub
 
Mule developing a cloud hub application
Mule developing a cloud hub applicationMule developing a cloud hub application
Mule developing a cloud hub application
 
Cloudhub and Mule
Cloudhub and MuleCloudhub and Mule
Cloudhub and Mule
 
Cloud hub scalability and availability
Cloud hub scalability and availabilityCloud hub scalability and availability
Cloud hub scalability and availability
 
Cloud hub and mule
Cloud hub and muleCloud hub and mule
Cloud hub and mule
 
Miracle mulesoft tech_cloud_hub
Miracle mulesoft tech_cloud_hubMiracle mulesoft tech_cloud_hub
Miracle mulesoft tech_cloud_hub
 
Cloud hub architecture
Cloud hub architectureCloud hub architecture
Cloud hub architecture
 
CloudHub networking guide
CloudHub networking guideCloudHub networking guide
CloudHub networking guide
 
MuleSoft Meetup Pune 25 Mar 2023.pdf
MuleSoft Meetup Pune 25 Mar 2023.pdfMuleSoft Meetup Pune 25 Mar 2023.pdf
MuleSoft Meetup Pune 25 Mar 2023.pdf
 
sveltekit-en.pdf
sveltekit-en.pdfsveltekit-en.pdf
sveltekit-en.pdf
 
Hdfs connector
Hdfs connectorHdfs connector
Hdfs connector
 
CloudPresentation.pptx
CloudPresentation.pptxCloudPresentation.pptx
CloudPresentation.pptx
 
Hdfs connector
Hdfs connectorHdfs connector
Hdfs connector
 
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
Building Cross-Cloud Platform Cognitive Microservices Using Serverless Archit...
 
Pivotal Cloud Foundry and its usage in ecosystem
Pivotal Cloud Foundry and its usage in ecosystemPivotal Cloud Foundry and its usage in ecosystem
Pivotal Cloud Foundry and its usage in ecosystem
 
Review: Cloud Foundry brings power and polish to PaaS
Review: Cloud Foundry brings power and polish to PaaSReview: Cloud Foundry brings power and polish to PaaS
Review: Cloud Foundry brings power and polish to PaaS
 
Drupal 7 Web Services Crash Course
Drupal 7 Web Services Crash CourseDrupal 7 Web Services Crash Course
Drupal 7 Web Services Crash Course
 
MuleSoft Integration with AWS Cognito Client Credentials and Mule JWT Validat...
MuleSoft Integration with AWS Cognito Client Credentials and Mule JWT Validat...MuleSoft Integration with AWS Cognito Client Credentials and Mule JWT Validat...
MuleSoft Integration with AWS Cognito Client Credentials and Mule JWT Validat...
 
MuleSoft Meetup Vancouver 5th Virtual Event
MuleSoft Meetup Vancouver 5th Virtual EventMuleSoft Meetup Vancouver 5th Virtual Event
MuleSoft Meetup Vancouver 5th Virtual Event
 
Create Home Directories on Storage Using WFA and ServiceNow integration
Create Home Directories on Storage Using WFA and ServiceNow integrationCreate Home Directories on Storage Using WFA and ServiceNow integration
Create Home Directories on Storage Using WFA and ServiceNow integration
 

More from himajareddys

More from himajareddys (20)

Domain in mule
Domain in muleDomain in mule
Domain in mule
 
Exception handling basics in mule
Exception handling basics in muleException handling basics in mule
Exception handling basics in mule
 
Mule architecture styles
Mule architecture stylesMule architecture styles
Mule architecture styles
 
Anypoint platform highlights
Anypoint platform highlightsAnypoint platform highlights
Anypoint platform highlights
 
Mule 3.4 features
Mule 3.4 featuresMule 3.4 features
Mule 3.4 features
 
Mule esb 3.8
Mule esb 3.8Mule esb 3.8
Mule esb 3.8
 
Mule soa
Mule soaMule soa
Mule soa
 
Anypoint connectorfor ibm as 400
Anypoint connectorfor ibm as 400Anypoint connectorfor ibm as 400
Anypoint connectorfor ibm as 400
 
Mule addcontactsintosalesforce
Mule addcontactsintosalesforceMule addcontactsintosalesforce
Mule addcontactsintosalesforce
 
Mule anypointconnector dev kit
Mule anypointconnector dev kitMule anypointconnector dev kit
Mule anypointconnector dev kit
 
Dataweavewithflowreflookup
DataweavewithflowreflookupDataweavewithflowreflookup
Dataweavewithflowreflookup
 
Mule anypointenterprisesecurity
Mule anypointenterprisesecurityMule anypointenterprisesecurity
Mule anypointenterprisesecurity
 
Enterprise resources and mule
Enterprise resources and muleEnterprise resources and mule
Enterprise resources and mule
 
Multi saas integrations
Multi saas integrationsMulti saas integrations
Multi saas integrations
 
Mule any pointstudio
Mule any pointstudioMule any pointstudio
Mule any pointstudio
 
Mule integration solutions
Mule  integration solutionsMule  integration solutions
Mule integration solutions
 
Mule b2 b
Mule  b2 bMule  b2 b
Mule b2 b
 
Mule saas enablement
Mule  saas enablementMule  saas enablement
Mule saas enablement
 
Anypoint connector dev kit
Anypoint connector dev kitAnypoint connector dev kit
Anypoint connector dev kit
 
Mule esb-connectors
Mule esb-connectorsMule esb-connectors
Mule esb-connectors
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 

Cloud hub

  • 2. 2 Developing a CloudHub Application The best way to learn how to develop a CloudHub application is to read the Getting Started with CloudHub guide, which includes walkthroughs of basic concepts and examples to help get you familiar with the process of developing and deploying your applications in CloudHub. This page covers additional details relevant to deployment.
  • 3. 3 Specifying a Host Define the Host address in a CloudHub configuration as 0.0.0.0. CloudHub routes requests from your application domain URL to the endpoint. If you deploy multiple workers, CloudHub load-balances incoming traffic automatically across these workers for you. As your application scales, work loads automatically distribute between your workers.
  • 4. 4 Providing an External HTTP or HTTPS Port Providing an External HTTP or HTTPS Port If your application requires an externally accessible HTTP or HTTPS port to receive messages, trigger events, or expose a web service or user interface, declare the Port using the reserved property ${http.port} `or $ {https.port}`. On CloudHub, port ${http.port} `or ${https.port}` is assigned automatically by the platform services. Traffic on port 80 to your application domain’s URL routes to this port.
  • 5. 5 Running Your Application Locally If you want to run a CloudHub application locally, create an application properties file named mule-app.properties in the src/main/app folder of your project. You need to do this whether you work in Anypoint Studio or another IDE. This allows you to define a local value for the variable http.port or https.port. If you have other runtime settings that you want to configure differently when running locally, you may also place them in the application properties file and refer to them using the syntax ${propertyname} in your Mule application configuration. Each application can declare a set of environment variables when it is deploys to provide a different value when deploying on CloudHub. You can define these environment variables using the CloudHub Console or the Command Line Tools.
  • 6. 6 Logging All log messages from your application are captured by the CloudHub logging service and available through the log search tool in the CloudHub console. If you wish to expose additional information in your logs for diagnostic or audit purposes, Mule provides a logger element for fine grained logging of message content.
  • 7. 7 Packaging Third-Party Libraries CloudHub provides services in the platform that support connecting over many different protocols and transforming many data formats. All the standard Mule libraries are included and available to your application. If you have the need to include a different third party library, you can package that library in the <mule application zip>/lib folder of your application package. Any libraries that are packaged in your Mule application lib folder are available on the classpath to your application at run time.
  • 8. 8 Adding a UI for Your Application CloudHub applications can have a web UI using HTML and JavaScript. The AJAX Module provides support for interacting with your application from the browser and provides support for serving up static content.