[
https://issues.apache.org/jira/browse/CAMEL-27784?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen updated CAMEL-27784:
--------------------------------
Description:
Found while improving the option descriptions of camel-aws2-lambda for
CAMEL-23832 (commit
https://github.com/apache/camel/commit/6c50b5db2244cbdbc971efde5c64a537b5812e48,
pull request https://github.com/apache/camel/pull/31132).
These are separate problems of the component; the descriptions change only
documents the current behavior.
h4. 1. An unknown CamelAwsLambdaFunctionUrlAuthType is sent as "null"
{{createFunctionUrlConfig}} / {{updateFunctionUrlConfig}} use
{{FunctionUrlAuthType.fromValue(authType)}}; an unknown value becomes
UNKNOWN_TO_SDK_VERSION and AWS answers with a confusing validation error.
Proposed change: reject it with a clear IllegalArgumentException.
h4. 2. tagResource logs the listTags text
{{Lambda2Producer.tagResource}} logs "listTags command returned the error code"
(copy-paste).
_Claude Code on behalf of davsclaus_
was:
Found while improving the option descriptions of camel-aws2-lambda for
CAMEL-23832 (pull request https://github.com/apache/camel/pull/31132).
These are separate problems of the component; the descriptions change only
documents the current behavior.
h4. 1. An unknown CamelAwsLambdaFunctionUrlAuthType is sent as "null"
{{createFunctionUrlConfig}} / {{updateFunctionUrlConfig}} use
{{FunctionUrlAuthType.fromValue(authType)}}; an unknown value becomes
UNKNOWN_TO_SDK_VERSION and AWS answers with a confusing validation error.
Proposed change: reject it with a clear IllegalArgumentException.
h4. 2. tagResource logs the listTags text
{{Lambda2Producer.tagResource}} logs "listTags command returned the error code"
(copy-paste).
_Claude Code on behalf of davsclaus_
> camel-aws2-lambda: unknown function URL auth type is sent as null, wrong log
> text
> ---------------------------------------------------------------------------------
>
> Key: CAMEL-27784
> URL: https://issues.apache.org/jira/browse/CAMEL-27784
> Project: Camel
> Issue Type: Bug
> Components: camel-aws2
> Reporter: Claus Ibsen
> Priority: Minor
> Fix For: 4.25.0
>
>
> Found while improving the option descriptions of camel-aws2-lambda for
> CAMEL-23832 (commit
> https://github.com/apache/camel/commit/6c50b5db2244cbdbc971efde5c64a537b5812e48,
> pull request https://github.com/apache/camel/pull/31132).
> These are separate problems of the component; the descriptions change only
> documents the current behavior.
> h4. 1. An unknown CamelAwsLambdaFunctionUrlAuthType is sent as "null"
> {{createFunctionUrlConfig}} / {{updateFunctionUrlConfig}} use
> {{FunctionUrlAuthType.fromValue(authType)}}; an unknown value becomes
> UNKNOWN_TO_SDK_VERSION and AWS answers with a confusing validation error.
> Proposed change: reject it with a clear IllegalArgumentException.
> h4. 2. tagResource logs the listTags text
> {{Lambda2Producer.tagResource}} logs "listTags command returned the error
> code" (copy-paste).
> _Claude Code on behalf of davsclaus_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)