Skip to content

sanogotech/ws02apiesbmicrointegratorstarter

Repository files navigation

ws02apiesbmicrointegratorstarter

API ESB Micro Integrator ESB API Manager.

Architecture

Json Rest api validator

     {
                    	"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

API Manager

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

Recommended system requirements:
3 GHz Dual-core Xeon/Opteron (or latest)
8 GB RAM
10 GB free disk space

EI Components

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

About

API ESB Micro Integrator ESB API Manager

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published