davsclaus opened a new pull request, #30976: URL: https://github.com/apache/camel/pull/30976
# 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 of aws2-step-functions, the texts of 19 options and the texts of 18 headers. The options are the label path, the component configuration and the 17 options of `StepFunctions2Configuration`. - The old texts were short or vague ("Logical name", "Component configuration", "If we want to use a POJO request as body or not") and did not say how the options work together. The credentials texts now give the order that `AwsClientBuilderUtil` uses. The endpoint override and proxy texts say which option needs which. The `awsSfnClient` text says which options a custom client replaces, and that the endpoint does not close it. - The old `trustAllCertificates` text was wrong: it limited the option to an overridden endpoint, but the client trusts every certificate of any endpoint. - The header texts now name the operations that read each header. They also give the defaults and limits of Step Functions: page size 100 by default and at most 1000, one page per call, a UUID as the execution name when none is given, STANDARD as the default state machine type, and the default of `includeExecutionData` and `reverseOrder`. - The new component description is "Manage the state machines and activities of AWS Step Functions, and start, stop and inspect their executions." Sources: the Camel code (`StepFunctions2Producer`, `StepFunctions2Component`, `StepFunctions2ClientFactory`, `AwsClientBuilderUtil` of camel-aws-common), and the AWS Step Functions API reference for AWS SDK for Java 2.57.11. ### Found, not changed - `useDefaultCredentialsProvider` and `useProfileCredentialsProvider` have no label, so they are listed with the producer options. `useSessionCredentials`, `accessKey`, `secretKey` and `sessionToken` have the `security` label. - `operation` is marked as required, but the producer also takes the operation from the `CamelAwsStepFunctionsOperation` header. It fails only at runtime, when neither is set. - The `label` path parameter is required, but the code does not use it. - `listStateMachines`, `listActivities`, `listExecutions` and `getExecutionHistory` return only one page. No header passes the `nextToken`, so the next pages can be read only with `pojoRequest=true`. ## 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 (55 texts: the component description, 18 component options, 18 endpoint options and 18 headers). # 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]
