Claus Ibsen created CAMEL-27535:
-----------------------------------

             Summary: camel-kamelet - document how a Kamelet is configured and 
tested
                 Key: CAMEL-27535
                 URL: https://issues.apache.org/jira/browse/CAMEL-27535
             Project: Camel
          Issue Type: Improvement
          Components: camel-kamelet
            Reporter: Claus Ibsen
             Fix For: 4.24.0


The camel-kamelet docs do not say how the parameters of a Kamelet can be set 
besides the endpoint URI, or how a Kamelet is tested.

*kamelet-component.adoc* gets a section on configuring a Kamelet:
* the four places a parameter is set, and which one wins: endpoint parameter > 
{{CAMEL_KAMELET_<NAME>_<PARAMETER>}} environment variable > 
{{camel.kamelet.<name>.<parameter>}} property > default;
* the per-use id {{kamelet:<name>/<id>}};
* that any {{template-properties}}/{{route-properties}} value turns off all 
{{camel.kamelet.*}} properties for that Kamelet;
* the names reserved by the kamelet endpoint;
* that an unset optional parameter resolves from the environment (CAMEL-27498).

*kamelet-custom.adoc* gets a section on testing the example Kamelets with the 
Camel CLI test plugin (Citrus).

Every statement was checked with camel run / camel test run on 4.24.0-SNAPSHOT.

The Kamelet catalog side (a user guide and a testing guide) is 
apache/camel-kamelets#3394.

_Claude Code on behalf of Claus Ibsen_



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to