SlideShare a Scribd company logo
1 of 59
Download to read offline
August 27, 2020: Mule 4 Migration Assistant and MUnit Test Recorder
Manila MuleSoft Meetup Group
Housekeeping Rules
All contents © MuleSoft Inc.
Housekeeping Rules
• This session will be recorded
• Please be muted during the speaker presentation
• The recording and slides for today’s presentations will be made
available to all attendees
• At the end of each presentation, there will be a Q&A session
• After all the presentations, there will be a quiz game where you will
get a chance to win a training voucher from MuleSoft
All contents © MuleSoft Inc.
Our Partners
4
All contents © MuleSoft Inc.
Selfie Time
5
Share Your Pictures
• Tweet your pictures with the hashtag
#ManilaMuleSoftMeetup
#MuleSoftMeetup
Agenda
All contents © MuleSoft Inc.
Agenda
7
• 6:00 pm: Introduction
• 6:15 pm: Mule 4 Migration Assistant
• 6:55 pm: Raffle
• 7:00 pm: MUnit Test Recorder
• 7:40 pm: Quiz Game and Giveaways
• 7:55 pm: Closing
Introductions
All contents © MuleSoft Inc.
Organizers
9
Announcements
All contents © MuleSoft Inc.
MuleSoft Ambassadors
• https://developer.mulesoft.com/dev/ambassadors
All contents © MuleSoft Inc.
MuleSoft Ambassadors
How can you become a MuleSoft Ambassador?
The 2021 MuleSoft Ambassador cohort will be based on community
nominations and a review of the nominees by our current Ambassadors and
several MuleSoft team members.
Here are some ways to get started below:
• Participate in MuleSoft Meetups: Attending upcoming
Meetups whether virtual or in-person, is the first step. If you have
content you think would benefit the Community, apply to be a
speaker here! Interested in starting a Meetup group or becoming a
leader? Apply here.
• Contribute! The best way to spread knowledge is by making
contributions to our Community. This could be by writing blogs of your
own, creating video tutorials, or sharing example use cases. When you
share, be sure to use #MuleSoftDevelopers and post
on @MuleSoftDevelopers for a chance to be featured in our quarterly
Community Roundup. You can also submit your content here.
August 27, 2020: Mule 4 Migration Assistant and MUnit Test Recorder
Manila MuleSoft Meetup Group
All contents © MuleSoft Inc.
Speakers
14
• Paolo is currently a Senior Integration
Consultant at Capgemini.
• He has more than 6 years of IT experience in
development and integrating with multiple 3rd
parties.
All contents © MuleSoft Inc.
Speakers
15
• Jeric is currently an Integration Consultant at
Capgemini.
• He has extensive system integration
experience within Telecommunication,
Education and Utilities industries.
Mule Migration Assistant
By Paolo Ablir
All contents © MuleSoft Inc.
Topics
• Should you migrate to Mule 4?
• What is the Mule Migration Assistant?
• Translation Capabilities of MMA
• MMA Conversion Report
• MMA as an Open Source Tool
• Is MMA right for you?
• Getting Started
• Demo
All contents © MuleSoft Inc.
Should you migrate to Mule 4?
• For applications that have short
lifespans and set to retire before the
Mule 3.9 extended end-of-life
(currently March 2024), we can
migrate to Mule 3.9 and stay there.
• For applications with longer lifespans
and has plans for major updates, it is
better to migrate to the latest version
of Mule 4.
All contents © MuleSoft Inc.
What is the Mule Migration Assistant?
• The Mule Migration Assistant (MMA) is a command line tool which
assists in the translation of a Mule 3 application into Mule 4.
• MMA will not do a 100% conversion.
• A conversion report is generated which gives details on what needs
to be manually adjusted
• MMA is open source
All contents © MuleSoft Inc.
Translation Capabilities of MMA
• Flows and their inner logic
• Global configurations
• Global elements
• DataWeave 1 scripts to DataWeave 2 scripts
• MEL scripts to DataWeave 2 scripts
• MUnit tests
• API Gateway Policies
• Connectors, transports, and modules*
*not all are supported
All contents © MuleSoft Inc.
MMA Conversion Report
There are 3 sections in the generated conversion report
• Errors – components that were not converted by the tool and
require manual migration
• Warnings – items that may require manual intervention based on
certain Mule 3 features that are not in Mule 4
• Info – concerned about Mule 3 features that were removed or
changed to make use of Mule 4 improvements
All contents © MuleSoft Inc.
MMA Conversion Report
All contents © MuleSoft Inc.
MMA Conversion Report
All contents © MuleSoft Inc.
MMA Conversion
All contents © MuleSoft Inc.
MMA Conversion
All contents © MuleSoft Inc.
MMA as an Open Source Tool
• Available in MuleSoft’s Github
• Free to download and use
– https://github.com/mulesoft/mule-migration-assistant
• Contributions to the project are welcome
• Not part of MuleSoft’s commercial Anypoint Platform offering
• Not supported by MuleSoft’s support team
All contents © MuleSoft Inc.
Is MMA right for you?
• Is the architecture already set?
• Will there be major changes after the
upgrade?
• Consider running the MMA to and
assess the report results and the
changes that needs to be manually
corrected.
All contents © MuleSoft Inc.
Is MMA right for you?
All contents © MuleSoft Inc.
Getting Started
• Minimum Requirements
– Java 8
– Maven 3.3.9
• Running the MMA Tool
– $ java -jar mule-migration-assistant-runner-*CURRENT
VERSION*.jar [parameters]
Parameter Description Required
projectBasePath Path of the application to be migrated Y
destinationProjectBasePath
Path where to generate the migrated
application
Y
muleVersion Mule 4 version to define on the application Y
parentDomainBasePath Path of the domain to be migrated N
help Show all the parameters to define on MMA N
Demo
Mule Migration Assistant
Q&A
By Jeric Delos Santos
MUnit Test Recorder
All contents © MuleSoft Inc.
Topics
• MUnit Overview
• Pros of using MUnit and Cons of not using it
• MUnit Coverage Report
• What is MUnit Test Recorder?
• Why use MUnit Test Recorder?
• Limitations
• Compatibility
• Demo
All contents © MuleSoft Inc.
MUnit Overview
• MUnit is a testing framework used to write unit tests for Mule
applications.
• It is fully integrated with Maven and Surefire for integration with
your continuous development environment.
All contents © MuleSoft Inc.
Pros of using MUnit
• You can test your Mule applications, graphically or in XML, all within
Anypoint Studio.
• Easily integrate testing into your existing CI/CD process.
• Minimize manual work with auto—generated tests and coverage
reports.
• Leverage local DB/FTP/mail servers to make testing more portable
through the CI process
• MUnit tests provide code coverage reports with metrics on how
much of a Mule application has been executed.
All contents © MuleSoft Inc.
Cons for not using MUnit
• Unit testing is done not only to check/test the current process of an
application, Mule applications without MUnit tests are prone to error
in the future updates.
All contents © MuleSoft Inc.
All contents © MuleSoft Inc.
MUnit Coverage Report
• The MUnit Coverage feature provides a measurement of how much
of a Mule application has been executed.
• It offers four types of reports:
– Console report
– HTML report
– JSON report
– Sonar report
• MUnit handles three different coverage levels
– Application
– Resource
– Flow
All contents © MuleSoft Inc.
Console Report
MUnit Coverage Report
HTML Report
All contents © MuleSoft Inc.
JSON Report
MUnit Coverage Report
Sonar Report
All contents © MuleSoft Inc.
All contents © MuleSoft Inc.
What is MUnit Test Recorder?
• A new feature introduced with Anypoint Studio 7.5.
• It enables developers to record the processing flow and generate
automatic unit test case depending on recorded/captured events.
All contents © MuleSoft Inc.
What is MUnit Test Recorder?
• A new feature introduced with Anypoint Studio 7.5.
• It enables developers to record the processing flow and generate
automatic unit test case depending on recorded/captured events.
All contents © MuleSoft Inc.
Why use MUnit Test Recorder?
• It makes the developer’s life easier that they don’t have to spend
much of their time in writing the MUnit tests.
All contents © MuleSoft Inc.
Limitations
• Cannot generate tests for flows with Mule errors raised inside the flow or
even errors are handled by On Error Continue.
• Test will not be generated for the successful execution, but the result
does not reach its destination because the application is terminated.
• Mocking values resulting from parallel processes causes a mixture of real
and mocked data that compromises the execution of the processors that
follow in your test.
• It does not support cases in which the structure of the data being tested
changes inside the iteration.
• Recorder does not support mocking a message before or inside a Foreach
processor.
All contents © MuleSoft Inc.
Compatibility
Product Version
Anypoint Studio 7.5.0 and later
MUnit 2.2.5 and later
MUnit Anypoint Studio Plugin 2.5.0 and later
Mule runtime engine 4.3.0 and later
MUnit Test Recorder
Demo
All contents © MuleSoft Inc.
Work Smart!
Q&A
Picture Time
All contents © MuleSoft Inc.
Picture Time
50
What’s Next
All contents © MuleSoft Inc.
What’s next
52
All contents © MuleSoft Inc.
What’s next
53
• We are now accepting applications for the next Meetup Speakers.
Feel free to approach the organizers for more information.
All contents © MuleSoft Inc.
What’s next
54
Share:
• Invite your network to join:
https://meetups.mulesoft.com/manila/
All contents © MuleSoft Inc.
What’s next
55
• Feedback:
– Contact your organizers Neil Buen, Janos Geronimo, Christoper Co
and Ryan Andal to suggest topics
– Contact MuleSoft at meetup@mulesoft.com for ways to improve
the program
Online Quiz Game
All contents © MuleSoft Inc.
Online Quiz
• https://quizizz.com/join?gc=097110
See you next time
Please send topic suggestions to the organizer
Manila MuleSoft Meetup - August 2020

