camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [20/21] camel git commit: Changed the json schema slightly to alwyas include the javaType as well.
Date Fri, 07 Nov 2014 12:36:03 GMT
Changed the json schema slightly to alwyas include the javaType as well.


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

Branch: refs/heads/master
Commit: fafd4bb2fd9973036889b568bbdff5673056df98
Parents: 136fe18
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Fri Nov 7 09:46:53 2014 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Nov 7 13:25:21 2014 +0100

----------------------------------------------------------------------
 .../camel/component/beanstalk/UriConfigurationTest.java       | 6 +++---
 .../cxf/CxfComponentConfigurationAndDocumentationTest.java    | 4 ++--
 .../CxfRsComponentConfigurationAndDocumentationTest.java      | 4 ++--
 ...asticsearchComponentConfigurationAndDocumentationTest.java | 4 ++--
 .../remote/FtpComponentConfigurationAndDocumentationTest.java | 4 ++--
 .../FtpsComponentConfigurationAndDocumentationTest.java       | 4 ++--
 .../SftpComponentConfigurationAndDocumentationTest.java       | 4 ++--
 .../auth/GAuthComponentConfigurationAndDocumentationTest.java | 4 ++--
 .../http/GHttpComponentConfigurationAndDocumentationTest.java | 4 ++--
 .../GLoginComponentConfigurationAndDocumentationTest.java     | 4 ++--
 .../mail/GMailComponentConfigurationAndDocumentationTest.java | 4 ++--
 .../task/GTaskComponentConfigurationAndDocumentationTest.java | 4 ++--
 .../hdfs/HdfsComponentConfigurationAndDocumentationTest.java  | 4 ++--
 .../hdfs2/HdfsComponentConfigurationAndDocumentationTest.java | 4 ++--
 .../http/HttpComponentConfigurationAndDocumentationTest.java  | 4 ++--
 .../http4/HttpComponentConfigurationAndDocumentationTest.java | 4 ++--
 .../InfinispanComponentConfigurationAndDocumentationTest.java | 4 ++--
 .../jcr/JcrComponentConfigurationAndDocumentationTest.java    | 6 +++---
 .../jdbc/JdbcComponentConfigurationAndDocumentationTest.java  | 7 +++----
 .../JettyHttpComponentConfigurationAndDocumentationTest.java  | 4 ++--
 .../JGroupsComponentConfigurationAndDocumentationTest.java    | 4 ++--
 .../jms/JmsComponentConfigurationAndDocumentationTest.java    | 4 ++--
 .../jpa/JpaComponentConfigurationAndDocumentationTest.java    | 4 ++--
 .../mail/MailComponentConfigurationAndDocumentationTest.java  | 4 ++--
 .../MyBatisComponentConfigurationAndDocumentationTest.java    | 4 ++--
 .../NettyHttpComponentConfigurationAndDocumentationTest.java  | 4 ++--
 .../NettyComponentConfigurationAndDocumentationTest.java      | 4 ++--
 .../NettyHttpComponentConfigurationAndDocumentationTest.java  | 4 ++--
 .../NettyComponentConfigurationAndDocumentationTest.java      | 4 ++--
 .../OpenShiftComponentConfigurationAndDocumentationTest.java  | 6 +++---
 ...OptaPlannerComponentConfigurationAndDocumentationTest.java | 4 ++--
 .../QuartzComponentConfigurationAndDocumentationTest.java     | 4 ++--
 .../Quartz2ComponentConfigurationAndDocumentationTest.java    | 4 ++--
 .../ServletComponentConfigurationAndDocumentationTest.java    | 4 ++--
 .../sql/SqlComponentConfigurationAndDocumentationTest.java    | 4 ++--
 .../apache/camel/component/twitter/UriConfigurationTest.java  | 4 ++--
 .../WeatherComponentConfigurationAndDocumentationTest.java    | 7 +++----
 .../ZookeeperComponentConfigurationAndDocumentationTest.java  | 4 ++--
 38 files changed, 81 insertions(+), 83 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-beanstalk/src/test/java/org/apache/camel/component/beanstalk/UriConfigurationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-beanstalk/src/test/java/org/apache/camel/component/beanstalk/UriConfigurationTest.java b/components/camel-beanstalk/src/test/java/org/apache/camel/component/beanstalk/UriConfigurationTest.java
index 3b7eaa6..c2d7c4c 100644
--- a/components/camel-beanstalk/src/test/java/org/apache/camel/component/beanstalk/UriConfigurationTest.java
+++ b/components/camel-beanstalk/src/test/java/org/apache/camel/component/beanstalk/UriConfigurationTest.java
@@ -38,9 +38,9 @@ public class UriConfigurationTest extends Assert {
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"awaitJob\": { \"type\": \"boolean\" }"));
-        assertTrue(json.contains("\"command\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"jobTimeToRun\": { \"type\": \"integer\" }"));
+        assertTrue(json.contains("\"awaitJob\": { \"type\": \"boolean\""));
+        assertTrue(json.contains("\"command\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"jobTimeToRun\": { \"type\": \"integer\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfComponentConfigurationAndDocumentationTest.java b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfComponentConfigurationAndDocumentationTest.java
index 4b81ff0..766b0ea 100644
--- a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/CxfComponentConfigurationAndDocumentationTest.java
@@ -42,8 +42,8 @@ public class CxfComponentConfigurationAndDocumentationTest extends CamelTestSupp
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"serviceNameString\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"isWrapped\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"serviceNameString\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"isWrapped\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsComponentConfigurationAndDocumentationTest.java b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsComponentConfigurationAndDocumentationTest.java
index 8b2e8aa..92e6b7d 100644
--- a/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-cxf/src/test/java/org/apache/camel/component/cxf/jaxrs/CxfRsComponentConfigurationAndDocumentationTest.java
@@ -42,8 +42,8 @@ public class CxfRsComponentConfigurationAndDocumentationTest extends CamelTestSu
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"address\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"maxClientCacheSize\": { \"type\": \"integer\" }"));
+        assertTrue(json.contains("\"address\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"maxClientCacheSize\": { \"type\": \"integer\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentConfigurationAndDocumentationTest.java b/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentConfigurationAndDocumentationTest.java
index e84e63a..453c6f5 100644
--- a/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-elasticsearch/src/test/java/org/apache/camel/component/elasticsearch/ElasticsearchComponentConfigurationAndDocumentationTest.java
@@ -42,8 +42,8 @@ public class ElasticsearchComponentConfigurationAndDocumentationTest extends Cam
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"indexName\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"local\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"indexName\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"local\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpComponentConfigurationAndDocumentationTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpComponentConfigurationAndDocumentationTest.java
index 7af0248..f3ce891 100644
--- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpComponentConfigurationAndDocumentationTest.java
@@ -42,8 +42,8 @@ public class FtpComponentConfigurationAndDocumentationTest extends CamelTestSupp
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"maximumReconnectAttempts\": { \"type\": \"integer\" }"));
-        assertTrue(json.contains("\"dataTimeout\": { \"type\": \"integer\" }"));
+        assertTrue(json.contains("\"maximumReconnectAttempts\": { \"type\": \"integer\""));
+        assertTrue(json.contains("\"dataTimeout\": { \"type\": \"integer\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsComponentConfigurationAndDocumentationTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsComponentConfigurationAndDocumentationTest.java
index 1bfa3ff..f0ffa16 100644
--- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsComponentConfigurationAndDocumentationTest.java
@@ -42,8 +42,8 @@ public class FtpsComponentConfigurationAndDocumentationTest extends CamelTestSup
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"maximumReconnectAttempts\": { \"type\": \"integer\" }"));
-        assertTrue(json.contains("\"dataTimeout\": { \"type\": \"integer\" }"));
+        assertTrue(json.contains("\"maximumReconnectAttempts\": { \"type\": \"integer\""));
+        assertTrue(json.contains("\"dataTimeout\": { \"type\": \"integer\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/SftpComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/SftpComponentConfigurationAndDocumentationTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/SftpComponentConfigurationAndDocumentationTest.java
index 61f9586..07279cd 100644
--- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/SftpComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/SftpComponentConfigurationAndDocumentationTest.java
@@ -42,8 +42,8 @@ public class SftpComponentConfigurationAndDocumentationTest extends CamelTestSup
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"maximumReconnectAttempts\": { \"type\": \"integer\" }"));
-        assertTrue(json.contains("\"download\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"maximumReconnectAttempts\": { \"type\": \"integer\""));
+        assertTrue(json.contains("\"download\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-gae/src/test/java/org/apache/camel/component/gae/auth/GAuthComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-gae/src/test/java/org/apache/camel/component/gae/auth/GAuthComponentConfigurationAndDocumentationTest.java b/components/camel-gae/src/test/java/org/apache/camel/component/gae/auth/GAuthComponentConfigurationAndDocumentationTest.java
index e9fdde8..81bcab9 100644
--- a/components/camel-gae/src/test/java/org/apache/camel/component/gae/auth/GAuthComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-gae/src/test/java/org/apache/camel/component/gae/auth/GAuthComponentConfigurationAndDocumentationTest.java
@@ -42,8 +42,8 @@ public class GAuthComponentConfigurationAndDocumentationTest extends CamelTestSu
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"consumerKey\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"scope\": { \"type\": \"string\" }"));
+        assertTrue(json.contains("\"consumerKey\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"scope\": { \"type\": \"string\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-gae/src/test/java/org/apache/camel/component/gae/http/GHttpComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-gae/src/test/java/org/apache/camel/component/gae/http/GHttpComponentConfigurationAndDocumentationTest.java b/components/camel-gae/src/test/java/org/apache/camel/component/gae/http/GHttpComponentConfigurationAndDocumentationTest.java
index e45f98e..41ee784 100644
--- a/components/camel-gae/src/test/java/org/apache/camel/component/gae/http/GHttpComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-gae/src/test/java/org/apache/camel/component/gae/http/GHttpComponentConfigurationAndDocumentationTest.java
@@ -43,8 +43,8 @@ public class GHttpComponentConfigurationAndDocumentationTest extends CamelTestSu
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"GHTTP_SCHEME\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"HTTPS_SCHEME\": { \"type\": \"string\" }"));
+        assertTrue(json.contains("\"GHTTP_SCHEME\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"HTTPS_SCHEME\": { \"type\": \"string\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-gae/src/test/java/org/apache/camel/component/gae/login/GLoginComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-gae/src/test/java/org/apache/camel/component/gae/login/GLoginComponentConfigurationAndDocumentationTest.java b/components/camel-gae/src/test/java/org/apache/camel/component/gae/login/GLoginComponentConfigurationAndDocumentationTest.java
index 87459db..dcfe8b3 100644
--- a/components/camel-gae/src/test/java/org/apache/camel/component/gae/login/GLoginComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-gae/src/test/java/org/apache/camel/component/gae/login/GLoginComponentConfigurationAndDocumentationTest.java
@@ -42,8 +42,8 @@ public class GLoginComponentConfigurationAndDocumentationTest extends CamelTestS
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"clientName\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"devMode\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"clientName\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"devMode\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-gae/src/test/java/org/apache/camel/component/gae/mail/GMailComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-gae/src/test/java/org/apache/camel/component/gae/mail/GMailComponentConfigurationAndDocumentationTest.java b/components/camel-gae/src/test/java/org/apache/camel/component/gae/mail/GMailComponentConfigurationAndDocumentationTest.java
index e345d65..98d2a7d 100644
--- a/components/camel-gae/src/test/java/org/apache/camel/component/gae/mail/GMailComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-gae/src/test/java/org/apache/camel/component/gae/mail/GMailComponentConfigurationAndDocumentationTest.java
@@ -42,8 +42,8 @@ public class GMailComponentConfigurationAndDocumentationTest extends CamelTestSu
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"sender\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"bcc\": { \"type\": \"string\" }"));
+        assertTrue(json.contains("\"sender\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"bcc\": { \"type\": \"string\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-gae/src/test/java/org/apache/camel/component/gae/task/GTaskComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-gae/src/test/java/org/apache/camel/component/gae/task/GTaskComponentConfigurationAndDocumentationTest.java b/components/camel-gae/src/test/java/org/apache/camel/component/gae/task/GTaskComponentConfigurationAndDocumentationTest.java
index 34a2781..6151388 100644
--- a/components/camel-gae/src/test/java/org/apache/camel/component/gae/task/GTaskComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-gae/src/test/java/org/apache/camel/component/gae/task/GTaskComponentConfigurationAndDocumentationTest.java
@@ -41,8 +41,8 @@ public class GTaskComponentConfigurationAndDocumentationTest extends CamelTestSu
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"workerRoot\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"disableStreamCache\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"workerRoot\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"disableStreamCache\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/HdfsComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/HdfsComponentConfigurationAndDocumentationTest.java b/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/HdfsComponentConfigurationAndDocumentationTest.java
index 0f95bb2..cb90271 100644
--- a/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/HdfsComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-hdfs/src/test/java/org/apache/camel/component/hdfs/HdfsComponentConfigurationAndDocumentationTest.java
@@ -44,8 +44,8 @@ public class HdfsComponentConfigurationAndDocumentationTest extends CamelTestSup
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"pattern\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"wantAppend\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"pattern\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"wantAppend\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-hdfs2/src/test/java/org/apache/camel/component/hdfs2/HdfsComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-hdfs2/src/test/java/org/apache/camel/component/hdfs2/HdfsComponentConfigurationAndDocumentationTest.java b/components/camel-hdfs2/src/test/java/org/apache/camel/component/hdfs2/HdfsComponentConfigurationAndDocumentationTest.java
index dc089c3..853978e 100644
--- a/components/camel-hdfs2/src/test/java/org/apache/camel/component/hdfs2/HdfsComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-hdfs2/src/test/java/org/apache/camel/component/hdfs2/HdfsComponentConfigurationAndDocumentationTest.java
@@ -44,8 +44,8 @@ public class HdfsComponentConfigurationAndDocumentationTest extends CamelTestSup
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"initialDelay\": { \"type\": \"integer\" }"));
-        assertTrue(json.contains("\"checkIdleInterval\": { \"type\": \"integer\" }"));
+        assertTrue(json.contains("\"initialDelay\": { \"type\": \"integer\""));
+        assertTrue(json.contains("\"checkIdleInterval\": { \"type\": \"integer\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-http/src/test/java/org/apache/camel/component/http/HttpComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpComponentConfigurationAndDocumentationTest.java b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpComponentConfigurationAndDocumentationTest.java
index 9db005f..62d63c5 100644
--- a/components/camel-http/src/test/java/org/apache/camel/component/http/HttpComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-http/src/test/java/org/apache/camel/component/http/HttpComponentConfigurationAndDocumentationTest.java
@@ -42,8 +42,8 @@ public class HttpComponentConfigurationAndDocumentationTest extends CamelTestSup
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"httpMethodRestrict\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"matchOnUriPrefix\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"httpMethodRestrict\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"matchOnUriPrefix\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpComponentConfigurationAndDocumentationTest.java b/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpComponentConfigurationAndDocumentationTest.java
index fec7c9d..6fecc03 100644
--- a/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-http4/src/test/java/org/apache/camel/component/http4/HttpComponentConfigurationAndDocumentationTest.java
@@ -43,8 +43,8 @@ public class HttpComponentConfigurationAndDocumentationTest extends CamelTestSup
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"httpMethodRestrict\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"throwExceptionOnFailure\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"httpMethodRestrict\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"throwExceptionOnFailure\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/InfinispanComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/InfinispanComponentConfigurationAndDocumentationTest.java b/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/InfinispanComponentConfigurationAndDocumentationTest.java
index 9ec7068..6fb357d 100644
--- a/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/InfinispanComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-infinispan/src/test/java/org/apache/camel/component/infinispan/InfinispanComponentConfigurationAndDocumentationTest.java
@@ -43,8 +43,8 @@ public class InfinispanComponentConfigurationAndDocumentationTest extends CamelT
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"command\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"sync\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"command\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"sync\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-jcr/src/test/java/org/apache/camel/component/jcr/JcrComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jcr/src/test/java/org/apache/camel/component/jcr/JcrComponentConfigurationAndDocumentationTest.java b/components/camel-jcr/src/test/java/org/apache/camel/component/jcr/JcrComponentConfigurationAndDocumentationTest.java
index d8f6bc1..c3f98f3 100755
--- a/components/camel-jcr/src/test/java/org/apache/camel/component/jcr/JcrComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-jcr/src/test/java/org/apache/camel/component/jcr/JcrComponentConfigurationAndDocumentationTest.java
@@ -44,9 +44,9 @@ public class JcrComponentConfigurationAndDocumentationTest extends CamelTestSupp
         String json = componentConfiguration.createParameterJsonSchema();
 
         assertNotNull(json);
-        assertTrue(json.contains("\"deep\": { \"type\": \"boolean\" }"));
-        assertTrue(json.contains("\"eventTypes\": { \"type\": \"integer\" }"));
-        assertTrue(json.contains("\"noLocal\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"deep\": { \"type\": \"boolean\""));
+        assertTrue(json.contains("\"eventTypes\": { \"type\": \"integer\""));
+        assertTrue(json.contains("\"noLocal\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/JdbcComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/JdbcComponentConfigurationAndDocumentationTest.java b/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/JdbcComponentConfigurationAndDocumentationTest.java
index 0290c5f..74f7f03 100644
--- a/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/JdbcComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-jdbc/src/test/java/org/apache/camel/component/jdbc/JdbcComponentConfigurationAndDocumentationTest.java
@@ -42,10 +42,9 @@ public class JdbcComponentConfigurationAndDocumentationTest extends CamelTestSup
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"outputClass\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"allowNamedParameters\": { \"type\": \"boolean\" }"));
-        assertTrue(json.contains("\"beanRowMapper\": { \"type\": \"object\","));
-        assertTrue(json.contains("\"javaType\": { \"description\": \"org.apache.camel.component.jdbc.BeanRowMapper\", \"type\": \"string\" }"));
+        assertTrue(json.contains("\"outputClass\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"allowNamedParameters\": { \"type\": \"boolean\""));
+        assertTrue(json.contains("\"beanRowMapper\": { \"type\": \"object\", \"javaType\": \"org.apache.camel.component.jdbc.BeanRowMapper\" }"));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyHttpComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyHttpComponentConfigurationAndDocumentationTest.java b/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyHttpComponentConfigurationAndDocumentationTest.java
index ff8bf0d..a8869dc 100644
--- a/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyHttpComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-jetty/src/test/java/org/apache/camel/component/jetty/JettyHttpComponentConfigurationAndDocumentationTest.java
@@ -43,8 +43,8 @@ public class JettyHttpComponentConfigurationAndDocumentationTest extends CamelTe
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"httpClientMaxThreads\": { \"type\": \"integer\" }"));
-        assertTrue(json.contains("\"sessionSupport\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"httpClientMaxThreads\": { \"type\": \"integer\""));
+        assertTrue(json.contains("\"sessionSupport\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-jgroups/src/test/java/org/apache/camel/component/jgroups/JGroupsComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jgroups/src/test/java/org/apache/camel/component/jgroups/JGroupsComponentConfigurationAndDocumentationTest.java b/components/camel-jgroups/src/test/java/org/apache/camel/component/jgroups/JGroupsComponentConfigurationAndDocumentationTest.java
index 1da08d3..e8d1402 100644
--- a/components/camel-jgroups/src/test/java/org/apache/camel/component/jgroups/JGroupsComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-jgroups/src/test/java/org/apache/camel/component/jgroups/JGroupsComponentConfigurationAndDocumentationTest.java
@@ -41,8 +41,8 @@ public class JGroupsComponentConfigurationAndDocumentationTest extends CamelTest
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"channelProperties\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"resolvedEnableViewMessages\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"channelProperties\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"resolvedEnableViewMessages\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentConfigurationAndDocumentationTest.java b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentConfigurationAndDocumentationTest.java
index e8c64ed..e08c8a8 100644
--- a/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-jms/src/test/java/org/apache/camel/component/jms/JmsComponentConfigurationAndDocumentationTest.java
@@ -41,8 +41,8 @@ public class JmsComponentConfigurationAndDocumentationTest extends CamelTestSupp
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"replyToDestination\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"transacted\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"replyToDestination\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"transacted\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaComponentConfigurationAndDocumentationTest.java b/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaComponentConfigurationAndDocumentationTest.java
index f4b5615..d781465 100644
--- a/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-jpa/src/test/java/org/apache/camel/component/jpa/JpaComponentConfigurationAndDocumentationTest.java
@@ -43,8 +43,8 @@ public class JpaComponentConfigurationAndDocumentationTest extends CamelTestSupp
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"persistenceUnit\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"usePassedInEntityManager\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"persistenceUnit\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"usePassedInEntityManager\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailComponentConfigurationAndDocumentationTest.java b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailComponentConfigurationAndDocumentationTest.java
index dcb0f70..b29c547 100644
--- a/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-mail/src/test/java/org/apache/camel/component/mail/MailComponentConfigurationAndDocumentationTest.java
@@ -42,8 +42,8 @@ public class MailComponentConfigurationAndDocumentationTest extends CamelTestSup
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"contentType\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"debugMode\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"contentType\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"debugMode\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisComponentConfigurationAndDocumentationTest.java b/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisComponentConfigurationAndDocumentationTest.java
index 368fd49..3620f74 100644
--- a/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-mybatis/src/test/java/org/apache/camel/component/mybatis/MyBatisComponentConfigurationAndDocumentationTest.java
@@ -43,8 +43,8 @@ public class MyBatisComponentConfigurationAndDocumentationTest extends CamelTest
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"maxMessagesPerPoll\": { \"type\": \"integer\" }"));
-        assertTrue(json.contains("\"statement\": { \"type\": \"string\" }"));
+        assertTrue(json.contains("\"maxMessagesPerPoll\": { \"type\": \"integer\""));
+        assertTrue(json.contains("\"statement\": { \"type\": \"string\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpComponentConfigurationAndDocumentationTest.java b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpComponentConfigurationAndDocumentationTest.java
index 2648e44..78ea582 100644
--- a/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-netty-http/src/test/java/org/apache/camel/component/netty/http/NettyHttpComponentConfigurationAndDocumentationTest.java
@@ -43,8 +43,8 @@ public class NettyHttpComponentConfigurationAndDocumentationTest extends CamelTe
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"httpMethodRestrict\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"traceEnabled\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"httpMethodRestrict\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"traceEnabled\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyComponentConfigurationAndDocumentationTest.java b/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyComponentConfigurationAndDocumentationTest.java
index 23574ec..3a99562 100644
--- a/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-netty/src/test/java/org/apache/camel/component/netty/NettyComponentConfigurationAndDocumentationTest.java
@@ -43,8 +43,8 @@ public class NettyComponentConfigurationAndDocumentationTest extends CamelTestSu
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"producerPoolMinEvictableIdle\": { \"type\": \"integer\" }"));
-        assertTrue(json.contains("\"allowDefaultCodec\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"producerPoolMinEvictableIdle\": { \"type\": \"integer\""));
+        assertTrue(json.contains("\"allowDefaultCodec\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyHttpComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyHttpComponentConfigurationAndDocumentationTest.java b/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyHttpComponentConfigurationAndDocumentationTest.java
index 9326446..913b0e9 100644
--- a/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyHttpComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-netty4-http/src/test/java/org/apache/camel/component/netty4/http/NettyHttpComponentConfigurationAndDocumentationTest.java
@@ -43,8 +43,8 @@ public class NettyHttpComponentConfigurationAndDocumentationTest extends CamelTe
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"httpMethodRestrict\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"traceEnabled\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"httpMethodRestrict\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"traceEnabled\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/NettyComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/NettyComponentConfigurationAndDocumentationTest.java b/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/NettyComponentConfigurationAndDocumentationTest.java
index 1ed1a26..eb3129c 100644
--- a/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/NettyComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-netty4/src/test/java/org/apache/camel/component/netty4/NettyComponentConfigurationAndDocumentationTest.java
@@ -43,8 +43,8 @@ public class NettyComponentConfigurationAndDocumentationTest extends CamelTestSu
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"producerPoolMinEvictableIdle\": { \"type\": \"integer\" }"));
-        assertTrue(json.contains("\"allowDefaultCodec\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"producerPoolMinEvictableIdle\": { \"type\": \"integer\""));
+        assertTrue(json.contains("\"allowDefaultCodec\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-openshift/src/test/java/org/apache/camel/component/openshift/OpenShiftComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-openshift/src/test/java/org/apache/camel/component/openshift/OpenShiftComponentConfigurationAndDocumentationTest.java b/components/camel-openshift/src/test/java/org/apache/camel/component/openshift/OpenShiftComponentConfigurationAndDocumentationTest.java
index 6a23264..72a0d75 100644
--- a/components/camel-openshift/src/test/java/org/apache/camel/component/openshift/OpenShiftComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-openshift/src/test/java/org/apache/camel/component/openshift/OpenShiftComponentConfigurationAndDocumentationTest.java
@@ -42,9 +42,9 @@ public class OpenShiftComponentConfigurationAndDocumentationTest extends CamelTe
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"application\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"clientId\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"operation\": { \"type\": \"string\" }"));
+        assertTrue(json.contains("\"application\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"clientId\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"operation\": { \"type\": \"string\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-optaplanner/src/test/java/org/apache/camel/component/optaplanner/OptaPlannerComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-optaplanner/src/test/java/org/apache/camel/component/optaplanner/OptaPlannerComponentConfigurationAndDocumentationTest.java b/components/camel-optaplanner/src/test/java/org/apache/camel/component/optaplanner/OptaPlannerComponentConfigurationAndDocumentationTest.java
index 2557632..1876622 100644
--- a/components/camel-optaplanner/src/test/java/org/apache/camel/component/optaplanner/OptaPlannerComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-optaplanner/src/test/java/org/apache/camel/component/optaplanner/OptaPlannerComponentConfigurationAndDocumentationTest.java
@@ -42,8 +42,8 @@ public class OptaPlannerComponentConfigurationAndDocumentationTest extends Camel
         String json = componentConfiguration.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"resourceUri\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"synchronous\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"resourceUri\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"synchronous\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzComponentConfigurationAndDocumentationTest.java b/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzComponentConfigurationAndDocumentationTest.java
index 5d39149..57bd305 100644
--- a/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-quartz/src/test/java/org/apache/camel/component/quartz/QuartzComponentConfigurationAndDocumentationTest.java
@@ -43,8 +43,8 @@ public class QuartzComponentConfigurationAndDocumentationTest extends CamelTestS
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"stateful\": { \"type\": \"boolean\" }"));
-        assertTrue(json.contains("\"deleteJob\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"stateful\": { \"type\": \"boolean\""));
+        assertTrue(json.contains("\"deleteJob\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-quartz2/src/test/java/org/apache/camel/component/quartz2/Quartz2ComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-quartz2/src/test/java/org/apache/camel/component/quartz2/Quartz2ComponentConfigurationAndDocumentationTest.java b/components/camel-quartz2/src/test/java/org/apache/camel/component/quartz2/Quartz2ComponentConfigurationAndDocumentationTest.java
index 9b0d611..987b39e 100644
--- a/components/camel-quartz2/src/test/java/org/apache/camel/component/quartz2/Quartz2ComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-quartz2/src/test/java/org/apache/camel/component/quartz2/Quartz2ComponentConfigurationAndDocumentationTest.java
@@ -41,8 +41,8 @@ public class Quartz2ComponentConfigurationAndDocumentationTest extends CamelTest
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"cron\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"fireNow\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"cron\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"fireNow\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-servlet/src/test/java/org/apache/camel/component/servlet/ServletComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-servlet/src/test/java/org/apache/camel/component/servlet/ServletComponentConfigurationAndDocumentationTest.java b/components/camel-servlet/src/test/java/org/apache/camel/component/servlet/ServletComponentConfigurationAndDocumentationTest.java
index e0b19ef..83e24aa 100644
--- a/components/camel-servlet/src/test/java/org/apache/camel/component/servlet/ServletComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-servlet/src/test/java/org/apache/camel/component/servlet/ServletComponentConfigurationAndDocumentationTest.java
@@ -43,8 +43,8 @@ public class ServletComponentConfigurationAndDocumentationTest extends CamelTest
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"servletName\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"matchOnUriPrefix\": { \"type\": \"boolean\" }"));
+        assertTrue(json.contains("\"servletName\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"matchOnUriPrefix\": { \"type\": \"boolean\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlComponentConfigurationAndDocumentationTest.java b/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlComponentConfigurationAndDocumentationTest.java
index 2eae25f..7f8714d 100644
--- a/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-sql/src/test/java/org/apache/camel/component/sql/SqlComponentConfigurationAndDocumentationTest.java
@@ -43,8 +43,8 @@ public class SqlComponentConfigurationAndDocumentationTest extends CamelTestSupp
         assertNotNull(json);
 
 
-        assertTrue(json.contains("\"onConsumeBatchComplete\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"parametersCount\": { \"type\": \"integer\" }"));
+        assertTrue(json.contains("\"onConsumeBatchComplete\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"parametersCount\": { \"type\": \"integer\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-twitter/src/test/java/org/apache/camel/component/twitter/UriConfigurationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-twitter/src/test/java/org/apache/camel/component/twitter/UriConfigurationTest.java b/components/camel-twitter/src/test/java/org/apache/camel/component/twitter/UriConfigurationTest.java
index 7330907..a4e976d 100644
--- a/components/camel-twitter/src/test/java/org/apache/camel/component/twitter/UriConfigurationTest.java
+++ b/components/camel-twitter/src/test/java/org/apache/camel/component/twitter/UriConfigurationTest.java
@@ -74,8 +74,8 @@ public class UriConfigurationTest extends Assert {
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"accessToken\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"consumerKey\": { \"type\": \"string\" }"));
+        assertTrue(json.contains("\"accessToken\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"consumerKey\": { \"type\": \"string\""));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-weather/src/test/java/org/apache/camel/component/weather/WeatherComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-weather/src/test/java/org/apache/camel/component/weather/WeatherComponentConfigurationAndDocumentationTest.java b/components/camel-weather/src/test/java/org/apache/camel/component/weather/WeatherComponentConfigurationAndDocumentationTest.java
index d5f54b6..0609d66 100644
--- a/components/camel-weather/src/test/java/org/apache/camel/component/weather/WeatherComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-weather/src/test/java/org/apache/camel/component/weather/WeatherComponentConfigurationAndDocumentationTest.java
@@ -40,11 +40,10 @@ public class WeatherComponentConfigurationAndDocumentationTest extends CamelTest
         ComponentConfiguration compConf = comp.createComponentConfiguration();
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
-        System.out.println(json);
 
-        assertTrue(json.contains("\"lat\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"location\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"mode\": { \"type\": \"string\", \"enum\": [ \"HTML\", \"JSON\", \"XML\" ] }"));
+        assertTrue(json.contains("\"lat\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"location\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"mode\": { \"type\": \"string\", \"javaType\": \"org.apache.camel.component.weather.WeatherMode\", \"enum\": [ \"HTML\", \"JSON\", \"XML\" ]"));
     }
 
     @Test

http://git-wip-us.apache.org/repos/asf/camel/blob/fafd4bb2/components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/ZookeeperComponentConfigurationAndDocumentationTest.java
----------------------------------------------------------------------
diff --git a/components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/ZookeeperComponentConfigurationAndDocumentationTest.java b/components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/ZookeeperComponentConfigurationAndDocumentationTest.java
index b8855f3..b2216fd 100644
--- a/components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/ZookeeperComponentConfigurationAndDocumentationTest.java
+++ b/components/camel-zookeeper/src/test/java/org/apache/camel/component/zookeeper/ZookeeperComponentConfigurationAndDocumentationTest.java
@@ -42,8 +42,8 @@ public class ZookeeperComponentConfigurationAndDocumentationTest extends CamelTe
         String json = compConf.createParameterJsonSchema();
         assertNotNull(json);
 
-        assertTrue(json.contains("\"createMode\": { \"type\": \"string\" }"));
-        assertTrue(json.contains("\"backoff\": { \"type\": \"integer\" }"));
+        assertTrue(json.contains("\"createMode\": { \"type\": \"string\""));
+        assertTrue(json.contains("\"backoff\": { \"type\": \"integer\""));
     }
 
     @Test


Mime
View raw message