https://github.com/sanogotech/ws02apiesbmicrointegratorstarter
API ESB Micro Integrator ESB API Manager
https://github.com/sanogotech/ws02apiesbmicrointegratorstarter
apimanager esb rest-api ws02
Last synced: about 2 months ago
JSON representation
API ESB Micro Integrator ESB API Manager
- Host: GitHub
- URL: https://github.com/sanogotech/ws02apiesbmicrointegratorstarter
- Owner: sanogotech
- Created: 2023-01-09T10:33:43.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-26T14:55:22.000Z (almost 3 years ago)
- Last Synced: 2025-04-03T10:44:21.582Z (7 months ago)
- Topics: apimanager, esb, rest-api, ws02
- Language: Jinja
- Homepage:
- Size: 8.43 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ws02apiesbmicrointegratorstarter
API ESB Micro Integrator ESB API Manager.
## Architecture
## Json Rest api validator
- https://jsonlint.com/
```json
{
"students": {
"student": [{
"name": "$name",
"school": "$school",
"grade": "$grade"
}]
}
}
```
## Stack WS02
The Technology Stack Organizations that do implement microservices often adopt the MSA style along with most of the complementary technologies listed below. | | | |--|--|
**|WSO2 Technology|
Ballerina
Microgateway
Micro Integrator
API Manager
Enterprise Integrator
Identity Server| |IDE|Eclipse
IntelliJ
VSCode| |Code Repository|Github
Gitlab| |Binary Repository|Maven
Ballerina Central
JFrog
|CI/CD|Jenkins
Travis
Codefresh| |Test Frameworks|SOAP UI
JMeter
TestNG| |Configuration Management Tools|Puppet
Chef
Ansible
|Container Orchestration|Kubernetes
OpenShift
Mesosphere
DC/OS
Hashicorp
Nomad
Docker Swarm |Service Mesh|Istio
Linkerd
Conduit
nginMesh| |Observability|Monitoring
**Application Metrics**
WSO2 Analytics Server (WSO2 API Analytics, WSO2 Integrator Analytics, etc.)
Prometheus/Grafana
Splunk
AppDynamics
**System Metrics**
Icinga
AWS Cloud Watch
**Logging**
Fluentd
ELK Stack
Beats - Agents that ship data to Logstash or Elasticsearch. Filebeat will ship the WSO2 logs to Logstash.
Logstash - Processes and structures the log files received from Filebeat and sends to Elasticsearch.
Elasticsearch - Stores and indexes the logs received by Logstash.
Kibana - Visualizes the data stored in Elasticsearch
**Distributed Tracing**
Jaeger
Zipkin
AppDash
AppDynamics
WSO2 Analytics Server (WSO2 API Analytics, WSO2 Integrator Analytics, etc.)
## Docs
- https://github.com/wso2/docker-apim
- https://wso2.com/integration/install/docker-compose/community/get-started/
- https://wso2.com/integration/integration-studio/
- https://medium.com/think-integration/building-a-crud-restful-api-with-wso2-micro-integrator-d8637a8cb709
## API Manager
* https://github.com/wso2/docker-apim
```
docker-compose up --build
```
Access the WSO2 API Manager web UIs using the below URLs via a web browser.
```
https://localhost:9443/publisher
https://localhost:9443/devportal
https://localhost:9443/admin
https://localhost:9443/carbon
```
Login to the web UIs using following credentials.
```
Username: admin
Password: admin
```
Please note that API Gateway will be available on following ports.
```
https://localhost:8243
https://localhost:8280
```
## Entreprise Integrator
- https://wso2.com/integration/install/docker-compose/community/get-started/
```
Recommended system requirements:
3 GHz Dual-core Xeon/Opteron (or latest)
8 GB RAM
10 GB free disk space
```

## Integration Studio
- https://wso2.com/integration/integration-studio
## Building a crud restful api with wso2-micro-integrator
**Create database.**
```
create database city_db character set latin1;
```
Run the following script.
```
use city_db
CREATE TABLE `city` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`city` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`)
);
```
Now that we have created the database, let’s create the DataService using Integration Studio.
## Stop / remove all Docker containers
One liner to stop / remove all of Docker containers:
```
docker stop $(docker ps -a -q)
docker rm $(docker ps -a -q)
```
## Add Driver JDBC
```
docker exec -ti wso2ei-integrator bash
pwd
/home/wso2carbon
cd wso2ei-6.5.0/lib
wget "http://jdbc.postgresql.org/download/postgresql-9.2-1002.jdbc4.jar"
wget "http://jdbc.postgresql.org/download/postgresql-42.5.1.jar"
docker restart wso2ei-integrator
```