CAMEL-10696: Regen

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

Branch: refs/heads/json-simple
Commit: 3f0bc8e40ac3f144bd471d8d8e5a1a1f44f092d5
Parents: 5e325a9
Author: Claus Ibsen <davscl...@apache.org>
Authored: Sun Sep 24 17:08:07 2017 +0200
Committer: Claus Ibsen <davscl...@apache.org>
Committed: Sun Sep 24 17:08:07 2017 +0200

----------------------------------------------------------------------
 .../main/resources/camel-connector-schema.json  | 40 ++++-----
 .../main/resources/camel-connector-schema.json  | 22 ++---
 ...sertContactConnectorConfigurationCommon.java | 50 +++++------
 .../main/resources/camel-connector-schema.json  | 36 ++++----
 ...TwitterFindConnectorConfigurationCommon.java | 62 +++++++-------
 .../main/resources/camel-connector-schema.json  | 44 +++++-----
 ...tterMentionConnectorConfigurationCommon.java | 36 ++++----
 .../main/resources/camel-connector-schema.json  | 18 ++--
 .../main/resources/camel-connector-schema.json  | 24 +++---
 .../main/resources/camel-connector-schema.json  | 88 ++++++++++++++------
 10 files changed, 227 insertions(+), 193 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/3f0bc8e4/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 696de62..b52f459 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
