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
11 lines
327 B
Bash
Executable File
11 lines
327 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Build, start all six services, run the scenarios, stop everything. Regenerates output/.
|
|
# Needs JDK 21+, Maven 3.9+, curl and python3. No Docker needed.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
mvn -B -q -DskipTests package
|
|
trap 'scripts/stop.sh' EXIT
|
|
scripts/start.sh
|
|
scripts/demo.sh
|
|
scripts/gotchas.sh
|