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 4543134599a Regen
4543134599a is described below
commit 4543134599a8257468aa5f374a4dbc34c2f28adb
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Apr 18 06:38:08 2024 +0200
Regen
---
.../camel/springboot/catalog/components/google-sheets.json | 4 ++--
.../camel-google-sheets-starter/src/main/docs/google-sheets.json | 4 ++--
.../sheets/springboot/GoogleSheetsComponentConfiguration.java | 9 ++++-----
3 files changed, 8 insertions(+), 9 deletions(-)
diff --git
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-sheets.json
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-sheets.json
index f68c4eeaa3f..5c221f87847 100644
---
a/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-sheets.json
+++
b/catalog/camel-catalog-provider-springboot/src/main/resources/org/apache/camel/springboot/catalog/components/google-sheets.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.sheets.GoogleSheetsConfiguration",
"configurationField": "configuration", "description": "Client ID of the sheets
application" },
"configuration": { "index": 2, "kind": "property", "displayName":
"Configuration", "group": "common", "label": "", "required": false, "type":
"object", "javaType":
"org.apache.camel.component.google.sheets.GoogleSheetsConfiguration",
"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.sheets.GoogleSheetsConfiguration",
"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.sheets.GoogleSheetsConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a sheets application to have to a user account. [...]
+ "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.sheets.GoogleSheetsConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a sheets 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 [...]
"splitResult": { "index": 6, "kind": "property", "displayName": "Split
Result", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.google.sheets.GoogleSheetsConfiguration",
"configurationField": "configuration", "description": "When consumer return an
array or collection this will generate one exchange pe [...]
"lazyStartProducer": { "index": 7, "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 [...]
@@ -47,7 +47,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.sheets.GoogleSheetsConfiguration",
"configurationField": "configuration", "description": "Client ID of the sheets
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.sheets.GoogleSheetsConfiguration",
"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.sheets.GoogleSheetsConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a sheets application to have to a user account. [...]
+ "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.sheets.GoogleSheetsConfiguration",
"configurationField": "configuration", "description": "Specifies the level of
permissions you want a sheets application to have to a user account. See
https:\/\/develo [...]
"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." },
"splitResult": { "index": 8, "kind": "parameter", "displayName": "Split
Result", "group": "consumer", "label": "consumer", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.google.sheets.GoogleSheetsConfiguration",
"configurationField": "configuration", "description": "When consumer return an
array or collection this will generate one exchange p [...]
"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 [...]
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 5e452ea8a60..1d84a435e24 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
@@ -245,8 +245,8 @@
},
{
"name": "camel.component.google-sheets.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.springboot.GoogleSheetsComponentConfiguration"
},
{
diff --git
a/components-starter/camel-google-sheets-starter/src/main/java/org/apache/camel/component/google/sheets/springboot/GoogleSheetsComponentConfiguration.java
b/components-starter/camel-google-sheets-starter/src/main/java/org/apache/camel/component/google/sheets/springboot/GoogleSheetsComponentConfiguration.java
index b9e8b15257d..2b7f260e176 100644
---
a/components-starter/camel-google-sheets-starter/src/main/java/org/apache/camel/component/google/sheets/springboot/GoogleSheetsComponentConfiguration.java
+++
b/components-starter/camel-google-sheets-starter/src/main/java/org/apache/camel/component/google/sheets/springboot/GoogleSheetsComponentConfiguration.java
@@ -16,7 +16,6 @@
*/
package org.apache.camel.component.google.sheets.springboot;
-import java.util.Collection;
import org.apache.camel.component.google.sheets.GoogleSheetsClientFactory;
import org.apache.camel.component.google.sheets.GoogleSheetsConfiguration;
import org.apache.camel.spring.boot.ComponentConfigurationPropertiesCommon;
@@ -58,9 +57,9 @@ public class GoogleSheetsComponentConfiguration
* 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;
/**
* Allows for bridging the consumer to the Camel routing Error Handler,
* which mean any exceptions (if possible) occurred while the Camel
consumer
@@ -160,11 +159,11 @@ public class GoogleSheetsComponentConfiguration
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;
}