A common use case for DataWeave developers is that of merging elements from two different object collections into a set of composite output records. There are several ways to accomplish this, and we will look at
In order to enable HTTPS on your localhost and CloudHub endpoint, you need to generate a keystore.jks file using the JDK keytool utility on the command line. You must also specify the hostname on the command line to generate a self-signed certificate. Go to your Terminal or Command line...
Next, drag aTransformconnector into the flow. This transform message is going to take each entry from the database and convert it into a JSON format. To complete this data transformation, simply replace the DataWeave script with the one provided in the below screenshot. Next, a...
In the configuration, click on thefxbutton and then on the Show Graphical View button to the right. This will open a bigger view to add your DataWeave code. You can use the buttons next to the blueDonebutton to switch between the different views available. Add this code to output...
Here is an explanation to the diagram shown below: The client application makes a request to a token endpoint in the Authorization Server using its Client ID and Client Secret, previously provided at the time of its registration with the Authorization Server. In the same request, ...
If you want to compare the new changes you are committing to the remote repository you can check this with the optionSynchronize with Workspace. After you clickSynchronize workspaceyou will find a new perspective that will open up and it will show you the difference between the local...
In this tutorial, we will learn to set up API Autodiscovery to enable critical features such as security policies.
When developing with MuleSoft, developers might find it easiest to manage their API specifications using Anypoint Platform APIs. In this tutorial, you will learn how to programmatically manage your API specifications via Postman.
How to transform an Object into an Array DataWeave reduce function: How to loop through and transform an Array into a different type How to extract the keys from an Object in DataWeave using keysOf, namesOf, or pluck How to compare different data types in DataWeave using eq...