Claus Ibsen created CAMEL-25394:
-----------------------------------
Summary: camel-jbang - camel get/top/ps: robust listing and
consistent JSON schema
Key: CAMEL-25394
URL: https://issues.apache.org/jira/browse/CAMEL-25394
Project: Camel
Issue Type: Sub-task
Components: camel-jbang
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 4.24.0
* Null-safe shared status reader: a missing key or older status file must not
NPE the whole listing (~22 classes unbox missing keys).
* Explicit name with no match -> exit 3; default (all) with nothing running ->
exit 0, {{[]}} in JSON, "No running Camel integrations" on stderr.
* JSON schema cleanup (breaking, upgrade guide): numbers as numbers, split
composite strings ({{"3/4"}}, {{"12/40/512 MB"}}, {{"1s/2s/-"}}), durations as
millis plus human string, {{status}}/{{routeId}} naming. Update in-repo
consumers (TUI, MCP).
* Fix {{get activity}} SINCE (subtracts now twice), {{camel dirty}} pid prefix
match, {{get processor --limit}}, {{--limit}} applied before sort in
endpoint/consumer/producer, {{get health}} has no name parameter.
_Claude Code on behalf of davsclaus (Claus Ibsen)_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)