Andrea Cosentino created CAMEL-28039:
----------------------------------------
Summary: camel-aws2-s3-vectors: the three list and query
operations cannot page, and the component has no pojoRequest
Key: CAMEL-28039
URL: https://issues.apache.org/jira/browse/CAMEL-28039
Project: Camel
Issue Type: Bug
Components: camel-aws2
Reporter: Andrea Cosentino
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.
h4. 1. No pagination on any list or query operation
{{AWS2S3VectorsProducer}} builds
{{ListVectorBucketsRequest.builder().build()}}, {{ListVectorIndexesRequest}}
and the queryVectors request with no token and no page size, and sets the first
page as the body. None of the three surfaces a next token, so a route cannot
reach beyond the first page.
h4. 2. No pojoRequest
30 of the AWS schemes expose {{pojoRequest}}, including the aws2-s3 sibling, so
a user can always fall back to building the SDK request object. aws2-s3-vectors
does not, so there is no workaround for item 1 or for any option the producer
does not expose.
This is the newest module of the family, so aligning it now is cheap.
_Claude Code on behalf of oscerd_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)