Claus Ibsen created CAMEL-24827:
-----------------------------------

             Summary: camel-jbang-core: sync the bundled examples with the 
revamped camel-jbang-examples (new groups and paths) and derive the bundle list 
from the catalog
                 Key: CAMEL-24827
                 URL: https://issues.apache.org/jira/browse/CAMEL-24827
             Project: Camel
          Issue Type: Task
          Components: camel-jbang
            Reporter: Claus Ibsen


camel-jbang-examples was reorganised as a ladder (CAMEL-24808): the top-level 
directories are now the groups (quick-start, run, transform, route, fail-well, 
connect, connect-service, contracts, ai, cloud, showcase), most examples were 
rewritten around one web shop, and eight of them are marked bundled in the 
catalog.

The copy bundled in camel-jbang-core (src/main/resources/examples) and the 
catalog next to it are the old ones: 29 entries with the old 
beginner/intermediate/advanced levels and the old paths (beginner/timer-log, 
eip/circuit-breaker, language/groovy, observability/route-topology, ...), 
several of which no longer exist upstream. *camel run --example* and the TUI 
example browser therefore list examples that are gone and fetch online examples 
from paths that 404.

To do:
# re-run the sync-example-catalog profile against the new catalog and replace 
the bundled directories with the eight bundled examples of the new catalog 
(quick-start/timer-log, rest-api, routes, splitter, fail-well/circuit-breaker, 
showcase/tui-hello-world, memory-leak, message-size), removing the old ones;
# stop hand-maintaining the file list in the pom's antrun macro: read the 
bundled entries and their files from the downloaded catalog (the files list is 
in every entry), so a change upstream is one profile run;
# keep ExampleHelper.getShortName and TuiHelper.stripCategory working with the 
new group names, and add the group titles the README uses (Quick start, Fail 
well, Connect to one service, ...) to formatCategory.

The listing and TUI browser changes that build on the new groups are 
CAMEL-24824.



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

Reply via email to