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
DateFormatConversion
with a functiondateTimeConversion
. - A mapping file
DateFormatConversionMapping
to test the code live. - Unit tests in
DateFormatConversionTest
for quality and CI/CD purposes. - Required credentials in the
pom.xml
file 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.xml
to 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 ID
with 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 Formats
folder 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 System
and click Next. -
Select the
dw-lib
folder in the Project Root and make sure to uncheck theCopy project into workspace
option. -
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.