[
https://issues.apache.org/jira/browse/CAMEL-23688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18127996#comment-18127996
]
Claus Ibsen commented on CAMEL-23688:
-------------------------------------
Pull request: https://github.com/apache/camel/pull/27975 - tests for camel get
bean, get route-controller and top source, and fixes for the bugs they found:
get bean --dsl paired the configuration with the properties by position (wrong
values, or an IndexOutOfBoundsException with --nulls=false) and an unknown
--scope showed every bean (now exit 2); get route-controller read the long
back-off settings as ints and showed Starting Routes for the default
controller; top source --json had its counters as text.
_Claude Code on behalf of davsclaus_
> camel-jbang - Add extensive test cover of the CLI commands
> ----------------------------------------------------------
>
> Key: CAMEL-23688
> URL: https://issues.apache.org/jira/browse/CAMEL-23688
> Project: Camel
> Issue Type: Test
> Components: camel-jbang
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 4.x
>
>
> We should use AI to add extensive coverage of the CLI commands so we can be
> prepared for a refactor of the code base.
> The code is a bit hacky in some spots and has grown up where its time to
> refactor and make it more maintainable.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)