You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2022/12/05 13:10:11 UTC

[camel] branch CAMEL-18743 updated: CAMEL-18743 - camel-jbang - Command to see only if everything is okay or there has been a failure

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch CAMEL-18743
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/CAMEL-18743 by this push:
     new c7db77c1f00 CAMEL-18743 - camel-jbang - Command to see only if everything is okay or there has been a failure
c7db77c1f00 is described below

commit c7db77c1f00ed86a942c3810f526e258ff950b09
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Dec 5 14:09:54 2022 +0100

    CAMEL-18743 - camel-jbang - Command to see only if everything is okay or there has been a failure
    
    Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
 .../camel/dsl/jbang/core/commands/process/CamelCount.java     | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/CamelCount.java b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/CamelCount.java
index 86c20f0f788..54066cb5931 100644
--- a/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/CamelCount.java
+++ b/dsl/camel-jbang/camel-jbang-core/src/main/java/org/apache/camel/dsl/jbang/core/commands/process/CamelCount.java
@@ -16,6 +16,11 @@
  */
 package org.apache.camel.dsl.jbang.core.commands.process;
 
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+import java.util.Map;
+
 import com.github.freva.asciitable.AsciiTable;
 import com.github.freva.asciitable.Column;
 import com.github.freva.asciitable.HorizontalAlign;
@@ -23,16 +28,10 @@ import com.github.freva.asciitable.OverflowBehaviour;
 import org.apache.camel.dsl.jbang.core.commands.CamelJBangMain;
 import org.apache.camel.dsl.jbang.core.common.ProcessHelper;
 import org.apache.camel.util.TimeUtils;
-import org.apache.camel.util.json.JsonArray;
 import org.apache.camel.util.json.JsonObject;
 import picocli.CommandLine;
 import picocli.CommandLine.Command;
 
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.List;
-import java.util.Map;
-
 @Command(name = "count",
          description = "Get total and failed exchanges for a running integration")
 public class CamelCount extends ProcessBaseCommand {