This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit dd702f76a4388e18b051e329bd6285b2932647b0
Author: Andrea Cosentino <[email protected]>
AuthorDate: Thu Nov 5 09:34:04 2020 +0100

    CAMEL-15814 - Regen
---
 .../apache/camel/catalog/docs/git-component.adoc   |  2 +-
 .../camel/component/git/GitEndpointConfigurer.java |  2 +-
 .../org/apache/camel/component/git/git.json        |  2 +-
 .../camel-git/src/main/docs/git-component.adoc     |  2 +-
 .../endpoint/dsl/GitEndpointBuilderFactory.java    | 44 ++++++++++++++++------
 .../modules/ROOT/pages/git-component.adoc          |  2 +-
 6 files changed, 38 insertions(+), 16 deletions(-)

diff --git 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/git-component.adoc
 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/git-component.adoc
index 5cf5a4b..d2f4137 100644
--- 
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/git-component.adoc
+++ 
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/git-component.adoc
@@ -80,12 +80,12 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
+| *branchName* (common) | The branch name to work on |  | String
 | *bridgeErrorHandler* (consumer) | Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions occurred while the 
consumer is trying to pickup incoming messages, or the likes, will now be 
processed as a message and handled by the routing Error Handler. By default the 
consumer will use the org.apache.camel.spi.ExceptionHandler to deal with 
exceptions, that will be logged at WARN or ERROR level and ignored. | false | 
boolean
 | *type* (consumer) | The consumer type. There are 3 enums and the value can 
be one of: commit, tag, branch |  | GitType
 | *exceptionHandler* (consumer) | To let the consumer use a custom 
ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this 
option is not in use. By default the consumer will deal with exceptions, that 
will be logged at WARN or ERROR level and ignored. |  | ExceptionHandler
 | *exchangePattern* (consumer) | Sets the exchange pattern when the consumer 
creates an exchange. There are 3 enums and the value can be one of: InOnly, 
InOut, InOptionalOut |  | ExchangePattern
 | *allowEmpty* (producer) | The flag to manage empty git commits | true | 
boolean
-| *branchName* (producer) | The branch name to work on |  | String
 | *lazyStartProducer* (producer) | Whether the producer should be started lazy 
(on the first message). By starting lazy you can use this to allow CamelContext 
and routes to startup in situations where a producer may otherwise fail during 
starting and cause the route to fail being started. By deferring this startup 
to be lazy then the startup failure can be handled during routing messages via 
Camel's routing error handlers. Beware that when the first message is processed 
then creating and [...]
 | *operation* (producer) | The operation to do on the repository. There are 18 
enums and the value can be one of: clone, init, add, remove, commit, commitAll, 
createBranch, deleteBranch, createTag, deleteTag, status, log, push, pull, 
showBranches, cherryPick, remoteAdd, remoteList |  | String
 | *password* (producer) | Remote repository password |  | String
diff --git 
a/components/camel-git/src/generated/java/org/apache/camel/component/git/GitEndpointConfigurer.java
 