@@ -20,17 +20,21 @@
                
        },
        "properties":{
-               "celebrity":{
-                       "kind":"parameter",
-                       "displayName":"Celebrity",
+               "drink":{
+                       "kind":"path",
+                       "displayName":"Drink",
                        "group":"producer",
-                       "required":false,
-                       "type":"boolean",
-                       "javaType":"boolean",
+                       "required":true,
+                       "type":"object",
+                       "javaType":"org.beverage.Beverages",
+                       "enum":[
+                               "Wine",
+                               "GinTonic",
+                               "Beer"
+                       ],
                        "deprecated":false,
                        "secret":false,
-                       "defaultValue":false,
-                       "description":"Is this a famous person ordering"
+                       "description":"What drink to order"
                },
                "amount":{
                        "kind":"parameter",
@@ -44,21 +48,17 @@
                        "defaultValue":2,
                        "description":"Number of drinks in the order"
                },
-               "drink":{
-                       "kind":"path",
-                       "displayName":"Drink",
+               "celebrity":{
+                       "kind":"parameter",
+                       "displayName":"Celebrity",
                        "group":"producer",
-                       "required":true,
-                       "type":"object",
-                       "javaType":"org.beverage.Beverages",
-                       "enum":[
-                               "Wine",
-                               "GinTonic",
-                               "Beer"
-                       ],
+                       "required":false,
+                       "type":"boolean",
+                       "javaType":"boolean",
                        "deprecated":false,
                        "secret":false,
-                       "description":"What drink to order"
+                       "defaultValue":false,
+                       "description":"Is this a famous person ordering"
                }
        },
        "connectorProperties":{

http://git-wip-us.apache.org/repos/asf/camel/blob/3f0bc8e4/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 999257c..4f1fcc7 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
@@ -20,6 +20,17 @@
                
        },
        "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",
@@ -32,17 +43,6 @@
                        "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)."
                },
-               "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"
-               },
                "repeatCount":{
                        "kind":"parameter",
                        "displayName":"Repeat Count",

http://git-wip-us.apache.org/repos/asf/camel/blob/3f0bc8e4/connectors/examples/salesforce-upsert-contact-connector/src/main/java/org/foo/salesforce/contact/springboot/SalesforceUpsertContactConnectorConfigurationCommon.java
----------------------------------------------------------------------
diff --git 
a/connectors/examples/salesforce-upsert-contact-connector/src/main/java/org/foo/salesforce/contact/springboot/SalesforceUpsertContactConnectorConfigurationCommon.java
 
b/connectors/examples/salesforce-upsert-contact-connector/src/main/java/org/foo/salesforce/contact/springboot/SalesforceUpsertContactConnectorConfigurationCommon.java
index f0de8b0..865dda6 100644
--- 
a/connectors/examples/salesforce-upsert-contact-connector/src/main/java/org/foo/salesforce/contact/springboot/SalesforceUpsertContactConnectorConfigurationCommon.java
+++ 
b/connectors/examples/salesforce-upsert-contact-connector/src/main/java/org/foo/salesforce/contact/springboot/SalesforceUpsertContactConnectorConfigurationCommon.java
@@ -27,17 +27,17 @@ import javax.annotation.Generated;
 public class SalesforceUpsertContactConnectorConfigurationCommon {
 
     /**
+     * URL of the Salesforce instance used for authentication by default set to
+     * https://login.salesforce.com
+     */
+    private String loginUrl = "https://login.salesforce.com";;
+    /**
      * 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.
      */
     private String clientId;
     /**
-     * URL of the Salesforce instance used for authentication by default set to
-     * https://login.salesforce.com
-     */
-    private String loginUrl = "https://login.salesforce.com";;
-    /**
      * OAuth Consumer Secret of the connected app configured in the Salesforce
      * instance setup.
      */
@@ -54,21 +54,13 @@ public class 
SalesforceUpsertContactConnectorConfigurationCommon {
      */
     private String refreshToken;
     /**
-     * SObject external ID field value
-     */
-    private String sObjectIdValue;
-    /**
      * SObject external ID field name
      */
     private String sObjectIdName;
-
-    public String getClientId() {
-        return clientId;
-    }
-
-    public void setClientId(String clientId) {
-        this.clientId = clientId;
-    }
+    /**
+     * SObject external ID field value
+     */
+    private String sObjectIdValue;
 
     public String getLoginUrl() {
         return loginUrl;
@@ -78,6 +70,14 @@ public class 
SalesforceUpsertContactConnectorConfigurationCommon {
         this.loginUrl = loginUrl;
     }
 
+    public String getClientId() {
+        return clientId;
+    }
+
+    public void setClientId(String clientId) {
+        this.clientId = clientId;
+    }
+
     public String getClientSecret() {
         return clientSecret;
     }
@@ -94,14 +94,6 @@ public class 
SalesforceUpsertContactConnectorConfigurationCommon {
         this.refreshToken = refreshToken;
     }
 
-    public String getSObjectIdValue() {
-        return sObjectIdValue;
-    }
-
-    public void setSObjectIdValue(String sObjectIdValue) {
-        this.sObjectIdValue = sObjectIdValue;
-    }
-
     public String getSObjectIdName() {
         return sObjectIdName;
     }
@@ -109,4 +101,12 @@ public class 
SalesforceUpsertContactConnectorConfigurationCommon {
     public void setSObjectIdName(String sObjectIdName) {
         this.sObjectIdName = sObjectIdName;
     }
+
+    public String getSObjectIdValue() {
+        return sObjectIdValue;
+    }
+
+    public void setSObjectIdValue(String sObjectIdValue) {
+        this.sObjectIdValue = sObjectIdValue;
+    }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/3f0bc8e4/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 6ef54d0..2aaf653 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
@@ -30,29 +30,29 @@
                        "defaultValue":"https:\/\/login.salesforce.com",
                        "description":"URL of the Salesforce instance used for 
authentication by default set to https:\/\/login.salesforce.com"
                },
-               "clientSecret":{
+               "clientId":{
                        "kind":"property",
-                       "displayName":"Client Secret",
+                       "displayName":"Client Id",
                        "group":"security",
                        "label":"common,security",
-                       "required":false,
+                       "required":true,
                        "type":"string",
                        "javaType":"java.lang.String",
                        "deprecated":false,
-                       "secret":true,
-                       "description":"OAuth Consumer Secret of the connected 
app configured in the Salesforce instance setup."
+                       "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."
                },
-               "clientId":{
+               "clientSecret":{
                        "kind":"property",
-                       "displayName":"Client Id",
+                       "displayName":"Client Secret",
                        "group":"security",
                        "label":"common,security",
-                       "required":true,
+                       "required":false,
                        "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."
+                       "secret":true,
+                       "description":"OAuth Consumer Secret of the connected 
app configured in the Salesforce instance setup."
                },
                "refreshToken":{
                        "kind":"property",
@@ -68,27 +68,27 @@
                }
        },
        "properties":{
-               "sObjectIdValue":{
+               "sObjectIdName":{
                        "kind":"parameter",
-                       "displayName":"SObject Id Value",
+                       "displayName":"SObject Id Name",
                        "group":"common",
-                       "required":false,
+                       "required":true,
                        "type":"string",
                        "javaType":"java.lang.String",
                        "deprecated":false,
                        "secret":false,
-                       "description":"SObject external ID field value"
+                       "description":"SObject external ID field name"
                },
-               "sObjectIdName":{
+               "sObjectIdValue":{
                        "kind":"parameter",
-                       "displayName":"SObject Id Name",
+                       "displayName":"SObject Id Value",
                        "group":"common",
-                       "required":true,
+                       "required":false,
                        "type":"string",
                        "javaType":"java.lang.String",
                        "deprecated":false,
                        "secret":false,
-                       "description":"SObject external ID field name"
+                       "description":"SObject external ID field value"
                }
        },
        "connectorProperties":{

http://git-wip-us.apache.org/repos/asf/camel/blob/3f0bc8e4/connectors/examples/twitter-find-connector/src/main/java/org/foo/find/springboot/TwitterFindConnectorConfigurationCommon.java
----------------------------------------------------------------------
diff --git 
a/connectors/examples/twitter-find-connector/src/main/java/org/foo/find/springboot/TwitterFindConnectorConfigurationCommon.java
 
b/connectors/examples/twitter-find-connector/src/main/java/org/foo/find/springboot/TwitterFindConnectorConfigurationCommon.java
index 38d9403..9f28ef1 100644
--- 
a/connectors/examples/twitter-find-connector/src/main/java/org/foo/find/springboot/TwitterFindConnectorConfigurationCommon.java
+++ 
b/connectors/examples/twitter-find-connector/src/main/java/org/foo/find/springboot/TwitterFindConnectorConfigurationCommon.java
@@ -27,48 +27,40 @@ import javax.annotation.Generated;
 public class TwitterFindConnectorConfigurationCommon {
 
     /**
-     * The consumer secret
-     */
-    private String consumerSecret;
-    /**
      * The access token
      */
     private String accessToken;
     /**
+     * The access token secret
+     */
+    private String accessTokenSecret;
+    /**
      * The consumer key
      */
     private String consumerKey;
     /**
-     * The access token secret
+     * The consumer secret
      */
-    private String accessTokenSecret;
+    private String consumerSecret;
     /**
-     * Milliseconds before the next poll.
+     * Filter out old tweets that has previously been polled. This state is
+     * stored in memory only and based on last tweet id.
      */
-    private long delay = 5000L;
+    private boolean filterOld = true;
     /**
      * Can be used for search and streaming/filter. Multiple values can be
      * separated with comma.
      */
     private String keywords;
     /**
-     * Filter out old tweets that has previously been polled. This state is
-     * stored in memory only and based on last tweet id.
+     * Milliseconds before the next poll.
      */
-    private boolean filterOld = true;
+    private long delay = 5000L;
     /**
      * A prefix
      */
     private String prefix;
 
-    public String getConsumerSecret() {
-        return consumerSecret;
-    }
-
-    public void setConsumerSecret(String consumerSecret) {
-        this.consumerSecret = consumerSecret;
-    }
-
     public String getAccessToken() {
         return accessToken;
     }
@@ -77,6 +69,14 @@ public class TwitterFindConnectorConfigurationCommon {
         this.accessToken = accessToken;
     }
 
+    public String getAccessTokenSecret() {
+        return accessTokenSecret;
+    }
+
+    public void setAccessTokenSecret(String accessTokenSecret) {
+        this.accessTokenSecret = accessTokenSecret;
+    }
+
     public String getConsumerKey() {
         return consumerKey;
     }
@@ -85,20 +85,20 @@ public class TwitterFindConnectorConfigurationCommon {
         this.consumerKey = consumerKey;
     }
 
-    public String getAccessTokenSecret() {
-        return accessTokenSecret;
+    public String getConsumerSecret() {
+        return consumerSecret;
     }
 
-    public void setAccessTokenSecret(String accessTokenSecret) {
-        this.accessTokenSecret = accessTokenSecret;
+    public void setConsumerSecret(String consumerSecret) {
+        this.consumerSecret = consumerSecret;
     }
 
-    public long getDelay() {
-        return delay;
+    public boolean isFilterOld() {
+        return filterOld;
     }
 
-    public void setDelay(long delay) {
-        this.delay = delay;
+    public void setFilterOld(boolean filterOld) {
+        this.filterOld = filterOld;
     }
 
     public String getKeywords() {
@@ -109,12 +109,12 @@ public class TwitterFindConnectorConfigurationCommon {
         this.keywords = keywords;
     }
 
-    public boolean isFilterOld() {
-        return filterOld;
+    public long getDelay() {
+        return delay;
     }
 
-    public void setFilterOld(boolean filterOld) {
-        this.filterOld = filterOld;
+    public void setDelay(long delay) {
+        this.delay = delay;
     }
 
     public String getPrefix() {

http://git-wip-us.apache.org/repos/asf/camel/blob/3f0bc8e4/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 a1adff7..7a458fd 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
@@ -17,9 +17,9 @@
                "version":"2.20.0-SNAPSHOT"
        },
        "componentProperties":{
-               "consumerSecret":{
+               "accessToken":{
                        "kind":"property",
-                       "displayName":"Consumer Secret",
+                       "displayName":"Access Token",
                        "group":"security",
                        "label":"security",
                        "required":false,
@@ -27,11 +27,11 @@
                        "javaType":"java.lang.String",
                        "deprecated":false,
                        "secret":true,
-                       "description":"The consumer secret"
+                       "description":"The access token"
                },
-               "accessToken":{
+               "accessTokenSecret":{
                        "kind":"property",
-                       "displayName":"Access Token",
+                       "displayName":"Access Token Secret",
                        "group":"security",
                        "label":"security",
                        "required":false,
@@ -39,7 +39,7 @@
                        "javaType":"java.lang.String",
                        "deprecated":false,
                        "secret":true,
-                       "description":"The access token"
+                       "description":"The access token secret"
                },
                "consumerKey":{
                        "kind":"property",
@@ -53,9 +53,9 @@
                        "secret":true,
                        "description":"The consumer key"
                },
-               "accessTokenSecret":{
+               "consumerSecret":{
                        "kind":"property",
-                       "displayName":"Access Token Secret",
+                       "displayName":"Consumer Secret",
                        "group":"security",
                        "label":"security",
                        "required":false,
@@ -63,10 +63,23 @@
                        "javaType":"java.lang.String",
                        "deprecated":false,
                        "secret":true,
-                       "description":"The access token secret"
+                       "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",
@@ -92,19 +105,6 @@
                        "secret":false,
                        "defaultValue":5000,
                        "description":"Milliseconds before the next poll."
-               },
-               "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."
                }
        },
        "connectorProperties":{

http://git-wip-us.apache.org/repos/asf/camel/blob/3f0bc8e4/connectors/examples/twitter-mention-connector/src/main/java/org/foo/mention/springboot/TwitterMentionConnectorConfigurationCommon.java
----------------------------------------------------------------------
diff --git 
a/connectors/examples/twitter-mention-connector/src/main/java/org/foo/mention/springboot/TwitterMentionConnectorConfigurationCommon.java
 
b/connectors/examples/twitter-mention-connector/src/main/java/org/foo/mention/springboot/TwitterMentionConnectorConfigurationCommon.java
index eb47ecc..37d6efd 100644
--- 
a/connectors/examples/twitter-mention-connector/src/main/java/org/foo/mention/springboot/TwitterMentionConnectorConfigurationCommon.java
+++ 
b/connectors/examples/twitter-mention-connector/src/main/java/org/foo/mention/springboot/TwitterMentionConnectorConfigurationCommon.java
@@ -27,29 +27,21 @@ import javax.annotation.Generated;
 public class TwitterMentionConnectorConfigurationCommon {
 
     /**
-     * The consumer secret
-     */
-    private String consumerSecret;
-    /**
      * The access token
      */
     private String accessToken;
     /**
+     * The access token secret
+     */
+    private String accessTokenSecret;
+    /**
      * The consumer key
      */
     private String consumerKey;
     /**
-     * The access token secret
+     * The consumer secret
      */
-    private String accessTokenSecret;
-
-    public String getConsumerSecret() {
-        return consumerSecret;
-    }
-
-    public void setConsumerSecret(String consumerSecret) {
-        this.consumerSecret = consumerSecret;
-    }
+    private String consumerSecret;
 
     public String getAccessToken() {
         return accessToken;
@@ -59,6 +51,14 @@ public class TwitterMentionConnectorConfigurationCommon {
         this.accessToken = accessToken;
     }
 
+    public String getAccessTokenSecret() {
+        return accessTokenSecret;
+    }
+
+    public void setAccessTokenSecret(String accessTokenSecret) {
+        this.accessTokenSecret = accessTokenSecret;
+    }
+
     public String getConsumerKey() {
         return consumerKey;
     }
@@ -67,11 +67,11 @@ public class TwitterMentionConnectorConfigurationCommon {
         this.consumerKey = consumerKey;
     }
 
-    public String getAccessTokenSecret() {
-        return accessTokenSecret;
+    public String getConsumerSecret() {
+        return consumerSecret;
     }
 
-    public void setAccessTokenSecret(String accessTokenSecret) {
-        this.accessTokenSecret = accessTokenSecret;
+    public void setConsumerSecret(String consumerSecret) {
+        this.consumerSecret = consumerSecret;
     }
 }
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/3f0bc8e4/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 9229037..2061538 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
@@ -17,9 +17,9 @@
                "version":"2.20.0-SNAPSHOT"
        },
        "componentProperties":{
-               "consumerSecret":{
+               "accessToken":{
                        "kind":"property",
-                       "displayName":"Consumer Secret",
+                       "displayName":"Access Token",
                        "group":"security",
                        "label":"security",
                        "required":false,
@@ -27,11 +27,11 @@
                        "javaType":"java.lang.String",
                        "deprecated":false,
                        "secret":true,
-                       "description":"The consumer secret"
+                       "description":"The access token"
                },
-               "accessToken":{
+               "accessTokenSecret":{
                        "kind":"property",
-                       "displayName":"Access Token",
+                       "displayName":"Access Token Secret",
                        "group":"security",
                        "label":"security",
                        "required":false,
@@ -39,7 +39,7 @@
                        "javaType":"java.lang.String",
                        "deprecated":false,
                        "secret":true,
-                       "description":"The access token"
+                       "description":"The access token secret"
                },
                "consumerKey":{
                        "kind":"property",
@@ -53,9 +53,9 @@
                        "secret":true,
                        "description":"The consumer key"
                },
-               "accessTokenSecret":{
+               "consumerSecret":{
                        "kind":"property",
-                       "displayName":"Access Token Secret",
+                       "displayName":"Consumer Secret",
                        "group":"security",
                        "label":"security",
                        "required":false,
@@ -63,7 +63,7 @@
                        "javaType":"java.lang.String",
                        "deprecated":false,
                        "secret":true,
-                       "description":"The access token secret"
+                       "description":"The consumer secret"
                }
        },
        "properties":{

http://git-wip-us.apache.org/repos/asf/camel/blob/3f0bc8e4/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 a62fe80..8279d37 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
@@ -20,18 +20,6 @@
                
        },
        "properties":{
-               "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"
-               },
                "drink":{
                        "kind":"path",
                        "displayName":"Wine Bottle",
@@ -46,6 +34,18 @@
                        "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":{

http://git-wip-us.apache.org/repos/asf/camel/blob/3f0bc8e4/platforms/myfoo-connector/src/main/resources/camel-connector-schema.json
----------------------------------------------------------------------
diff --git 
a/platforms/myfoo-connector/src/main/resources/camel-connector-schema.json 
b/platforms/myfoo-connector/src/main/resources/camel-connector-schema.json
index c4f618a..cffd10e 100644
--- a/platforms/myfoo-connector/src/main/resources/camel-connector-schema.json
+++ b/platforms/myfoo-connector/src/main/resources/camel-connector-schema.json
@@ -1,28 +1,62 @@
 {
-  "component": {
-    "kind": "component",
-    "baseScheme": "timer",
-    "scheme": "my-foo",
-    "syntax": "my-foo:timerName",
-    "title": "MyFoo",
-    "description": "Something cool",
-    "label": "foo,timer",
-    "deprecated": false,
-    "async": false,
-    "consumerOnly": true,
-    "lenientProperties": false,
-    "javaType": "org.myfoo.connector.MyFooComponent",
-    "groupId": "org.apache.camel",
-    "artifactId": "myfoo-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":"my-foo",
+               "syntax":"my-foo:timerName",
+               "title":"MyFoo",
+               "description":"Something cool",
+               "label":"foo,timer",
+               "deprecated":false,
+               "async":false,
+               "consumerOnly":true,
+               "lenientProperties":false,
+               "javaType":"org.myfoo.connector.MyFooComponent",
+               "groupId":"org.apache.camel",
+               "artifactId":"myfoo-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

Reply via email to