You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2022/10/23 09:27:41 UTC
[camel] 02/05: CAMEL-18630: camel-jbang - Add get health command
This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
commit c1396ea75a54b01d390589838b33ef4d02a33732
Author: Claus Ibsen <cl...@gmail.com>
AuthorDate: Sun Oct 23 10:41:49 2022 +0200
CAMEL-18630: camel-jbang - Add get health command
---
.../apache/camel/dsl/jbang/core/commands/process/ListHealth.java | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/ListHealth.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/ListHealth.java
index 0e991e024dd..9af128516c6 100644
--- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/ListHealth.java
+++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/ListHealth.java
@@ -148,13 +148,13 @@ public class ListHealth extends ProcessBaseCommand {
new Column().header("ID").dataAlign(HorizontalAlign.LEFT)
.maxWidth(40, OverflowBehaviour.ELLIPSIS_RIGHT)
.with(this::getId),
- new Column().header("SINCE").headerAlign(HorizontalAlign.RIGHT)
- .dataAlign(HorizontalAlign.RIGHT)
- .with(r -> r.since),
+ new Column().header("RL").minWidth(4).maxWidth(4).with(this::getLR),
new Column().header("STATE").headerAlign(HorizontalAlign.CENTER)
.dataAlign(HorizontalAlign.CENTER)
.with(r -> r.state),
- new Column().header("RL").minWidth(4).maxWidth(4).with(this::getLR),
+ new Column().header("SINCE").headerAlign(HorizontalAlign.RIGHT)
+ .dataAlign(HorizontalAlign.RIGHT)
+ .with(r -> r.since),
new Column().header("TOTAL").headerAlign(HorizontalAlign.RIGHT).with(r -> r.total),
new Column().header("OK/KO").headerAlign(HorizontalAlign.RIGHT).with(this::getRate),
new Column().header("MESSAGE").dataAlign(HorizontalAlign.LEFT)