More Related Content

What's hot

Kochi MuleSoft Meetup-7-November-2021
Kochi MuleSoft Meetup-7-November-2021Kochi MuleSoft Meetup-7-November-2021
Kochi MuleSoft Meetup-7-November-2021Supriya Pawar
 
NYC MuleSoft Meetup 2019 Q2- MuleSoft for Mobile Applications
NYC MuleSoft Meetup 2019 Q2- MuleSoft for Mobile ApplicationsNYC MuleSoft Meetup 2019 Q2- MuleSoft for Mobile Applications
NYC MuleSoft Meetup 2019 Q2- MuleSoft for Mobile ApplicationsGean Martinez
 
Learn mulesoft from scratch
Learn mulesoft from scratchLearn mulesoft from scratch
Learn mulesoft from scratchNikhil More
 
Melbourne Virtual MuleSoft Meetup October 2021
Melbourne Virtual MuleSoft Meetup October 2021Melbourne Virtual MuleSoft Meetup October 2021
Melbourne Virtual MuleSoft Meetup October 2021Daniel Soffner
 
Mulesoft meetup slides mumbai_20113019_exception_handling
Mulesoft meetup slides mumbai_20113019_exception_handlingMulesoft meetup slides mumbai_20113019_exception_handling
Mulesoft meetup slides mumbai_20113019_exception_handlingManish Kumar Yadav
 
