oscerd opened a new pull request, #25353: URL: https://github.com/apache/camel/pull/25353
Backport of #25343 to camel-4.18.x. `Lambda2Producer.updateFunction()` validated that a body / S3 bucket / S3 key was present, then discarded them and built an `UpdateFunctionCodeRequest` with only `functionName` (+ optional `publish`). AWS `UpdateFunctionCode` requires a code source, so every call failed and the operation was unusable in the default (non-pojoRequest) mode. Now the code source (S3 bucket/key/object-version, ZIP_FILE header path, message body) is assembled on the request, mirroring `createFunction`. Also fixes the misleading `deleteEventSourceMapping` validation message (said "Arn" but validates the UUID). Adds `LambdaProducerTest.lambdaUpdateFunctionTest`; full `LambdaProducerTest` green (32 tests) on this branch. 🤖 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]
