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

   # Description
   
   Part of [CAMEL-23832](https://issues.apache.org/jira/browse/CAMEL-23832). 
The umbrella ticket stays open.
   
   ## Summary
   
   Rewrites 40 texts of camel-solr: the component description, 11 component 
options, 19 endpoint options and 9 headers.
   The two prefix headers (`CamelSolrField.`, `CamelSolrParam.`) were already 
clear and are unchanged.
   
   The old texts were mostly short labels ("Enable SSL", "Basic authenticate 
user", "What operation to perform", "Size of
   the response") that did not say which header or option replaces a value, 
which options only configure the client that
   Camel creates (and are not used with the `solrClient` option), or what 
happens when a value is not set. The component
   description called Solr "Apache Lucene Solr", which it has not been for some 
years. The endpoint `requestTimeout` and
   `connectionTimeout` show no default, although they take the value of the 
component options (10 minutes and 60 seconds),
   which the texts now say. The component `host` option is only used by 
endpoints whose host is `default`, and the
   component `sslContextParameters` text named `certificatePath`, which is not 
a component option.
   
   Sources: the Camel code of the module (`SolrComponent`, `SolrConfiguration`, 
`SolrEndpoint`, `SolrProducer`,
   `SolrOperation`, `SolrRequestConverter`) and SolrJ 10.0.0 
(`HttpJdkSolrClient`, `HttpSolrClientBase`).
   
   ### Found, not changed
   
   - The endpoint options have no `producer` label (all show an empty label), 
although the component is producer only.
   - The endpoint `requestTimeout` and `connectionTimeout` have no 
`defaultValue` in the metadata; the effective defaults
     are 600000 and 60000 from the component options.
   - The component `port` has no `defaultValue`; an endpoint without a port 
uses 8983.
   - `username` without `password` (or the other way round) is ignored without 
a warning: basic authentication is only
     set when both are set.
   - `enableSSL=false` with `certificatePath` or `sslContextParameters` set 
builds an SSL context that is never used, as
     the base URL stays `http`.
   - The category includes `MONITORING`, which does not fit a search component.
   - The URI syntax in the metadata is `solr:host:port/basePath`, while the doc 
page shows `solr://host[:port]?[options]`.
   
   ## Tests
   
   - There is no new test, as only description text changes.
   - A script compared the component JSON with the parent commit: only 
`description` fields changed (40 texts).
   
   # Target
   
   - [x] I checked that the commit is targeting the correct branch (Camel 4 
uses the `main` branch)
   
   # Tracking
   
   - [x] If this is a large change, bug fix, or code improvement, I checked 
there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for 
the change (usually before you start working on it).
   
   # Apache Camel coding standards and style
   
   - [x] I checked that each commit in the pull request has a meaningful 
subject line and body.
   - [x] I ran the formatter and built the module, then regenerated the catalog 
copy, `dsl/camel-endpointdsl` and `dsl/camel-componentdsl`, and committed all 
generated changes.
   
   # AI-assisted contributions
   
   - [x] If this PR includes AI-generated code, commits have proper 
co-authorship attribution (e.g., `Co-authored-by` trailers) and the PR 
description identifies the AI tool used.
   
   _Claude Code on behalf of davsclaus_
   
   🤖 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]

Reply via email to