Add resttemplate-to-restclient module: RestTemplate deprecation on Spring Framework 7.1 / Boot 4.2.0 vs 4.1.3, method mapping, exchange() trap, bridge URI encoding, RestTestClient, OpenRewrite recipe run, with real transcripts

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b7M7FEdeEm3APj16Bu
This commit is contained in:
Claude
2026-11-21 21:26:48 +05:30
parent 5f85ec8d53
commit cbcfb05e35
77 changed files with 2187 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# Regenerates every file in output/ on Spring Boot 4.2.0 (GA) and on the 4.1.3 baseline.
# Needs JDK 25 and Maven 3.9 on PATH, plus network access to Maven Central.
# scripts/openrewrite.sh downloads the Moderne recipe artifact; it is the only step that
# needs more than the jars the module already depends on.
set -euo pipefail
cd "$(dirname "$0")/.."
scripts/openrewrite.sh >/dev/null
mvn -B -q test
mvn -B -q -f pom-41.xml test
scripts/compile-broken.sh pom.xml >/dev/null
scripts/compile-broken.sh pom-41.xml >/dev/null
scripts/probe-jars.sh >/dev/null
scripts/probe-properties.sh >/dev/null
echo "done: $(ls output | wc -l) files in output/"