MuleSoft Meetup Singapore June 2021
MuleSoft Meetup Singapore June 2021MuleSoft Meetup Singapore June 2021
MuleSoft Meetup Singapore June 2021Julian Douch
 
MuleSoft Meetup - Singapore - No.3 Oct19
MuleSoft Meetup - Singapore - No.3 Oct19MuleSoft Meetup - Singapore - No.3 Oct19
MuleSoft Meetup - Singapore - No.3 Oct19Julian Douch
 
MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...
MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...
MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...Manish Kumar Yadav
 
MuleSoft Meetup - Women Who Mule JAPAC November 2021
MuleSoft Meetup - Women Who Mule JAPAC November 2021MuleSoft Meetup - Women Who Mule JAPAC November 2021
MuleSoft Meetup - Women Who Mule JAPAC November 2021Archana Patel
 
Meetup_Bangalore_Rajesh
Meetup_Bangalore_RajeshMeetup_Bangalore_Rajesh
Meetup_Bangalore_RajeshD.Rajesh Kumar
 
Error Handling in Mulesoft
Error Handling in MulesoftError Handling in Mulesoft
Error Handling in MulesoftAmit Singh
 
Coimbatore meetup error handling 24apr2021
Coimbatore meetup error handling 24apr2021Coimbatore meetup error handling 24apr2021
Coimbatore meetup error handling 24apr2021Anoop Ramachandran
 
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalertsAhmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalertsShekh Muenuddeen
 
Kochi Mulesoft Meetup #4
Kochi Mulesoft Meetup #4Kochi Mulesoft Meetup #4
Kochi Mulesoft Meetup #4sumitahuja94
 
MuleSoft meetup_sg_no2_may19
MuleSoft meetup_sg_no2_may19MuleSoft meetup_sg_no2_may19
MuleSoft meetup_sg_no2_may19Julian Douch
 
MuleSoft Manchester Meetup #2 slides 29th October 2019
MuleSoft Manchester Meetup #2 slides 29th October 2019MuleSoft Manchester Meetup #2 slides 29th October 2019
MuleSoft Manchester Meetup #2 slides 29th October 2019Ieva Navickaite
 
Anypoint MQ-DLQ NYC Meet Up
Anypoint MQ-DLQ NYC Meet UpAnypoint MQ-DLQ NYC Meet Up
Anypoint MQ-DLQ NYC Meet UpNeerajKumar1965
 
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsMuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsJulian Douch
 
Second Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup SlidesSecond Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup SlidesFernando Silva
 
Mulesoft KL Meetup 2
Mulesoft KL Meetup 2Mulesoft KL Meetup 2
Mulesoft KL Meetup 2NitushreeJena
 

What's hot (20)

Kochi MuleSoft Meetup-7-November-2021
Kochi MuleSoft Meetup-7-November-2021Kochi MuleSoft Meetup-7-November-2021
Kochi MuleSoft Meetup-7-November-2021
 
