You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2026/08/11 18:17:00 UTC

[jira] [Created] (CAMEL-24383) camel-azure-key-vault: producer throws a copy-pasted "createSecret" validation message for every operation

Andrea Cosentino created CAMEL-24383:
----------------------------------------

             Summary: camel-azure-key-vault: producer throws a copy-pasted "createSecret" validation message for every operation
                 Key: CAMEL-24383
                 URL: https://issues.apache.org/jira/browse/CAMEL-24383
             Project: Camel
          Issue Type: Bug
          Components: camel-azure
            Reporter: Andrea Cosentino
            Assignee: Andrea Cosentino
             Fix For: 4.22.0


h3. Problem

{{KeyVaultProducer}} reuses one constant in all five operations:
{code:java}
public static final String MISSING_SECRET_NAME = "Secret Name must be specified for createSecret Operation";
{code}
It is thrown by {{createSecret}}, {{getSecret}}, {{deleteSecret}} and {{purgeDeletedSecret}} (wrong operation name), and by {{updateSecretProperties}} - doubly wrong, since that method validates the secret-properties header (not a name) yet reports "Secret Name ... createSecret".

h3. Fix

Use a per-operation message naming the correct operation and the field actually validated (mirrors CAMEL-24249). Low severity (misleading diagnostics only). Affects main (4.22.0-SNAPSHOT).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)