[ 
https://issues.apache.org/jira/browse/CAMEL-26099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen reassigned CAMEL-26099:
-----------------------------------

    Assignee: Claus Ibsen

> camel-aws-config - no operation fails with a NullPointerException, and 
> putConformancePack without a name asks for the rule name
> -------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-26099
>                 URL: https://issues.apache.org/jira/browse/CAMEL-26099
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-aws2
>    Affects Versions: 4.18.0, 4.22.0, 4.23.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.24.0
>
>
> Found while adding the catalog body types of aws-config (CAMEL-24961).
> h4. 1. No operation fails with a NullPointerException
> The operation option has no default, and with no CamelAwsConfigOperation 
> header, {{switch (determineOperation(exchange))}} ({{AWSConfigProducer}}, 
> main ed3d719b379c, line 54) fails with {{NullPointerException: Cannot invoke 
> "...ordinal()" because the return value of "...determineOperation(...)" is 
> null}}. Checked on 4.24.0-SNAPSHOT with {{camel run}} against the AWS 
> emulator of {{camel infra run aws}}.
> *Proposed change*: fail with a message that says to set the operation option 
> or header, as aws2-kms does ("Operation must be specified").
> h4. 2. putConformancePack without a name says "Rule Name must be specified"
> putConformancePack without the {{CamelAwsConformancePackName}} header fails 
> with "Rule Name must be specified" ({{AWSConfigProducer}}, main ed3d719b379c, 
> line 248). Checked on 4.24.0-SNAPSHOT with {{camel run}} against the AWS 
> emulator of {{camel infra run aws}}.
> h4. 3. The page describes another service
> The page says "The AWS Config component supports create and delete config 
> rules https://aws.amazon.com/config/[AWS ECS] clusters instances." 
> ({{aws-config-component.adoc}}, lines 17-18), and lists no operations.
> _Claude Code on behalf of davsclaus_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to