NYC MuleSoft Meetup 2019 Q2- MuleSoft for Mobile Applications
NYC MuleSoft Meetup 2019 Q2- MuleSoft for Mobile ApplicationsNYC MuleSoft Meetup 2019 Q2- MuleSoft for Mobile Applications
NYC MuleSoft Meetup 2019 Q2- MuleSoft for Mobile Applications
 
Learn mulesoft from scratch
Learn mulesoft from scratchLearn mulesoft from scratch
Learn mulesoft from scratch
 
Melbourne Virtual MuleSoft Meetup October 2021
Melbourne Virtual MuleSoft Meetup October 2021Melbourne Virtual MuleSoft Meetup October 2021
Melbourne Virtual MuleSoft Meetup October 2021
 
Mulesoft meetup slides mumbai_20113019_exception_handling
Mulesoft meetup slides mumbai_20113019_exception_handlingMulesoft meetup slides mumbai_20113019_exception_handling
Mulesoft meetup slides mumbai_20113019_exception_handling
 
MuleSoft Meetup Singapore June 2021
MuleSoft Meetup Singapore June 2021MuleSoft Meetup Singapore June 2021
MuleSoft Meetup Singapore June 2021
 
MuleSoft Meetup - Singapore - No.3 Oct19
MuleSoft Meetup - Singapore - No.3 Oct19MuleSoft Meetup - Singapore - No.3 Oct19
MuleSoft Meetup - Singapore - No.3 Oct19
 
MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...
MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...
MuleSoft Meetup slides_kualalumpur_19thSept_Undisturbed REST: Achieving Undis...
 
MuleSoft Meetup - Women Who Mule JAPAC November 2021
MuleSoft Meetup - Women Who Mule JAPAC November 2021MuleSoft Meetup - Women Who Mule JAPAC November 2021
MuleSoft Meetup - Women Who Mule JAPAC November 2021
 
Meetup_Bangalore_Rajesh
Meetup_Bangalore_RajeshMeetup_Bangalore_Rajesh
Meetup_Bangalore_Rajesh
 
Error Handling in Mulesoft
Error Handling in MulesoftError Handling in Mulesoft
Error Handling in Mulesoft
 
Coimbatore meetup error handling 24apr2021
Coimbatore meetup error handling 24apr2021Coimbatore meetup error handling 24apr2021
Coimbatore meetup error handling 24apr2021
 
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalertsAhmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
 
Kochi Mulesoft Meetup #4
Kochi Mulesoft Meetup #4Kochi Mulesoft Meetup #4
Kochi Mulesoft Meetup #4
 
MuleSoft meetup_sg_no2_may19
MuleSoft meetup_sg_no2_may19MuleSoft meetup_sg_no2_may19
MuleSoft meetup_sg_no2_may19
 
MuleSoft Manchester Meetup #2 slides 29th October 2019
MuleSoft Manchester Meetup #2 slides 29th October 2019MuleSoft Manchester Meetup #2 slides 29th October 2019
MuleSoft Manchester Meetup #2 slides 29th October 2019
 
Anypoint MQ-DLQ NYC Meet Up
Anypoint MQ-DLQ NYC Meet UpAnypoint MQ-DLQ NYC Meet Up
Anypoint MQ-DLQ NYC Meet Up
 
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF OperationsMuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
MuleSoft Meetup Singapore - Reliable Messaging & RTF Operations
 
Second Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup SlidesSecond Caracas MuleSoft Meetup Slides
Second Caracas MuleSoft Meetup Slides
 
Mulesoft KL Meetup 2
Mulesoft KL Meetup 2Mulesoft KL Meetup 2
Mulesoft KL Meetup 2
 

Similar to Manila MuleSoft Meetup - August 2020

Mule Meetup Hyderabad - Aug 2020
Mule Meetup Hyderabad - Aug 2020Mule Meetup Hyderabad - Aug 2020
Mule Meetup Hyderabad - Aug 2020Sravan Lingam
 
Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019Zubair Aslam
 
Mule Testing in Mulesfoft 4.X
Mule Testing in Mulesfoft 4.XMule Testing in Mulesfoft 4.X
Mule Testing in Mulesfoft 4.XAmit Singh
 
Mexico City Online Mulesoft Meetup - Quality Code with MUNIT - May 4, 2020
Mexico City Online Mulesoft Meetup - Quality Code with MUNIT - May 4, 2020Mexico City Online Mulesoft Meetup - Quality Code with MUNIT - May 4, 2020
Mexico City Online Mulesoft Meetup - Quality Code with MUNIT - May 4, 2020Ricardo Rodríguez
 
West Yorkshire Mulesoft Meetup #5
West Yorkshire Mulesoft Meetup #5West Yorkshire Mulesoft Meetup #5
West Yorkshire Mulesoft Meetup #5Francis Edwards
 
Third Meetup Slides Mulesoft Mexico City
Third Meetup Slides Mulesoft Mexico CityThird Meetup Slides Mulesoft Mexico City
Third Meetup Slides Mulesoft Mexico CityAlan Muñoz Ochoa
 
