Repository: camel
Updated Branches:
  refs/heads/master 80ce7e364 -> 429ff2ccf


CAMEL-7999: apt should define kind as expression if its a such type.


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

Branch: refs/heads/master
Commit: 429ff2ccf315229139f0410d2c4f717b910d486b
Parents: 80ce7e3
Author: Claus Ibsen <davscl...@apache.org>
Authored: Mon Jan 26 11:42:01 2015 +0100
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Mon Jan 26 11:42:01 2015 +0100

----------------------------------------------------------------------
 .../org/apache/camel/management/ManagedCamelContextTest.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/429ff2cc/camel-core/src/test/java/org/apache/camel/management/ManagedCamelContextTest.java
----------------------------------------------------------------------
diff --git 
a/camel-core/src/test/java/org/apache/camel/management/ManagedCamelContextTest.java
 
b/camel-core/src/test/java/org/apache/camel/management/ManagedCamelContextTest.java
index 06463b0..8dc4d32 100644
--- 
a/camel-core/src/test/java/org/apache/camel/management/ManagedCamelContextTest.java
+++ 
b/camel-core/src/test/java/org/apache/camel/management/ManagedCamelContextTest.java
@@ -307,7 +307,7 @@ public class ManagedCamelContextTest extends 
ManagementTestSupport {
         assertNotNull(json);
 
         assertTrue(json.contains("\"label\": \"eip,transformation\""));
-        assertTrue(json.contains("\"expression\": { \"kind\": \"element\", 
\"required\": \"true\", \"type\": \"object\""));
+        assertTrue(json.contains("\"expression\": { \"kind\": \"expression\", 
\"required\": \"true\", \"type\": \"object\""));
         // we should see the constant value
         assertTrue(json.contains("Bye World"));
     }
@@ -326,7 +326,7 @@ public class ManagedCamelContextTest extends 
ManagementTestSupport {
         assertNotNull(json);
 
         assertTrue(json.contains("\"label\": \"eip,transformation\""));
-        assertTrue(json.contains("\"expression\": { \"kind\": \"element\", 
\"required\": \"true\", \"type\": \"object\""));
+        assertTrue(json.contains("\"expression\": { \"kind\": \"expression\", 
\"required\": \"true\", \"type\": \"object\""));
         // and now we have the description option also
         assertTrue(json.contains("\"description\": { \"kind\": \"element\", 
\"required\": \"false\", \"type\": \"object\", \"javaType\""));
         // we should see the constant value
@@ -348,7 +348,7 @@ public class ManagedCamelContextTest extends 
ManagementTestSupport {
 
         assertTrue(json.contains("\"description\": \"Aggregates many messages 
into a single message\""));
         assertTrue(json.contains("\"label\": \"eip,routing\""));
-        assertTrue(json.contains("\"correlationExpression\": { \"kind\": 
\"element\", \"required\": \"true\", \"type\": \"object\""));
+        assertTrue(json.contains("\"correlationExpression\": { \"kind\": 
\"expression\", \"required\": \"true\", \"type\": \"object\""));
         assertTrue(json.contains("\"discardOnCompletionTimeout\": { \"kind\": 
\"attribute\", \"required\": \"false\", \"type\": \"boolean\""));
     }
 

Reply via email to