camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject git commit: CAMEL-7620: Rest DSL. Enlist rest services in RestRegistry and JMX.
Date Tue, 05 Aug 2014 11:20:48 GMT
Repository: camel
Updated Branches:
  refs/heads/master 1e86a1138 -> 100133625


CAMEL-7620: Rest DSL. Enlist rest services in RestRegistry and JMX.


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/10013362
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/10013362
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/10013362

Branch: refs/heads/master
Commit: 100133625ab063b91cb9306159766553d2efc064
Parents: 1e86a11
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Tue Aug 5 13:20:39 2014 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Tue Aug 5 13:20:39 2014 +0200

----------------------------------------------------------------------
 .../camel/api/management/mbean/CamelOpenMBeanTypes.java       | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/10013362/camel-core/src/main/java/org/apache/camel/api/management/mbean/CamelOpenMBeanTypes.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/api/management/mbean/CamelOpenMBeanTypes.java
b/camel-core/src/main/java/org/apache/camel/api/management/mbean/CamelOpenMBeanTypes.java
index 5339bff..20f1314 100644
--- a/camel-core/src/main/java/org/apache/camel/api/management/mbean/CamelOpenMBeanTypes.java
+++ b/camel-core/src/main/java/org/apache/camel/api/management/mbean/CamelOpenMBeanTypes.java
@@ -37,16 +37,17 @@ public final class CamelOpenMBeanTypes {
 
     public static CompositeType listTypeConvertersCompositeType() throws OpenDataException
{
         return new CompositeType("types", "From/To types", new String[]{"from", "to"},
-                new String[]{"From type", "To type"}, new OpenType[]{SimpleType.STRING, SimpleType.STRING});
+                new String[]{"From type", "To type"},
+                new OpenType[]{SimpleType.STRING, SimpleType.STRING});
     }
 
     public static TabularType listRestServicesTabularType() throws OpenDataException {
         CompositeType ct = listRestServicesCompositeType();
-        return new TabularType("listRestServices", "Lists all the rest services in the registry",
ct, new String[]{"url", "method", "uri template", "consumes", "produces", "state"});
+        return new TabularType("listRestServices", "Lists all the rest services in the registry",
ct, new String[]{"url"});
     }
 
     public static CompositeType listRestServicesCompositeType() throws OpenDataException
{
-        return new CompositeType("types", "types", new String[]{"url", "method", "uri template",
"consumes", "produces", "state"},
+        return new CompositeType("rests", "Rest Services", new String[]{"url", "method",
"uri template", "consumes", "produces", "state"},
                 new String[]{"Url", "Method", "Uri Template", "Consumes", "Produces", "State"},
                 new OpenType[]{SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING,
SimpleType.STRING, SimpleType.STRING});
     }


Mime
View raw message