Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7777

GitHub component

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.15.0
    • 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

          Activity

            People

              njiang Willem Jiang
              3riverdev Brett E. Meyer
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: