Claus Ibsen created CAMEL-25416:
-----------------------------------

             Summary: camel-jbang - Catalog view: list the Kamelets, the 
project's own first
                 Key: CAMEL-25416
                 URL: https://issues.apache.org/jira/browse/CAMEL-25416
             Project: Camel
          Issue Type: Improvement
          Components: camel-jbang
            Reporter: Claus Ibsen
             Fix For: 4.24.0


The Catalog view of camel-jbang lists components, data formats, languages, 
others and EIPs (its kind filter: all, component, dataformat, language, other, 
eip). It shows no Kamelets: neither the project's own Kamelet files nor those 
of the Kamelet catalog.

Proposal, putting the project's own Kamelets first (custom Kamelets are 
building blocks a project writes; the general catalog is large and less used):

# In the default view (what the application uses), list the project's 
*.kamelet.yaml files with kind kamelet and a marker that they are the project's 
own, plus the catalog Kamelets its routes use.
# In the full catalog view, list the catalog Kamelets too, under a new kamelet 
kind in the filter.
# The doc of a Kamelet (d) shows its type (source, action, sink) and its 
properties (required, type, default, description), as camel_catalog_doc returns 
them (CatalogDocs.kameletDoc, CAMEL-25379). For a project Kamelet, Enter opens 
its file in the source editor.

The Kamelet definitions are available from KameletDefinitions.catalog() and 
KameletDefinitions.projectKamelets(dir).

Follow-up of CAMEL-25411 (Kamelets in the source editor).



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

Reply via email to