Dhairya-007 opened a new pull request, #30090:
URL: https://github.com/apache/camel/pull/30090
## Problem
The ACL header names its class by simple name only:
```java
@Metadata(label = "producer", description = "The ACL to set on the node.",
javaType = "List<ACL>")
public static final String ZOOKEEPER_ACL = "CamelZookeeperAcl";
```
```json
"CamelZookeeperAcl": { ..., "javaType": "List<ACL>", ... }
```
`ACL` is `org.apache.zookeeper.data.ACL`, which a reader has little chance
of guessing: it is a three-letter acronym, the package is `data` rather than
the `org.apache.zookeeper` one might try first, and ZooKeeper's `ZooDefs.Ids`
constants that most users pass here (`OPEN_ACL_UNSAFE` and friends) are
declared elsewhere again.
It is also the only header in the component whose type is not a built-in, so
it is the one entry in the table where the type carries any information at all.
Fully qualified is the convention by a wide margin across the catalog: 3692
header `javaType` values are fully qualified or a built-in type, and 151 are
not.
## Fix
Qualify it to `List<org.apache.zookeeper.data.ACL>`, the FQN the component's
own sources import. The `List` spelling is left alone and the header name is
untouched.
Metadata only - no behaviour change. I diffed the regenerated catalog file
against `main` and confirmed this one `javaType` value is the only field that
differs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]