MuleSoft Meetup Virtual_ 2_Charlotte
MuleSoft Meetup Virtual_ 2_CharlotteMuleSoft Meetup Virtual_ 2_Charlotte
MuleSoft Meetup Virtual_ 2_CharlotteSubhash Patel
 
Meetup slide 1st june
Meetup slide 1st juneMeetup slide 1st june
Meetup slide 1st juneSantosh Ojha
 
Vancouver mulesoft meetup_september_2020
Vancouver mulesoft meetup_september_2020Vancouver mulesoft meetup_september_2020
Vancouver mulesoft meetup_september_2020Vikalp Bhalia
 
MuleSoft Singapore Meetup May 2020
MuleSoft Singapore Meetup May 2020MuleSoft Singapore Meetup May 2020
MuleSoft Singapore Meetup May 2020Julian Douch
 
MuleSoft Meetup Charlotte 2 - 2019
MuleSoft Meetup Charlotte 2 - 2019MuleSoft Meetup Charlotte 2 - 2019
MuleSoft Meetup Charlotte 2 - 2019Subhash Patel
 
Mule soft meetup_tw_no1_june17
Mule soft meetup_tw_no1_june17Mule soft meetup_tw_no1_june17
Mule soft meetup_tw_no1_june17WendyTey4
 
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalertsAhmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalertsShekh Muenuddeen
 
27th Hyderabad MuleSoft Meetup
27th Hyderabad MuleSoft Meetup27th Hyderabad MuleSoft Meetup
27th Hyderabad MuleSoft MeetupMuleSoft Meetups
 
Manila MuleSoft Meetup #3 December 2018
Manila MuleSoft Meetup #3 December 2018Manila MuleSoft Meetup #3 December 2018
Manila MuleSoft Meetup #3 December 2018Christopher Co
 
Mule soft meetup_th_no1
Mule soft meetup_th_no1Mule soft meetup_th_no1
Mule soft meetup_th_no1WendyTey4
 

Similar to Manila MuleSoft Meetup - August 2020 (20)

Mule Meetup Hyderabad - Aug 2020
Mule Meetup Hyderabad - Aug 2020Mule Meetup Hyderabad - Aug 2020
Mule Meetup Hyderabad - Aug 2020
 
Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019Perth MuleSoft Meetup Feb 2019
Perth MuleSoft Meetup Feb 2019
 
Mule Testing in Mulesfoft 4.X
Mule Testing in Mulesfoft 4.XMule Testing in Mulesfoft 4.X
Mule Testing in Mulesfoft 4.X
 
Cracow MuleSoft Meetup #1
Cracow MuleSoft Meetup #1Cracow MuleSoft Meetup #1
Cracow MuleSoft Meetup #1
 
Mexico City Online Mulesoft Meetup - Quality Code with MUNIT - May 4, 2020
Mexico City Online Mulesoft Meetup - Quality Code with MUNIT - May 4, 2020Mexico City Online Mulesoft Meetup - Quality Code with MUNIT - May 4, 2020
Mexico City Online Mulesoft Meetup - Quality Code with MUNIT - May 4, 2020
 
West Yorkshire Mulesoft Meetup #5
West Yorkshire Mulesoft Meetup #5West Yorkshire Mulesoft Meetup #5
West Yorkshire Mulesoft Meetup #5
 
Third Meetup Slides Mulesoft Mexico City
Third Meetup Slides Mulesoft Mexico CityThird Meetup Slides Mulesoft Mexico City
Third Meetup Slides Mulesoft Mexico City
 
MuleSoft Meetup Virtual_ 2_Charlotte
MuleSoft Meetup Virtual_ 2_CharlotteMuleSoft Meetup Virtual_ 2_Charlotte
MuleSoft Meetup Virtual_ 2_Charlotte
 
Meetup slide 1st june
Meetup slide 1st juneMeetup slide 1st june
Meetup slide 1st june
 
Vancouver mulesoft meetup_september_2020
Vancouver mulesoft meetup_september_2020Vancouver mulesoft meetup_september_2020
Vancouver mulesoft meetup_september_2020
 
Chicago meetup-14-may 2020
Chicago meetup-14-may 2020Chicago meetup-14-may 2020
Chicago meetup-14-may 2020
 
Mule soft dubai virtual meetup 27_apr
Mule soft dubai virtual meetup 27_aprMule soft dubai virtual meetup 27_apr
Mule soft dubai virtual meetup 27_apr
 
MuleSoft Singapore Meetup May 2020
MuleSoft Singapore Meetup May 2020MuleSoft Singapore Meetup May 2020
MuleSoft Singapore Meetup May 2020
 
