Add cloud-2026-upgrade: step-by-step upgrade of the shop to Spring Boot 4.2.0 / Spring Cloud 2026.0.0, with probes

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b4HkWoC7hLzk61vZa8
This commit is contained in:
Claude
2026-12-04 08:21:10 +05:30
parent 3c17b13c3f
commit 2ddc181501
59 changed files with 1669 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# The config server with config-monitor and Eureka but no RestClient.Builder bean. $1 = built copy without spring-boot-starter-restclient.
MOD=$(cd "$(dirname "$0")/.." && pwd); cd "$1" || exit 1
unset JAVA_TOOL_OPTIONS
mkdir -p run/logs
timeout 60 java -Xmx200m -jar config-server/target/config-server-1.0.0.jar > run/logs/config-server.log 2>&1
{ echo "# config-server with spring-cloud-config-monitor and the Eureka client, WITHOUT spring-boot-starter-restclient"
echo
grep -m1 -oE 'java.lang.IllegalStateException: At least one PropertyPathNotifier[^\n]*' run/logs/config-server.log
grep -m1 -E "Error creating bean with name 'propertyPathEndpoint'" run/logs/config-server.log | grep -oE "Error creating bean with name 'propertyPathEndpoint'"
} > "$MOD/output/42-notifier-without-restclient.txt"
cat "$MOD/output/42-notifier-without-restclient.txt"