SlideShare a Scribd company logo
Box Mule Connector Integration
This tutorial explains about the Box Connector
functionality in Mule.
Operations performed in this flow:
1.Authorize
2.Get Folder Items Details
3.Unauthorized
Pre-requisites:
1. Anypoint Studio 5.1 with Box plugin
2. Box developer account
3. Jdk 1.7
Create an Application in Box developer site
https://developers.box.com/. Copy the client_secret and client_id
and provide the redirect URI. These details are required for Box
connector configuration.
Box Connector Configuration
Box Mule Flow :
This flow will connect to Box and fetches the folder Items details in
JSON and then Unauthorize.
Source code:
<box:config name="Box" clientId="client_id" clientSecret="clientsecret" doc:name="Box">
<box:oauth-callback-config domain="localhost" localPort="8080" remotePort="8080"
path="boxApi"/>
</box:config>
<flow name="BoxFlow">
<http:listener config-ref="HTTP_Listener_Configuration" path="/box/authorize"
doc:name="HTTP"/>
<box:authorize config-ref="Box" doc:name="Authorize Box"/>
<logger message="Authorized" level="INFO" doc:name="Logger"/>
<box:get-folder-items config-ref="Box" doc:name="Get Folder details from Box Account"/>
<json:object-to-json-transformer doc:name="Object to JSON"/>
<logger message="#[payload]" level="INFO" doc:name="Logger"/>
<box:unauthorize config-ref="Box" accessTokenId="Box" doc:name="Unauthorize Box"/>
</flow>
Source code:
<box:config name="Box" clientId="client_id" clientSecret="clientsecret" doc:name="Box">
<box:oauth-callback-config domain="localhost" localPort="8080" remotePort="8080"
path="boxApi"/>
</box:config>
<flow name="BoxFlow">
<http:listener config-ref="HTTP_Listener_Configuration" path="/box/authorize"
doc:name="HTTP"/>
<box:authorize config-ref="Box" doc:name="Authorize Box"/>
<logger message="Authorized" level="INFO" doc:name="Logger"/>
<box:get-folder-items config-ref="Box" doc:name="Get Folder details from Box Account"/>
<json:object-to-json-transformer doc:name="Object to JSON"/>
<logger message="#[payload]" level="INFO" doc:name="Logger"/>
<box:unauthorize config-ref="Box" accessTokenId="Box" doc:name="Unauthorize Box"/>
</flow>

More Related Content

Viewers also liked

Governance officer performance appraisal
Governance officer performance appraisalGovernance officer performance appraisal
Governance officer performance appraisal
BigBang789
 
ALTERNATE AND LOW COST CONSTRUCTION MATERIAL: RICE HUSK ASH (RHA)
ALTERNATE AND LOW COST CONSTRUCTION MATERIAL: RICE HUSK ASH (RHA)ALTERNATE AND LOW COST CONSTRUCTION MATERIAL: RICE HUSK ASH (RHA)
ALTERNATE AND LOW COST CONSTRUCTION MATERIAL: RICE HUSK ASH (RHA)
AM Publications
 
DIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUES
DIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUESDIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUES
DIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUES
AM Publications
 
Termoclip presentation company_2
Termoclip presentation company_2Termoclip presentation company_2
Termoclip presentation company_2
Termoclip
 
Performance of DCO-OFDM in Optical Wireless Communication System
Performance of DCO-OFDM in Optical Wireless Communication SystemPerformance of DCO-OFDM in Optical Wireless Communication System
Performance of DCO-OFDM in Optical Wireless Communication System
AM Publications
 
(Ne)održivost usluga plhiv (plwha) organizacija nakon odlaska gfatm a - vladi...
(Ne)održivost usluga plhiv (plwha) organizacija nakon odlaska gfatm a - vladi...(Ne)održivost usluga plhiv (plwha) organizacija nakon odlaska gfatm a - vladi...
(Ne)održivost usluga plhiv (plwha) organizacija nakon odlaska gfatm a - vladi...PinHealth
 
Top 5 admin officer cover letter samples
Top 5 admin officer cover letter samplesTop 5 admin officer cover letter samples
Top 5 admin officer cover letter samples
donriferi
 
