Skip to content

chore: Migrate GitHub kamelets from camel-github to camel-github2#2860

Merged
oscerd merged 1 commit into
mainfrom
quick-fix/migrate-camel-github-to-github2
Jun 11, 2026
Merged

chore: Migrate GitHub kamelets from camel-github to camel-github2#2860
oscerd merged 1 commit into
mainfrom
quick-fix/migrate-camel-github-to-github2

Conversation

@oscerd

@oscerd oscerd commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Migrate all 5 GitHub source kamelets (github-commit-source, github-event-source, github-pullrequest-comment-source, github-pullrequest-source, github-tag-source) from the removed camel-github component to its replacement camel-github2 (introduced in Camel 4.21.0)
  • Update camel:github dependency to camel:github2 and github:// URI scheme to github2:// in both kamelets/ and library/.../kamelets/ directories
  • Update KameletPrefixSchemeEnum mappings from "github" to "github2"
  • Add null-safety check in KameletsCatalog.getKameletSupportedHeaders() to prevent NPE when a component model is not found in the catalog

Test plan

  • mvn verify passes (all 7 modules, 17 tests green)
  • Verify GitHub source kamelets resolve correctly against the camel-github2 component at runtime

Claude Code on behalf of Andrea Cosentino

The camel-github component was removed in Camel 4.21.0 and replaced by
camel-github2. Update all GitHub source kamelets to use the new
camel:github2 dependency and github2:// URI scheme, and update the
KameletPrefixSchemeEnum mappings accordingly. Also add null-safety in
KameletsCatalog.getKameletSupportedHeaders to prevent NPE when a
component model is not found in the catalog.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
@oscerd oscerd requested review from Croway and christophd June 11, 2026 11:07
@oscerd oscerd merged commit 1decc0e into main Jun 11, 2026
4 of 5 checks passed
@oscerd oscerd deleted the quick-fix/migrate-camel-github-to-github2 branch June 11, 2026 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant