Expose GraphQL API in MuleSoft In this blog, let us discuss how to expose GraphQL API in MuleSoft. We would be exposing a GraphQL API in MuleSoft which would allow us to get 2 resources that are exposed as REST APIs. Here, we can consume a single GraphQL API Endpoint to consume both resources rather […]
Pre-requisites Upsert Operation in Salesforce Steps: 1.To begin, a new Mule project needs to be created. Then, a file component should be dragged and dropped into the project for the On New or Updated File. Configure the directory, set the matcher to edit inline, and specify the filename as name_of_file.csv. to trigger the flow. 2.Following […]
Pre-requisites Salesforce: We need to have Salesforce developer account. Create a Salesforce custom object with some fields, as per the requirement. Click on Create in the home section, which is on the right-hand side. Then click on custom object, then fill in the name of the custom object. Then click on fields and relationship, then […]
Introduction What is MUnit? MUnit is a Mule application testing framework that allows you to easily build automated tests for your integrations and APIs. Why use MUnit? It provides a full suite of integration and unit test capabilities and is fully integrated with Maven and Surefire for integration with your continuous deployment environment. With MUnit […]
Objective: We are going to write test cases for the scenarios where the flow is going to throw errors. The application we are going to test is Database configuration Query Database Postman Request and response Error handler “transform messages” DB:CONNECTIVITY MULE:ANY Step 1: Select the flow you want to test (“lookup-based-on-customer-name”) then right-click on […]
Introduction: Batch Job Lifecycle:It has three phases: –Batch Job has three phases: – 1.Load and dispatch phase 2.Process phase 3.On complete phase 1.Load and dispatch phase: – 2.Process phase: – 3.On complete phase: – Batch Job Components: – Batch Job: – Configuration: – Name: – Batch job name Max Failed Records: – this value defines […]
Overview: – What is DataWeave: – Why do we need to externalize: – How to externalize: – Steps:
Introduction You can use the following operators within any DataWeave expression: do A “do” statement allows you to create a specific area where you can declare and use new variables, functions, annotations, or namespaces. It is structured like a map, with a header and a body separated by —. The header is where you define […]