davsclaus opened a new pull request, #30222: URL: https://github.com/apache/camel/pull/30222
### Problem `camel catalog kamelet --filter=timer` lists no Kamelet: ``` $ camel catalog kamelet --filter=timer No results for filter: timer ``` The filter matched a Kamelet name only as a whole name, such as `--filter=timer-source`. Only the description was searched for a part of the text. `camel catalog component --filter=aws2` and the MCP tool `camel_catalog_kamelets` match a part of the name. ### Change `CatalogKamelet` keeps a Kamelet when its name or its description contains the filter text, ignoring case. ### Tests `CatalogKameletListTest.filterByAPartOfTheName`: `--filter=Timer` lists `timer-source`, whose description does not have the text. It fails without the change. The other tests of the class pass, including the whole name (`--filter=Log-Action`) and no results (`--filter=mqtt`). _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]
