The following was discovered as part of building this project:
- The original package name 'com.example.microservices.currency-conversion-service' is invalid and this project uses 'com.example.microservices.currencyconversionservice' instead.
For further reference, please consider the following sections:
- Official Apache Maven documentation
- Spring Boot Maven Plugin Reference Guide
- Create an OCI image
- Spring Boot DevTools
- Spring Web
- Config Server
- Eureka Server
- Eureka Discovery Client
- Gateway
- Spring Boot Actuator
- Spring Boot Docker
The following guides illustrate how to use some features concretely:
- Service Registration and Discovery with Eureka and Spring Cloud
- Centralized Configuration
- Building a RESTful Web Service
- Serving Web Content with Spring MVC
- Building REST services with Spring
- Building a RESTful Web Service with Spring Boot Actuator
- Using Spring Cloud Gateway
- Using Spring Cloud Sleuth for tracing request
* Limite Service 8080, 8081, ...
- http://localhost:8080/limits
* Currency Exchange Service 8000, 8001, 8002, ...
- http://localhost:8000/currency-exchange/from/EUR/to/INR
- http://localhost:8000/h2-console
* Spring Cloud Config Service 8888
* Currency Conversion Service 8100, 8101, 8102, ...
- http://localhost:8100/currency-conversion-feign/from/USA/to/INR/quantity/200
* Statemachine Service 8200, 8201, 8202, ...
- http://localhost:8200/create
- http://localhost:8200/state/last/1
* Netflix Eureka Naming Server 8761
- http://localhost:8761/
* Netflix Zuul API Gateway Server 8765
- http://localhost:8765/currency-conversion-service/currency-conversion-feign/from/USA/to/INR/quantity/200
* Zipkin Distributed Tracing Server 9411
- http://localhost:9411/zipkin
- zipkin with rabbitmq
set RABBIT_URI=amqp://localhost
java -jar zipkin-server-2.24.0-exec.jar
-
refresh config
- POST - http://localhost:8080/actuator/refresh - refresh one instance
- POST - http://localhost:8080/actuator/busrefresh - refresh all instances
-
docker
- [Open Zipkin] (https://hub.docker.com/r/openzipkin/zipkin/)
docker run -d -p 9411:9411 openzipkin/zipkin
-
spring boot docker
mvn spring-boot:build-image -DskipTests