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

   Two Camel fixes for 4.24.0 change what two Kamelets do, so their 
descriptions and tests follow:
   
   | Kamelet | Camel fix | Change |
   |---|---|---|
   | `jolt-transformation-action` | 
[CAMEL-27306](https://issues.apache.org/jira/browse/CAMEL-27306) 
(apache/camel#30517): a Jackson `JsonNode` body is converted to the Map / List 
tree Jolt needs | `Input:` now lists a `JsonNode`, such as the output of 
`json-deserialize-action`. The `Good to know` sentences about it giving an 
empty body, and the `json-serialize-action` workaround, are removed. The test 
now checks that a `JsonNode` is transformed like the same JSON as text. |
   | `aws-cloudwatch-sink` | 
[CAMEL-27307](https://issues.apache.org/jira/browse/CAMEL-27307) 
(apache/camel#30518): an empty collection or array body fails with a clear 
message | `Input:` says an empty List or array fails the message the same way 
as a List of anything else, and puts no data point. The body test sends an 
empty List and checks the `IllegalArgumentException` with the message `The body 
is an empty collection: there is no MetricDatum to put`. |
   
   The templates, options and data types do not change, so there is no upgrade 
note. The Camel side of both changes is described by the JIRAs.
   
   Tested against a local build of Camel `main`:
   - `./mvnw -o clean install -DskipTests` (twice, so the library copies are 
current): BUILD SUCCESS.
   - `CommonIT#transformation`: 17/17 pass.
   - `AwsIT#awsCloudWatch`: 2/2 pass.
   
   CI runs against the published 4.24.0-SNAPSHOT. Both fixes merged on 
2026-11-20 at 19:18Z, after the snapshot of 18:34Z, so the new test cases pass 
in CI only with the next snapshot (Camel Daily Snapshot Deploy #1619).
   
   _Claude Code on behalf of Claus Ibsen_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_016Y4dDmBDsSWV117kccuNf9
   


-- 
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