Develop Integration Solutions¶
The contents on this page will walk you through the topics related to developing integration solutions using WSO2 Micro Integrator for Visual Studio Code extension: MI for VS Code.
Micro Integrator for Visual Studio Code (MI for VS Code)¶
MI for VS Code is the comprehensive developer tool, which you will use to develop, build, and test your integration solutions before the solutions are pushed to your production environments. See the topics given below for details.
Overview of MI for VS Code extension | Get introduced to the main functions of MI for VS Code. |
Installing MI for VS Code extension | Find the instructions on how to download and install the MI for VS Code on your operating system. |
Troubleshooting MI for VS Code extension | Find details on how to troubleshoot errors you might encounter as you use MI for VS Code. |
MI Copilot | Explore the capabilities of MI Copilot and learn how to integrate it into your projects. |
Development workflow¶
Integration developers will follow the workflow illustrated by the following diagram.
Set up the workspace¶
To start developing integration solutions, you need to first install and set up Mico Integrator VS Code extension.
Develop¶
-
Create an Integration project: An integration project will include all the artifacts of your integration solution.
-
Create artifacts
Message Entry Points Message Processing Units Registry Resources Data Services Resources Extensions Other -
Secure the artifacts
Encrypting Sensitive Data Securing APIs and Services
Build and run¶
-
The artifacts and modules should be packaged in a Composite Exporter before they can be deployed in any environment.
-
You can easily deploy and try out the packaged integration artifacts on your preferred environment:
- Deploy on the Embedded Micro Integrator
- Deploy on a Remote Micro Integrator
-
Use the integration test suite of MI for VS Code to run unit tests on the developed integration solution.
Iterate and improve¶
As you build and run the integration flow, you may identify errors that need to be fixed, and changes that need to be done to the synapse artifacts.
Debug Mediations | Use the Mediation Debug function in MI for VS Code to debug errors while you develop the integration solutions. |
Using Logs | You can enable and analyze the following logs to debug various errors: |
You must redeploy the integration artifacts after applying changes.
- If you are testing on a VM, the artifacts will be instantly deployed when you redeploy the synapse artifacts.
- If you are testing on containers, you need to rebuild the Docker images.
Push to production¶
It is recommended to use a CI/CD pipeline to deploy your tested integration solutions in the production environment.
On-Premise Environment | You can easily push your integration solutions to a CI/CD pipeline. |
Related topics¶
Integration Use Cases | Read about the integration use cases supported by the Micro Integrator. |
Tutorials | Develop and try out each integration use case end-to-end. |
Examples | Try out specific integration scenarios by running the samples. |