b/components/camel-git/src/generated/java/org/apache/camel/component/git/GitEndpointConfigurer.java
index c34b997..65d7e00 100644
--- 
a/components/camel-git/src/generated/java/org/apache/camel/component/git/GitEndpointConfigurer.java
+++ 
b/components/camel-git/src/generated/java/org/apache/camel/component/git/GitEndpointConfigurer.java
@@ -20,12 +20,12 @@ public class GitEndpointConfigurer extends 
PropertyConfigurerSupport implements
     static {
         Map<String, Object> map = new CaseInsensitiveMap();
         map.put("localPath", java.lang.String.class);
+        map.put("branchName", java.lang.String.class);
         map.put("bridgeErrorHandler", boolean.class);
         map.put("type", org.apache.camel.component.git.consumer.GitType.class);
         map.put("exceptionHandler", 
org.apache.camel.spi.ExceptionHandler.class);
         map.put("exchangePattern", org.apache.camel.ExchangePattern.class);
         map.put("allowEmpty", boolean.class);
-        map.put("branchName", java.lang.String.class);
         map.put("lazyStartProducer", boolean.class);
         map.put("operation", java.lang.String.class);
         map.put("password", java.lang.String.class);
diff --git 
a/components/camel-git/src/generated/resources/org/apache/camel/component/git/git.json
 
b/components/camel-git/src/generated/resources/org/apache/camel/component/git/git.json
index 6536754..96356d6 100644
--- 
a/components/camel-git/src/generated/resources/org/apache/camel/component/git/git.json
+++ 
b/components/camel-git/src/generated/resources/org/apache/camel/component/git/git.json
@@ -28,12 +28,12 @@
   },
   "properties": {
     "localPath": { "kind": "path", "displayName": "Local Path", "group": 
"common", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "deprecationNote": "", "secret": 
false, "description": "Local repository path" },
+    "branchName": { "kind": "parameter", "displayName": "Branch Name", 
"group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "secret": false, 
"description": "The branch name to work on" },
     "bridgeErrorHandler": { "kind": "parameter", "displayName": "Bridge Error 
Handler", "group": "consumer", "label": "consumer", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "secret": false, 
"defaultValue": false, "description": "Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions occurred while the 
consumer is trying to pickup incoming messages, or the likes, will now be 
processed as a message and handled b [...]
     "type": { "kind": "parameter", "displayName": "Type", "group": "consumer", 
"label": "consumer", "required": false, "type": "object", "javaType": 
"org.apache.camel.component.git.consumer.GitType", "enum": [ "commit", "tag", 
"branch" ], "deprecated": false, "secret": false, "description": "The consumer 
type" },
     "exceptionHandler": { "kind": "parameter", "displayName": "Exception 
Handler", "group": "consumer (advanced)", "label": "consumer,advanced", 
"required": false, "type": "object", "javaType": 
"org.apache.camel.spi.ExceptionHandler", "optionalPrefix": "consumer.", 
"deprecated": false, "secret": false, "description": "To let the consumer use a 
custom ExceptionHandler. Notice if the option bridgeErrorHandler is enabled 
then this option is not in use. By default the consumer will deal with [...]
     "exchangePattern": { "kind": "parameter", "displayName": "Exchange 
Pattern", "group": "consumer (advanced)", "label": "consumer,advanced", 
"required": false, "type": "object", "javaType": 
"org.apache.camel.ExchangePattern", "enum": [ "InOnly", "InOut", 
"InOptionalOut" ], "deprecated": false, "secret": false, "description": "Sets 
the exchange pattern when the consumer creates an exchange." },
     "allowEmpty": { "kind": "parameter", "displayName": "Allow Empty", 
"group": "producer", "label": "producer", "required": false, "type": "boolean", 
"javaType": "boolean", "deprecated": false, "deprecationNote": "", "secret": 
false, "defaultValue": true, "description": "The flag to manage empty git 
commits" },
-    "branchName": { "kind": "parameter", "displayName": "Branch Name", 
"group": "producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "secret": false, 
"description": "The branch name to work on" },
     "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start 
Producer", "group": "producer", "label": "producer", "required": false, "type": 
"boolean", "javaType": "boolean", "deprecated": false, "secret": false, 
"defaultValue": false, "description": "Whether the producer should be started 
lazy (on the first message). By starting lazy you can use this to allow 
CamelContext and routes to startup in situations where a producer may otherwise 
fail during starting and cause the  [...]
     "operation": { "kind": "parameter", "displayName": "Operation", "group": 
"producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "enum": [ "clone", "init", "add", "remove", 
"commit", "commitAll", "createBranch", "deleteBranch", "createTag", 
"deleteTag", "status", "log", "push", "pull", "showBranches", "cherryPick", 
"remoteAdd", "remoteList" ], "deprecated": false, "secret": false, 
"description": "The operation to do on the repository" },
     "password": { "kind": "parameter", "displayName": "Password", "group": 
"producer", "label": "producer", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "secret": false, 
"description": "Remote repository password" },
diff --git a/components/camel-git/src/main/docs/git-component.adoc 
b/components/camel-git/src/main/docs/git-component.adoc
index 5cf5a4b..d2f4137 100644
--- a/components/camel-git/src/main/docs/git-component.adoc
+++ b/components/camel-git/src/main/docs/git-component.adoc
@@ -80,12 +80,12 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
+| *branchName* (common) | The branch name to work on |  | String
 | *bridgeErrorHandler* (consumer) | Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions occurred while the 
consumer is trying to pickup incoming messages, or the likes, will now be 
processed as a message and handled by the routing Error Handler. By default the 
consumer will use the org.apache.camel.spi.ExceptionHandler to deal with 
exceptions, that will be logged at WARN or ERROR level and ignored. | false | 
boolean
 | *type* (consumer) | The consumer type. There are 3 enums and the value can 
be one of: commit, tag, branch |  | GitType
 | *exceptionHandler* (consumer) | To let the consumer use a custom 
ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this 
option is not in use. By default the consumer will deal with exceptions, that 
will be logged at WARN or ERROR level and ignored. |  | ExceptionHandler
 | *exchangePattern* (consumer) | Sets the exchange pattern when the consumer 
creates an exchange. There are 3 enums and the value can be one of: InOnly, 
InOut, InOptionalOut |  | ExchangePattern
 | *allowEmpty* (producer) | The flag to manage empty git commits | true | 
boolean
-| *branchName* (producer) | The branch name to work on |  | String
 | *lazyStartProducer* (producer) | Whether the producer should be started lazy 
(on the first message). By starting lazy you can use this to allow CamelContext 
and routes to startup in situations where a producer may otherwise fail during 
starting and cause the route to fail being started. By deferring this startup 
to be lazy then the startup failure can be handled during routing messages via 
Camel's routing error handlers. Beware that when the first message is processed 
then creating and [...]
 | *operation* (producer) | The operation to do on the repository. There are 18 
enums and the value can be one of: clone, init, add, remove, commit, commitAll, 
createBranch, deleteBranch, createTag, deleteTag, status, log, push, pull, 
showBranches, cherryPick, remoteAdd, remoteList |  | String
 | *password* (producer) | Remote repository password |  | String
diff --git 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GitEndpointBuilderFactory.java
 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GitEndpointBuilderFactory.java
index d5f2e08..72251db 100644
--- 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GitEndpointBuilderFactory.java
+++ 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GitEndpointBuilderFactory.java
@@ -42,6 +42,17 @@ public interface GitEndpointBuilderFactory {
             return (AdvancedGitEndpointConsumerBuilder) this;
         }
         /**
+         * The branch name to work on.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Group: common
+         */
+        default GitEndpointConsumerBuilder branchName(String branchName) {
+            doSetProperty("branchName", branchName);
+            return this;
+        }
+        /**
          * Allows for bridging the consumer to the Camel routing Error Handler,
          * which mean any exceptions occurred while the consumer is trying to
          * pickup incoming messages, or the likes, will now be processed as a
@@ -239,6 +250,17 @@ public interface GitEndpointBuilderFactory {
             return (AdvancedGitEndpointProducerBuilder) this;
         }
         /**
+         * The branch name to work on.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Group: common
+         */
+        default GitEndpointProducerBuilder branchName(String branchName) {
+            doSetProperty("branchName", branchName);
+            return this;
+        }
+        /**
          * The flag to manage empty git commits.
          * 
          * The option is a: <code>boolean</code> type.
@@ -263,17 +285,6 @@ public interface GitEndpointBuilderFactory {
             return this;
         }
         /**
-         * The branch name to work on.
-         * 
-         * The option is a: <code>java.lang.String</code> type.
-         * 
-         * Group: producer
-         */
-        default GitEndpointProducerBuilder branchName(String branchName) {
-            doSetProperty("branchName", branchName);
-            return this;
-        }
-        /**
          * Whether the producer should be started lazy (on the first message).
          * By starting lazy you can use this to allow CamelContext and routes 
to
          * startup in situations where a producer may otherwise fail during
@@ -460,6 +471,17 @@ public interface GitEndpointBuilderFactory {
         default AdvancedGitEndpointBuilder advanced() {
             return (AdvancedGitEndpointBuilder) this;
         }
+        /**
+         * The branch name to work on.
+         * 
+         * The option is a: <code>java.lang.String</code> type.
+         * 
+         * Group: common
+         */
+        default GitEndpointBuilder branchName(String branchName) {
+            doSetProperty("branchName", branchName);
+            return this;
+        }
     }
 
     /**
diff --git a/docs/components/modules/ROOT/pages/git-component.adoc 
b/docs/components/modules/ROOT/pages/git-component.adoc
index c88863c..235a041 100644
--- a/docs/components/modules/ROOT/pages/git-component.adoc
+++ b/docs/components/modules/ROOT/pages/git-component.adoc
@@ -82,12 +82,12 @@ with the following path and query parameters:
 [width="100%",cols="2,5,^1,2",options="header"]
 |===
 | Name | Description | Default | Type
+| *branchName* (common) | The branch name to work on |  | String
 | *bridgeErrorHandler* (consumer) | Allows for bridging the consumer to the 
Camel routing Error Handler, which mean any exceptions occurred while the 
consumer is trying to pickup incoming messages, or the likes, will now be 
processed as a message and handled by the routing Error Handler. By default the 
consumer will use the org.apache.camel.spi.ExceptionHandler to deal with 
exceptions, that will be logged at WARN or ERROR level and ignored. | false | 
boolean
 | *type* (consumer) | The consumer type. There are 3 enums and the value can 
be one of: commit, tag, branch |  | GitType
 | *exceptionHandler* (consumer) | To let the consumer use a custom 
ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this 
option is not in use. By default the consumer will deal with exceptions, that 
will be logged at WARN or ERROR level and ignored. |  | ExceptionHandler
 | *exchangePattern* (consumer) | Sets the exchange pattern when the consumer 
creates an exchange. There are 3 enums and the value can be one of: InOnly, 
InOut, InOptionalOut |  | ExchangePattern
 | *allowEmpty* (producer) | The flag to manage empty git commits | true | 
boolean
-| *branchName* (producer) | The branch name to work on |  | String
 | *lazyStartProducer* (producer) | Whether the producer should be started lazy 
(on the first message). By starting lazy you can use this to allow CamelContext 
and routes to startup in situations where a producer may otherwise fail during 
starting and cause the route to fail being started. By deferring this startup 
to be lazy then the startup failure can be handled during routing messages via 
Camel's routing error handlers. Beware that when the first message is processed 
then creating and [...]
 | *operation* (producer) | The operation to do on the repository. There are 18 
enums and the value can be one of: clone, init, add, remove, commit, commitAll, 
createBranch, deleteBranch, createTag, deleteTag, status, log, push, pull, 
showBranches, cherryPick, remoteAdd, remoteList |  | String
 | *password* (producer) | Remote repository password |  | String

Reply via email to