COMPARATIVE STUDY OF PAPR REDUCTION ON SPECTRUM AND ENERGY EFFICIENCIES USING...
COMPARATIVE STUDY OF PAPR REDUCTION ON SPECTRUM AND ENERGY EFFICIENCIES USING...COMPARATIVE STUDY OF PAPR REDUCTION ON SPECTRUM AND ENERGY EFFICIENCIES USING...
COMPARATIVE STUDY OF PAPR REDUCTION ON SPECTRUM AND ENERGY EFFICIENCIES USING...
AM Publications
 
kishore (1)
kishore (1)kishore (1)
โครงร่างโครงงานคอมพิวเตอร์ (เดี่ยว)
โครงร่างโครงงานคอมพิวเตอร์ (เดี่ยว)โครงร่างโครงงานคอมพิวเตอร์ (เดี่ยว)
โครงร่างโครงงานคอมพิวเตอร์ (เดี่ยว)
Sutita Saowakon
 

Viewers also liked (10)

Governance officer performance appraisal
Governance officer performance appraisalGovernance officer performance appraisal
Governance officer performance appraisal
 
ALTERNATE AND LOW COST CONSTRUCTION MATERIAL: RICE HUSK ASH (RHA)
ALTERNATE AND LOW COST CONSTRUCTION MATERIAL: RICE HUSK ASH (RHA)ALTERNATE AND LOW COST CONSTRUCTION MATERIAL: RICE HUSK ASH (RHA)
ALTERNATE AND LOW COST CONSTRUCTION MATERIAL: RICE HUSK ASH (RHA)
 
DIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUES
DIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUESDIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUES
DIGITAL RESTORATION OF TORN FILMS USING FILTERING T ECHNIQUES
 
Termoclip presentation company_2
Termoclip presentation company_2Termoclip presentation company_2
Termoclip presentation company_2
 
Performance of DCO-OFDM in Optical Wireless Communication System
Performance of DCO-OFDM in Optical Wireless Communication SystemPerformance of DCO-OFDM in Optical Wireless Communication System
Performance of DCO-OFDM in Optical Wireless Communication System
 
(Ne)održivost usluga plhiv (plwha) organizacija nakon odlaska gfatm a - vladi...
(Ne)održivost usluga plhiv (plwha) organizacija nakon odlaska gfatm a - vladi...(Ne)održivost usluga plhiv (plwha) organizacija nakon odlaska gfatm a - vladi...
(Ne)održivost usluga plhiv (plwha) organizacija nakon odlaska gfatm a - vladi...
 
Top 5 admin officer cover letter samples
Top 5 admin officer cover letter samplesTop 5 admin officer cover letter samples
Top 5 admin officer cover letter samples
 
COMPARATIVE STUDY OF PAPR REDUCTION ON SPECTRUM AND ENERGY EFFICIENCIES USING...
COMPARATIVE STUDY OF PAPR REDUCTION ON SPECTRUM AND ENERGY EFFICIENCIES USING...COMPARATIVE STUDY OF PAPR REDUCTION ON SPECTRUM AND ENERGY EFFICIENCIES USING...
COMPARATIVE STUDY OF PAPR REDUCTION ON SPECTRUM AND ENERGY EFFICIENCIES USING...
 
kishore (1)
kishore (1)kishore (1)
kishore (1)
 
โครงร่างโครงงานคอมพิวเตอร์ (เดี่ยว)
โครงร่างโครงงานคอมพิวเตอร์ (เดี่ยว)โครงร่างโครงงานคอมพิวเตอร์ (เดี่ยว)
โครงร่างโครงงานคอมพิวเตอร์ (เดี่ยว)
 

Similar to Box connector Mule ESB Integration

Mule ESB Dropbox connector
Mule ESB Dropbox connectorMule ESB Dropbox connector
Mule ESB Dropbox connector
Krishnakanth Goud
 
Dropbox connector Mule ESB Integration
Dropbox connector Mule ESB IntegrationDropbox connector Mule ESB Integration
Dropbox connector Mule ESB Integration
AnilKumar Etagowni
 
ORCID OAuth Dance with google playground
ORCID OAuth Dance with google playgroundORCID OAuth Dance with google playground
ORCID OAuth Dance with google playground
ORCID, Inc
 
Os Johnson
Os JohnsonOs Johnson
Os Johnson
oscon2007
 
Solving anything in VCL
Solving anything in VCLSolving anything in VCL
Solving anything in VCL
Fastly
 
