[
https://issues.apache.org/jira/browse/CAMEL-24827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18116878#comment-18116878
]
Claus Ibsen commented on CAMEL-24827:
-------------------------------------
Pull request: https://github.com/apache/camel/pull/26604 (covers CAMEL-24824
and CAMEL-24827).
> 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
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.23.0
>
>
> 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)