Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Unknown
Description
For Overlord (http://projectoverlord.io), we need to consume "events" from GitHub, as well as produce "actions". We're moving towards using Camel as a backbone for various capabilities, and as such are writing the endpoint functionality as new Camel components. I'd love to see this incorporated as another mainline Camel component.
Work in progress:
https://github.com/brmeyer/camel-github
Consumer ideas:
github://pullRequest (new pull requests)
github://pullRequestComment (new pull request comments)
github://commit/[branch] (new commits)
github://tag (new tags)
Producer ideas:
github://pullRequestComment/[pr #]
Obviously, that's only a small portion of the capabilities. The GitHub API is extensive and opens a large variety of possibilities.
It uses the org.eclipse.egit.github.core SDK (https://github.com/eclipse/egit-github/tree/master/org.eclipse.egit.github.core), which is a part of Mylyn and licensed under the EPL. So, there shouldn't be any reason why this would need to be restricted to Camel Extras.
Similar to what I did for camel-twitter, the Exchange payloads would be the SDK-provided objects themselves (PullRequest, CommitComment, RepositoryTag, RepositoryCommit, etc.)
Attachments
Issue Links
- relates to
-
CAMEL-7982 camel-git - A generic git component
- Resolved
- links to