Use Windows Azure Service Bus, BizTalk Services, Mobile Services, and BizTalk...
Use Windows Azure Service Bus, BizTalk Services, Mobile Services, and BizTalk...Use Windows Azure Service Bus, BizTalk Services, Mobile Services, and BizTalk...
Use Windows Azure Service Bus, BizTalk Services, Mobile Services, and BizTalk...
BizTalk360
 
Link Header-based Invalidation of Caches
Link Header-based Invalidation of CachesLink Header-based Invalidation of Caches
Link Header-based Invalidation of Caches
mikekelly
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework
Rajind Ruparathna
 
Go Fullstack: JSF for Public Sites (CONFESS 2013)
Go Fullstack: JSF for Public Sites (CONFESS 2013)Go Fullstack: JSF for Public Sites (CONFESS 2013)
Go Fullstack: JSF for Public Sites (CONFESS 2013)
Michael Kurz
 
Microservice Protection With WSO2 Identity Server
Microservice Protection With WSO2 Identity ServerMicroservice Protection With WSO2 Identity Server
Microservice Protection With WSO2 Identity Server
Anupam Gogoi
 
java and javascript api dev guide
java and javascript api dev guidejava and javascript api dev guide
java and javascript api dev guide
Zenita Smythe
 
Scale Your Data Tier With Windows Server App Fabric
Scale Your Data Tier With Windows Server App FabricScale Your Data Tier With Windows Server App Fabric
Scale Your Data Tier With Windows Server App Fabric
Chris Dufour
 
Ecom2
Ecom2Ecom2
Java - Servlet - Mazenet Solution
Java - Servlet - Mazenet SolutionJava - Servlet - Mazenet Solution
Java - Servlet - Mazenet Solution
Mazenetsolution
 
Make an html validator extension
Make an html validator extensionMake an html validator extension
Make an html validator extension
Rebecca Peltz
 
MuleSoft ESB Object Store
MuleSoft ESB Object StoreMuleSoft ESB Object Store
MuleSoft ESB Object Store
akashdprajapati
 
OAuth 2.0
OAuth 2.0OAuth 2.0
OAuth 2.0
Uwe Friedrichsen
 
Top5 scalabilityissues withappendix
Top5 scalabilityissues withappendixTop5 scalabilityissues withappendix
Top5 scalabilityissues withappendix
ColdFusionConference
 
Intro to Sail.js
Intro to Sail.jsIntro to Sail.js
Intro to Sail.js
Nicholas McClay
 
Python packages for blockchain
Python packages for blockchainPython packages for blockchain
Python packages for blockchain
Celine George
 

Similar to Box connector Mule ESB Integration (20)

Mule ESB Dropbox connector
Mule ESB Dropbox connectorMule ESB Dropbox connector
Mule ESB Dropbox connector
 
Dropbox connector Mule ESB Integration
Dropbox connector Mule ESB IntegrationDropbox connector Mule ESB Integration
Dropbox connector Mule ESB Integration
 
ORCID OAuth Dance with google playground
ORCID OAuth Dance with google playgroundORCID OAuth Dance with google playground
ORCID OAuth Dance with google playground
 
Os Johnson
Os JohnsonOs Johnson
Os Johnson
 
Solving anything in VCL
Solving anything in VCLSolving anything in VCL
Solving anything in VCL
 
Use Windows Azure Service Bus, BizTalk Services, Mobile Services, and BizTalk...
Use Windows Azure Service Bus, BizTalk Services, Mobile Services, and BizTalk...Use Windows Azure Service Bus, BizTalk Services, Mobile Services, and BizTalk...
Use Windows Azure Service Bus, BizTalk Services, Mobile Services, and BizTalk...
 
Link Header-based Invalidation of Caches
Link Header-based Invalidation of CachesLink Header-based Invalidation of Caches
Link Header-based Invalidation of Caches
 
Introduction to Spring Framework
Introduction to Spring FrameworkIntroduction to Spring Framework
Introduction to Spring Framework
 
Go Fullstack: JSF for Public Sites (CONFESS 2013)
Go Fullstack: JSF for Public Sites (CONFESS 2013)Go Fullstack: JSF for Public Sites (CONFESS 2013)
Go Fullstack: JSF for Public Sites (CONFESS 2013)
 
Microservice Protection With WSO2 Identity Server
Microservice Protection With WSO2 Identity ServerMicroservice Protection With WSO2 Identity Server
Microservice Protection With WSO2 Identity Server
 
java and javascript api dev guide
java and javascript api dev guidejava and javascript api dev guide
java and javascript api dev guide
 
Scale Your Data Tier With Windows Server App Fabric
Scale Your Data Tier With Windows Server App FabricScale Your Data Tier With Windows Server App Fabric
Scale Your Data Tier With Windows Server App Fabric
 
Ecom2
Ecom2Ecom2
Ecom2
 
Java - Servlet - Mazenet Solution
Java - Servlet - Mazenet SolutionJava - Servlet - Mazenet Solution
Java - Servlet - Mazenet Solution
 
Make an html validator extension
Make an html validator extensionMake an html validator extension
Make an html validator extension
 
MuleSoft ESB Object Store
MuleSoft ESB Object StoreMuleSoft ESB Object Store
MuleSoft ESB Object Store
 
OAuth 2.0
OAuth 2.0OAuth 2.0
OAuth 2.0
 
Top5 scalabilityissues withappendix
Top5 scalabilityissues withappendixTop5 scalabilityissues withappendix
Top5 scalabilityissues withappendix
 
Intro to Sail.js
Intro to Sail.jsIntro to Sail.js
Intro to Sail.js
 
Python packages for blockchain
Python packages for blockchainPython packages for blockchain
Python packages for blockchain
 

More from Krishnakanth Goud

Log4j
Log4jLog4j
Hibernate java and_oracle
Hibernate java and_oracleHibernate java and_oracle
Hibernate java and_oracle
Krishnakanth Goud
 
Introduction to Hibernate
Introduction to HibernateIntroduction to Hibernate
Introduction to Hibernate
Krishnakanth Goud
 
Hibernate presentation
Hibernate presentationHibernate presentation
Hibernate presentation
Krishnakanth Goud
 
Persistence hibernate
Persistence hibernatePersistence hibernate
Persistence hibernate
Krishnakanth Goud
 
Mule smtp connector
Mule smtp connectorMule smtp connector
Mule smtp connector
Krishnakanth Goud
 
Fetch records from mysql using mule esb
Fetch records from mysql using mule esbFetch records from mysql using mule esb
Fetch records from mysql using mule esb
Krishnakanth Goud
 
Running ms sql stored procedures in mule
Running ms sql stored procedures in muleRunning ms sql stored procedures in mule
Running ms sql stored procedures in mule
Krishnakanth Goud
 
Web service invocation in mule
Web service invocation in muleWeb service invocation in mule
Web service invocation in mule
Krishnakanth Goud
 
Mule esb :Data Weave
Mule esb :Data WeaveMule esb :Data Weave
Mule esb :Data Weave
Krishnakanth Goud
 
Bluetooth
BluetoothBluetooth

More from Krishnakanth Goud (11)

Log4j
Log4jLog4j
Log4j
 
Hibernate java and_oracle
Hibernate java and_oracleHibernate java and_oracle
Hibernate java and_oracle
 
Introduction to Hibernate
Introduction to HibernateIntroduction to Hibernate
Introduction to Hibernate
 
Hibernate presentation
Hibernate presentationHibernate presentation
Hibernate presentation
 
Persistence hibernate
Persistence hibernatePersistence hibernate
Persistence hibernate
 
Mule smtp connector
Mule smtp connectorMule smtp connector
Mule smtp connector
 
Fetch records from mysql using mule esb
Fetch records from mysql using mule esbFetch records from mysql using mule esb
Fetch records from mysql using mule esb
 
Running ms sql stored procedures in mule
Running ms sql stored procedures in muleRunning ms sql stored procedures in mule
Running ms sql stored procedures in mule
 
Web service invocation in mule
Web service invocation in muleWeb service invocation in mule
Web service invocation in mule
 
Mule esb :Data Weave
Mule esb :Data WeaveMule esb :Data Weave
Mule esb :Data Weave
 
Bluetooth
BluetoothBluetooth
Bluetooth
 

Recently uploaded

People as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimalaPeople as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimala
riddhimaagrawal986
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
Anant Corporation
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
shadow0702a
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
IJECEIAES
 
Data Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptxData Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptx
ramrag33
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
bijceesjournal
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
architagupta876
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
IJECEIAES
 
