[
https://issues.apache.org/jira/browse/CAMEL-23688?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18128007#comment-18128007
]
Claus Ibsen commented on CAMEL-23688:
-------------------------------------
Pull request: https://github.com/apache/camel/pull/27979 - found while testing
the runtime tools: camel cmd eval, the eval_expression tool of camel ask and
camel_eval_expression (MCP, with an integration selected) JSON-escaped the
expression and body, which the eval action of the CLI connector does not undo;
an expression with a double quote failed (such as ${body} == "hello"), a slash
(every XPath) or a quote in the body was changed. They send them as they are
now; tests run the real eval-language dev console as the connector does.
_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)