Add boot42-upgrade module: Spring Boot 4.2.0 GA vs 4.1.3 upgrade checklist

Re-runs the RC1 checklist on GA and adds SSL-bundle options on the LDAP client,
the migrator fail switch, OpenTelemetry convention spellings, migrated
RestClient/RestTestClient, compiler removal warnings for RestTemplate,
TestRestTemplate and Pulsar, and jar/BOM probes. Transcripts in output/.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b5G8Z7wYEQnr5w4DfG
This commit is contained in:
Claude
2026-11-20 19:27:32 +00:00
parent da700a564f
commit 5f85ec8d53
64 changed files with 1537 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
# Re-runs MigratorTest on 4.2.0 with the two Actuator-related starters removed from the classpath and
# stores what the migrator prints in output/20-migrator-without-actuator.txt. The migrator can only
# report a key whose metadata is on the classpath, and the metadata for management.* keys ships in
# the Actuator/Micrometer jars.
set -euo pipefail
cd "$(dirname "$0")/.."
python3 - <<'PY'
import re
s = open("pom.xml").read()
for art in ("spring-boot-starter-actuator", "spring-boot-starter-opentelemetry"):
s = re.sub(r"\s*<dependency>\s*<groupId>org.springframework.boot</groupId>\s*<artifactId>%s</artifactId>\s*</dependency>" % art, "", s)
open("pom-no-actuator.xml", "w").write(s)
PY
cp output/04-properties-migrator-report.txt target/04-with-actuator.txt
# ConventionSpellingsTest and MigratedClientsTest need Actuator/Micrometer; only MigratorTest runs here
mvn -B -q -f pom-no-actuator.xml test -Dtest=MigratorTest -Dsurefire.failIfNoSpecifiedTests=false >/dev/null
sed 's/^# 04-properties-migrator-report/# 20-migrator-without-actuator/' output/04-properties-migrator-report.txt > output/20-migrator-without-actuator.txt
cp target/04-with-actuator.txt output/04-properties-migrator-report.txt
rm -f pom-no-actuator.xml
cat output/20-migrator-without-actuator.txt