An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...
IJECEIAES
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
Nada Hikmah
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
GauravCar
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
ydzowc
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
LAXMAREDDY22
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
UReason
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
Gino153088
 

Recently uploaded (20)

People as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimalaPeople as resource Grade IX.pdf minimala
People as resource Grade IX.pdf minimala
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by AnantLLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
LLM Fine Tuning with QLoRA Cassandra Lunch 4, presented by Anant
 
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
Use PyCharm for remote debugging of WSL on a Windo cf5c162d672e4e58b4dde5d797...
 
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
Redefining brain tumor segmentation: a cutting-edge convolutional neural netw...
 
Data Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptxData Control Language.pptx Data Control Language.pptx
Data Control Language.pptx Data Control Language.pptx
 
Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...Rainfall intensity duration frequency curve statistical analysis and modeling...
Rainfall intensity duration frequency curve statistical analysis and modeling...
 
AI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptxAI assisted telemedicine KIOSK for Rural India.pptx
AI assisted telemedicine KIOSK for Rural India.pptx
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...Advanced control scheme of doubly fed induction generator for wind turbine us...
Advanced control scheme of doubly fed induction generator for wind turbine us...
 
An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...An improved modulation technique suitable for a three level flying capacitor ...
An improved modulation technique suitable for a three level flying capacitor ...
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
Curve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods RegressionCurve Fitting in Numerical Methods Regression
Curve Fitting in Numerical Methods Regression
 
artificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptxartificial intelligence and data science contents.pptx
artificial intelligence and data science contents.pptx
 
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
原版制作(Humboldt毕业证书)柏林大学毕业证学位证一模一样
 
BRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdfBRAIN TUMOR DETECTION for seminar ppt.pdf
BRAIN TUMOR DETECTION for seminar ppt.pdf
 
Data Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason WebinarData Driven Maintenance | UReason Webinar
Data Driven Maintenance | UReason Webinar
 
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
4. Mosca vol I -Fisica-Tipler-5ta-Edicion-Vol-1.pdf
 

Box connector Mule ESB Integration

  • 1. Box Mule Connector Integration This tutorial explains about the Box Connector functionality in Mule. Operations performed in this flow: 1.Authorize 2.Get Folder Items Details 3.Unauthorized Pre-requisites: 1. Anypoint Studio 5.1 with Box plugin 2. Box developer account 3. Jdk 1.7
  • 2. Create an Application in Box developer site https://developers.box.com/. Copy the client_secret and client_id and provide the redirect URI. These details are required for Box connector configuration.
  • 4.
  • 5. Box Mule Flow : This flow will connect to Box and fetches the folder Items details in JSON and then Unauthorize.
  • 6. Source code: <box:config name="Box" clientId="client_id" clientSecret="clientsecret" doc:name="Box"> <box:oauth-callback-config domain="localhost" localPort="8080" remotePort="8080" path="boxApi"/> </box:config> <flow name="BoxFlow"> <http:listener config-ref="HTTP_Listener_Configuration" path="/box/authorize" doc:name="HTTP"/> <box:authorize config-ref="Box" doc:name="Authorize Box"/> <logger message="Authorized" level="INFO" doc:name="Logger"/> <box:get-folder-items config-ref="Box" doc:name="Get Folder details from Box Account"/> <json:object-to-json-transformer doc:name="Object to JSON"/> <logger message="#[payload]" level="INFO" doc:name="Logger"/> <box:unauthorize config-ref="Box" accessTokenId="Box" doc:name="Unauthorize Box"/> </flow>
  • 7. Source code: <box:config name="Box" clientId="client_id" clientSecret="clientsecret" doc:name="Box"> <box:oauth-callback-config domain="localhost" localPort="8080" remotePort="8080" path="boxApi"/> </box:config> <flow name="BoxFlow"> <http:listener config-ref="HTTP_Listener_Configuration" path="/box/authorize" doc:name="HTTP"/> <box:authorize config-ref="Box" doc:name="Authorize Box"/> <logger message="Authorized" level="INFO" doc:name="Logger"/> <box:get-folder-items config-ref="Box" doc:name="Get Folder details from Box Account"/> <json:object-to-json-transformer doc:name="Object to JSON"/> <logger message="#[payload]" level="INFO" doc:name="Logger"/> <box:unauthorize config-ref="Box" accessTokenId="Box" doc:name="Unauthorize Box"/> </flow>