https://github.com/zouabimourad/microservices-experiments
microservices-experiments
https://github.com/zouabimourad/microservices-experiments
docker eureka hystrix ribbon spring-boot zipkin zipkin-sleuth zuul
Last synced: 2 months ago
JSON representation
microservices-experiments
- Host: GitHub
- URL: https://github.com/zouabimourad/microservices-experiments
- Owner: zouabimourad
- Created: 2017-12-17T23:01:29.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T10:13:43.000Z (over 2 years ago)
- Last Synced: 2024-12-30T04:19:56.967Z (4 months ago)
- Topics: docker, eureka, hystrix, ribbon, spring-boot, zipkin, zipkin-sleuth, zuul
- Language: Java
- Size: 2.54 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 27
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Microservices experiments
## Description
Example project with Spring Boot, Zuul 1 or Spring Cloud Gateway, Eureka, Ribbon, Hystrix, Sleuth, Zipkin and Angular Frontend## Build
```bash
./gradlew clean build buildDocker
```## Run
```bash
docker-compose up
```## Frontend
```bash
cd front
ng serve --proxy-config proxy.conf.json
```## Use
### Frontend
http://localhost:4200/#/products
### Endpoint call
```bash
curl --header "Content-Type: application/json" \
--request POST \
--data '{"accountIdentifier" : "mouradz", "details" : [{"productCode" : "iphone6","count" : 2},{"productCode" : "iphonex","count" : 2}]}' \
http://localhost:8080/rest/order
```### Misc
**Eureka Console** : http://localhost:8761
**Zipkin Console** : http://localhost:9411
**Hystrix Dashboard Console (monitoring order-service hystrix stream)** : http://localhost:9500/hystrix/monitor?stream=http%3A%2F%2Forder-service%3A8083%2Factuator%2Fhystrix.stream