[ 
https://issues.apache.org/jira/browse/CAMEL-28038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-28038.
---------------------------------
    Resolution: Fixed

Merged in https://github.com/apache/camel/pull/31264 
(9ce3da96e756705f70afb9b5552496b5df8d5451) for 4.25.0.

> camel-aws2-lambda: listEventSourceMapping is the only list operation without 
> a marker and a page size
> -----------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-28038
>                 URL: https://issues.apache.org/jira/browse/CAMEL-28038
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-aws2
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 4.25.0
>
>
> Found during an audit of the cloud components (camel-aws, camel-azure, 
> camel-google, camel-huawei) at commit 7c0644752e17. Every item below was 
> verified against the source.
> {{Lambda2Producer.listEventSourceMapping}} builds a 
> {{ListEventSourceMappingsRequest}} with only {{functionName}}, so the result 
> is truncated at the service default and the route cannot page. Its four 
> sibling list operations in the same class all read a marker and a max-items 
> header and set the next marker on the out message (see the listFunctions 
> branch).
> Proposed change: read {{MARKER}} and {{MAX_ITEMS}} into the builder and set 
> {{MARKER}} from {{result.nextMarker()}}, exactly as the siblings do.
> _Claude Code on behalf of oscerd_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to