davsclaus opened a new pull request, #28374:
URL: https://github.com/apache/camel/pull/28374

   _Claude Code on behalf of davsclaus_
   
   Backport of the camel-github2 part of #28373 
([CAMEL-25983](https://issues.apache.org/jira/browse/CAMEL-25983)) to 
camel-4.18.x.
   
   getCommitFile now reads the file of the commit. The commit comes from the 
`CamelGitHubCommitSha` header, which must be a commit id of 40 hexadecimal 
characters. The path comes from the new `CamelGitHubFilePath` header, or else 
from the body. Previously the body was taken as the commit when the header was 
not set, and the operation could not give the content of a file. The upgrade 
note is in the 4.18 guide on main, in #28373.
   
   Changes from the main commit:
   - the 3-argument `InvalidPayloadException` constructor;
   - `camel-test-junit5` in the new test.
   
   The 12 camel-github2 unit tests pass.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to