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 2014/12/10 18:57:00 UTC
[4/5] camel git commit: CAMEL-8044: Camel commands should be more
reusable for remote JVMs
CAMEL-8044: Camel commands should be more reusable for remote JVMs
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/453e4054
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/453e4054
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/453e4054
Branch: refs/heads/master
Commit: 453e40549da1838c4921aeb5a1a49e149bf680cc
Parents: 8048c6c
Author: Claus Ibsen <da...@apache.org>
Authored: Wed Dec 10 18:44:07 2014 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Wed Dec 10 18:44:07 2014 +0100
----------------------------------------------------------------------
.../java/org/apache/camel/karaf/commands/EndpointExplain.java | 2 +-
.../main/java/org/apache/camel/karaf/commands/EndpointList.java | 4 ++--
platforms/karaf/commands/src/main/resources/OSGI-INF/bundle.info | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/453e4054/platforms/karaf/commands/src/main/java/org/apache/camel/karaf/commands/EndpointExplain.java
----------------------------------------------------------------------
diff --git a/platforms/karaf/commands/src/main/java/org/apache/camel/karaf/commands/EndpointExplain.java b/platforms/karaf/commands/src/main/java/org/apache/camel/karaf/commands/EndpointExplain.java
index 201f9a1..88e6f56 100644
--- a/platforms/karaf/commands/src/main/java/org/apache/camel/karaf/commands/EndpointExplain.java
+++ b/platforms/karaf/commands/src/main/java/org/apache/camel/karaf/commands/EndpointExplain.java
@@ -24,7 +24,7 @@ import org.apache.felix.gogo.commands.Option;
@Command(scope = "camel", name = "endpoint-explain", description = "Explain all Camel endpoints available in CamelContexts.")
public class EndpointExplain extends CamelCommandSupport {
- @Argument(index = 0, name = "name", description = "The Camel context name where to look for the endpoints", required = false, multiValued = false)
+ @Argument(index = 0, name = "name", description = "The name of the Camel context", required = true, multiValued = false)
String name;
@Option(name = "--verbose", aliases = "-v", description = "Verbose output to explain all options",
http://git-wip-us.apache.org/repos/asf/camel/blob/453e4054/platforms/karaf/commands/src/main/java/org/apache/camel/karaf/commands/EndpointList.java
----------------------------------------------------------------------
diff --git a/platforms/karaf/commands/src/main/java/org/apache/camel/karaf/commands/EndpointList.java b/platforms/karaf/commands/src/main/java/org/apache/camel/karaf/commands/EndpointList.java
index 8fe12b4..fdb86d5 100644
--- a/platforms/karaf/commands/src/main/java/org/apache/camel/karaf/commands/EndpointList.java
+++ b/platforms/karaf/commands/src/main/java/org/apache/camel/karaf/commands/EndpointList.java
@@ -21,10 +21,10 @@ import org.apache.felix.gogo.commands.Argument;
import org.apache.felix.gogo.commands.Command;
import org.apache.felix.gogo.commands.Option;
-@Command(scope = "camel", name = "endpoint-list", description = "Lists all Camel endpoints available in CamelContexts.")
+@Command(scope = "camel", name = "endpoint-list", description = "Lists Camel endpoints.")
public class EndpointList extends CamelCommandSupport {
- @Argument(index = 0, name = "name", description = "The Camel context name where to look for the endpoints", required = false, multiValued = false)
+ @Argument(index = 0, name = "name", description = "The name of the Camel context", required = true, multiValued = false)
String name;
@Option(name = "--decode", aliases = "-d", description = "Whether to decode the endpoint uri so its human readable",
http://git-wip-us.apache.org/repos/asf/camel/blob/453e4054/platforms/karaf/commands/src/main/resources/OSGI-INF/bundle.info
----------------------------------------------------------------------
diff --git a/platforms/karaf/commands/src/main/resources/OSGI-INF/bundle.info b/platforms/karaf/commands/src/main/resources/OSGI-INF/bundle.info
index b3df4af..639be83 100644
--- a/platforms/karaf/commands/src/main/resources/OSGI-INF/bundle.info
+++ b/platforms/karaf/commands/src/main/resources/OSGI-INF/bundle.info
@@ -20,7 +20,7 @@
\u001B[36mcamel:context-stop\u001B[0m Stops a Camel context.
\u001B[36mcamel:context-suspend\u001B[0m Suspends a Camel context.
\u001B[36mcamel:endpoint-explain\u001B[0m Explain all Camel endpoints available in Camel Context deployed
- \u001B[36mcamel:endpoint-list\u001B[0m List all Camel endpoints available in Camel Context deployed
+ \u001B[36mcamel:endpoint-list\u001B[0m List the Camel endpoints.
\u001B[36mcamel:rest-registry-list\u001B[0m Lists all Camel REST services enlisted in the Rest Registry from all CamelContexts.
\u001B[36mcamel:rest-show\u001B[0m Display the Camel REST definition in XML..
\u001B[36mcamel:route-info\u001B[0m Display information about a Camel route.