You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2026/08/06 09:13:00 UTC

[jira] [Commented] (CAMEL-24363) camel-aws: minor fixes - eks catalog defaultValue and parameter-store value header

    [ https://issues.apache.org/jira/browse/CAMEL-24363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18102377#comment-18102377 ] 

Andrea Cosentino commented on CAMEL-24363:
------------------------------------------

Note: the third item in the original description (IAM2Endpoint.doStop missing super.doStop()) was found already fixed on current main, so it is dropped from this issue. This fixes the eks profileCredentialsName catalog defaultValue and the parameter-store CamelAwsParameterStoreValue header.

> camel-aws: minor fixes - eks catalog defaultValue and parameter-store value header
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-24363
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24363
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-aws
>            Reporter: Andrea Cosentino
>            Assignee: Andrea Cosentino
>            Priority: Major
>             Fix For: 4.22.0
>
>
> Three small, independent defects found during the camel-aws review:
> h3. 1. IAM2Endpoint.doStop() does not call super.doStop()
> {{IAM2Endpoint.doStop()}} closes the IAM client but never calls {{super.doStop()}}. Every other aws2 endpoint (including the paired {{KMS2Endpoint}}) calls it, so the base {{ScheduledPollEndpoint}}/{{DefaultEndpoint}} stop logic is skipped for IAM. Fix: add {{super.doStop()}} as the last statement.
> h3. 2. eks profileCredentialsName has a bogus defaultValue
> {{EKS2Configuration.profileCredentialsName}} is a {{String}} annotated with {{@UriParam(defaultValue = "false")}} - a copy-paste from the adjacent boolean provider flags. It has no runtime effect but pollutes the generated catalog with a misleading default for a profile-name string. ECS's equivalent field is correct ({{@UriParam(label = "security")}}). Fix: match ECS and regenerate the catalog.
> h3. 3. parameter-store CamelAwsParameterStoreValue header is advertised but never read
> {{ParameterStoreConstants.PARAMETER_VALUE}} ({{CamelAwsParameterStoreValue}}) is annotated with {{@Metadata}} and published in the catalog as a producer header, but no code path reads it - {{putParameter}} always takes the value from the message body via {{getMandatoryBody(String.class)}}. Fix: honor the header when present (falling back to the body), so the documented option works; the common body-based flow is unchanged.
> All three are low severity. Targeting main (4.22.0).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)