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

   # Description
   
   Fixes [CAMEL-27759](https://issues.apache.org/jira/browse/CAMEL-27759).
   
   ## Summary
   
   Body type texts, one header text and two doc sections did not match the 
producers. The CAMEL-27035 entry of the 4.24 guide said that the header takes 
every `java.time` value. No producer changes behavior.
   
   - kms: `decrypt` also lists bytes, streams and files, and the body depends 
on `plaintext` and `ciphertextBlob`.
   - kms: the texts name the exchange property and all Map keys, and the doc 
splits body and header rules.
   - kms and fc: the texts say that a body that does not convert to bytes fails.
   - fc and sms: the texts name the `getFunction` status code header, the 
external transaction ID and exchange properties.
   - eventbridge: the text names POJOs that convert to bytes, Gson for Map data 
and exchange properties.
   
   ### Why dependsOn
   
   `dependsOn` makes the body of a step with `plaintext` or `ciphertextBlob` 
not known, as camel-graphql does for `query`. The ticket's two guide entries 
hold, so they stay.
   
   ## Tests
   
   - No test is new, but an uncommitted `BodyTypeResolver` check gave no body 
type for encrypt with `plaintext`.
   - kms, fc, eventbridge and sms ran 26, 19, 53 and 10 tests, and 
CamelCatalogTest 156, with no failure.
   
   # Target
   
   - [x] I checked that the commit is targeting the correct branch (Camel 4 
uses the `main` branch)
   
   # Tracking
   
   - [x] If this is a large change, bug fix, or code improvement, I checked 
there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for 
the change (usually before you start working on it).
   
   # Apache Camel coding standards and style
   
   - [x] I checked that each commit in the pull request has a meaningful 
subject line and body.
   - [x] I ran `mvn clean install -Dquickly -DskipTests` in the root folder on 
the parent commit. Then I ran the builds of the four modules, camel-catalog 
with CamelCatalogTest, camel-componentdsl and camel-endpointdsl, and committed 
all generated changes.
   
   # AI-assisted contributions
   
   - [x] If this PR includes AI-generated code, commits have proper 
co-authorship attribution (e.g., `Co-authored-by` trailers) and the PR 
description identifies the AI tool used.
   
   _Claude Code on behalf of saravanakumar1987_
   
   🤖 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