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
+1
View File
@@ -19,6 +19,7 @@ discovery-server :8761 (Eureka) every service registers here and finds the othe
| `gateway` | Spring Cloud Gateway Server WebMVC; routes come from the config server (`gateway.yml`) |
| `product-service` | `GET /products`, `GET /products/{id}` |
| `inventory-service` | stock levels, `POST /inventory/{id}/reserve`, a switch to simulate an outage |
| `openfeign-demo` | standalone, **not** part of the build above: OpenFeign vs `@HttpExchange` on Boot 4.2.0 / Cloud 2026.0.0; see its own README |
| `order-service` | `POST /orders`; calls product-service and inventory-service through the load balancer and a Resilience4j circuit breaker |
## Run it (no Docker needed)