Files
spring-boot-microservices-p…/output/01-config-server.txt
T
Claude def73fa1c4 Add spring-boot-microservices-project: config server, Eureka, gateway and three services on Boot 4.1.1 + Spring Cloud 2025.1.3
Product, order and inventory services behind Spring Cloud Gateway (WebMVC), configuration from a Config Server,
discovery with Eureka, a Resilience4j circuit breaker on order -> inventory and Brave tracing. Run as six plain jars;
output/ holds real transcripts (config, registry, requests, trace propagation, circuit breaker, startup race and the
load-balanced RestClient.Builder trap). Dockerfile and docker-compose.yml are included but were not run.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01HhW8LD8r3EigoBaCGrQZx5
2026-10-21 17:08:42 +00:00

17 lines
628 B
Plaintext

# What the config server hands out (port 8888). The services fetch this at startup.
--- order-service: which files were used and the values ---
name: order-service profiles: ['default']
source: order-service.yml
shop.order.currency = EUR
shop.order.max-quantity = 10
source: application.yml
management.endpoints.web.exposure.include = health,info,circuitbreakers
management.tracing.sampling.probability = 1.0
--- the same value as the order service itself reports it (GET /api/orders/config through the gateway) ---
$ curl -X GET localhost:8080/api/orders/config
HTTP 200
{"currency":"EUR","maxQuantity":10}