MuleSoft Meetup Charlotte 2 - 2019
MuleSoft Meetup Charlotte 2 - 2019MuleSoft Meetup Charlotte 2 - 2019
MuleSoft Meetup Charlotte 2 - 2019
 
Mule soft meetup_tw_no1_june17
Mule soft meetup_tw_no1_june17Mule soft meetup_tw_no1_june17
Mule soft meetup_tw_no1_june17
 
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalertsAhmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
Ahmadabad mule soft_meetup_11_october_2020_errorhanlingandmonitoringalerts
 
27th Hyderabad MuleSoft Meetup
27th Hyderabad MuleSoft Meetup27th Hyderabad MuleSoft Meetup
27th Hyderabad MuleSoft Meetup
 
API LifeCycle Management
API LifeCycle ManagementAPI LifeCycle Management
API LifeCycle Management
 
Manila MuleSoft Meetup #3 December 2018
Manila MuleSoft Meetup #3 December 2018Manila MuleSoft Meetup #3 December 2018
Manila MuleSoft Meetup #3 December 2018
 
Mule soft meetup_th_no1
Mule soft meetup_th_no1Mule soft meetup_th_no1
Mule soft meetup_th_no1
 

More from Ryan Anthony Andal

13th Manila MuleSoft Meetup Sept 2022
13th Manila MuleSoft Meetup Sept 202213th Manila MuleSoft Meetup Sept 2022
13th Manila MuleSoft Meetup Sept 2022Ryan Anthony Andal
 
10th Brisbane MuleSoft Meetup Aug 2022
10th Brisbane MuleSoft Meetup Aug 202210th Brisbane MuleSoft Meetup Aug 2022
10th Brisbane MuleSoft Meetup Aug 2022Ryan Anthony Andal
 
12th Manila MuleSoft Meetup May 2022
12th Manila MuleSoft Meetup May 202212th Manila MuleSoft Meetup May 2022
12th Manila MuleSoft Meetup May 2022Ryan Anthony Andal
 
11th Manila MuleSoft Meetup Dec 2021
11th Manila MuleSoft Meetup Dec 202111th Manila MuleSoft Meetup Dec 2021
11th Manila MuleSoft Meetup Dec 2021Ryan Anthony Andal
 
10th Manila MuleSoft Meetup Aug 2021
10th Manila MuleSoft Meetup Aug 202110th Manila MuleSoft Meetup Aug 2021
10th Manila MuleSoft Meetup Aug 2021Ryan Anthony Andal
 
9th Manila MuleSoft Meetup July 2021
9th Manila MuleSoft Meetup July 20219th Manila MuleSoft Meetup July 2021
9th Manila MuleSoft Meetup July 2021Ryan Anthony Andal
 
8th Manila MuleSoft Meetup Feb 2021
8th Manila MuleSoft Meetup Feb 20218th Manila MuleSoft Meetup Feb 2021
8th Manila MuleSoft Meetup Feb 2021Ryan Anthony Andal
 

More from Ryan Anthony Andal (7)

13th Manila MuleSoft Meetup Sept 2022
13th Manila MuleSoft Meetup Sept 202213th Manila MuleSoft Meetup Sept 2022
13th Manila MuleSoft Meetup Sept 2022
 
10th Brisbane MuleSoft Meetup Aug 2022
10th Brisbane MuleSoft Meetup Aug 202210th Brisbane MuleSoft Meetup Aug 2022
10th Brisbane MuleSoft Meetup Aug 2022
 
12th Manila MuleSoft Meetup May 2022
12th Manila MuleSoft Meetup May 202212th Manila MuleSoft Meetup May 2022
12th Manila MuleSoft Meetup May 2022
 
11th Manila MuleSoft Meetup Dec 2021
11th Manila MuleSoft Meetup Dec 202111th Manila MuleSoft Meetup Dec 2021
11th Manila MuleSoft Meetup Dec 2021
 
10th Manila MuleSoft Meetup Aug 2021
10th Manila MuleSoft Meetup Aug 202110th Manila MuleSoft Meetup Aug 2021
10th Manila MuleSoft Meetup Aug 2021
 
9th Manila MuleSoft Meetup July 2021
9th Manila MuleSoft Meetup July 20219th Manila MuleSoft Meetup July 2021
9th Manila MuleSoft Meetup July 2021
 
8th Manila MuleSoft Meetup Feb 2021
8th Manila MuleSoft Meetup Feb 20218th Manila MuleSoft Meetup Feb 2021
8th Manila MuleSoft Meetup Feb 2021
 

Recently uploaded

New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsPrecisely
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 

Recently uploaded (20)

New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Unlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power SystemsUnlocking the Potential of the Cloud for IBM Power Systems
Unlocking the Potential of the Cloud for IBM Power Systems
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 

