Add rest-client-test module: @RestClientTest on Boot 4.1, Jackson 3 by default, and the RestClient-vs-RestTemplate root-URI matching trap (post #49)

This commit is contained in:
Claude
2026-10-08 16:26:20 +00:00
parent 4370ac7fdf
commit 69190e3706
22 changed files with 685 additions and 0 deletions
@@ -0,0 +1,13 @@
# mvn test - full run, Spring Boot 4.1.1
[INFO] Running com.ankurm.restclienttest.RestClientEmployeeTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.552 s -- in com.ankurm.restclienttest.RestClientEmployeeTest
[INFO] Running com.ankurm.restclienttest.HttpInterfaceClientTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.543 s -- in com.ankurm.restclienttest.HttpInterfaceClientTest
[INFO] Running com.ankurm.restclienttest.ErrorScenarioTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.095 s -- in com.ankurm.restclienttest.ErrorScenarioTest
[INFO] Running com.ankurm.restclienttest.RestTemplateEmployeeTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.249 s -- in com.ankurm.restclienttest.RestTemplateEmployeeTest
[INFO] Results:
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
[INFO] BUILD SUCCESS