Feat/4.18.3 and 4.21 recipes#110
Closed
JinyuChen97 wants to merge 5 commits into
Closed
Conversation
This commit adds comprehensive upgrade recipes for Apache Camel 4.18.3 LTS and 4.21.0: **4.18.3 LTS Support:** - Add 4.18.3.yaml and 4.18.3LTS.yaml with 20 header rename recipes - Add CamelUpdate418_3Test with full test coverage (20 tests) - Add CamelUpdate418LtsTestSuite for test organization - Add v4_18_3 to CamelTestUtil.CamelVersion enum - Include 4.18.3 in latest.yaml recipe list **4.21.0 Enhancements:** - Complete 4.21.yaml with all recipe definitions - Add 5 RemoveDependency recipes for removed components: - camel-stomp, camel-aws-xray, camel-guava-eventbus, camel-grape, camel-elytron - Add 2 import removal recipes: - RemoveReifierStrategyImport - RemoveZooWordEmbeddingPredictorImport - Update CamelUpdate421Test with 30 tests total - Refactor test structure to reuse 4.18.3 tests where applicable **Documentation:** - Add comprehensive 4.18.3 migration coverage table to release_notes.adoc - Update 4.21.0 table with implementation status - Mark implemented recipes as "✅ Full" **Shared Recipes:** Most recipes in 4.18.3 are header renames that were introduced in 4.18.x maintenance releases and later adopted in 4.21.0. These recipes include ModuleHasDependency preconditions to prevent false positives. Co-Authored-By: Jiri Ondrusek <ondrusek.jiri@gmail.com> Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Changed from "⚠️ TODO-full" to "❌ None | Deprecation notice" - Confirmed with maintainers that deprecation notice is the correct approach Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
All recipes include comprehensive tests. Test results: CamelUpdate421Test: 37 tests passing CamelUpdate418_3Test: 23 tests passing CamelUpdate418LtsTestSuite: 29 tests run, 1 skipped Implementation status: 4.21.0: 36/36 recipes (100%) — 10 Full + 26 Partial 4.18.3: 25/25 recipes (100%) — 2 Full + 23 Partial Grand Total: 61/61 recipes (100%) Updated release_notes.adoc to reflect all completed recipes. Added IMPLEMENTATION_VERIFICATION.md for tracking. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
|
Thanks @JinyuChen97 ! |
Remove generic header names from 4.18.0 and 4.18.3 recipes to prevent false positives in production migrations. Only automate headers with clear component-specific prefixes. 4.18.0 Changes: - Delete upgradeCxfHeaders recipe (operationName, operationNamespace too generic) - Reduce upgradeSalesforceHeaders from 37 to 16 headers (keep only sObject*, apex*, pkChunking*) 4.18.3 Changes: - Delete 6 recipes: PDF, ArangoDB, JT400, Mail, Milo, OpenSearch (all headers too generic) - Reduce upgradeLuceneHeaders to RETURN_LUCENE_DOCS only (exclude generic QUERY) - Reduce upgradeElasticsearchHeaders to enableDocumentOnlyMode only - Reduce upgradeElasticsearchRestClientHeaders (remove INDEX_NAME) - Reduce upgradeOpenstackHeaders (remove generic *Id/*Name, keep cloud-specific) - Reduce upgradeWeb3jHeaders (remove 14 generic headers, keep 18 blockchain-specific) Test Updates: - CamelUpdate418Test: 5 tests (deleted CXF test, updated Salesforce test) - CamelUpdate418_3Test: 16 tests (deleted 11 tests for removed/reduced recipes) - CamelUpdate421Test: 30 tests (deleted 7 test references) All tests passing. Documentation updated. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
|
superseded by #111 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
camel upgrade recipe follow
https://github.com/apache/camel/blob/main/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_18.adoc
https://github.com/apache/camel/blob/main/docs/user-manual/modules/ROOT/pages/camel-4x-upgrade-guide-4_21.adoc