ENGLISH

MuleSoft for Salesforce Developers: A practitioner's guide to deploying MuleSoft APIs and integrations for Salesforce enterprise solutions

Book information

Publisher
Packt Publishing
Year
2022
ISBN
1801079609, 9781801079600
Language
english
Format
PDF
Filesize
46 MB (48536028 bytes)
Pages
490\490
Time added
2022-10-10 14:18:35

Description

Design, secure, test, and deploy APIs with MuleSoft, and integrate it with Salesforce to maximize productivity Key FeaturesBuild, implement, transform, secure, test, and deploy APIs using Anypoint Studio and Anypoint PlatformIntegrate MuleSoft with Salesforce and other end systems to build an application networkEnhance your Salesforce and MuleSoft skills and employability with interview and certification tips and tricksBook Description MuleSoft for Salesforce Developers will help you build state-of-the-art enterprise solutions with flexible and scalable integration capabilities using MuleSoft's Anypoint Platform and Anypoint Studio. If you're a Salesforce developer looking to get started with this useful tool, look no further. This book will get you up to speed in no time, leveling up your integration developer skills. This essential guide will first introduce you to the fundamentals of MuleSoft and API-led connectivity, before walking you through the API life cycle and the Anypoint Studio IDE. Once you have the IDE set up, you'll be ready to create Mule applications. You'll look at the core components of MuleSoft and Anypoint Platform, and before long you'll know how to build, transform, secure, test, and deploy applications using the wide range of components available to you. Finally, you'll learn about using connectors to integrate MuleSoft with Salesforce and to fulfill a number of use cases, which will be covered in depth, along with interview and certification tips. By the end of this book, you will be confident building MuleSoft integrations at an enterprise scale and be able to gain the fundamental MuleSoft certification – MCD. What you will learnUnderstand how to use MuleSoft to achieve API-led connectivityDesign and create documentation for your APIDevelop Mule applications and run them in Anypoint StudioMonitor your applications from Anypoint PlatformTransform your data using DataWeaveUse the CI/CD and Mule Maven pluginsRun tests using MUnit and generate a code coverage reportUse best practices to maintain coding standardsWho this book is for This book is for Salesforce developers who want to get started with MuleSoft. Salesforce architects will also find the concepts covered in the book useful in designing Salesforce solutions. Prior knowledge of any programming language and some basic integration concepts will be helpful, alongside basic familiarity with Salesforce development and experience with at least one Salesforce API – including the SOAP API, REST API, Bulk API, or Streaming API. Table of ContentsIntroduction to MuleSoftDesign your APIExploring Anypoint StudioCore ComponentsAll About Anypoint PlatformLearningTransform with DataweaveTransform with DataWeaveBuild your Mule ApplicationDeploy your applicationSecure your APITesting your applicationMuleSoft integration with SalesforceMuleSoft connectors and Use casesMuleSoft Best practices, Tip and TricksMulesoft Certification and Interview Tips Cover Title Page Copyright and Credits Dedication Contributors Table of Contents Preface Part 1:Getting Started with MuleSoft Chapter 1: Introduction to APIs and MuleSoft Understanding the need for an integration tool Introducing no-code and low-code technologies Analyzing integrations Understanding APIs Reviewing the restaurant analogy Exploring an API example Analyzing API components Listing the benefits of using APIs Introducing MuleSoft Listing MuleSoft’s products Understanding why MuleSoft is useful Analyzing how MuleSoft helps Salesforce developers Exploring application networks and the API-led connectivity approach Understanding what application networks are Analyzing the API-led connectivity approach Summary Questions Answers Chapter 2: Designing Your API Understanding an API life cycle Introducing REST, HTTP, and SOAP REST HTTP/HTTPS SOAP Getting started with OAS and RAML OAS RAML Getting started with API design URI parameter Query parameter API mocking Best practices and tips API design naming convention Optimizing your API design Summary Assignments Questions Answers Chapter 3: Exploring Anypoint Studio Technical requirements Downloading and installing Anypoint Studio Downloading Anypoint Studio Installing Anypoint Studio Launching Anypoint Studio Introducing the Mule Palette Exploring the Mule project structure Introducing Mule views and perspectives Views Building, running, and testing a Mule application Building the Mule application Running the Mule application Testing the Mule application Exporting and importing Mule files Exporting a Mule application as a JAR file Exporting a Mule application as a filesystem Importing a Mule application from a JAR file Importing a Mule application from the filesystem Updating the theme in Anypoint Studio Installing software updates in Anypoint Studio Summary Questions Answers Chapter 4: Introduction to Core Components Technical requirements Getting familiar with a Mule flow Exploring the types of Mule flow Understanding the Mule event structure Core components Batch Features of the Batch scope The batch processing stages A batch step The batch aggregator The batch job Components Custom Business Event Dynamic Evaluate Idempotent Message Validator Invalidate Cache Invalidate Key Logger Parse Template Set Transaction Id Transform Message Endpoints A Scheduler Error handling On Error Continue On Error Propagate Raise Error Error Handler Flow control Choice First Successful Round Robin Scatter-Gather Scopes Async Cache Flow For Each Parallel For Each Sub Flow Try Until Successful Transformers Set Variable Remove Variable Set Payload Summary Assignments Questions Answers Chapter 5: All About Anypoint Platform Technical requirements Introducing Anypoint Platform Getting started with Design Center API Designer Flow Designer Introducing Exchange The public portal Exploring Runtime Manager Deploying a Mule application into CloudHub Managing a Mule application Runtime Manager alerts Anypoint VPC – virtual private cloud Load balancer Introducing API Manager Exploring Anypoint Monitoring Alerts Log Management Introducing Anypoint Visualizer Exploring Access Management Organization and business groups Invite user Roles Environments Audit logs SUBSCRIPTION Summary Questions Answers Part 2: A Deep Dive into MuleSoft Chapter 6: Learning DataWeave Technical requirements Introducing DataWeave Analyzing DataWeave Diving into a script’s anatomy Adding comments to your code Understanding data types Understanding data formats Writing DataWeave scripts Using operators Creating and using variables Defining and calling functions Retrieving data with selectors Understanding scopes and flow control Summary Questions Answers Chapter 7: Transforming with DataWeave Technical requirements Understanding modules in DataWeave Importing modules and functions Analyzing the existing DataWeave modules Using the DataWeave core functions Transforming multiple types Transforming numbers Transforming strings Transforming objects Transforming arrays Using the Transform Message component in Anypoint Studio Exploring the views Defining metadata Creating custom modules Summary Questions Answers Chapter 8: Building Your Mule Application Technical requirements Exploring different types of configuration files Mule configuration file Properties file Project Object Model Introducing Scheduler Creating a Mule application with the Scheduler component Generating a flow using APIkit Router Creating a Mule application using an API specification Running and testing a Mule application Exploring Object Store Connector Different types of Object Store Creating a Mule application with Object Store Connector Summary Questions Answers Chapter 9: Deploying Your Application Technical requirements Getting started with deployment models Types of deployment models Choosing the right deployment model Understanding the different deployment environments The hybrid model Deploying your Mule application to CloudHub Deploying your Mule application on an on-premises server Building a CI/CD pipeline with MuleSoft The Mule Maven plugin Summary Assignments Questions Answers Chapter 10: Secure Your API Technical requirements The need for API security API security with MuleSoft Introducing API Manager Understanding the capabilities of API Manager Understanding the API gateway Policies in MuleSoft Security Compliance Transformation Quality of service Custom policies Implementing API security using policy API Autodiscovery Configuring a security policy The security capabilities of MuleSoft Anypoint Enterprise Security Anypoint Security Anypoint Flex Gateway Summary Assignments Questions Answers Chapter 11: Testing Your Application Technical requirements Introduction to testing Getting familiar with testing tools Postman SoapUI JMeter Introducing MUnit Creating a test suite Exploring the MUnit Test Recorder Creating a test suite using the Test Recorder Summary Assignments Questions Answers Part 3: Integration with Salesforce and Other Connectors Chapter 12: MuleSoft Integration with Salesforce Technical requirements Exploring Salesforce connectors Configuring a Salesforce connector Adding a Salesforce connector Discovering accelerators and templates for Salesforce Getting started with accelerators Exploring templates Getting started with MuleSoft Composer Capabilities of MuleSoft Composer Configuring MuleSoft Composer Exploring MuleSoft’s integration capabilities with Salesforce The Bulk API CDC events Data analytics tools Summary Assignments Questions Answers Chapter 13: MuleSoft Connectors and Use Cases Technical requirements Introducing connectors Exploring File Connector, FTP Connector, and SFTP Connector File Connector FTP Connector SFTP Connector Understanding Database Connector and watermarking Watermarking Configuring Web Service Consumer Connector Publishing and subscribing using VM Connector Operations Publishing and listening to a message Exploring JMS Connector Operations JMS Connector configuration Introducing MuleSoft accelerators Summary Questions Answers Chapter 14: Best Practices, Tips, and Tricks Best practices General best practices Mule project best practices Anypoint Platform best practices Tips and tricks Summary Questions Answers Chapter 15: Certification and Interview Tips Getting MuleSoft certified Expanding your knowledge with the official training Developer training Architect training Operations training Contributing to the MuleSoft Community Expanding your knowledge with MuleSoft meetups Helping others as a MuleSoft Mentor Becoming a MuleSoft Ambassador Getting help with the MuleSoft forums Passing your interview Summary Questions Answers Index Other Books You May Enjoy Untitled

Similar books