gnodet-bot commented on code in PR #31187:
URL: https://github.com/apache/camel/pull/31187#discussion_r4756049271
##########
core/camel-api/src/main/java/org/apache/camel/vault/HashicorpVaultConfiguration.java:
##########
@@ -60,6 +60,8 @@ public class HashicorpVaultConfiguration extends
VaultConfiguration {
private @Nullable String azureResource = "https://management.azure.com/";
@Metadata
private @Nullable String azureClientId;
+ private @Nullable String gcpServiceAccountId;
+ private @Nullable String gcpCredentialsFile;
Review Comment:
⚠️ **Missing `@Metadata` annotations** — every other field in this class has
`@Metadata` (see `azureClientId` on the line above), but `gcpServiceAccountId`
and `gcpCredentialsFile` are added without it. The annotation is what opts
fields into the configuration metadata catalog and controls hints (required,
secret, enums, defaultValue) used by tooling. Without it, these fields are
inconsistent and may be invisible to tooling that relies on `@Metadata`
presence rather than setter discovery.
```suggestion
@Metadata
private @Nullable String gcpServiceAccountId;
@Metadata
private @Nullable String gcpCredentialsFile;
```
--
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]