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 2017/02/17 11:02:03 UTC

camel git commit: CAMEL-10847: Component json schema - Include display name for options

Repository: camel
Updated Branches:
  refs/heads/master f6cca7200 -> b80c9a364


CAMEL-10847: Component json schema - Include display name for options


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

Branch: refs/heads/master
Commit: b80c9a3640fd46e7d1c91d00b5afd7b9462a686e
Parents: f6cca72
Author: Claus Ibsen <da...@apache.org>
Authored: Fri Feb 17 12:02:05 2017 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Feb 17 12:02:05 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/camel/blob/b80c9a36/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 3688eb9..db14b56 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
@@ -372,8 +372,8 @@ 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\": \"expression\", \"required\": \"true\", \"type\": \"object\""));
-        assertTrue(json.contains("\"discardOnCompletionTimeout\": { \"kind\": \"attribute\", \"required\": \"false\", \"type\": \"boolean\""));
+        assertTrue(json.contains("\"correlationExpression\": { \"kind\": \"expression\", \"displayName\": \"Correlation Expression\", \"required\": true, \"type\": \"object\""));
+        assertTrue(json.contains("\"discardOnCompletionTimeout\": { \"kind\": \"attribute\", \"displayName\": \"Discard On Completion Timeout\", \"required\": false, \"type\": \"boolean\""));
     }
 
     public void testManagedCamelContextExplainComponentModel() throws Exception {