davsclaus opened a new pull request, #30936: URL: https://github.com/apache/camel/pull/30936
# Description Part of [CAMEL-23832](https://issues.apache.org/jira/browse/CAMEL-23832). The umbrella ticket stays open. ## Summary New texts for 13 descriptions of camel-influxdb2: the component description, the component option `influxDBClient`, 8 endpoint options (`connectionBean`, `org`, `bucket`, `operation`, `autoCreateOrg`, `autoCreateBucket`, `writePrecision`, `retentionPolicy`) and 3 headers (`CamelInfluxDB2MeasurementName`, `CamelInfluxDB2WritePrecision`, `camelInfluxDB.RetentionPolicy`). The headers `CamelInfluxDB2Org` and `CamelInfluxDB2Bucket` were already correct and are unchanged. Checked against the Camel code (endpoint, component, producer, type converter) and the influxdb-client-java 8.0.0 sources. What was wrong with the old texts: - `writePrecision` and its header did not say that they only apply to a `Measurement`, `Record`, `Measurements` or `Records` body: for a `Point`, a `Map` or a `Points` body the client writes each `Point` with its own precision (`ns` unless set with `Point.time`). - `CamelInfluxDB2MeasurementName` ("The name of measurement") is a key of the `Map` body that the type converter turns into a `Point`, not a message header that the producer reads. - `retentionPolicy` and its header said they define the retention policy of the data, which they never did. - `connectionBean` did not say that it is a registry lookup that is skipped when the component has a client (set or autowired); `operation` did not say what PING returns; `autoCreateOrg` and `autoCreateBucket` did not say that they run at endpoint startup, use only the endpoint options (not the headers), and that a missing organization with `autoCreateOrg=false` fails the startup. - The component description now starts with a verb: "Write time series data to InfluxDB 2.x." ### Found, not changed - `CamelInfluxDB2MeasurementName` is listed in the headers of the component, but it is only a key of a `Map` body; setting it as a message header does nothing. - `writePrecision` (option and header) has no effect for `Point`, `Map` and `Points` bodies, as the producer calls `writePoint`/`writePoints` without a precision. - `org` and `bucket` are marked as required also for `operation=PING`, which does not use them, and with the default `autoCreateOrg=true` and `autoCreateBucket=true` a ping endpoint looks up (and creates) the organization and the bucket at startup. - The display name of the component option `influxDBClient` is "Influx DBClient". ## 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 (13 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]
