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

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


The following commit(s) were added to refs/heads/master by this push:
     new 978b254  CAMEL-15052: Cannot watch user with Google Mail component 
(#3817)
978b254 is described below

commit 978b254ba5029e0a1a51070c4995671f976d45b1
Author: Claus Ibsen <claus.ib...@gmail.com>
AuthorDate: Tue May 12 13:14:45 2020 +0200

    CAMEL-15052: Cannot watch user with Google Mail component (#3817)
---
 .../org/apache/camel/component/google/mail/google-mail.json        | 2 +-
 .../camel-google-mail/src/main/docs/google-mail-component.adoc     | 2 +-
 .../camel/component/google/mail/GoogleMailConfiguration.java       | 2 +-
 .../builder/endpoint/dsl/GoogleMailEndpointBuilderFactory.java     | 7 ++++---
 4 files changed, 7 insertions(+), 6 deletions(-)

diff --git 
a/components/camel-google-mail/src/generated/resources/org/apache/camel/component/google/mail/google-mail.json
 
b/components/camel-google-mail/src/generated/resources/org/apache/camel/component/google/mail/google-mail.json
index 517e906..04637f5 100644
--- 
a/components/camel-google-mail/src/generated/resources/org/apache/camel/component/google/mail/google-mail.json
+++ 
b/components/camel-google-mail/src/generated/resources/org/apache/camel/component/google/mail/google-mail.json
@@ -34,7 +34,7 @@
   },
   "properties": {
     "apiName": { "kind": "path", "displayName": "Api Name", "group": "common", 
"label": "", "required": true, "type": "object", "javaType": 
"org.apache.camel.component.google.mail.internal.GoogleMailApiName", "enum": [ 
"THREADS", "MESSAGES", "ATTACHMENTS", "LABELS", "HISTORY", "DRAFTS", "USERS" ], 
"deprecated": false, "deprecationNote": "", "secret": false, 
"configurationClass": 
"org.apache.camel.component.google.mail.GoogleMailConfiguration", 
"configurationField": "configuration", "desc [...]
-    "methodName": { "kind": "path", "displayName": "Method Name", "group": 
"common", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "enum": [ "attachments", "create", "delete", "get", 
"getProfile", "gmailImport", "insert", "list", "modify", "patch", "send", 
"trash", "untrash", "update" ], "deprecated": false, "deprecationNote": "", 
"secret": false, "configurationClass": 
"org.apache.camel.component.google.mail.GoogleMailConfiguration", 
"configurationField [...]
+    "methodName": { "kind": "path", "displayName": "Method Name", "group": 
"common", "label": "", "required": true, "type": "string", "javaType": 
"java.lang.String", "enum": [ "attachments", "create", "delete", "get", 
"getProfile", "gmailImport", "insert", "list", "modify", "patch", "send", 
"stop", "trash", "untrash", "update", "watch" ], "deprecated": false, 
"deprecationNote": "", "secret": false, "configurationClass": 
"org.apache.camel.component.google.mail.GoogleMailConfiguration", "c [...]
     "applicationName": { "kind": "parameter", "displayName": "Application 
Name", "group": "common", "label": "", "required": false, "type": "string", 
"javaType": "java.lang.String", "deprecated": false, "secret": false, 
"configurationClass": 
"org.apache.camel.component.google.mail.GoogleMailConfiguration", 
"configurationField": "configuration", "description": "Google mail application 
name. Example would be camel-google-mail\/1.0" },
     "clientId": { "kind": "parameter", "displayName": "Client Id", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "secret": false, "configurationClass": 
"org.apache.camel.component.google.mail.GoogleMailConfiguration", 
"configurationField": "configuration", "description": "Client ID of the mail 
application" },
     "inBody": { "kind": "parameter", "displayName": "In Body", "group": 
"common", "label": "", "required": false, "type": "string", "javaType": 
"java.lang.String", "deprecated": false, "secret": false, "description": "Sets 
the name of a parameter to be passed in the exchange In Body" },
diff --git 
a/components/camel-google-mail/src/main/docs/google-mail-component.adoc 
b/components/camel-google-mail/src/main/docs/google-mail-component.adoc
index ccc3d20..b1c0ec8 100644
--- a/components/camel-google-mail/src/main/docs/google-mail-component.adoc
+++ b/components/camel-google-mail/src/main/docs/google-mail-component.adoc
@@ -106,7 +106,7 @@ with the following path and query parameters:
 |===
 | Name | Description | Default | Type
 | *apiName* | *Required* What kind of operation to perform. The value can be 
one of: THREADS, MESSAGES, ATTACHMENTS, LABELS, HISTORY, DRAFTS, USERS |  | 
GoogleMailApiName
-| *methodName* | *Required* What sub operation to use for the selected 
operation. The value can be one of: attachments, create, delete, get, 
getProfile, gmailImport, insert, list, modify, patch, send, trash, untrash, 
update |  | String
+| *methodName* | *Required* What sub operation to use for the selected 
operation. The value can be one of: attachments, create, delete, get, 
getProfile, gmailImport, insert, list, modify, patch, send, stop, trash, 
untrash, update, watch |  | String
 |===
 
 
diff --git 
a/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/GoogleMailConfiguration.java
 
b/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/GoogleMailConfiguration.java
index 982b34d..8acd220 100644
--- 
a/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/GoogleMailConfiguration.java
+++ 
b/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/GoogleMailConfiguration.java
@@ -30,7 +30,7 @@ public class GoogleMailConfiguration {
     @UriPath @Metadata(required = true)
     private GoogleMailApiName apiName;
 
-    @UriPath(enums = 
"attachments,create,delete,get,getProfile,gmailImport,insert,list,modify,patch,send,trash,untrash,update")
+    @UriPath(enums = 
"attachments,create,delete,get,getProfile,gmailImport,insert,list,modify,patch,send,stop,trash,untrash,update,watch")
     @Metadata(required = true)
     private String methodName;
 
diff --git 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleMailEndpointBuilderFactory.java
 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleMailEndpointBuilderFactory.java
index 764abeb..26be36a 100644
--- 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleMailEndpointBuilderFactory.java
+++ 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleMailEndpointBuilderFactory.java
@@ -1070,8 +1070,8 @@ public interface GoogleMailEndpointBuilderFactory {
          * Path parameter: methodName (required)
          * What sub operation to use for the selected operation
          * The value can be one of: attachments, create, delete, get,
-         * getProfile, gmailImport, insert, list, modify, patch, send, trash,
-         * untrash, update
+         * getProfile, gmailImport, insert, list, modify, patch, send, stop,
+         * trash, untrash, update, watch
          */
         default GoogleMailEndpointBuilder googleMail(String path) {
             return GoogleMailEndpointBuilderFactory.googleMail(path);
@@ -1095,7 +1095,8 @@ public interface GoogleMailEndpointBuilderFactory {
      * Path parameter: methodName (required)
      * What sub operation to use for the selected operation
      * The value can be one of: attachments, create, delete, get, getProfile,
-     * gmailImport, insert, list, modify, patch, send, trash, untrash, update
+     * gmailImport, insert, list, modify, patch, send, stop, trash, untrash,
+     * update, watch
      */
     static GoogleMailEndpointBuilder googleMail(String path) {
         class GoogleMailEndpointBuilderImpl extends AbstractEndpointBuilder 
implements GoogleMailEndpointBuilder, AdvancedGoogleMailEndpointBuilder {

Reply via email to