[ 
https://issues.apache.org/jira/browse/CAMEL-7777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14188130#comment-14188130
 ] 

Claus Ibsen commented on CAMEL-7777:
------------------------------------

I would also like to see a generic camel-git component that works with any git 
repository, (not only github) - for that there is jgit library
http://www.eclipse.org/jgit/

We use it in fabric8 for git, so its doable.

> GitHub component
> ----------------
>
>                 Key: CAMEL-7777
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7777
>             Project: Camel
>          Issue Type: New Feature
>            Reporter: Brett E. Meyer
>            Assignee: Willem Jiang
>             Fix For: 2.15.0
>
>
> 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.)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to