This is an example of Microservices using Spring Cloud and Kotlin
Stack:
- Java
1.8
- Maven
3
- Koltin
1.3.61
- Spring Boot
2
- Spring Cloud
Hoxton.RELEASE
- Server Register/Discover
Eureka
- Spring Cloud
Config Server
- Api Gateway
Zuul
- Actuator
- Postman
- Spring Cloud
- Spring Cloud Netflix Eureka
- Spring Cloud Config
- Spring REST with a Zuul Proxy
- Spring Cloud – Bootstrapping
- A Guide to Spring Cloud Netflix – Hystrix
Required Local Installed
- Docker
- docker-compose
./run.sh
Wait for complete boot and verify Eureka UI: http://localhost:8761
Import Postam Collection
kotlin-microservices-springcloud.postman_collection.json
- HEALTH CHECK GATEWAY
- HEALTH CHECK CALCULATOR by GATEWAY
- HEALTH CHECK SIMULATION by GATEWAY
- GET CALCULATOR by GATEWAY
- GET SIMULATION by GATEWAY
Change any calculator's propertie in staging branch through of config repository
Execute again in the Postman
- POST refresh CALCULATOR by GATEWAY
- GET SIMULATION by GATEWAY