This is an automated email from the ASF dual-hosted git repository.
davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git
The following commit(s) were added to refs/heads/main by this push:
new 388f1af194f Regen
388f1af194f is described below
commit 388f1af194f4f83d721bbfe747f118adbf30130c
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Jul 17 11:17:36 2025 +0200
Regen
---
.../catalog/components/google-calendar-stream.json | 4 ++--
.../springboot/catalog/components/google-calendar.json | 4 ++--
.../camel/springboot/catalog/components/google-drive.json | 4 ++--
.../springboot/catalog/components/google-mail-stream.json | 4 ++--
.../camel/springboot/catalog/components/google-mail.json | 4 ++--
.../catalog/components/google-sheets-stream.json | 4 ++--
.../src/main/docs/google-calendar.json | 11 ++++++-----
.../springboot/GoogleCalendarComponentConfiguration.java | 12 ++++++------
.../GoogleCalendarStreamComponentConfiguration.java | 12 ++++++------
.../src/main/docs/google-drive.json | 4 ++--
.../springboot/GoogleDriveComponentConfiguration.java | 14 +++++++-------
.../src/main/docs/google-mail.json | 8 ++++----
.../mail/springboot/GoogleMailComponentConfiguration.java | 12 +++++++-----
.../springboot/GoogleMailStreamComponentConfiguration.java | 12 +++++++-----
.../src/main/docs/google-sheets.json | 4 ++--
.../GoogleSheetsStreamComponentConfiguration.java | 9 ++++-----
16 files changed, 63 insertions(+), 59 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-calendar-stream.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-calendar-stream.json
index d20e5b49dc2..76390b2ac0c 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-calendar-stream.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-calendar-stream.json
@@ -34,7 +34,7 @@
"delegate": { "index": 7, "kind": "property", "displayName": "Delegate",
"group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "Delegate for
wide-domain service account" },
"maxResults": { "index": 8, "kind": "property", "displayName": "Max
Results", "group": "consumer", "label": "", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 10, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "Max results to be
returned" },
"query": { "index": 9, "kind": "property", "displayName": "Query",
"group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "The query to execute on
calendar" },
- "scopes": { "index": 10, "kind": "property", "displayName": "Scopes",
"group": "consumer", "label": "", "required": false, "type": "array",
"javaType": "java.util.List<java.lang.String>", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a calendar application to have to [...]
+ "scopes": { "index": 10, "kind": "property", "displayName": "Scopes",
"group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a calendar application to have to a user account. [...]
"syncFlow": { "index": 11, "kind": "property", "displayName": "Sync Flow",
"group": "consumer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "Sync events, see
https:\/\/developers.google.com\/calendar\/v3\/sync Note [...]
"autowiredEnabled": { "index": 12, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching [...]
"clientFactory": { "index": 13, "kind": "property", "displayName": "Client
Factory", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.google.calendar.GoogleCalendarClientFactory",
"deprecated": false, "autowired": false, "secret": false, "description": "The
client Factory" },
@@ -61,7 +61,7 @@
"delegate": { "index": 6, "kind": "parameter", "displayName": "Delegate",
"group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "Delegate for
wide-domain service account" },
"maxResults": { "index": 7, "kind": "parameter", "displayName": "Max
Results", "group": "consumer", "label": "", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 10, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "Max results to be
returned" },
"query": { "index": 8, "kind": "parameter", "displayName": "Query",
"group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "The query to execute on
calendar" },
- "scopes": { "index": 9, "kind": "parameter", "displayName": "Scopes",
"group": "consumer", "label": "", "required": false, "type": "array",
"javaType": "java.util.List<java.lang.String>", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a calendar application to have to [...]
+ "scopes": { "index": 9, "kind": "parameter", "displayName": "Scopes",
"group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a calendar application to have to a user account. [...]
"sendEmptyMessageWhenIdle": { "index": 10, "kind": "parameter",
"displayName": "Send Empty Message When Idle", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "If the polling consumer did not poll any files, you can
enable this option to send an empty message (no body) instead." },
"syncFlow": { "index": 11, "kind": "parameter", "displayName": "Sync
Flow", "group": "consumer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "Sync events, see
https:\/\/developers.google.com\/calendar\/v3\/sync Not [...]
"bridgeErrorHandler": { "index": 12, "kind": "parameter", "displayName":
"Bridge Error Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Allows for bridging the consumer to the
Camel routing Error Handler, which mean any exceptions (if possible) occurred
while the Camel consumer is trying to pickup incoming [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-calendar.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-calendar.json
index dffe0589072..10cd827c28e 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-calendar.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-calendar.json
@@ -29,7 +29,7 @@
"clientId": { "index": 1, "kind": "property", "displayName": "Client Id",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "Client ID of the
calendar application" },
"configuration": { "index": 2, "kind": "property", "displayName":
"Configuration", "group": "common", "label": "", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use the shared configuration" },
"delegate": { "index": 3, "kind": "property", "displayName": "Delegate",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "Delegate for wide-domain
service account" },
- "scopes": { "index": 4, "kind": "property", "displayName": "Scopes",
"group": "common", "label": "", "required": false, "type": "array", "javaType":
"java.util.List<java.lang.String>", "deprecated": false, "autowired": false,
"secret": false, "defaultValue":
"https:\/\/www.googleapis.com\/auth\/calendar", "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permiss [...]
+ "scopes": { "index": 4, "kind": "property", "displayName": "Scopes",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue":
"https:\/\/www.googleapis.com\/auth\/calendar", "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a [...]
"bridgeErrorHandler": { "index": 5, "kind": "property", "displayName":
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Allows for bridging the consumer to the Camel routing Error Handler, which
mean any exceptions (if possible) occurred while the Camel consumer is trying
to pickup incoming messages, or the like [...]
"lazyStartProducer": { "index": 6, "kind": "property", "displayName":
"Lazy Start Producer", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": 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 [...]
"autowiredEnabled": { "index": 7, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching t [...]
@@ -49,7 +49,7 @@
"clientId": { "index": 3, "kind": "parameter", "displayName": "Client Id",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "Client ID of the
calendar application" },
"delegate": { "index": 4, "kind": "parameter", "displayName": "Delegate",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "Delegate for wide-domain
service account" },
"inBody": { "index": 5, "kind": "parameter", "displayName": "In Body",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Sets the name of a parameter to be passed in
the exchange In Body" },
- "scopes": { "index": 6, "kind": "parameter", "displayName": "Scopes",
"group": "common", "label": "", "required": false, "type": "array", "javaType":
"java.util.List<java.lang.String>", "deprecated": false, "autowired": false,
"secret": false, "defaultValue":
"https:\/\/www.googleapis.com\/auth\/calendar", "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permis [...]
+ "scopes": { "index": 6, "kind": "parameter", "displayName": "Scopes",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue":
"https:\/\/www.googleapis.com\/auth\/calendar", "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want [...]
"sendEmptyMessageWhenIdle": { "index": 7, "kind": "parameter",
"displayName": "Send Empty Message When Idle", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "If the polling consumer did not poll any files, you can
enable this option to send an empty message (no body) instead." },
"bridgeErrorHandler": { "index": 8, "kind": "parameter", "displayName":
"Bridge Error Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Allows for bridging the consumer to the
Camel routing Error Handler, which mean any exceptions (if possible) occurred
while the Camel consumer is trying to pickup incoming [...]
"exceptionHandler": { "index": 9, "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, "autowired": 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 def [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-drive.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-drive.json
index 7df42d95bbd..2ca1ecc62b4 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-drive.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-drive.json
@@ -29,7 +29,7 @@
"clientId": { "index": 1, "kind": "property", "displayName": "Client Id",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.drive.GoogleDriveConfiguration",
"configurationField": "configuration", "description": "Client ID of the drive
application" },
"configuration": { "index": 2, "kind": "property", "displayName":
"Configuration", "group": "common", "label": "", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.google.drive.GoogleDriveConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description": "To
use the shared configuration" },
"delegate": { "index": 3, "kind": "property", "displayName": "Delegate",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.drive.GoogleDriveConfiguration",
"configurationField": "configuration", "description": "Delegate for wide-domain
service account" },
- "scopes": { "index": 4, "kind": "property", "displayName": "Scopes",
"group": "common", "label": "", "required": false, "type": "array", "javaType":
"java.util.List<java.lang.String>", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.drive.GoogleDriveConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a drive application to have to a user account. See https
[...]
+ "scopes": { "index": 4, "kind": "property", "displayName": "Scopes",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.drive.GoogleDriveConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a calendar application to have to a user account. See
https:\/\/develop [...]
"bridgeErrorHandler": { "index": 5, "kind": "property", "displayName":
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Allows for bridging the consumer to the Camel routing Error Handler, which
mean any exceptions (if possible) occurred while the Camel consumer is trying
to pickup incoming messages, or the like [...]
"lazyStartProducer": { "index": 6, "kind": "property", "displayName":
"Lazy Start Producer", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": 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 [...]
"autowiredEnabled": { "index": 7, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching t [...]
@@ -47,7 +47,7 @@
"clientId": { "index": 4, "kind": "parameter", "displayName": "Client Id",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.drive.GoogleDriveConfiguration",
"configurationField": "configuration", "description": "Client ID of the drive
application" },
"delegate": { "index": 5, "kind": "parameter", "displayName": "Delegate",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.drive.GoogleDriveConfiguration",
"configurationField": "configuration", "description": "Delegate for wide-domain
service account" },
"inBody": { "index": 6, "kind": "parameter", "displayName": "In Body",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Sets the name of a parameter to be passed in
the exchange In Body" },
- "scopes": { "index": 7, "kind": "parameter", "displayName": "Scopes",
"group": "common", "label": "", "required": false, "type": "array", "javaType":
"java.util.List<java.lang.String>", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.drive.GoogleDriveConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a drive application to have to a user account. See http
[...]
+ "scopes": { "index": 7, "kind": "parameter", "displayName": "Scopes",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.drive.GoogleDriveConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a calendar application to have to a user account. See
https:\/\/develo [...]
"sendEmptyMessageWhenIdle": { "index": 8, "kind": "parameter",
"displayName": "Send Empty Message When Idle", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "If the polling consumer did not poll any files, you can
enable this option to send an empty message (no body) instead." },
"bridgeErrorHandler": { "index": 9, "kind": "parameter", "displayName":
"Bridge Error Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Allows for bridging the consumer to the
Camel routing Error Handler, which mean any exceptions (if possible) occurred
while the Camel consumer is trying to pickup incoming [...]
"exceptionHandler": { "index": 10, "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, "autowired": 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 de [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-mail-stream.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-mail-stream.json
index 93cc3944876..4b4f5d97eb3 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-mail-stream.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-mail-stream.json
@@ -33,7 +33,7 @@
"maxResults": { "index": 6, "kind": "property", "displayName": "Max
Results", "group": "consumer", "label": "", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 10, "configurationClass":
"org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration",
"configurationField": "configuration", "description": "Max results to be
returned" },
"query": { "index": 7, "kind": "property", "displayName": "Query",
"group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "is:unread", "configurationClass":
"org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration",
"configurationField": "configuration", "description": "The query to execute on
gmail box" },
"raw": { "index": 8, "kind": "property", "displayName": "Raw", "group":
"consumer", "label": "", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration",
"configurationField": "configuration", "description": "Whether to store the
entire email message in an RFC 2822 formatted and base64url encoded stri [...]
- "scopes": { "index": 9, "kind": "property", "displayName": "Scopes",
"group": "consumer", "label": "", "required": false, "type": "array",
"javaType": "java.util.List<java.lang.String>", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration",
"configurationField": "configuration", "description": "GMail scopes" },
+ "scopes": { "index": 9, "kind": "property", "displayName": "Scopes",
"group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a calendar application to have to a user account. See http
[...]
"autowiredEnabled": { "index": 10, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching [...]
"clientFactory": { "index": 11, "kind": "property", "displayName": "Client
Factory", "group": "advanced", "label": "advanced", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.google.mail.GoogleMailClientFactory", "deprecated":
false, "autowired": false, "secret": false, "description": "The client Factory"
},
"configuration": { "index": 12, "kind": "property", "displayName":
"Configuration", "group": "advanced", "label": "advanced", "required": false,
"type": "object", "javaType":
"org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description": "The
configuration" },
@@ -62,7 +62,7 @@
"maxResults": { "index": 6, "kind": "parameter", "displayName": "Max
Results", "group": "consumer", "label": "", "required": false, "type":
"integer", "javaType": "long", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": 10, "configurationClass":
"org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration",
"configurationField": "configuration", "description": "Max results to be
returned" },
"query": { "index": 7, "kind": "parameter", "displayName": "Query",
"group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "is:unread", "configurationClass":
"org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration",
"configurationField": "configuration", "description": "The query to execute on
gmail box" },
"raw": { "index": 8, "kind": "parameter", "displayName": "Raw", "group":
"consumer", "label": "", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "configurationClass":
"org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration",
"configurationField": "configuration", "description": "Whether to store the
entire email message in an RFC 2822 formatted and base64url encoded str [...]
- "scopes": { "index": 9, "kind": "parameter", "displayName": "Scopes",
"group": "consumer", "label": "", "required": false, "type": "array",
"javaType": "java.util.List<java.lang.String>", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration",
"configurationField": "configuration", "description": "GMail scopes" },
+ "scopes": { "index": 9, "kind": "parameter", "displayName": "Scopes",
"group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a calendar application to have to a user account. See htt
[...]
"sendEmptyMessageWhenIdle": { "index": 10, "kind": "parameter",
"displayName": "Send Empty Message When Idle", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "If the polling consumer did not poll any files, you can
enable this option to send an empty message (no body) instead." },
"bridgeErrorHandler": { "index": 11, "kind": "parameter", "displayName":
"Bridge Error Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Allows for bridging the consumer to the
Camel routing Error Handler, which mean any exceptions (if possible) occurred
while the Camel consumer is trying to pickup incoming [...]
"exceptionHandler": { "index": 12, "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, "autowired": 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 de [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-mail.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-mail.json
index df0e728245d..34c0d01367f 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-mail.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-mail.json
@@ -29,7 +29,7 @@
"clientId": { "index": 1, "kind": "property", "displayName": "Client Id",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.mail.GoogleMailConfiguration",
"configurationField": "configuration", "description": "Client ID of the mail
application" },
"configuration": { "index": 2, "kind": "property", "displayName":
"Configuration", "group": "common", "label": "", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.google.mail.GoogleMailConfiguration", "deprecated":
false, "autowired": false, "secret": false, "description": "To use the shared
configuration" },
"delegate": { "index": 3, "kind": "property", "displayName": "Delegate",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.mail.GoogleMailConfiguration",
"configurationField": "configuration", "description": "Delegate for wide-domain
service account" },
- "scopes": { "index": 4, "kind": "property", "displayName": "Scopes",
"group": "common", "label": "", "required": false, "type": "array", "javaType":
"java.util.Collection<java.lang.String>", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.google.mail.GoogleMailConfiguration",
"configurationField": "configuration", "description": "GMail scopes" },
+ "scopes": { "index": 4, "kind": "property", "displayName": "Scopes",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.mail.GoogleMailConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a calendar application to have to a user account. See
https:\/\/developer [...]
"bridgeErrorHandler": { "index": 5, "kind": "property", "displayName":
"Bridge Error Handler", "group": "consumer", "label": "consumer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": false, "description":
"Allows for bridging the consumer to the Camel routing Error Handler, which
mean any exceptions (if possible) occurred while the Camel consumer is trying
to pickup incoming messages, or the like [...]
"lazyStartProducer": { "index": 6, "kind": "property", "displayName":
"Lazy Start Producer", "group": "producer", "label": "producer", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": 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 [...]
"autowiredEnabled": { "index": 7, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching t [...]
@@ -46,7 +46,7 @@
"clientId": { "index": 3, "kind": "parameter", "displayName": "Client Id",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.mail.GoogleMailConfiguration",
"configurationField": "configuration", "description": "Client ID of the mail
application" },
"delegate": { "index": 4, "kind": "parameter", "displayName": "Delegate",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.mail.GoogleMailConfiguration",
"configurationField": "configuration", "description": "Delegate for wide-domain
service account" },
"inBody": { "index": 5, "kind": "parameter", "displayName": "In Body",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "description": "Sets the name of a parameter to be passed in
the exchange In Body" },
- "scopes": { "index": 6, "kind": "parameter", "displayName": "Scopes",
"group": "common", "label": "", "required": false, "type": "array", "javaType":
"java.util.Collection<java.lang.String>", "deprecated": false, "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.google.mail.GoogleMailConfiguration",
"configurationField": "configuration", "description": "GMail scopes" },
+ "scopes": { "index": 6, "kind": "parameter", "displayName": "Scopes",
"group": "common", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.mail.GoogleMailConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a calendar application to have to a user account. See
https:\/\/develope [...]
"sendEmptyMessageWhenIdle": { "index": 7, "kind": "parameter",
"displayName": "Send Empty Message When Idle", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "If the polling consumer did not poll any files, you can
enable this option to send an empty message (no body) instead." },
"bridgeErrorHandler": { "index": 8, "kind": "parameter", "displayName":
"Bridge Error Handler", "group": "consumer (advanced)", "label":
"consumer,advanced", "required": false, "type": "boolean", "javaType":
"boolean", "deprecated": false, "autowired": false, "secret": false,
"defaultValue": false, "description": "Allows for bridging the consumer to the
Camel routing Error Handler, which mean any exceptions (if possible) occurred
while the Camel consumer is trying to pickup incoming [...]
"exceptionHandler": { "index": 9, "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, "autowired": 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 def [...]
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-sheets-stream.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-sheets-stream.json
index a0e65fded94..245055b055e 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-sheets-stream.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-sheets-stream.json
@@ -34,7 +34,7 @@
"majorDimension": { "index": 6, "kind": "property", "displayName": "Major
Dimension", "group": "consumer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "enum": [ "ROWS", "COLUMNS",
"DIMENSION_UNSPECIFIED" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "ROWS", "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "S [...]
"maxResults": { "index": 7, "kind": "property", "displayName": "Max
Results", "group": "consumer", "label": "", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Specify the maximum
number of returned results. This will limit the number of rows in a returned
valu [...]
"range": { "index": 8, "kind": "property", "displayName": "Range",
"group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the range of
rows and columns in a sheet to get data from." },
- "scopes": { "index": 9, "kind": "property", "displayName": "Scopes",
"group": "consumer", "label": "", "required": false, "type": "array",
"javaType": "java.util.Collection<java.lang.String>", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a sheets application to have to a [...]
+ "scopes": { "index": 9, "kind": "property", "displayName": "Scopes",
"group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a sheets application to have to a user account. See ht
[...]
"splitResults": { "index": 10, "kind": "property", "displayName": "Split
Results", "group": "consumer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "True if value range
result should be split into rows or columns to pr [...]
"valueRenderOption": { "index": 11, "kind": "property", "displayName":
"Value Render Option", "group": "consumer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "enum": [ "FORMATTED_VALUE",
"UNFORMATTED_VALUE", "FORMULA" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "FORMATTED_VALUE", "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configu [...]
"autowiredEnabled": { "index": 12, "kind": "property", "displayName":
"Autowired Enabled", "group": "advanced", "label": "advanced", "required":
false, "type": "boolean", "javaType": "boolean", "deprecated": false,
"autowired": false, "secret": false, "defaultValue": true, "description":
"Whether autowiring is enabled. This is used for automatic autowiring options
(the option must be marked as autowired) by looking up in the registry to find
if there is a single instance of matching [...]
@@ -63,7 +63,7 @@
"majorDimension": { "index": 5, "kind": "parameter", "displayName": "Major
Dimension", "group": "consumer", "label": "", "required": false, "type":
"string", "javaType": "java.lang.String", "enum": [ "ROWS", "COLUMNS",
"DIMENSION_UNSPECIFIED" ], "deprecated": false, "autowired": false, "secret":
false, "defaultValue": "ROWS", "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": " [...]
"maxResults": { "index": 6, "kind": "parameter", "displayName": "Max
Results", "group": "consumer", "label": "", "required": false, "type":
"integer", "javaType": "int", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Specify the maximum
number of returned results. This will limit the number of rows in a returned
val [...]
"range": { "index": 7, "kind": "parameter", "displayName": "Range",
"group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the range of
rows and columns in a sheet to get data from." },
- "scopes": { "index": 8, "kind": "parameter", "displayName": "Scopes",
"group": "consumer", "label": "", "required": false, "type": "array",
"javaType": "java.util.Collection<java.lang.String>", "deprecated": false,
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a sheets application to have to [...]
+ "scopes": { "index": 8, "kind": "parameter", "displayName": "Scopes",
"group": "consumer", "label": "", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a sheets application to have to a user account. See h [...]
"sendEmptyMessageWhenIdle": { "index": 9, "kind": "parameter",
"displayName": "Send Empty Message When Idle", "group": "consumer", "label":
"consumer", "required": false, "type": "boolean", "javaType": "boolean",
"deprecated": false, "autowired": false, "secret": false, "defaultValue":
false, "description": "If the polling consumer did not poll any files, you can
enable this option to send an empty message (no body) instead." },
"splitResults": { "index": 10, "kind": "parameter", "displayName": "Split
Results", "group": "consumer", "label": "", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "configuration", "description": "True if value range
result should be split into rows or columns to p [...]
"valueRenderOption": { "index": 11, "kind": "parameter", "displayName":
"Value Render Option", "group": "consumer", "label": "", "required": false,
"type": "string", "javaType": "java.lang.String", "enum": [ "FORMATTED_VALUE",
"UNFORMATTED_VALUE", "FORMULA" ], "deprecated": false, "autowired": false,
"secret": false, "defaultValue": "FORMATTED_VALUE", "configurationClass":
"org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration",
"configurationField": "config [...]
diff --git
a/components-starter/camel-google-calendar-starter/src/main/docs/google-calendar.json
b/components-starter/camel-google-calendar-starter/src/main/docs/google-calendar.json
index ad31e15c8e1..56f31783815 100644
---
a/components-starter/camel-google-calendar-starter/src/main/docs/google-calendar.json
+++
b/components-starter/camel-google-calendar-starter/src/main/docs/google-calendar.json
@@ -159,8 +159,8 @@
},
{
"name": "camel.component.google-calendar-stream.scopes",
- "type": "java.util.List<java.lang.String>",
- "description": "Specifies the level of permissions you want a calendar
application to have to a user account. See
https:\/\/developers.google.com\/calendar\/auth for more info.",
+ "type": "java.lang.String",
+ "description": "Specifies the level of permissions you want a calendar
application to have to a user account. See
https:\/\/developers.google.com\/identity\/protocols\/googlescopes for more
info. Multiple scopes can be separated by comma.",
"sourceType":
"org.apache.camel.component.google.calendar.stream.springboot.GoogleCalendarStreamComponentConfiguration"
},
{
@@ -276,9 +276,10 @@
},
{
"name": "camel.component.google-calendar.scopes",
- "type": "java.util.List<java.lang.String>",
- "description": "Specifies the level of permissions you want a calendar
application to have to a user account. You can separate multiple scopes by
comma. See https:\/\/developers.google.com\/google-apps\/calendar\/auth for
more info.",
- "sourceType":
"org.apache.camel.component.google.calendar.springboot.GoogleCalendarComponentConfiguration"
+ "type": "java.lang.String",
+ "description": "Specifies the level of permissions you want a calendar
application to have to a user account. See
https:\/\/developers.google.com\/identity\/protocols\/googlescopes for more
info. Multiple scopes can be separated by comma.",
+ "sourceType":
"org.apache.camel.component.google.calendar.springboot.GoogleCalendarComponentConfiguration",
+ "defaultValue": "https:\/\/www.googleapis.com\/auth\/calendar"
},
{
"name": "camel.component.google-calendar.service-account-key",
diff --git
a/components-starter/camel-google-calendar-starter/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentConfiguration.java
b/components-starter/camel-google-calendar-starter/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentConfiguration.java
index 7020464a1fe..9638957e23a 100644
---
a/components-starter/camel-google-calendar-starter/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentConfiguration.java
+++
b/components-starter/camel-google-calendar-starter/src/main/java/org/apache/camel/component/google/calendar/springboot/GoogleCalendarComponentConfiguration.java
@@ -16,7 +16,6 @@
*/
package org.apache.camel.component.google.calendar.springboot;
-import java.util.List;
import org.apache.camel.component.google.calendar.GoogleCalendarClientFactory;
import org.apache.camel.component.google.calendar.GoogleCalendarConfiguration;
import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
@@ -58,10 +57,11 @@ public class GoogleCalendarComponentConfiguration
private String delegate;
/**
* Specifies the level of permissions you want a calendar application to
- * have to a user account. You can separate multiple scopes by comma. See
- * https://developers.google.com/google-apps/calendar/auth for more info.
+ * have to a user account. See
+ * https://developers.google.com/identity/protocols/googlescopes for more
+ * info. Multiple scopes can be separated by comma.
*/
- private List<String> scopes;
+ private String scopes = "https://www.googleapis.com/auth/calendar";
/**
* Allows for bridging the consumer to the Camel routing Error Handler,
* which mean any exceptions (if possible) occurred while the Camel
consumer
@@ -171,11 +171,11 @@ public class GoogleCalendarComponentConfiguration
this.delegate = delegate;
}
- public List<String> getScopes() {
+ public String getScopes() {
return scopes;
}
- public void setScopes(List<String> scopes) {
+ public void setScopes(String scopes) {
this.scopes = scopes;
}
diff --git
a/components-starter/camel-google-calendar-starter/src/main/java/org/apache/camel/component/google/calendar/stream/springboot/GoogleCalendarStreamComponentConfiguration.java
b/components-starter/camel-google-calendar-starter/src/main/java/org/apache/camel/component/google/calendar/stream/springboot/GoogleCalendarStreamComponentConfiguration.java
index c0d44397e9f..6d3f87a5060 100644
---
a/components-starter/camel-google-calendar-starter/src/main/java/org/apache/camel/component/google/calendar/stream/springboot/GoogleCalendarStreamComponentConfiguration.java
+++
b/components-starter/camel-google-calendar-starter/src/main/java/org/apache/camel/component/google/calendar/stream/springboot/GoogleCalendarStreamComponentConfiguration.java
@@ -16,7 +16,6 @@
*/
package org.apache.camel.component.google.calendar.stream.springboot;
-import java.util.List;
import org.apache.camel.component.google.calendar.GoogleCalendarClientFactory;
import
org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration;
import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
@@ -92,10 +91,11 @@ public class GoogleCalendarStreamComponentConfiguration
private String query;
/**
* Specifies the level of permissions you want a calendar application to
- * have to a user account. See https://developers.google.com/calendar/auth
- * for more info.
+ * have to a user account. See
+ * https://developers.google.com/identity/protocols/googlescopes for more
+ * info. Multiple scopes can be separated by comma.
*/
- private List<String> scopes;
+ private String scopes;
/**
* Sync events, see https://developers.google.com/calendar/v3/sync Note:
not
* compatible with: 'query' and 'considerLastUpdate' parameters
@@ -243,11 +243,11 @@ public class GoogleCalendarStreamComponentConfiguration
this.query = query;
}
- public List<String> getScopes() {
+ public String getScopes() {
return scopes;
}
- public void setScopes(List<String> scopes) {
+ public void setScopes(String scopes) {
this.scopes = scopes;
}
diff --git
a/components-starter/camel-google-drive-starter/src/main/docs/google-drive.json
b/components-starter/camel-google-drive-starter/src/main/docs/google-drive.json
index 4709c198151..5c508046612 100644
---
a/components-starter/camel-google-drive-starter/src/main/docs/google-drive.json
+++
b/components-starter/camel-google-drive-starter/src/main/docs/google-drive.json
@@ -95,8 +95,8 @@
},
{
"name": "camel.component.google-drive.scopes",
- "type": "java.util.List<java.lang.String>",
- "description": "Specifies the level of permissions you want a drive
application to have to a user account. See
https:\/\/developers.google.com\/drive\/web\/scopes for more info.",
+ "type": "java.lang.String",
+ "description": "Specifies the level of permissions you want a calendar
application to have to a user account. See
https:\/\/developers.google.com\/identity\/protocols\/googlescopes for more
info. Multiple scopes can be separated by comma.",
"sourceType":
"org.apache.camel.component.google.drive.springboot.GoogleDriveComponentConfiguration"
},
{
diff --git
a/components-starter/camel-google-drive-starter/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentConfiguration.java
b/components-starter/camel-google-drive-starter/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentConfiguration.java
index 08273f198d1..4f70bb86649 100644
---
a/components-starter/camel-google-drive-starter/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentConfiguration.java
+++
b/components-starter/camel-google-drive-starter/src/main/java/org/apache/camel/component/google/drive/springboot/GoogleDriveComponentConfiguration.java
@@ -16,7 +16,6 @@
*/
package org.apache.camel.component.google.drive.springboot;
-import java.util.List;
import org.apache.camel.component.google.drive.GoogleDriveClientFactory;
import org.apache.camel.component.google.drive.GoogleDriveConfiguration;
import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
@@ -55,11 +54,12 @@ public class GoogleDriveComponentConfiguration
*/
private String delegate;
/**
- * Specifies the level of permissions you want a drive application to have
- * to a user account. See https://developers.google.com/drive/web/scopes
for
- * more info.
+ * Specifies the level of permissions you want a calendar application to
+ * have to a user account. See
+ * https://developers.google.com/identity/protocols/googlescopes for more
+ * info. Multiple scopes can be separated by comma.
*/
- private List<String> scopes;
+ private String scopes;
/**
* Allows for bridging the consumer to the Camel routing Error Handler,
* which mean any exceptions (if possible) occurred while the Camel
consumer
@@ -153,11 +153,11 @@ public class GoogleDriveComponentConfiguration
this.delegate = delegate;
}
- public List<String> getScopes() {
+ public String getScopes() {
return scopes;
}
- public void setScopes(List<String> scopes) {
+ public void setScopes(String scopes) {
this.scopes = scopes;
}
diff --git
a/components-starter/camel-google-mail-starter/src/main/docs/google-mail.json
b/components-starter/camel-google-mail-starter/src/main/docs/google-mail.json
index a0cfe1b6637..85068fd4096 100644
---
a/components-starter/camel-google-mail-starter/src/main/docs/google-mail.json
+++
b/components-starter/camel-google-mail-starter/src/main/docs/google-mail.json
@@ -147,8 +147,8 @@
},
{
"name": "camel.component.google-mail-stream.scopes",
- "type": "java.util.List<java.lang.String>",
- "description": "GMail scopes",
+ "type": "java.lang.String",
+ "description": "Specifies the level of permissions you want a calendar
application to have to a user account. See
https:\/\/developers.google.com\/identity\/protocols\/googlescopes for more
info. Multiple scopes can be separated by comma.",
"sourceType":
"org.apache.camel.component.google.mail.stream.springboot.GoogleMailStreamComponentConfiguration"
},
{
@@ -239,8 +239,8 @@
},
{
"name": "camel.component.google-mail.scopes",
- "type": "java.util.Collection<java.lang.String>",
- "description": "GMail scopes",
+ "type": "java.lang.String",
+ "description": "Specifies the level of permissions you want a calendar
application to have to a user account. See
https:\/\/developers.google.com\/identity\/protocols\/googlescopes for more
info. Multiple scopes can be separated by comma.",
"sourceType":
"org.apache.camel.component.google.mail.springboot.GoogleMailComponentConfiguration"
},
{
diff --git
a/components-starter/camel-google-mail-starter/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentConfiguration.java
b/components-starter/camel-google-mail-starter/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentConfiguration.java
index 6731d68808b..686e13cdcf0 100644
---
a/components-starter/camel-google-mail-starter/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentConfiguration.java
+++
b/components-starter/camel-google-mail-starter/src/main/java/org/apache/camel/component/google/mail/springboot/GoogleMailComponentConfiguration.java
@@ -16,7 +16,6 @@
*/
package org.apache.camel.component.google.mail.springboot;
-import java.util.Collection;
import org.apache.camel.component.google.mail.GoogleMailClientFactory;
import org.apache.camel.component.google.mail.GoogleMailConfiguration;
import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
@@ -55,9 +54,12 @@ public class GoogleMailComponentConfiguration
*/
private String delegate;
/**
- * GMail scopes
+ * Specifies the level of permissions you want a calendar application to
+ * have to a user account. See
+ * https://developers.google.com/identity/protocols/googlescopes for more
+ * info. Multiple scopes can be separated by comma.
*/
- private Collection<String> scopes;
+ private String scopes;
/**
* Allows for bridging the consumer to the Camel routing Error Handler,
* which mean any exceptions (if possible) occurred while the Camel
consumer
@@ -151,11 +153,11 @@ public class GoogleMailComponentConfiguration
this.delegate = delegate;
}
- public Collection<String> getScopes() {
+ public String getScopes() {
return scopes;
}
- public void setScopes(Collection<String> scopes) {
+ public void setScopes(String scopes) {
this.scopes = scopes;
}
diff --git
a/components-starter/camel-google-mail-starter/src/main/java/org/apache/camel/component/google/mail/stream/springboot/GoogleMailStreamComponentConfiguration.java
b/components-starter/camel-google-mail-starter/src/main/java/org/apache/camel/component/google/mail/stream/springboot/GoogleMailStreamComponentConfiguration.java
index d3dac42b3b0..e2ad24474d0 100644
---
a/components-starter/camel-google-mail-starter/src/main/java/org/apache/camel/component/google/mail/stream/springboot/GoogleMailStreamComponentConfiguration.java
+++
b/components-starter/camel-google-mail-starter/src/main/java/org/apache/camel/component/google/mail/stream/springboot/GoogleMailStreamComponentConfiguration.java
@@ -16,7 +16,6 @@
*/
package org.apache.camel.component.google.mail.stream.springboot;
-import java.util.List;
import org.apache.camel.component.google.mail.GoogleMailClientFactory;
import
org.apache.camel.component.google.mail.stream.GoogleMailStreamConfiguration;
import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
@@ -85,9 +84,12 @@ public class GoogleMailStreamComponentConfiguration
*/
private Boolean raw = false;
/**
- * GMail scopes
+ * Specifies the level of permissions you want a calendar application to
+ * have to a user account. See
+ * https://developers.google.com/identity/protocols/googlescopes for more
+ * info. Multiple scopes can be separated by comma.
*/
- private List<String> scopes;
+ private String scopes;
/**
* Whether autowiring is enabled. This is used for automatic autowiring
* options (the option must be marked as autowired) by looking up in the
@@ -211,11 +213,11 @@ public class GoogleMailStreamComponentConfiguration
this.raw = raw;
}
- public List<String> getScopes() {
+ public String getScopes() {
return scopes;
}
- public void setScopes(List<String> scopes) {
+ public void setScopes(String scopes) {
this.scopes = scopes;
}
diff --git
a/components-starter/camel-google-sheets-starter/src/main/docs/google-sheets.json
b/components-starter/camel-google-sheets-starter/src/main/docs/google-sheets.json
index 832e4f8d53a..ea73b622782 100644
---
a/components-starter/camel-google-sheets-starter/src/main/docs/google-sheets.json
+++
b/components-starter/camel-google-sheets-starter/src/main/docs/google-sheets.json
@@ -139,8 +139,8 @@
},
{
"name": "camel.component.google-sheets-stream.scopes",
- "type": "java.util.Collection<java.lang.String>",
- "description": "Specifies the level of permissions you want a sheets
application to have to a user account. See
https:\/\/developers.google.com\/identity\/protocols\/googlescopes for more
info.",
+ "type": "java.lang.String",
+ "description": "Specifies the level of permissions you want a sheets
application to have to a user account. See
https:\/\/developers.google.com\/identity\/protocols\/googlescopes for more
info. Multiple scopes can be separated by comma.",
"sourceType":
"org.apache.camel.component.google.sheets.stream.springboot.GoogleSheetsStreamComponentConfiguration"
},
{
diff --git
a/components-starter/camel-google-sheets-starter/src/main/java/org/apache/camel/component/google/sheets/stream/springboot/GoogleSheetsStreamComponentConfiguration.java
b/components-starter/camel-google-sheets-starter/src/main/java/org/apache/camel/component/google/sheets/stream/springboot/GoogleSheetsStreamComponentConfiguration.java
index e53ffc19bd1..7da9b9b2c07 100644
---
a/components-starter/camel-google-sheets-starter/src/main/java/org/apache/camel/component/google/sheets/stream/springboot/GoogleSheetsStreamComponentConfiguration.java
+++
b/components-starter/camel-google-sheets-starter/src/main/java/org/apache/camel/component/google/sheets/stream/springboot/GoogleSheetsStreamComponentConfiguration.java
@@ -16,7 +16,6 @@
*/
package org.apache.camel.component.google.sheets.stream.springboot;
-import java.util.Collection;
import org.apache.camel.component.google.sheets.GoogleSheetsClientFactory;
import
org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamConfiguration;
import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
@@ -90,9 +89,9 @@ public class GoogleSheetsStreamComponentConfiguration
* Specifies the level of permissions you want a sheets application to have
* to a user account. See
* https://developers.google.com/identity/protocols/googlescopes for more
- * info.
+ * info. Multiple scopes can be separated by comma.
*/
- private Collection<String> scopes;
+ private String scopes;
/**
* True if value range result should be split into rows or columns to
* process each of them individually. When true each row or column is
@@ -223,11 +222,11 @@ public class GoogleSheetsStreamComponentConfiguration
this.range = range;
}
- public Collection<String> getScopes() {
+ public String getScopes() {
return scopes;
}
- public void setScopes(Collection<String> scopes) {
+ public void setScopes(String scopes) {
this.scopes = scopes;
}