Saravanakumar Selvaraj created CAMEL-27092:
----------------------------------------------

             Summary: camel-alibaba-fc: region is marked as required, FCHeaders 
has no operation header, and FCProperties has unused texts
                 Key: CAMEL-27092
                 URL: https://issues.apache.org/jira/browse/CAMEL-27092
             Project: Camel
          Issue Type: Bug
    Affects Versions: 4.23.0
            Reporter: Saravanakumar Selvaraj
            Assignee: Saravanakumar Selvaraj


Found while fixing CAMEL-27036 for camel-alibaba-sms: camel-alibaba-fc has the 
same three points.

1. region has @Metadata(required = true), but FCUtils.createClient needs region 
or endpoint: it throws "Region or endpoint is required" only when both are 
empty. The catalog validation reports region as a missing required option for a 
URI with only endpoint.

2. FCHeaders has no constant for CamelAlibabaFcOperation, which the producer 
reads like the other input headers. Only FCProperties declares it, so the 
header is missing from the header list of the component JSON, the endpoint DSL 
and the doc page.

3. FCProperties has @Metadata with texts of its own on its five header names, 
but the build reads only the headers class FCHeaders. So these texts are not 
used.

_Claude Code on behalf of saravanakumar1987_



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

Reply via email to