luigidemasi opened a new pull request, #29905: URL: https://github.com/apache/camel/pull/29905
Backport of #29854 by @luigidemasi to `camel-4.22.x` (4.22.3-SNAPSHOT). Both commits from the merged PR are included: `6604df2a95a0` and `b7d3bd2a5b33`. Spring Boot and Quarkus catalogs now report the resolved Camel core version and read model schemas from that catalog, while keeping runtime dependency coordinates tied to the selected provider. This restores the Spring Boot `DownloadCatalogVersionManager` dropped by CAMEL-20736. Quarkus rejects missing catalog versions/artifacts; the existing Spring Boot download fallback is preserved. Adaptations for 4.22: - Apply the loader change in `camel-jbang-core`, retaining its existing Spring Boot overloads and system-property override. - Port the export regression into `ExportTest` and add the mixed-runtime MCP regression in a new `CatalogServiceTest`. - Use `tokenizer` as the model absent from Camel 4.8, since the newer `switch` model is not present in 4.22. Isolate the Spring Boot property with the module's existing JUnit Pioneer support. - Keep the canonical 4.22.3 upgrade note on `main`: #29903. This requires normal review because of the branch-specific adaptations. Validation on JDK 25, compiling for Java 17: - Full `camel-jbang-core` suite: 968 tests, zero failures/errors, one Windows-only skip; full `camel-jbang-mcp` suite: 415 tests, zero failures/errors/skips. Test retries disabled. - All 11 focused regression cases pass; the original 4.22 loader fails nine of them. Three deliberate regressions were caught: CLI-version export, parent catalog resource leakage, and fallback on an absent schema. Candidate source restored afterward. - Full repository-root `./mvnw -B -ntp -T4 -Dmaven.build.cache.enabled=false clean install -DskipTests`: all 684 modules passed. Formatting/import sorting and generation left the working tree clean. - Final packaged MCP runner: ten stdio validation calls passed across repeated mixed-runtime requests, and 1,923 schemas matched the selected released artifacts byte for byte. Provider coordinates and absent-model behavior also passed. - Both the backport commit and the upgrade-guide commit in #29903 passed the exact-tree Antora gate; `git diff --check` passed. Local runtime testing on JDK 17 was not performed. Hosted CI results are separate from these local checks. See #29854 for the original description and review. Generated by Codex on behalf of @luigidemasi via /oss-backport-pr. -- 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]
