davsclaus opened a new pull request, #27448: URL: https://github.com/apache/camel/pull/27448
https://issues.apache.org/jira/browse/CAMEL-25380 Using `timer-source`, `extract-field-action` or `predicate-filter-action` logged this on every load and dev-mode reload: ``` WARN YAML DSL compact notation detected in: classpath:kamelets/timer-source.kamelet.yaml. ... Use Camel CLI to normalize: camel validate normalize <file> ``` That tells the user, or an AI agent reading the log, to fix a file inside a jar they can't change. With this change there's no warning when the resource is a `classpath:` resource that resolves into a jar. The real fix for the shipped Kamelets is canonical YAML in camel-kamelets, which needs `camel validate normalize` to support Kamelet files first (CAMEL-25381). This change keeps older pinned Kamelet versions and third-party Kamelet jars quiet. Test: `CompactNotationWarnTest.aFileInsideAJarIsNotWarnedAbout` fails without the change and passes with it. camel-yaml-dsl passes 459 of 459. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01STT6whBgK1AqsSsUKrnE8m -- 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]
