oscerd opened a new pull request, #25574:
URL: https://github.com/apache/camel/pull/25574

   The key-vault producer reused one constant — `MISSING_SECRET_NAME = "Secret 
Name must be specified for createSecret Operation"` — in all five operations. 
So `getSecret`/`deleteSecret`/`purgeDeletedSecret` reported the wrong 
operation, and `updateSecretProperties` was doubly wrong: it validates the 
`CamelAzureKeyVaultSecretProperties` header (not a name) yet said "Secret Name 
… createSecret".
   
   The shared message is now generic ("Secret Name must be specified") and 
`updateSecretProperties` throws a dedicated `MISSING_SECRET_PROPERTIES` 
message. This is a **diagnostic-message-only** change — validation behaviour 
and the thrown `IllegalArgumentException` type are unchanged, so no test change 
is needed (mirrors the camel-aws2 message cleanup in CAMEL-24249). Key-vault 
module builds green.
   
   _Claude Code on behalf of oscerd_


-- 
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]

Reply via email to