Add openfeign-demo: OpenFeign vs @HttpExchange on Spring Boot 4.2.0 + Spring Cloud 2026.0.0

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_017ic4b3W3uHbHAmM3orhn7b
This commit is contained in:
Ankur
2026-11-26 00:46:05 +05:30
co-authored by Claude Sonnet 5.5
parent def73fa1c4
commit 7211b0fb80
43 changed files with 927 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# Reproduces the unnamed @PathVariable failure: compile WITHOUT -parameters and run the test that
# calls UnnamedPathVariableClient. Writes the real failure to output/09-no-parameters.txt.
set -u
cd "$(dirname "$0")/.."
OUT=output/09-no-parameters.txt
mvn -B -Pnoparams clean test -Dtest=UnnamedPathVariableTest test > /tmp/noparams.log 2>&1
{
echo "mvn -Pnoparams -Dtest=UnnamedPathVariableTest test (maven-compiler-plugin <parameters>false</parameters>)"
echo
grep -E 'Tests run:.*Fail|IllegalStateException|PathVariable annotation was empty|Caused by' /tmp/noparams.log \
| sed -E 's/^\[ERROR\] +//' | sort -u | head -12
} > "$OUT"
cat "$OUT"
mvn -B -q clean test-compile > /dev/null 2>&1 # restore normal (-parameters) classes