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

   ## What
   
   Two pieces of dead configuration:
   
   1. `KameletPrefixSchemeEnum` (camel-kamelets-catalog): removed the 
`kafka_azure("kafka-azure", "kafka")` and `kafka_ssl("kafka-ssl", "kafka")` 
entries.
   2. Root `pom.xml`: removed the three Azure schema registry version 
properties (`version.com.azure.azure-identity`, 
`version.com.azure.azure-data-schemaregistry-apacheavro`, 
`version.com.microsoft.azure.azure-schemaregistry-kafka-avro`), their comment, 
and the three lines that passed them to `UpdateDepsVersionKamelets` in the 
groovy-maven-plugin configuration.
   
   ## What was verified
   
   - **Enum entries**: no Kamelet in `kamelets/` starts with `kafka-azure-` or 
`kafka-ssl-` (the Kafka Kamelets were merged into `kafka-source`/`kafka-sink` 
in #2703, the Azure schema registry ones were removed in #3165). The enum is 
read only by `KameletsCatalog.getKameletScheme(prefix)`. No code or test refers 
to `kafka_azure`, `kafka_ssl`, `kafka-azure` or `kafka-ssl` (grep across the 
repo; only `CHANGELOG.md` mentions the old Kamelets). `KameletsCatalogTest` 
looks up only `aws-s3`, `aws-sqs`, an unknown prefix, and the prefixes of 
existing Kamelets.
   - **Azure versions**: grep across the whole repository (all poms, the BOM, 
Kamelet YAML `mvn:` dependencies, the library copy and `kamelets-index.json`, 
`script/version/UpdateDepsVersionKamelets.groovy`, 
`script/security/scan_catalog_dependencies.py`, the SBOM files under 
`camel-kamelets-sbom/`, `.github/`) finds these artifacts only in the root 
`pom.xml`. No Kamelet declares `mvn:com.azure:*` or `mvn:com.microsoft.azure:*` 
since #3165 removed the last Kamelets that did (`git log -S 
azure-schemaregistry-kafka-avro`). They are not in `dependencyManagement`.
   
   Also noticed, not changed here: the enum has two more entries that match no 
Kamelet, `beer` and `kafka_scram`. Left as they are, since this PR covers only 
the entries that were reviewed.
   
   ## How it was tested
   
   - `./mvnw clean install -DskipITs` from the root, twice (the second run 
picks up the library copy): BUILD SUCCESS both times, no generated files 
changed. `KameletsCatalogTest` (21 tests) and the other catalog tests pass.
   
   _Claude Code on behalf of Claus Ibsen_
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


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