For a step by step tutorial navigate to the MuleSoft developer website here
The Standard Date Formats folder is a DataWeave library project example to run with the DataWeave extension in VSCode.
Includes:
- A module
DateFormatConversionwith a functiondateTimeConversion. - A mapping file
DateFormatConversionMappingto test the code live. - Unit tests in
DateFormatConversionTestfor quality and CI/CD purposes. - Required credentials in the
pom.xmlfile to deploy to Exchange.
The dw-lib folder is a Mule project with a sample application to make use of the DataWeave library from Exchange.
Includes:
- Changes on the
pom.xmlto include the Exchange DataWeave library. - A simple flow with a Transform Message component making use of the DataWeave library.
Note
You need to change the
Organization IDwith your own. You need to follow the tutorial to learn how to set up your own Org ID.
For the DataWeave library:
-
Download Visual Studio Code.
-
Install the DataWeave extension by MuleSoft Inc.
-
Clone this repository.
-
Open the
Standard Date Formatsfolder in VSCode.
For the Mule project:
- Set up your environment.
-
Clone this repository.
-
In Anypoint Studio, select
File>Import>Anypoint Studio>Anypoint Studio project from File Systemand click Next. -
Select the
dw-libfolder in the Project Root and make sure to uncheck theCopy project into workspaceoption. -
Click on Finish.
Contributions are what make the MuleSoft community such an amazing place. Any contributions you make are greatly appreciated.
See contributing.md for the MuleSoft Developer principles.
Prettier is a code formatter used to ensure consistent formatting across your code base. To use Prettier with Visual Studio Code, install this extension from the Visual Studio Code Marketplace. The .prettierignore and .prettierrc files are provided as part of this repository to control the behavior of the Prettier formatter.


