# cloud-2026-upgrade Upgrading this repository's six-service shop from **Spring Cloud 2025.1 (Oakwood)** to **2026.0.0 (Paddington)** on **Spring Boot 4.2.0**, written for [Spring Cloud 2026.0 (Paddington) Migration Guide](https://ankurm.com/spring-cloud-2026-0-paddington-migration-guide/). The explanation lives in the article; this folder holds what was run. Nothing in the parent project is modified. `scripts/upgrade.sh` copies it into `run/` and applies the patches in `steps/`. | Step | Patch | Change | |---|---|---| | 1 | `01-patch-line.patch` | Boot 4.1.1 -> 4.1.3, Cloud 2025.1.3 -> 2025.1.5 | | 2 | `02-paddington.patch` | Boot 4.2.0 and Cloud 2026.0.0, together | | 3 | `03-trusted-proxies.patch` | gateway reads `TRUSTED_PROXIES` | | 4 | `04-config-notify.patch` | config server gets `/monitor` and the HTTP notifier | | 5 | `05-refreshable-properties.patch` | `OrderProperties` stops being a record so a refresh reaches it | ## Run JDK 25, Maven 3.9+, curl, python3, openssl, patch. The ports listed in `scripts/run-all.sh` must be free. ```bash ./scripts/upgrade.sh 5 # just produce the upgraded copy in run/shop ./scripts/run-all.sh # rebuild everything and regenerate output/ ``` ## Probes (`probes/`) | Folder | Question | |---|---| | `gateway-webmvc`, `gateway-webflux` | what reaches the backend with each trusted-proxies setting; retry count; WebSocket Origin check | | `openfeign-querymap` | nested objects in `@SpringQueryMap` | | `reactor-extra` | code that relied on a transitive dependency | | `preview-demos` | the two class-level demos of the earlier preview article, on the GA jars | ## Captured output | File | Shows | |---|---| | `01-bom-diff.txt`, `02-properties-diff.txt` | managed artifacts and configuration properties, 2025.1.5 vs 2026.0.0 | | `10-half-upgrades.txt` | startup failure when only Boot or only Cloud is bumped | | `11`-`15` | shop scenarios before and after, the Eureka load-balancer trap, dependency changes | | `20`-`25` | gateway forwarding headers, retry, WebSocket origin | | `30`, `31` | OpenFeign query maps, reactor-extra | | `40`-`43` | `/monitor`, HTTP notifier, records vs classes, missing `RestClient.Builder`, native multi-label order | | `50`, `51` | forwarded-header filters and `HttpPropertyPathNotifier` called directly | Run with `MVN_ARGS` for a Maven settings file and `MAVEN_REPO` to point the two diff scripts at a mirror. Docker was not used. The Kafka and RabbitMQ binders, Kubernetes, Vault, Consul, Zookeeper, Function and Task were not run here.