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
10 lines
246 B
Bash
Executable File
10 lines
246 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Stops whatever scripts/start.sh started, using the PID files (never pkill -f).
|
|
cd "$(dirname "$0")/.."
|
|
for f in run/*.pid; do
|
|
[ -e "$f" ] || continue
|
|
kill "$(cat "$f")" 2>/dev/null || true
|
|
rm -f "$f"
|
|
done
|
|
echo stopped
|