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

   # Description
   
   Part of [CAMEL-23832](https://issues.apache.org/jira/browse/CAMEL-23832). 
The umbrella ticket stays open.
   
   ## Summary
   
   This PR rewrites the component description and the texts of all 14 endpoint 
options of `hwcloud-functiongraph`. The component has no headers: it reads 
exchange properties instead. Most old texts only repeated the option name, for 
example "Cloud project ID" and "Ignore SSL verification". The new texts say how 
the producer uses each value (the URN of the function, the SDK client, the 
credentials) and which exchange property replaces it. They also say that the 
producer always invokes the `latest` version of the function, that the region 
is still needed for the URN when `endpoint` is set, when the proxy options are 
used, and that `serviceKeys` replaces `accessKey` and `secretKey`.
   
   The texts are based on the Camel code (`FunctionGraphEndpoint`, 
`FunctionGraphProducer`, `ClientConfigurations`) and on 
`huaweicloud-sdk-functiongraph` 3.1.81 (`FunctionGraphRegion`, `HttpConfig`).
   
   ### Found, not changed
   
   - `accessKey` and `secretKey` are marked as required, but the `serviceKeys` 
option can be set in their place.
   - `serviceKeys` has `security = "secret"` but no `security` label, unlike 
`accessKey` and `secretKey`.
   - `ClientConfigurations` accepts `endpoint` without `region`, but the URN of 
the function then contains `null` for the region. The metadata marks `region` 
as required, so the option texts say that it is needed.
   - The producer logs a WARN line ("No XCffLogType given") for every message 
that has no `CamelHwCloudFgXCffLogType` exchange property, although that 
property is optional.
   - The doc page names the class 
`org.apache.camel.component.huaweicloud.functiongraph.models.ServiceKeys`, 
which does not exist. The class is 
`org.apache.camel.component.huaweicloud.common.models.ServiceKeys`.
   
   ## 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 (15 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