Croway opened a new pull request, #108:
URL: https://github.com/apache/camel-upgrade-recipes/pull/108

   ## Summary
   
   - **Fix #106**: `UpgradeSpringBoot3To4` no longer downgrades Java 21+ 
projects to Java 17. Replaced blind `ChangePropertyValue` calls with 
`JavaVersion17` recipe which uses floor semantics.
   - **Fix #81**: All YAML DSL visitors now use `Preconditions.check()` with 
Camel root key detection, preventing modification of non-Camel YAML files 
(GitHub Actions workflows, Kubernetes manifests, Helm charts).
   - **Remove Lombok**: Replaced with manual constructors/setters across 31 
files. Lombok 1.18.42 is broken on JDK 25 — `@AllArgsConstructor`, `@Setter`, 
and `@EqualsAndHashCode` generate no code, causing recipe validation failures.
   - **Fix LST collection patterns**: Replaced `stream().toList()`/`.collect()` 
and `new ArrayList<>()` copies with `ListUtils.map`/`flatMap`/`concat` on LST 
content to preserve referential equality and avoid phantom changes.
   - **Parallel tests**: Added `forkCount=2C` to surefire for parallel test 
execution.
   
   ## Test plan
   
   - [x] `UpgradeSpringBoot3To4Test` — Java 21 not downgraded, Java 11 upgraded 
to 17
   - [x] `CamelSpringBoot413Test` — recipe validation passes (Lombok removal 
verified)
   - [x] `CamelUpdate413Test#yamlDsl` + `yamlDslLeavesUnrelatedYamlAlone` — 
precondition refactoring works
   - [x] `CamelUpdate415Test#dataFormatYamlDsl` — `dataFormats` root key 
recognized
   - [x] `CamelUpdate419Test` — saga XML/YAML, route policy, test-infra POM all 
pass
   - [x] `CamelUpdate46Test#beanPropertyChangedToProperties` — ListUtils + 
precondition
   - [x] `CamelUpdate47Test#yamlDslLoadBalancer` — ListUtils + precondition


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to