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

   # Description
   
   Part of [CAMEL-23832](https://issues.apache.org/jira/browse/CAMEL-23832) 
(the shared ticket stays open). Batch 15: the component, option and header 
descriptions of 10 components. Each text was checked against the Camel code and 
against what the library does with the value (AWS SDK 2.57.11, IBM COS SDK, IBM 
Secrets Manager SDK 2.0.28, JSLT 0.1.15, JTOpen 21.0.7, LangChain4j 1.24.1, 
Qdrant client 1.20.0, Weaviate client6 6.3.1; chatscript and typesafe-ai talk 
to their servers directly).
   
   ## Summary
   
   - camel-aws2-textract: component description, 22 options, 8 headers. The 
document is an S3 object when the bucket and
     the object are both known, otherwise the body; the start operations 
require S3; pojoRequest skips the S3 options and
     headers; the NextToken header is never filled in from the response; 
QUERIES needs a QueriesConfig (pojoRequest only).
   - camel-chatscript: component description, 5 options. chatUserName is only 
the fallback user, resetChat sends :reset
     for the user of every message, the endpoint bot name replaces the one in 
the body, each message opens a new TCP
     connection with fixed 30 s timeouts. Doc page: the link to 
ChatScriptMessage.java.
   - camel-ibm-cos: 26 options, 19 headers. prefix and delimiter only apply to 
the consumer, location is not passed to
     the client, multiPartUpload only splits bodies larger than partSize, 
apiKey is an IAM key. Doc page: the bucket is not
     always created, headBucket does not check access.
   - camel-ibm-secrets-manager: component description, 4 options, 6 headers. 
label is not used, token is an IBM Cloud IAM
     API key, the SecretVersion header is not used. Doc page: listSecrets 
returns the first page only.
   - camel-jslt: 5 options, 2 headers. What allowTemplateFromHeader allows, 
mapBigDecimalAsFloats reads floats as
     BigDecimal, objectMapper only parses the body, objectFilter is JSLT's 
DefaultJsonFilter. Doc page: the URI format.
   - camel-jt400: component description, 17 options, 9 headers. readTimeout is 
rounded down to whole seconds,
     dataQueueCcsid also applies to the producer and to keys, sendingReply does 
not work with messageAction REMOVE. Doc
     page: the 0-based outputFieldsIdx of the program call example, a user 
space is not a data area, the program call is
     a producer.
   - camel-langchain4j-chat: component description, 11 options, 8 headers. 
baseUrl has no default for Ollama, timeout is
     the connect and read timeout, the augmented data only reaches the last 
message when it is a UserMessage. Doc page:
     Content.from, the ChatModel bean, direct:chat in the usage examples.
   - camel-qdrant: component description, path, 8 options, 11 headers. 
host/port/tls/apiKey are not used with a custom
     QdrantClient, timeout is a gRPC deadline per request, without tls the API 
key goes in clear text, CamelQdrantPointId
     takes only a PointId, Long or UUID.
   - camel-typesafe-ai: component description, path, 14 options. threshold, 
uncertainty and uncertaintyPolicy are only
     used by the typesafe-ai language, a model in the request Map wins over the 
model option, requestTimeout covers the
     connect, the request and the full response body.
   - camel-weaviate: component description, 7 options, 11 headers. The ports do 
not follow the scheme, the API key is a
     bearer token over REST and gRPC, UpdateWithMerge chooses between PATCH and 
PUT, TextFieldName/KeyName/KeyValue are
     read only by the weaviate:embeddings transformer. Doc page: the definition 
of a collection.
   
   Documentation only, no behavior change. The component JSON, the catalog 
copies, the doc page headers and the DSL are
   
   The JSON diff is description text only (checked with a script that compares 
the JSON without the `description` fields), and a rebuild of the 10 modules and 
the DSLs leaves no change.
   
   ## Found, not changed
   
   Labels, types and defaults are left for the reviewers (only description text 
changes here):
   
   - ibm-cos: `prefix`/`delimiter` and several headers have no 
`consumer`/`producer` label; `CamelIBMCOSContentMD5` is never set or read; 
`serviceInstanceId` is marked secret but is a resource id (CRN); the 
`operation` default (putObject) is not in the metadata.
   - ibm-secrets-manager: `serviceUrl` and `token` are required by the 
component but not marked `required`; the `operation` default is not in the 
metadata; the category is listed twice (`cloud,cloud`).
   - jt400: `dataQueueCcsid` is labelled consumer but the producer uses it too; 
`searchKey` has no label.
   - qdrant: `CamelQdrantPointId` has javaType `int` but only PointId/Long/UUID 
work; `filter` is autowired, so a single Filter bean applies to every search.
   - weaviate: all options are labelled `producer`; the `client` field has 
`autowired` but no `@UriParam`.
   - typesafe-ai: the `state` default `${body}` is not in the metadata.
   - langchain4j-chat: the token count headers have javaType `int` but can be 
null.
   - jslt: the option name `mapBigDecimalAsFloats` reads the wrong way round 
(it maps floats to BigDecimal).
   - Inherited texts left in camel-support: `ResourceEndpoint` 
(`allowContextMapAll`, `contentCache` as seen from jslt) and 
`sendEmptyMessageWhenIdle` ("did not poll any files").
   
   Behavior bugs found while checking go into one JIRA per component, linked to 
CAMEL-23832.
   
   ## Tests
   
   Documentation only. Offline rebuild of each module, the catalog copies and 
the Endpoint/Component DSL.
   
   _Claude Code on behalf of davsclaus_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_016Y4dDhew8iuyqNH37V5FiU
   


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