Manila MuleSoft Meetup - August 2020

  • 1. August 27, 2020: Mule 4 Migration Assistant and MUnit Test Recorder Manila MuleSoft Meetup Group
  • 3. All contents © MuleSoft Inc. Housekeeping Rules • This session will be recorded • Please be muted during the speaker presentation • The recording and slides for today’s presentations will be made available to all attendees • At the end of each presentation, there will be a Q&A session • After all the presentations, there will be a quiz game where you will get a chance to win a training voucher from MuleSoft
  • 4. All contents © MuleSoft Inc. Our Partners 4
  • 5. All contents © MuleSoft Inc. Selfie Time 5 Share Your Pictures • Tweet your pictures with the hashtag #ManilaMuleSoftMeetup #MuleSoftMeetup
  • 7. All contents © MuleSoft Inc. Agenda 7 • 6:00 pm: Introduction • 6:15 pm: Mule 4 Migration Assistant • 6:55 pm: Raffle • 7:00 pm: MUnit Test Recorder • 7:40 pm: Quiz Game and Giveaways • 7:55 pm: Closing
  • 9. All contents © MuleSoft Inc. Organizers 9
  • 11. All contents © MuleSoft Inc. MuleSoft Ambassadors • https://developer.mulesoft.com/dev/ambassadors
  • 12. All contents © MuleSoft Inc. MuleSoft Ambassadors How can you become a MuleSoft Ambassador? The 2021 MuleSoft Ambassador cohort will be based on community nominations and a review of the nominees by our current Ambassadors and several MuleSoft team members. Here are some ways to get started below: • Participate in MuleSoft Meetups: Attending upcoming Meetups whether virtual or in-person, is the first step. If you have content you think would benefit the Community, apply to be a speaker here! Interested in starting a Meetup group or becoming a leader? Apply here. • Contribute! The best way to spread knowledge is by making contributions to our Community. This could be by writing blogs of your own, creating video tutorials, or sharing example use cases. When you share, be sure to use #MuleSoftDevelopers and post on @MuleSoftDevelopers for a chance to be featured in our quarterly Community Roundup. You can also submit your content here.
  • 13. August 27, 2020: Mule 4 Migration Assistant and MUnit Test Recorder Manila MuleSoft Meetup Group
  • 14. All contents © MuleSoft Inc. Speakers 14 • Paolo is currently a Senior Integration Consultant at Capgemini. • He has more than 6 years of IT experience in development and integrating with multiple 3rd parties.
  • 15. All contents © MuleSoft Inc. Speakers 15 • Jeric is currently an Integration Consultant at Capgemini. • He has extensive system integration experience within Telecommunication, Education and Utilities industries.
  • 17. All contents © MuleSoft Inc. Topics • Should you migrate to Mule 4? • What is the Mule Migration Assistant? • Translation Capabilities of MMA • MMA Conversion Report • MMA as an Open Source Tool • Is MMA right for you? • Getting Started • Demo
  • 18. All contents © MuleSoft Inc. Should you migrate to Mule 4? • For applications that have short lifespans and set to retire before the Mule 3.9 extended end-of-life (currently March 2024), we can migrate to Mule 3.9 and stay there. • For applications with longer lifespans and has plans for major updates, it is better to migrate to the latest version of Mule 4.
  • 19. All contents © MuleSoft Inc. What is the Mule Migration Assistant? • The Mule Migration Assistant (MMA) is a command line tool which assists in the translation of a Mule 3 application into Mule 4. • MMA will not do a 100% conversion. • A conversion report is generated which gives details on what needs to be manually adjusted • MMA is open source
  • 20. All contents © MuleSoft Inc. Translation Capabilities of MMA • Flows and their inner logic • Global configurations • Global elements • DataWeave 1 scripts to DataWeave 2 scripts • MEL scripts to DataWeave 2 scripts • MUnit tests • API Gateway Policies • Connectors, transports, and modules* *not all are supported
  • 21. All contents © MuleSoft Inc. MMA Conversion Report There are 3 sections in the generated conversion report • Errors – components that were not converted by the tool and require manual migration • Warnings – items that may require manual intervention based on certain Mule 3 features that are not in Mule 4 • Info – concerned about Mule 3 features that were removed or changed to make use of Mule 4 improvements
  • 22. All contents © MuleSoft Inc. MMA Conversion Report
  • 23. All contents © MuleSoft Inc. MMA Conversion Report
  • 24. All contents © MuleSoft Inc. MMA Conversion
  • 25. All contents © MuleSoft Inc. MMA Conversion
  • 26. All contents © MuleSoft Inc. MMA as an Open Source Tool • Available in MuleSoft’s Github • Free to download and use – https://github.com/mulesoft/mule-migration-assistant • Contributions to the project are welcome • Not part of MuleSoft’s commercial Anypoint Platform offering • Not supported by MuleSoft’s support team
  • 27. All contents © MuleSoft Inc. Is MMA right for you? • Is the architecture already set? • Will there be major changes after the upgrade? • Consider running the MMA to and assess the report results and the changes that needs to be manually corrected.
  • 28. All contents © MuleSoft Inc. Is MMA right for you?
  • 29. All contents © MuleSoft Inc. Getting Started • Minimum Requirements – Java 8 – Maven 3.3.9 • Running the MMA Tool – $ java -jar mule-migration-assistant-runner-*CURRENT VERSION*.jar [parameters] Parameter Description Required projectBasePath Path of the application to be migrated Y destinationProjectBasePath Path where to generate the migrated application Y muleVersion Mule 4 version to define on the application Y parentDomainBasePath Path of the domain to be migrated N help Show all the parameters to define on MMA N
  • 31. Q&A
  • 32. By Jeric Delos Santos MUnit Test Recorder
  • 33. All contents © MuleSoft Inc. Topics • MUnit Overview • Pros of using MUnit and Cons of not using it • MUnit Coverage Report • What is MUnit Test Recorder? • Why use MUnit Test Recorder? • Limitations • Compatibility • Demo
  • 34. All contents © MuleSoft Inc. MUnit Overview • MUnit is a testing framework used to write unit tests for Mule applications. • It is fully integrated with Maven and Surefire for integration with your continuous development environment.
  • 35. All contents © MuleSoft Inc. Pros of using MUnit • You can test your Mule applications, graphically or in XML, all within Anypoint Studio. • Easily integrate testing into your existing CI/CD process. • Minimize manual work with auto—generated tests and coverage reports. • Leverage local DB/FTP/mail servers to make testing more portable through the CI process • MUnit tests provide code coverage reports with metrics on how much of a Mule application has been executed.
  • 36. All contents © MuleSoft Inc. Cons for not using MUnit • Unit testing is done not only to check/test the current process of an application, Mule applications without MUnit tests are prone to error in the future updates.
  • 37. All contents © MuleSoft Inc.
  • 38. All contents © MuleSoft Inc. MUnit Coverage Report • The MUnit Coverage feature provides a measurement of how much of a Mule application has been executed. • It offers four types of reports: – Console report – HTML report – JSON report – Sonar report • MUnit handles three different coverage levels – Application – Resource – Flow
  • 39. All contents © MuleSoft Inc. Console Report MUnit Coverage Report HTML Report
  • 40. All contents © MuleSoft Inc. JSON Report MUnit Coverage Report Sonar Report
  • 41. All contents © MuleSoft Inc.
  • 42. All contents © MuleSoft Inc. What is MUnit Test Recorder? • A new feature introduced with Anypoint Studio 7.5. • It enables developers to record the processing flow and generate automatic unit test case depending on recorded/captured events. All contents © MuleSoft Inc. What is MUnit Test Recorder? • A new feature introduced with Anypoint Studio 7.5. • It enables developers to record the processing flow and generate automatic unit test case depending on recorded/captured events.
  • 43. All contents © MuleSoft Inc. Why use MUnit Test Recorder? • It makes the developer’s life easier that they don’t have to spend much of their time in writing the MUnit tests.
  • 44. All contents © MuleSoft Inc. Limitations • Cannot generate tests for flows with Mule errors raised inside the flow or even errors are handled by On Error Continue. • Test will not be generated for the successful execution, but the result does not reach its destination because the application is terminated. • Mocking values resulting from parallel processes causes a mixture of real and mocked data that compromises the execution of the processors that follow in your test. • It does not support cases in which the structure of the data being tested changes inside the iteration. • Recorder does not support mocking a message before or inside a Foreach processor.
  • 45. All contents © MuleSoft Inc. Compatibility Product Version Anypoint Studio 7.5.0 and later MUnit 2.2.5 and later MUnit Anypoint Studio Plugin 2.5.0 and later Mule runtime engine 4.3.0 and later
  • 47. All contents © MuleSoft Inc. Work Smart!
  • 48. Q&A
  • 50. All contents © MuleSoft Inc. Picture Time 50
  • 52. All contents © MuleSoft Inc. What’s next 52
  • 53. All contents © MuleSoft Inc. What’s next 53 • We are now accepting applications for the next Meetup Speakers. Feel free to approach the organizers for more information.
  • 54. All contents © MuleSoft Inc. What’s next 54 Share: • Invite your network to join: https://meetups.mulesoft.com/manila/
  • 55. All contents © MuleSoft Inc. What’s next 55 • Feedback: – Contact your organizers Neil Buen, Janos Geronimo, Christoper Co and Ryan Andal to suggest topics – Contact MuleSoft at meetup@mulesoft.com for ways to improve the program
  • 57. All contents © MuleSoft Inc. Online Quiz • https://quizizz.com/join?gc=097110
  • 58. See you next time Please send topic suggestions to the organizer