- ELK Stack for logging
- Zero ESB as service gateway
- SOAP-UI Mock Server for demonstration
- Elasticsearchconnector to connect kafka with the ELK stack and not using Logstash.
In docker-compose.yml are 11 images:
- elasticsearch
- kafka1
- kibana
- tomcat1
- soapuimock
- elasticsearchkafkaconnector
- gravitee API management UI
- gravitee API management API
- gravitee API Gateway
- MongoDB
- Zookeeper
The first three are downloaded automatically and belong to the elk stack. The forth one downloads automatically as well. It is required for running the Zero ESB. The fifth and the sixth images need to be build on your own (step 3 & 4). The other images are also downlowed automacically.
-
Clone this repository:
git clone https://github.com/aoacse/docker.git -
set your hosts file
127.0.0.1 kafka1 -
Build soapuimock image
cd soapuimock/ docker build -t soapui . -
Build elastisearchconnector image
cd elasticsearchconnector/ docker build -t elasticsearchkafkaconnector . -
Change to the root of this git repo and use docker-compose to start
docker-compose up
- Start your local SOAP-UI
- Import the SOAP-UI Project from
soapuimock/ - Send few test requests
- Log in to Kibana - http://localhost:5601/
- In Kibana got to "Management" (left menue bottom item) and create an index.
logs_index
-
select timestamp. If you cannot see the timestamp, press "refresh fields". Important: You have to send some requests before you can create the index.
-
Next go to "Saved Objects" and import the json file from the kibana git folder.
-
you can also use the API Management to define your own API. Login into API Management UI: http://localhost:8002/#!/ admin/admin and start publishing an API.
- Admin Zero ESB: http://kafka1:8080/esb0/admin
- Kibana: http://localhost:5601/
- API Management UI: http://localhost:8002/#!/ admin/admin
- API Gateway URL: http://localhost:8000 - KONTEXT_PATH
- remove dangling images (none) -> docker rmi $(docker images -a|grep ""|awk '$1=="" {print $3}')
- Windows user please set autocrlf=false for this git repository