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

Claus Ibsen resolved CAMEL-27409.
---------------------------------
    Resolution: Fixed

> camel-alibaba: the operation headers and the keySpec option of 
> camel-alibaba-kms do not list their values
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27409
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27409
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Saravanakumar Selvaraj
>            Priority: Minor
>             Fix For: 4.24.0
>
>
> Follow-up to an optional point in the review of 
> https://github.com/apache/camel/pull/30260 for CAMEL-27092. It suggested that 
> FCHeaders.OPERATION lists its values with the enums attribute, like the 
> operation option. The sibling components have the same gap.
> 1. Seven Alibaba components have a header that replaces the operation option. 
> The option lists its values in the catalog, and the header does not:
> - alibaba-eventbridge: CamelAlibabaEventBridgeOperation (putEvents)
> - alibaba-fc: CamelAlibabaFcOperation (invokeFunction, getFunction)
> - alibaba-kms: CamelAlibabaKmsOperation (encrypt, decrypt, generateDataKey)
> - alibaba-mns: CamelAlibabaMnsOperation (sendMessage, deleteMessage, 
> publishMessage)
> - alibaba-ots: CamelAlibabaOtsOperation (putRow, getRow, updateRow, 
> deleteRow, listTables)
> - alibaba-sls: CamelAlibabaSlsOperation (putLogs, getLogs, listLogStores)
> - alibaba-sms: CamelAlibabaSmsOperation (sendSms)
> The producer of each component accepts the same values from the header as 
> from the option.
> 2. The keySpec option of alibaba-kms and its header CamelAlibabaKmsKeySpec do 
> not list their values either. Their descriptions say that the value must be 
> AES_256 or AES_128.
> Proposed change: the enums attribute for the seven headers, for keySpec and 
> for CamelAlibabaKmsKeySpec. The catalog then lists the values, as it does for 
> the operation option.
> alibaba-oss has no operation header yet. CAMEL-27388 covers the missing 
> header.
> Checked on main at 43c6d3feaa. Other components list the values of their 
> operation header, for example aws2-athena and azure-storage-blob.
> _Claude Code on behalf of saravanakumar1987_



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

Reply via email to