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

Camel GitHub commit consumer body does not match documentation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.8.0
    • 4.9.0
    • camel-github
    • None
    • Unknown

    Description

      In the GitHub consumer documentation, https://camel.apache.org/components/4.8.x/github-component.html#_consumer_endpoints, the body type for the commit endpoint is listed as a org.eclipse.egit.github.core.RepositoryCommit.  However, it is not.  It is a String with the commit message.

      I'm not sure if this is a problem with the documentation or the code.  Changing the body to a RepositoryCommit would be consistent with the other consumers.  For example, the tag consumer does provide a body type of RepositoryTag.  Additionally, more information would be available from a RepositoryCommit object compared to the commit message and a few headers with some of the other information.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              electricsam Chris Slater
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: