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/10/03 09:36:58 UTC

camel git commit: Upgrade simple-json and use 2 spaces in pretty print connector maven plugin

Repository: camel
Updated Branches:
  refs/heads/master d4d5ad376 -> 768f59415


Upgrade simple-json and use 2 spaces in pretty print connector maven plugin


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

Branch: refs/heads/master
Commit: 768f594157c1193e103af8ddb1d36ff7a077dc57
Parents: d4d5ad3
Author: Claus Ibsen <da...@apache.org>
Authored: Tue Oct 3 11:36:34 2017 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Tue Oct 3 11:36:34 2017 +0200

----------------------------------------------------------------------
 .../maven/connector/util/JSonSchemaHelper.java  |   2 +-
 .../main/resources/camel-connector-schema.json  | 130 +++++-----
 .../main/resources/camel-connector-schema.json  | 120 ++++-----
 .../main/resources/camel-connector-schema.json  | 122 +++++-----
 .../main/resources/camel-connector-schema.json  | 190 +++++++--------
 .../main/resources/camel-connector-schema.json  | 244 +++++++++----------
 .../main/resources/camel-connector-schema.json  | 146 +++++------
 .../main/resources/camel-connector-schema.json  | 104 ++++----
 parent/pom.xml                                  |   2 +-
 9 files changed, 530 insertions(+), 530 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/768f5941/connectors/camel-connector-maven-plugin/src/main/java/org/apache/camel/maven/connector/util/JSonSchemaHelper.java
----------------------------------------------------------------------
diff --git a/connectors/camel-connector-maven-plugin/src/main/java/org/apache/camel/maven/connector/util/JSonSchemaHelper.java b/connectors/camel-connector-maven-plugin/src/main/java/org/apache/camel/maven/connector/util/JSonSchemaHelper.java
index d266278..f507e4b 100644
--- a/connectors/camel-connector-maven-plugin/src/main/java/org/apache/camel/maven/connector/util/JSonSchemaHelper.java
+++ b/connectors/camel-connector-maven-plugin/src/main/java/org/apache/camel/maven/connector/util/JSonSchemaHelper.java
@@ -169,7 +169,7 @@ public final class JSonSchemaHelper {
      * @return output in pretty printed format
      */
     public static String prettyPrint(String json) {
-        return Jsoner.prettyPrint(json);
+        return Jsoner.prettyPrint(json, 2);
     }
 
     /**

http://git-wip-us.apache.org/repos/asf/camel/blob/768f5941/connectors/examples/bar-connector/src/main/resources/camel-connector-schema.json
----------------------------------------------------------------------
diff --git a/connectors/examples/bar-connector/src/main/resources/camel-connector-schema.json b/connectors/examples/bar-connector/src/main/resources/camel-connector-schema.json
index b52f459..43f0229 100644
--- a/connectors/examples/bar-connector/src/main/resources/camel-connector-schema.json
+++ b/connectors/examples/bar-connector/src/main/resources/camel-connector-schema.json
@@ -1,67 +1,67 @@
 {
-	"component":{
-		"kind":"component",
-		"baseScheme":"beverage",
-		"scheme":"bar",
-		"syntax":"bar:drink",
-		"title":"Bar",
-		"description":"To order drinks from the bar",
-		"label":"bar",
-		"deprecated":false,
-		"async":false,
-		"producerOnly":true,
-		"lenientProperties":false,
-		"javaType":"org.foo.connector.BarComponent",
-		"groupId":"org.foo",
-		"artifactId":"bar-connector",
-		"version":"2.20.0-SNAPSHOT"
-	},
-	"componentProperties":{
-		
-	},
-	"properties":{
-		"drink":{
-			"kind":"path",
-			"displayName":"Drink",
-			"group":"producer",
-			"required":true,
-			"type":"object",
-			"javaType":"org.beverage.Beverages",
-			"enum":[
-				"Wine",
-				"GinTonic",
-				"Beer"
-			],
-			"deprecated":false,
-			"secret":false,
-			"description":"What drink to order"
-		},
-		"amount":{
-			"kind":"parameter",
-			"displayName":"Amount",
-			"group":"producer",
-			"required":false,
-			"type":"integer",
-			"javaType":"int",
-			"deprecated":false,
-			"secret":false,
-			"defaultValue":2,
-			"description":"Number of drinks in the order"
-		},
-		"celebrity":{
-			"kind":"parameter",
-			"displayName":"Celebrity",
-			"group":"producer",
-			"required":false,
-			"type":"boolean",
-			"javaType":"boolean",
-			"deprecated":false,
-			"secret":false,
-			"defaultValue":false,
-			"description":"Is this a famous person ordering"
-		}
-	},
-	"connectorProperties":{
-		
-	}
+  "component":{
+    "kind":"component",
+    "baseScheme":"beverage",
+    "scheme":"bar",
+    "syntax":"bar:drink",
+    "title":"Bar",
+    "description":"To order drinks from the bar",
+    "label":"bar",
+    "deprecated":false,
+    "async":false,
+    "producerOnly":true,
+    "lenientProperties":false,
+    "javaType":"org.foo.connector.BarComponent",
+    "groupId":"org.foo",
+    "artifactId":"bar-connector",
+    "version":"2.20.0-SNAPSHOT"
+  },
+  "componentProperties":{
+    
+  },
+  "properties":{
+    "drink":{
+      "kind":"path",
+      "displayName":"Drink",
+      "group":"producer",
+      "required":true,
+      "type":"object",
+      "javaType":"org.beverage.Beverages",
+      "enum":[
+        "Wine",
+        "GinTonic",
+        "Beer"
+      ],
+      "deprecated":false,
+      "secret":false,
+      "description":"What drink to order"
+    },
+    "amount":{
+      "kind":"parameter",
+      "displayName":"Amount",
+      "group":"producer",
+      "required":false,
+      "type":"integer",
+      "javaType":"int",
+      "deprecated":false,
+      "secret":false,
+      "defaultValue":2,
+      "description":"Number of drinks in the order"
+    },
+    "celebrity":{
+      "kind":"parameter",
+      "displayName":"Celebrity",
+      "group":"producer",
+      "required":false,
+      "type":"boolean",
+      "javaType":"boolean",
+      "deprecated":false,
+      "secret":false,
+      "defaultValue":false,
+      "description":"Is this a famous person ordering"
+    }
+  },
+  "connectorProperties":{
+    
+  }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/768f5941/connectors/examples/foo-connector/src/main/resources/camel-connector-schema.json
----------------------------------------------------------------------
diff --git a/connectors/examples/foo-connector/src/main/resources/camel-connector-schema.json b/connectors/examples/foo-connector/src/main/resources/camel-connector-schema.json
index 4f1fcc7..03a4835 100644
--- a/connectors/examples/foo-connector/src/main/resources/camel-connector-schema.json
+++ b/connectors/examples/foo-connector/src/main/resources/camel-connector-schema.json
@@ -1,62 +1,62 @@
 {
-	"component":{
-		"kind":"component",
-		"baseScheme":"timer",
-		"scheme":"foo",
-		"syntax":"foo:timerName",
-		"title":"Foo",
-		"description":"Something cool",
-		"label":"foo,timer",
-		"deprecated":false,
-		"async":false,
-		"consumerOnly":true,
-		"lenientProperties":false,
-		"javaType":"org.foo.connector.FooComponent",
-		"groupId":"org.foo",
-		"artifactId":"foo-connector",
-		"version":"2.20.0-SNAPSHOT"
-	},
-	"componentProperties":{
-		
-	},
-	"properties":{
-		"timerName":{
-			"kind":"path",
-			"displayName":"Timer Name",
-			"group":"consumer",
-			"required":true,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":false,
-			"description":"The name of the timer"
-		},
-		"period":{
-			"kind":"parameter",
-			"displayName":"Period",
-			"group":"consumer",
-			"required":false,
-			"type":"integer",
-			"javaType":"long",
-			"deprecated":false,
-			"secret":false,
-			"defaultValue":5000,
-			"description":"If greater than 0 generate periodic events every period milliseconds. The default value is 1000. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour)."
-		},
-		"repeatCount":{
-			"kind":"parameter",
-			"displayName":"Repeat Count",
-			"group":"consumer",
-			"required":false,
-			"type":"integer",
-			"javaType":"long",
-			"deprecated":false,
-			"secret":false,
-			"defaultValue":0,
-			"description":"Specifies a maximum limit of number of fires. So if you set it to 1 the timer will only fire once. If you set it to 5 it will only fire five times. A value of zero or negative means fire forever."
-		}
-	},
-	"connectorProperties":{
-		
-	}
+  "component":{
+    "kind":"component",
+    "baseScheme":"timer",
+    "scheme":"foo",
+    "syntax":"foo:timerName",
+    "title":"Foo",
+    "description":"Something cool",
+    "label":"foo,timer",
+    "deprecated":false,
+    "async":false,
+    "consumerOnly":true,
+    "lenientProperties":false,
+    "javaType":"org.foo.connector.FooComponent",
+    "groupId":"org.foo",
+    "artifactId":"foo-connector",
+    "version":"2.20.0-SNAPSHOT"
+  },
+  "componentProperties":{
+    
+  },
+  "properties":{
+    "timerName":{
+      "kind":"path",
+      "displayName":"Timer Name",
+      "group":"consumer",
+      "required":true,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":false,
+      "description":"The name of the timer"
+    },
+    "period":{
+      "kind":"parameter",
+      "displayName":"Period",
+      "group":"consumer",
+      "required":false,
+      "type":"integer",
+      "javaType":"long",
+      "deprecated":false,
+      "secret":false,
+      "defaultValue":5000,
+      "description":"If greater than 0 generate periodic events every period milliseconds. The default value is 1000. You can also specify time values using units such as 60s (60 seconds) 5m30s (5 minutes and 30 seconds) and 1h (1 hour)."
+    },
+    "repeatCount":{
+      "kind":"parameter",
+      "displayName":"Repeat Count",
+      "group":"consumer",
+      "required":false,
+      "type":"integer",
+      "javaType":"long",
+      "deprecated":false,
+      "secret":false,
+      "defaultValue":0,
+      "description":"Specifies a maximum limit of number of fires. So if you set it to 1 the timer will only fire once. If you set it to 5 it will only fire five times. A value of zero or negative means fire forever."
+    }
+  },
+  "connectorProperties":{
+    
+  }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/768f5941/connectors/examples/petstore-connector/src/main/resources/camel-connector-schema.json
----------------------------------------------------------------------
diff --git a/connectors/examples/petstore-connector/src/main/resources/camel-connector-schema.json b/connectors/examples/petstore-connector/src/main/resources/camel-connector-schema.json
index cf3ffd4..6c5e3be 100644
--- a/connectors/examples/petstore-connector/src/main/resources/camel-connector-schema.json
+++ b/connectors/examples/petstore-connector/src/main/resources/camel-connector-schema.json
@@ -1,63 +1,63 @@
 {
-	"component":{
-		"kind":"component",
-		"baseScheme":"rest-swagger",
-		"scheme":"petstore",
-		"syntax":"petstore:specificationUri#operationId",
-		"title":"PetStore",
-		"description":"Pets in the store",
-		"label":"api,rest",
-		"deprecated":false,
-		"async":false,
-		"consumerOnly":true,
-		"lenientProperties":false,
-		"javaType":"org.foo.connector.PetStoreComponent",
-		"groupId":"org.foo",
-		"artifactId":"petstore-connector",
-		"version":"2.20.0-SNAPSHOT"
-	},
-	"componentProperties":{
-		"specificationUri":{
-			"kind":"property",
-			"displayName":"Specification Uri",
-			"group":"producer",
-			"label":"producer",
-			"required":false,
-			"type":"string",
-			"javaType":"java.net.URI",
-			"deprecated":false,
-			"secret":false,
-			"defaultValue":"http:\/\/petstore.swagger.io\/v2\/swagger.json",
-			"description":"Path to the Swagger specification file. The scheme host base path are taken from this specification but these can be overriden with properties on the component or endpoint level. If not given the component tries to load swagger.json resource. Note that the host defined on the component and endpoint of this Component should contain the scheme hostname and optionally the port in the URI syntax (i.e. https:\/\/api.example.com:8080). Can be overriden in endpoint configuration."
-		}
-	},
-	"properties":{
-		"operationId":{
-			"kind":"path",
-			"displayName":"Operation Id",
-			"group":"producer",
-			"label":"producer",
-			"required":true,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":false,
-			"description":"ID of the operation from the Swagger specification."
-		},
-		"schedulerPeriod":{
-			"kind":"parameter",
-			"displayName":"Period",
-			"group":"consumer",
-			"required":false,
-			"type":"integer",
-			"javaType":"long",
-			"deprecated":false,
-			"secret":false,
-			"defaultValue":5000,
-			"description":"Delay in milli seconds between scheduling (executing)"
-		}
-	},
-	"connectorProperties":{
-		
-	}
+  "component":{
+    "kind":"component",
+    "baseScheme":"rest-swagger",
+    "scheme":"petstore",
+    "syntax":"petstore:specificationUri#operationId",
+    "title":"PetStore",
+    "description":"Pets in the store",
+    "label":"api,rest",
+    "deprecated":false,
+    "async":false,
+    "consumerOnly":true,
+    "lenientProperties":false,
+    "javaType":"org.foo.connector.PetStoreComponent",
+    "groupId":"org.foo",
+    "artifactId":"petstore-connector",
+    "version":"2.20.0-SNAPSHOT"
+  },
+  "componentProperties":{
+    "specificationUri":{
+      "kind":"property",
+      "displayName":"Specification Uri",
+      "group":"producer",
+      "label":"producer",
+      "required":false,
+      "type":"string",
+      "javaType":"java.net.URI",
+      "deprecated":false,
+      "secret":false,
+      "defaultValue":"http:\/\/petstore.swagger.io\/v2\/swagger.json",
+      "description":"Path to the Swagger specification file. The scheme host base path are taken from this specification but these can be overriden with properties on the component or endpoint level. If not given the component tries to load swagger.json resource. Note that the host defined on the component and endpoint of this Component should contain the scheme hostname and optionally the port in the URI syntax (i.e. https:\/\/api.example.com:8080). Can be overriden in endpoint configuration."
+    }
+  },
+  "properties":{
+    "operationId":{
+      "kind":"path",
+      "displayName":"Operation Id",
+      "group":"producer",
+      "label":"producer",
+      "required":true,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":false,
+      "description":"ID of the operation from the Swagger specification."
+    },
+    "schedulerPeriod":{
+      "kind":"parameter",
+      "displayName":"Period",
+      "group":"consumer",
+      "required":false,
+      "type":"integer",
+      "javaType":"long",
+      "deprecated":false,
+      "secret":false,
+      "defaultValue":5000,
+      "description":"Delay in milli seconds between scheduling (executing)"
+    }
+  },
+  "connectorProperties":{
+    
+  }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/768f5941/connectors/examples/salesforce-upsert-contact-connector/src/main/resources/camel-connector-schema.json
----------------------------------------------------------------------
diff --git a/connectors/examples/salesforce-upsert-contact-connector/src/main/resources/camel-connector-schema.json b/connectors/examples/salesforce-upsert-contact-connector/src/main/resources/camel-connector-schema.json
index 2aaf653..e4694e2 100644
--- a/connectors/examples/salesforce-upsert-contact-connector/src/main/resources/camel-connector-schema.json
+++ b/connectors/examples/salesforce-upsert-contact-connector/src/main/resources/camel-connector-schema.json
@@ -1,97 +1,97 @@
 {
-	"component":{
-		"kind":"component",
-		"baseScheme":"salesforce",
-		"scheme":"salesforce-upsert-contact",
-		"syntax":"salesforce-upsert-contact:operationName:topicName",
-		"title":"SalesforceUpsertContact",
-		"description":"Create or update Salesforce Contact SObject",
-		"label":"salesforce",
-		"deprecated":false,
-		"async":false,
-		"producerOnly":true,
-		"lenientProperties":false,
-		"javaType":"org.foo.salesforce.contact.SalesforceUpsertContactComponent",
-		"groupId":"org.foo",
-		"artifactId":"salesforce-upsert-contact-connector",
-		"version":"2.20.0-SNAPSHOT"
-	},
-	"componentProperties":{
-		"loginUrl":{
-			"kind":"property",
-			"displayName":"Login Url",
-			"group":"security",
-			"label":"common,security",
-			"required":true,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":false,
-			"defaultValue":"https:\/\/login.salesforce.com",
-			"description":"URL of the Salesforce instance used for authentication by default set to https:\/\/login.salesforce.com"
-		},
-		"clientId":{
-			"kind":"property",
-			"displayName":"Client Id",
-			"group":"security",
-			"label":"common,security",
-			"required":true,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":false,
-			"description":"OAuth Consumer Key of the connected app configured in the Salesforce instance setup. Typically a connected app needs to be configured but one can be provided by installing a package."
-		},
-		"clientSecret":{
-			"kind":"property",
-			"displayName":"Client Secret",
-			"group":"security",
-			"label":"common,security",
-			"required":false,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":true,
-			"description":"OAuth Consumer Secret of the connected app configured in the Salesforce instance setup."
-		},
-		"refreshToken":{
-			"kind":"property",
-			"displayName":"Refresh Token",
-			"group":"security",
-			"label":"common,security",
-			"required":false,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":true,
-			"description":"Refresh token already obtained in the refresh token OAuth flow. One needs to setup a web application and configure a callback URL to receive the refresh token or configure using the builtin callback at https:\/\/login.salesforce.com\/services\/oauth2\/success or https:\/\/test.salesforce.com\/services\/oauth2\/success and then retrive the refresh_token from the URL at the end of the flow. Note that in development organizations Salesforce allows hosting the callback web application at localhost."
-		}
-	},
-	"properties":{
-		"sObjectIdName":{
-			"kind":"parameter",
-			"displayName":"SObject Id Name",
-			"group":"common",
-			"required":true,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":false,
-			"description":"SObject external ID field name"
-		},
-		"sObjectIdValue":{
-			"kind":"parameter",
-			"displayName":"SObject Id Value",
-			"group":"common",
-			"required":false,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":false,
-			"description":"SObject external ID field value"
-		}
-	},
-	"connectorProperties":{
-		
-	}
+  "component":{
+    "kind":"component",
+    "baseScheme":"salesforce",
+    "scheme":"salesforce-upsert-contact",
+    "syntax":"salesforce-upsert-contact:operationName:topicName",
+    "title":"SalesforceUpsertContact",
+    "description":"Create or update Salesforce Contact SObject",
+    "label":"salesforce",
+    "deprecated":false,
+    "async":false,
+    "producerOnly":true,
+    "lenientProperties":false,
+    "javaType":"org.foo.salesforce.contact.SalesforceUpsertContactComponent",
+    "groupId":"org.foo",
+    "artifactId":"salesforce-upsert-contact-connector",
+    "version":"2.20.0-SNAPSHOT"
+  },
+  "componentProperties":{
+    "loginUrl":{
+      "kind":"property",
+      "displayName":"Login Url",
+      "group":"security",
+      "label":"common,security",
+      "required":true,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":false,
+      "defaultValue":"https:\/\/login.salesforce.com",
+      "description":"URL of the Salesforce instance used for authentication by default set to https:\/\/login.salesforce.com"
+    },
+    "clientId":{
+      "kind":"property",
+      "displayName":"Client Id",
+      "group":"security",
+      "label":"common,security",
+      "required":true,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":false,
+      "description":"OAuth Consumer Key of the connected app configured in the Salesforce instance setup. Typically a connected app needs to be configured but one can be provided by installing a package."
+    },
+    "clientSecret":{
+      "kind":"property",
+      "displayName":"Client Secret",
+      "group":"security",
+      "label":"common,security",
+      "required":false,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":true,
+      "description":"OAuth Consumer Secret of the connected app configured in the Salesforce instance setup."
+    },
+    "refreshToken":{
+      "kind":"property",
+      "displayName":"Refresh Token",
+      "group":"security",
+      "label":"common,security",
+      "required":false,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":true,
+      "description":"Refresh token already obtained in the refresh token OAuth flow. One needs to setup a web application and configure a callback URL to receive the refresh token or configure using the builtin callback at https:\/\/login.salesforce.com\/services\/oauth2\/success or https:\/\/test.salesforce.com\/services\/oauth2\/success and then retrive the refresh_token from the URL at the end of the flow. Note that in development organizations Salesforce allows hosting the callback web application at localhost."
+    }
+  },
+  "properties":{
+    "sObjectIdName":{
+      "kind":"parameter",
+      "displayName":"SObject Id Name",
+      "group":"common",
+      "required":true,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":false,
+      "description":"SObject external ID field name"
+    },
+    "sObjectIdValue":{
+      "kind":"parameter",
+      "displayName":"SObject Id Value",
+      "group":"common",
+      "required":false,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":false,
+      "description":"SObject external ID field value"
+    }
+  },
+  "connectorProperties":{
+    
+  }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/768f5941/connectors/examples/twitter-find-connector/src/main/resources/camel-connector-schema.json
----------------------------------------------------------------------
diff --git a/connectors/examples/twitter-find-connector/src/main/resources/camel-connector-schema.json b/connectors/examples/twitter-find-connector/src/main/resources/camel-connector-schema.json
index 7a458fd..841379f 100644
--- a/connectors/examples/twitter-find-connector/src/main/resources/camel-connector-schema.json
+++ b/connectors/examples/twitter-find-connector/src/main/resources/camel-connector-schema.json
@@ -1,124 +1,124 @@
 {
-	"component":{
-		"kind":"component",
-		"baseScheme":"twitter",
-		"scheme":"twitter-find",
-		"syntax":"twitter-find:kind",
-		"title":"TwitterFind",
-		"description":"Find for twitter",
-		"label":"twitter",
-		"deprecated":true,
-		"async":false,
-		"consumerOnly":true,
-		"lenientProperties":false,
-		"javaType":"org.foo.find.TwitterFindComponent",
-		"groupId":"org.foo",
-		"artifactId":"twitter-find-connector",
-		"version":"2.20.0-SNAPSHOT"
-	},
-	"componentProperties":{
-		"accessToken":{
-			"kind":"property",
-			"displayName":"Access Token",
-			"group":"security",
-			"label":"security",
-			"required":false,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":true,
-			"description":"The access token"
-		},
-		"accessTokenSecret":{
-			"kind":"property",
-			"displayName":"Access Token Secret",
-			"group":"security",
-			"label":"security",
-			"required":false,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":true,
-			"description":"The access token secret"
-		},
-		"consumerKey":{
-			"kind":"property",
-			"displayName":"Consumer Key",
-			"group":"security",
-			"label":"security",
-			"required":false,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":true,
-			"description":"The consumer key"
-		},
-		"consumerSecret":{
-			"kind":"property",
-			"displayName":"Consumer Secret",
-			"group":"security",
-			"label":"security",
-			"required":false,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":true,
-			"description":"The consumer secret"
-		}
-	},
-	"properties":{
-		"filterOld":{
-			"kind":"parameter",
-			"displayName":"Filter Old",
-			"group":"filter",
-			"label":"consumer,filter",
-			"required":false,
-			"type":"boolean",
-			"javaType":"boolean",
-			"deprecated":false,
-			"secret":false,
-			"defaultValue":true,
-			"description":"Filter out old tweets that has previously been polled. This state is stored in memory only and based on last tweet id."
-		},
-		"keywords":{
-			"kind":"parameter",
-			"displayName":"Keywords",
-			"group":"filter",
-			"label":"consumer,filter",
-			"required":false,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":false,
-			"description":"Can be used for search and streaming\/filter. Multiple values can be separated with comma."
-		},
-		"delay":{
-			"kind":"parameter",
-			"displayName":"Delay",
-			"group":"scheduler",
-			"label":"consumer,scheduler",
-			"required":false,
-			"type":"integer",
-			"javaType":"long",
-			"optionalPrefix":"consumer.",
-			"deprecated":false,
-			"secret":false,
-			"defaultValue":5000,
-			"description":"Milliseconds before the next poll."
-		}
-	},
-	"connectorProperties":{
-		"prefix":{
-			"kind":"parameter",
-			"displayName":"Keyword prefix",
-			"group":"filter",
-			"label":"consumer,filter",
-			"required":false,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":false,
-			"description":"A prefix"
-		}
-	}
+  "component":{
+    "kind":"component",
+    "baseScheme":"twitter",
+    "scheme":"twitter-find",
+    "syntax":"twitter-find:kind",
+    "title":"TwitterFind",
+    "description":"Find for twitter",
+    "label":"twitter",
+    "deprecated":true,
+    "async":false,
+    "consumerOnly":true,
+    "lenientProperties":false,
+    "javaType":"org.foo.find.TwitterFindComponent",
+    "groupId":"org.foo",
+    "artifactId":"twitter-find-connector",
+    "version":"2.20.0-SNAPSHOT"
+  },
+  "componentProperties":{
+    "accessToken":{
+      "kind":"property",
+      "displayName":"Access Token",
+      "group":"security",
+      "label":"security",
+      "required":false,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":true,
+      "description":"The access token"
+    },
+    "accessTokenSecret":{
+      "kind":"property",
+      "displayName":"Access Token Secret",
+      "group":"security",
+      "label":"security",
+      "required":false,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":true,
+      "description":"The access token secret"
+    },
+    "consumerKey":{
+      "kind":"property",
+      "displayName":"Consumer Key",
+      "group":"security",
+      "label":"security",
+      "required":false,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":true,
+      "description":"The consumer key"
+    },
+    "consumerSecret":{
+      "kind":"property",
+      "displayName":"Consumer Secret",
+      "group":"security",
+      "label":"security",
+      "required":false,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":true,
+      "description":"The consumer secret"
+    }
+  },
+  "properties":{
+    "filterOld":{
+      "kind":"parameter",
+      "displayName":"Filter Old",
+      "group":"filter",
+      "label":"consumer,filter",
+      "required":false,
+      "type":"boolean",
+      "javaType":"boolean",
+      "deprecated":false,
+      "secret":false,
+      "defaultValue":true,
+      "description":"Filter out old tweets that has previously been polled. This state is stored in memory only and based on last tweet id."
+    },
+    "keywords":{
+      "kind":"parameter",
+      "displayName":"Keywords",
+      "group":"filter",
+      "label":"consumer,filter",
+      "required":false,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":false,
+      "description":"Can be used for search and streaming\/filter. Multiple values can be separated with comma."
+    },
+    "delay":{
+      "kind":"parameter",
+      "displayName":"Delay",
+      "group":"scheduler",
+      "label":"consumer,scheduler",
+      "required":false,
+      "type":"integer",
+      "javaType":"long",
+      "optionalPrefix":"consumer.",
+      "deprecated":false,
+      "secret":false,
+      "defaultValue":5000,
+      "description":"Milliseconds before the next poll."
+    }
+  },
+  "connectorProperties":{
+    "prefix":{
+      "kind":"parameter",
+      "displayName":"Keyword prefix",
+      "group":"filter",
+      "label":"consumer,filter",
+      "required":false,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":false,
+      "description":"A prefix"
+    }
+  }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/768f5941/connectors/examples/twitter-mention-connector/src/main/resources/camel-connector-schema.json
----------------------------------------------------------------------
diff --git a/connectors/examples/twitter-mention-connector/src/main/resources/camel-connector-schema.json b/connectors/examples/twitter-mention-connector/src/main/resources/camel-connector-schema.json
index 2061538..b8aa9f7 100644
--- a/connectors/examples/twitter-mention-connector/src/main/resources/camel-connector-schema.json
+++ b/connectors/examples/twitter-mention-connector/src/main/resources/camel-connector-schema.json
@@ -1,75 +1,75 @@
 {
-	"component":{
-		"kind":"component",
-		"baseScheme":"twitter",
-		"scheme":"twitter-mention",
-		"syntax":"twitter-mention:kind",
-		"title":"TwitterMention",
-		"description":"Connection from twitter when anyone mention you",
-		"label":"twitter",
-		"deprecated":true,
-		"async":false,
-		"consumerOnly":true,
-		"lenientProperties":false,
-		"javaType":"org.foo.mention.TwitterMentionComponent",
-		"groupId":"org.foo",
-		"artifactId":"twitter-mention-connector",
-		"version":"2.20.0-SNAPSHOT"
-	},
-	"componentProperties":{
-		"accessToken":{
-			"kind":"property",
-			"displayName":"Access Token",
-			"group":"security",
-			"label":"security",
-			"required":false,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":true,
-			"description":"The access token"
-		},
-		"accessTokenSecret":{
-			"kind":"property",
-			"displayName":"Access Token Secret",
-			"group":"security",
-			"label":"security",
-			"required":false,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":true,
-			"description":"The access token secret"
-		},
-		"consumerKey":{
-			"kind":"property",
-			"displayName":"Consumer Key",
-			"group":"security",
-			"label":"security",
-			"required":false,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":true,
-			"description":"The consumer key"
-		},
-		"consumerSecret":{
-			"kind":"property",
-			"displayName":"Consumer Secret",
-			"group":"security",
-			"label":"security",
-			"required":false,
-			"type":"string",
-			"javaType":"java.lang.String",
-			"deprecated":false,
-			"secret":true,
-			"description":"The consumer secret"
-		}
-	},
-	"properties":{
-		
-	},
-	"connectorProperties":{
-		
-	}
+  "component":{
+    "kind":"component",
+    "baseScheme":"twitter",
+    "scheme":"twitter-mention",
+    "syntax":"twitter-mention:kind",
+    "title":"TwitterMention",
+    "description":"Connection from twitter when anyone mention you",
+    "label":"twitter",
+    "deprecated":true,
+    "async":false,
+    "consumerOnly":true,
+    "lenientProperties":false,
+    "javaType":"org.foo.mention.TwitterMentionComponent",
+    "groupId":"org.foo",
+    "artifactId":"twitter-mention-connector",
+    "version":"2.20.0-SNAPSHOT"
+  },
+  "componentProperties":{
+    "accessToken":{
+      "kind":"property",
+      "displayName":"Access Token",
+      "group":"security",
+      "label":"security",
+      "required":false,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":true,
+      "description":"The access token"
+    },
+    "accessTokenSecret":{
+      "kind":"property",
+      "displayName":"Access Token Secret",
+      "group":"security",
+      "label":"security",
+      "required":false,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":true,
+      "description":"The access token secret"
+    },
+    "consumerKey":{
+      "kind":"property",
+      "displayName":"Consumer Key",
+      "group":"security",
+      "label":"security",
+      "required":false,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":true,
+      "description":"The consumer key"
+    },
+    "consumerSecret":{
+      "kind":"property",
+      "displayName":"Consumer Secret",
+      "group":"security",
+      "label":"security",
+      "required":false,
+      "type":"string",
+      "javaType":"java.lang.String",
+      "deprecated":false,
+      "secret":true,
+      "description":"The consumer secret"
+    }
+  },
+  "properties":{
+    
+  },
+  "connectorProperties":{
+    
+  }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/768f5941/connectors/examples/wine-connector/src/main/resources/camel-connector-schema.json
----------------------------------------------------------------------
diff --git a/connectors/examples/wine-connector/src/main/resources/camel-connector-schema.json b/connectors/examples/wine-connector/src/main/resources/camel-connector-schema.json
index 8279d37..d1c9cf7 100644
--- a/connectors/examples/wine-connector/src/main/resources/camel-connector-schema.json
+++ b/connectors/examples/wine-connector/src/main/resources/camel-connector-schema.json
@@ -1,54 +1,54 @@
 {
-	"component":{
-		"kind":"component",
-		"baseScheme":"beverage",
-		"scheme":"wine",
-		"syntax":"wine:drink",
-		"title":"Wine",
-		"description":"To order wine from the bar",
-		"label":"bar",
-		"deprecated":false,
-		"async":false,
-		"producerOnly":true,
-		"lenientProperties":false,
-		"javaType":"org.foo.connector.WineComponent",
-		"groupId":"org.foo",
-		"artifactId":"wine-connector",
-		"version":"2.20.0-SNAPSHOT"
-	},
-	"componentProperties":{
-		
-	},
-	"properties":{
-		"drink":{
-			"kind":"path",
-			"displayName":"Wine Bottle",
-			"group":"producer",
-			"required":true,
-			"type":"object",
-			"javaType":"org.beverage.Beverages",
-			"enum":[
-				"Wine"
-			],
-			"deprecated":false,
-			"secret":false,
-			"defaultValue":"Wine",
-			"description":"You can only order wine"
-		},
-		"amount":{
-			"kind":"parameter",
-			"displayName":"Amount",
-			"group":"producer",
-			"required":false,
-			"type":"integer",
-			"javaType":"int",
-			"deprecated":false,
-			"secret":false,
-			"defaultValue":1,
-			"description":"Number of drinks in the order"
-		}
-	},
-	"connectorProperties":{
-		
-	}
+  "component":{
+    "kind":"component",
+    "baseScheme":"beverage",
+    "scheme":"wine",
+    "syntax":"wine:drink",
+    "title":"Wine",
+    "description":"To order wine from the bar",
+    "label":"bar",
+    "deprecated":false,
+    "async":false,
+    "producerOnly":true,
+    "lenientProperties":false,
+    "javaType":"org.foo.connector.WineComponent",
+    "groupId":"org.foo",
+    "artifactId":"wine-connector",
+    "version":"2.20.0-SNAPSHOT"
+  },
+  "componentProperties":{
+    
+  },
+  "properties":{
+    "drink":{
+      "kind":"path",
+      "displayName":"Wine Bottle",
+      "group":"producer",
+      "required":true,
+      "type":"object",
+      "javaType":"org.beverage.Beverages",
+      "enum":[
+        "Wine"
+      ],
+      "deprecated":false,
+      "secret":false,
+      "defaultValue":"Wine",
+      "description":"You can only order wine"
+    },
+    "amount":{
+      "kind":"parameter",
+      "displayName":"Amount",
+      "group":"producer",
+      "required":false,
+      "type":"integer",
+      "javaType":"int",
+      "deprecated":false,
+      "secret":false,
+      "defaultValue":1,
+      "description":"Number of drinks in the order"
+    }
+  },
+  "connectorProperties":{
+    
+  }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/768f5941/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index 51af847..32d6be7 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -413,7 +413,7 @@
     <json-accessors-smart-version>1.2</json-accessors-smart-version>
     <json-path-version>2.4.0</json-path-version>
     <json-simple-version>1.1.1</json-simple-version>
-    <json-simple2-version>2.1.2</json-simple2-version>
+    <json-simple2-version>2.2.0</json-simple2-version>
     <!-- spring-boot uses json-smart 2.2.x -->
     <json-smart-version>2.2.1</json-smart-version>
     <json-smart-karaf-version>2.3</json-smart-karaf-version>