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

Work on CAMEL-26037 started by Claus Ibsen.
-------------------------------------------
> camel-aws2-iam - CamelAwsIAMAccessKeyStatus takes Active and Inactive only
> --------------------------------------------------------------------------
>
>                 Key: CAMEL-26037
>                 URL: https://issues.apache.org/jira/browse/CAMEL-26037
>             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: Trivial
>             Fix For: 4.24.0
>
>
> Found while adding the catalog body types of aws2-iam (CAMEL-24961).
> h4. 1. CamelAwsIAMAccessKeyStatus takes Active and Inactive only
> The header is described as "active and inactive" ({{IAM2Constants}}, main 
> 07d2e7a987bc, lines 31-33), but {{StatusType.fromValue}} matches {{Active}} 
> and {{Inactive}} exactly ({{IAM2Producer}}, line 401). Checked on 
> 4.24.0-SNAPSHOT with {{camel run}} against the AWS emulator of {{camel infra 
> run aws}}: updateAccessKey with "inactive" failed with "Status must be Active 
> or Inactive."; "Inactive" worked.
> *Proposed change*: match the status in any case, or name the exact values in 
> the header description.
> h4. Also read in the code, not run
> * With pojoRequest=true an empty text body is reported as "Expected body of 
> type ... but was null" (line 981); aws2-kms does the same (line 270).
> _Claude Code on behalf of davsclaus_



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

Reply via email to