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

   [CAMEL-28010](https://issues.apache.org/jira/browse/CAMEL-28010)
   
   `camel-azure-schema-registry` has one class, 
`DefaultAzureCredentialWrapper`: a `TokenCredential` with a no-argument 
constructor that delegates to the `DefaultAzureCredential` of Azure Identity, 
so that low-code users could create it as a bean by class name for the Azure 
Schema Registry serializers of Kafka.
   
   Its only users were the `kafka-azure-schema-registry-source`, 
`kafka-azure-schema-registry-sink` and 
`kafka-batch-azure-schema-registry-source` Kamelets. They were removed from 
camel-kamelets (apache/camel-kamelets#3165, part of #3162) because they could 
not start. The camel-kamelets-examples have their own copy of the class.
   
   A YAML (or XML) bean can now create the credential without the module:
   
   ```yaml
   - beans:
       - name: defaultAzureCredential
         type: com.azure.identity.DefaultAzureCredential
         builderClass: com.azure.identity.DefaultAzureCredentialBuilder
   ```
   
   This deprecates the module, following the conventions:
   - `(deprecated)` in the pom name and the doc title, `Stable-deprecated` 
support level
   - `@Deprecated(since = "4.25")` on the class
   - the doc page says why and shows the bean above (validated with 
`camel_validate_source`)
   - an entry in the 4.25 upgrade guide
   
   The generated JSON, `other.properties` and the catalog copies are 
regenerated.
   
   Note: #31208 also changes the description of this module; whichever PR 
merges second needs a small rebase.
   
   _Claude Code on behalf of davsclaus_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   
   https://claude.ai/code/session_012nJsFsjqqFiwroeHRWaKbS
   


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