Claus Ibsen created CAMEL-25380:
-----------------------------------
Summary: camel-yaml-dsl - Do not log the compact notation warning
for YAML inside a jar, such as the Kamelets of the Kamelet catalog
Key: CAMEL-25380
URL: https://issues.apache.org/jira/browse/CAMEL-25380
Project: Camel
Issue Type: Improvement
Components: camel-yaml-dsl
Reporter: Claus Ibsen
Fix For: 4.23.0
Using timer-source, extract-field-action or predicate-filter-action logs on
every load and dev-mode reload:
{noformat}WARN YAML DSL compact notation detected in:
classpath:kamelets/timer-source.kamelet.yaml. It is recommended to use
canonical/normalized YAML DSL notation which is more tooling and AI friendly.
Use Camel CLI to normalize: camel validate normalize <file>{noformat}
The user (or an AI agent reading the log) is told to fix a file inside a jar
they cannot change. Proposal: no warning when the resource is a classpath:
resource that resolves into a jar. The right fix for the Kamelets themselves is
canonical YAML in camel-kamelets; this keeps older pinned Kamelet versions and
third-party Kamelet jars quiet.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)