https://github.com/integon/mi-template
Template of a WSO2 Micro Integrator project for VSCode
https://github.com/integon/mi-template
docker micro-integrator wso2
Last synced: 5 months ago
JSON representation
Template of a WSO2 Micro Integrator project for VSCode
- Host: GitHub
- URL: https://github.com/integon/mi-template
- Owner: integon
- Created: 2020-11-27T20:18:05.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2026-01-21T10:18:37.000Z (6 months ago)
- Last Synced: 2026-01-21T21:59:44.023Z (6 months ago)
- Topics: docker, micro-integrator, wso2
- Language: Java
- Homepage:
- Size: 225 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WSO2 Micro-Integrator 4.2.0 Developer Template
This repository contains a developer template for WSO2 Micro-Integrator 4.2.0, equipped with a Makefile that simplifies common development tasks.
## Prerequisites
Before you begin, ensure you have the following tools installed on your machine:
- **Java 11:** Make sure you have Java Development Kit (JDK) 11 installed.
- **Maven:** Maven is used for building and managing the project.
- **Podman:** Podman is used for building and running containerized applications. Make sure you have Podman installed on your machine.
## Makefile Commands
### Build
To build the WSO2 Micro-Integrator project, run the following command:
```bash
make build
```
This command will clean the project, package it using Maven, and then build a Container image using Podman.
### Run
To run the WSO2 Micro-Integrator in a container, use the following command:
```bash
make run
```
This command starts a container named mi-test in detached mode, exposing the Micro-Integrator on port 8080. It also logs the container output, and you can stop the logging using Ctrl+C.
### Clean
To clean the project and remove any generated files, run:
```bash
make clean
```
### Stop
To stop the running Podman container, use:
```bash
make stop
```
### Delete
To forcefully remove the Podman container, run:
```bash
make delete
```
### Fresh
To perform a complete fresh build, including cleaning, building, and running the container, use:
```bash
make fresh
```
### Test
To test the Micro-Integrator health endpoint, run:
```bash
make test
```
This command sends a GET request to http://localhost:8080/health.