Andrea Cosentino created CAMEL-28041:
----------------------------------------
Summary: camel-aws-config: three public header names are
misspelled CONFORMACE, and one omits the Config infix
Key: CAMEL-28041
URL: https://issues.apache.org/jira/browse/CAMEL-28041
Project: Camel
Issue Type: Bug
Components: camel-aws
Reporter: Andrea Cosentino
Found during an audit of the cloud components (camel-aws, camel-azure,
camel-google, camel-huawei) at commit 7c0644752e17. Every item below was
verified against the source.
{{AWSConfigConstants}} declares three constants whose Java names and, for two
of them, whose wire values misspell "conformance" as "conformace":
* {{CONFORMACE_PACK_NAME = "CamelAwsConformancePackName"}} - Java name
misspelled, wire value spelled correctly but missing the {{Config}} infix that
its six siblings have ({{CamelAwsConfig...}})
* {{CONFORMACE_PACK_S3_TEMPLATE_URI =
"CamelAwsConfigConformacePackS3TemplateURI"}} - misspelled in the wire value
* {{CONFORMACE_PACK_TEMPLATE_BODY =
"CamelAwsConfigConformacePackTemplateBody"}} - misspelled in the wire value
The Java constant names are also used throughout {{AWSConfigProducer}}.
Renaming the Java constants is safe. Changing the two misspelled wire values,
and adding the missing {{Config}} infix to the third, is a user-visible header
rename that needs a deprecation of the old names and an entry in the upgrade
guide.
Proposed change: fix the Java identifiers, and decide whether to rename the
wire values with a deprecation period.
_Claude Code on behalf of oscerd_
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)