[ 
https://issues.apache.org/jira/browse/CAMEL-25381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-25381:
--------------------------------
    Fix Version/s: 4.23.0
                       (was: 4.24.0)

> camel-jbang - camel validate normalize should support Kamelet files
> -------------------------------------------------------------------
>
>                 Key: CAMEL-25381
>                 URL: https://issues.apache.org/jira/browse/CAMEL-25381
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jbang
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 4.23.0
>
>
> camel validate normalize on a Kamelet file (for example 
> timer-source.kamelet.yaml from camel-kamelets) fails with only:
> {noformat}ERROR: Error normalizing files{noformat}
> The command runs the files and dumps the routes, and a Kamelet is a route 
> template, so nothing is dumped. It is the command the compact notation 
> warning recommends, and it is what the shipped Kamelets need to be written in 
> canonical YAML DSL.
> Proposal: for a kind: Kamelet file, normalize spec.template (and its beans) 
> and keep the rest of the Kamelet document (definition, metadata, 
> dependencies) as it is. When normalizing fails, say why. Then camel-kamelets 
> can normalize its catalog and check it in CI.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to