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 2aa9c14 CAMEL-15959: Add security label to options
2aa9c14 is described below
commit 2aa9c14f6b3cde8e683f68db9c98ed69c50b77e1
Author: Claus Ibsen <[email protected]>
AuthorDate: Thu Dec 17 07:01:00 2020 +0100
CAMEL-15959: Add security label to options
---
.../catalog/docs/google-calendar-component.adoc | 12 +-
.../docs/google-calendar-stream-component.adoc | 6 +-
.../GoogleCalendarComponentConfigurer.java | 6 +-
.../calendar/GoogleCalendarEndpointConfigurer.java | 6 +-
.../calendar/GoogleCalendarEndpointUriFactory.java | 7 +-
.../GoogleCalendarStreamEndpointUriFactory.java | 7 +-
.../component/google/calendar/google-calendar.json | 16 +-
.../calendar/stream/google-calendar-stream.json | 16 +-
.../src/main/docs/google-calendar-component.adoc | 12 +-
.../docs/google-calendar-stream-component.adoc | 6 +-
.../calendar/GoogleCalendarConfiguration.java | 8 +-
.../stream/GoogleCalendarStreamConfiguration.java | 10 +-
.../dsl/GoogleCalendarComponentBuilderFactory.java | 98 ++++----
...oogleCalendarStreamComponentBuilderFactory.java | 98 ++++----
.../dsl/GoogleCalendarEndpointBuilderFactory.java | 270 ++++++++++-----------
...GoogleCalendarStreamEndpointBuilderFactory.java | 92 +++----
.../ROOT/pages/google-calendar-component.adoc | 12 +-
.../pages/google-calendar-stream-component.adoc | 6 +-
18 files changed, 347 insertions(+), 341 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/google-calendar-component.adoc
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/google-calendar-component.adoc
index 817fac1..b7df170 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/google-calendar-component.adoc
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/google-calendar-component.adoc
@@ -55,17 +55,17 @@ The Google Calendar component supports 14 options, which
are listed below.
| *applicationName* (common) | Google calendar application name. Example would
be camel-google-calendar/1.0 | | String
| *clientId* (common) | Client ID of the calendar application | | String
| *configuration* (common) | To use the shared configuration | |
GoogleCalendarConfiguration
-| *emailAddress* (common) | The emailAddress of the Google Service Account. |
| String
-| *p12FileName* (common) | The name of the p12 file which has the private key
to use with the Google Service Account. | | String
| *scopes* (common) | 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. | https://www.googleapis.com/auth/calendar | String
-| *user* (common) | The email address of the user the application is trying to
impersonate in the service account flow | | 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
| *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 [...]
| *autowiredEnabled* (advanced) | 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
type, which then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc. | true | boolean
| *clientFactory* (advanced) | To use the GoogleCalendarClientFactory as
factory for creating the client. Will by default use
BatchGoogleCalendarClientFactory | | GoogleCalendarClientFactory
| *accessToken* (security) | OAuth 2 access token. This typically expires
after an hour so refreshToken is recommended for long term usage. | | String
| *clientSecret* (security) | Client secret of the calendar application | |
String
+| *emailAddress* (security) | The emailAddress of the Google Service Account.
| | String
+| *p12FileName* (security) | The name of the p12 file which has the private
key to use with the Google Service Account. | | String
| *refreshToken* (security) | OAuth 2 refresh token. Using this, the Google
Calendar component can obtain a new accessToken whenever the current one
expires - a necessity if the application is long-lived. | | String
+| *user* (security) | The email address of the user the application is trying
to impersonate in the service account flow | | String
|===
// component options: END
@@ -98,11 +98,8 @@ with the following path and query parameters:
| Name | Description | Default | Type
| *applicationName* (common) | Google calendar application name. Example would
be camel-google-calendar/1.0 | | String
| *clientId* (common) | Client ID of the calendar application | | String
-| *emailAddress* (common) | The emailAddress of the Google Service Account. |
| String
| *inBody* (common) | Sets the name of a parameter to be passed in the
exchange In Body | | String
-| *p12FileName* (common) | The name of the p12 file which has the private key
to use with the Google Service Account. | | String
| *scopes* (common) | 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. | https://www.googleapis.com/auth/calendar | String
-| *user* (common) | The email address of the user the application is trying to
impersonate in the service account flow | | 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
| *sendEmptyMessageWhenIdle* (consumer) | If the polling consumer did not poll
any files, you can enable this option to send an empty message (no body)
instead. | false | boolean
| *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
@@ -126,7 +123,10 @@ with the following path and query parameters:
| *useFixedDelay* (scheduler) | Controls if fixed delay or fixed rate is used.
See ScheduledExecutorService in JDK for details. | true | boolean
| *accessToken* (security) | OAuth 2 access token. This typically expires
after an hour so refreshToken is recommended for long term usage. | | String
| *clientSecret* (security) | Client secret of the calendar application | |
String
+| *emailAddress* (security) | The emailAddress of the Google Service Account.
| | String
+| *p12FileName* (security) | The name of the p12 file which has the private
key to use with the Google Service Account. | | String
| *refreshToken* (security) | OAuth 2 refresh token. Using this, the Google
Calendar component can obtain a new accessToken whenever the current one
expires - a necessity if the application is long-lived. | | String
+| *user* (security) | The email address of the user the application is trying
to impersonate in the service account flow | | String
|===
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/google-calendar-stream-component.adoc
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/google-calendar-stream-component.adoc
index e0233a9..00fdac3 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/google-calendar-stream-component.adoc
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/docs/google-calendar-stream-component.adoc
@@ -68,17 +68,17 @@ The Google Calendar Stream component supports 18 options,
which are listed below
| *configuration* (consumer) | The configuration | |
GoogleCalendarStreamConfiguration
| *considerLastUpdate* (consumer) | Take into account the lastUpdate of the
last event polled as start date for the next poll | false | boolean
| *consumeFromNow* (consumer) | Consume events in the selected calendar from
now on | true | boolean
-| *emailAddress* (consumer) | The emailAddress of the Google Service Account.
| | String
| *maxResults* (consumer) | Max results to be returned | 10 | int
-| *p12FileName* (consumer) | The name of the p12 file which has the private
key to use with the Google Service Account. | | String
| *query* (consumer) | The query to execute on calendar | | String
| *scopes* (consumer) | 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. | | List
-| *user* (consumer) | The email address of the user the application is trying
to impersonate in the service account flow. | | String
| *autowiredEnabled* (advanced) | 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
type, which then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc. | true | boolean
| *clientFactory* (advanced) | The client Factory | |
GoogleCalendarClientFactory
| *accessToken* (security) | OAuth 2 access token. This typically expires
after an hour so refreshToken is recommended for long term usage. | | String
| *clientSecret* (security) | Client secret of the calendar application | |
String
+| *emailAddress* (security) | The emailAddress of the Google Service Account.
| | String
+| *p12FileName* (security) | The name of the p12 file which has the private
key to use with the Google Service Account. | | String
| *refreshToken* (security) | OAuth 2 refresh token. Using this, the Google
Calendar component can obtain a new accessToken whenever the current one
expires - a necessity if the application is long-lived. | | String
+| *user* (security) | The email address of the user the application is trying
to impersonate in the service account flow. | | String
|===
// component options: END
diff --git
a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarComponentConfigurer.java
b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarComponentConfigurer.java
index 3229bc3..465a53f 100644
---
a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarComponentConfigurer.java
+++
b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarComponentConfigurer.java
@@ -23,17 +23,17 @@ public class GoogleCalendarComponentConfigurer extends
PropertyConfigurerSupport
map.put("applicationName", java.lang.String.class);
map.put("clientId", java.lang.String.class);
map.put("configuration",
org.apache.camel.component.google.calendar.GoogleCalendarConfiguration.class);
- map.put("emailAddress", java.lang.String.class);
- map.put("p12FileName", java.lang.String.class);
map.put("scopes", java.lang.String.class);
- map.put("user", java.lang.String.class);
map.put("bridgeErrorHandler", boolean.class);
map.put("lazyStartProducer", boolean.class);
map.put("autowiredEnabled", boolean.class);
map.put("clientFactory",
org.apache.camel.component.google.calendar.GoogleCalendarClientFactory.class);
map.put("accessToken", java.lang.String.class);
map.put("clientSecret", java.lang.String.class);
+ map.put("emailAddress", java.lang.String.class);
+ map.put("p12FileName", java.lang.String.class);
map.put("refreshToken", java.lang.String.class);
+ map.put("user", java.lang.String.class);
ALL_OPTIONS = map;
}
diff --git
a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarEndpointConfigurer.java
b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarEndpointConfigurer.java
index 0dd092a..c728395 100644
---
a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarEndpointConfigurer.java
+++
b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarEndpointConfigurer.java
@@ -24,11 +24,8 @@ public class GoogleCalendarEndpointConfigurer extends
PropertyConfigurerSupport
map.put("methodName", java.lang.String.class);
map.put("applicationName", java.lang.String.class);
map.put("clientId", java.lang.String.class);
- map.put("emailAddress", java.lang.String.class);
map.put("inBody", java.lang.String.class);
- map.put("p12FileName", java.lang.String.class);
map.put("scopes", java.lang.String.class);
- map.put("user", java.lang.String.class);
map.put("bridgeErrorHandler", boolean.class);
map.put("sendEmptyMessageWhenIdle", boolean.class);
map.put("exceptionHandler",
org.apache.camel.spi.ExceptionHandler.class);
@@ -52,7 +49,10 @@ public class GoogleCalendarEndpointConfigurer extends
PropertyConfigurerSupport
map.put("useFixedDelay", boolean.class);
map.put("accessToken", java.lang.String.class);
map.put("clientSecret", java.lang.String.class);
+ map.put("emailAddress", java.lang.String.class);
+ map.put("p12FileName", java.lang.String.class);
map.put("refreshToken", java.lang.String.class);
+ map.put("user", java.lang.String.class);
ALL_OPTIONS = map;
}
diff --git
a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarEndpointUriFactory.java
b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarEndpointUriFactory.java
index 9b4d856..901120c 100644
---
a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarEndpointUriFactory.java
+++
b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/GoogleCalendarEndpointUriFactory.java
@@ -59,13 +59,16 @@ public class GoogleCalendarEndpointUriFactory extends
org.apache.camel.support.c
props.add("startScheduler");
props.add("scopes");
props.add("inBody");
- props.add("user");
props.add("exceptionHandler");
+ props.add("user");
props.add("refreshToken");
PROPERTY_NAMES = Collections.unmodifiableSet(props);
- Set<String> secretProps = new HashSet<>(3);
+ Set<String> secretProps = new HashSet<>(6);
+ secretProps.add("emailAddress");
+ secretProps.add("p12FileName");
secretProps.add("clientSecret");
secretProps.add("accessToken");
+ secretProps.add("user");
secretProps.add("refreshToken");
SECRET_PROPERTY_NAMES = Collections.unmodifiableSet(secretProps);
}
diff --git
a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointUriFactory.java
b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointUriFactory.java
index 67b59d7..39327e5 100644
---
a/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointUriFactory.java
+++
b/components/camel-google-calendar/src/generated/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamEndpointUriFactory.java
@@ -60,13 +60,16 @@ public class GoogleCalendarStreamEndpointUriFactory extends
org.apache.camel.sup
props.add("pollStrategy");
props.add("startScheduler");
props.add("scopes");
- props.add("user");
props.add("exceptionHandler");
+ props.add("user");
props.add("refreshToken");
PROPERTY_NAMES = Collections.unmodifiableSet(props);
- Set<String> secretProps = new HashSet<>(3);
+ Set<String> secretProps = new HashSet<>(6);
+ secretProps.add("emailAddress");
+ secretProps.add("p12FileName");
secretProps.add("clientSecret");
secretProps.add("accessToken");
+ secretProps.add("user");
secretProps.add("refreshToken");
SECRET_PROPERTY_NAMES = Collections.unmodifiableSet(secretProps);
}
diff --git
a/components/camel-google-calendar/src/generated/resources/org/apache/camel/component/google/calendar/google-calendar.json
b/components/camel-google-calendar/src/generated/resources/org/apache/camel/component/google/calendar/google-calendar.json
index 60ed6b0..e9f3db0 100644
---
a/components/camel-google-calendar/src/generated/resources/org/apache/camel/component/google/calendar/google-calendar.json
+++
b/components/camel-google-calendar/src/generated/resources/org/apache/camel/component/google/calendar/google-calendar.json
@@ -26,28 +26,25 @@
"applicationName": { "kind": "property", "displayName": "Application
Name", "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": "Google calendar
application name. Example would be camel-google-calendar\/1.0" },
"clientId": { "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": { "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" },
- "emailAddress": { "kind": "property", "displayName": "Email Address",
"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": "The emailAddress of the
Google Service Account." },
- "p12FileName": { "kind": "property", "displayName": "P12 File Name",
"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": "The name of the p12 file
which has the private key to use with the Google Service Account." },
"scopes": { "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 calendar ap [...]
- "user": { "kind": "property", "displayName": "User", "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": "The email address of the
user the application is trying to impersonate in the service account flow" },
"bridgeErrorHandler": { "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 occurred
while the consumer is trying to pickup incoming messages, or the likes, will
now be processed as a me [...]
"lazyStartProducer": { "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 during star [...]
"autowiredEnabled": { "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 type, which t [...]
"clientFactory": { "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": "To
use the GoogleCalendarClientFactory as factory for creating the client. Will by
default use BatchGoogleCalendarClientFactory" },
"accessToken": { "kind": "property", "displayName": "Access Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "OAuth 2 access token.
This typically expires after an hour so refreshToken is recommended for long te
[...]
"clientSecret": { "kind": "property", "displayName": "Client Secret",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "Client secret of the
calendar application" },
- "refreshToken": { "kind": "property", "displayName": "Refresh Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "OAuth 2 refresh token.
Using this, the Google Calendar component can obtain a new accessToken whene
[...]
+ "emailAddress": { "kind": "property", "displayName": "Email Address",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "The emailAddress of the
Google Service Account." },
+ "p12FileName": { "kind": "property", "displayName": "P12 File Name",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "The name of the p12 file
which has the private key to use with the Google Service Account." },
+ "refreshToken": { "kind": "property", "displayName": "Refresh Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "OAuth 2 refresh token.
Using this, the Google Calendar component can obtain a new accessToken whene
[...]
+ "user": { "kind": "property", "displayName": "User", "group": "security",
"label": "security", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "The email address of the
user the application is trying to impersonate in the service account flow" }
},
"properties": {
"apiName": { "kind": "path", "displayName": "Api Name", "group": "common",
"label": "", "required": true, "type": "object", "javaType":
"org.apache.camel.component.google.calendar.internal.GoogleCalendarApiName",
"enum": [ "ACL", "LIST", "CALENDARS", "CHANNELS", "COLORS", "FREEBUSY",
"EVENTS", "SETTINGS" ], "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration", "c
[...]
"methodName": { "kind": "path", "displayName": "Method Name", "group":
"common", "label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "enum": [ "calendarImport", "clear", "delete", "get",
"insert", "instances", "list", "move", "patch", "query", "quickAdd", "stop",
"update", "watch" ], "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration [...]
"applicationName": { "kind": "parameter", "displayName": "Application
Name", "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": "Google calendar
application name. Example would be camel-google-calendar\/1.0" },
"clientId": { "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" },
- "emailAddress": { "kind": "parameter", "displayName": "Email Address",
"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": "The emailAddress of the
Google Service Account." },
"inBody": { "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" },
- "p12FileName": { "kind": "parameter", "displayName": "P12 File Name",
"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": "The name of the p12 file
which has the private key to use with the Google Service Account." },
"scopes": { "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 a calendar a [...]
- "user": { "kind": "parameter", "displayName": "User", "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": "The email address of the
user the application is trying to impersonate in the service account flow" },
"bridgeErrorHandler": { "kind": "parameter", "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 occurred
while the consumer is trying to pickup incoming messages, or the likes, will
now be processed as a m [...]
"sendEmptyMessageWhenIdle": { "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." },
"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, "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 default the
con [...]
@@ -71,7 +68,10 @@
"useFixedDelay": { "kind": "parameter", "displayName": "Use Fixed Delay",
"group": "scheduler", "label": "consumer,scheduler", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Controls if fixed delay
or fixed rate is used. See ScheduledExecutorService in JDK for details." },
"accessToken": { "kind": "parameter", "displayName": "Access Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "OAuth 2 access token.
This typically expires after an hour so refreshToken is recommended for long t
[...]
"clientSecret": { "kind": "parameter", "displayName": "Client Secret",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "Client secret of the
calendar application" },
- "refreshToken": { "kind": "parameter", "displayName": "Refresh Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "OAuth 2 refresh token.
Using this, the Google Calendar component can obtain a new accessToken when
[...]
+ "emailAddress": { "kind": "parameter", "displayName": "Email Address",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "The emailAddress of the
Google Service Account." },
+ "p12FileName": { "kind": "parameter", "displayName": "P12 File Name",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "The name of the p12 file
which has the private key to use with the Google Service Account." },
+ "refreshToken": { "kind": "parameter", "displayName": "Refresh Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "OAuth 2 refresh token.
Using this, the Google Calendar component can obtain a new accessToken when
[...]
+ "user": { "kind": "parameter", "displayName": "User", "group": "security",
"label": "security", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass":
"org.apache.camel.component.google.calendar.GoogleCalendarConfiguration",
"configurationField": "configuration", "description": "The email address of the
user the application is trying to impersonate in the service account flow" }
},
"apis": {
"acl": { "consumerOnly": false, "producerOnly": false, "description": "The
acl collection of methods", "methods": { "delete": { "description": "Deletes an
access control rule", "signatures": [
"com.google.api.services.calendar.Calendar$Acl$Delete delete(String calendarId,
String ruleId)" ] }, "get": { "description": "Returns an access control rule",
"signatures": [ "com.google.api.services.calendar.Calendar$Acl$Get get(String
calendarId, String ruleId)" ] }, "insert": { "description" [...]
diff --git
a/components/camel-google-calendar/src/generated/resources/org/apache/camel/component/google/calendar/stream/google-calendar-stream.json
b/components/camel-google-calendar/src/generated/resources/org/apache/camel/component/google/calendar/stream/google-calendar-stream.json
index f123d42..2669f35 100644
---
a/components/camel-google-calendar/src/generated/resources/org/apache/camel/component/google/calendar/stream/google-calendar-stream.json
+++
b/components/camel-google-calendar/src/generated/resources/org/apache/camel/component/google/calendar/stream/google-calendar-stream.json
@@ -29,17 +29,17 @@
"configuration": { "kind": "property", "displayName": "Configuration",
"group": "consumer", "label": "", "required": false, "type": "object",
"javaType":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"deprecated": false, "autowired": false, "secret": false, "description": "The
configuration" },
"considerLastUpdate": { "kind": "property", "displayName": "Consider Last
Update", "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": "Take into account the
lastUpdate of the last event polled as star [...]
"consumeFromNow": { "kind": "property", "displayName": "Consume From Now",
"group": "consumer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "Consume events in the
selected calendar from now on" },
- "emailAddress": { "kind": "property", "displayName": "Email Address",
"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 emailAddress of the
Google Service Account." },
"maxResults": { "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" },
- "p12FileName": { "kind": "property", "displayName": "P12 File Name",
"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 name of the p12
file which has the private key to use with the Google Service Account." },
"query": { "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": { "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 a user accoun [...]
- "user": { "kind": "property", "displayName": "User", "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 email address of
the user the application is trying to impersonate in the service account flow."
},
"autowiredEnabled": { "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 type, which t [...]
"clientFactory": { "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" },
"accessToken": { "kind": "property", "displayName": "Access Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "OAuth 2 access token.
This typically expires after an hour so refreshToken is recommende [...]
"clientSecret": { "kind": "property", "displayName": "Client Secret",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "Client secret of the
calendar application" },
- "refreshToken": { "kind": "property", "displayName": "Refresh Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "OAuth 2 refresh token.
Using this, the Google Calendar component can obtain a new acce [...]
+ "emailAddress": { "kind": "property", "displayName": "Email Address",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "The emailAddress of the
Google Service Account." },
+ "p12FileName": { "kind": "property", "displayName": "P12 File Name",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "The name of the p12
file which has the private key to use with the Google Service Account." },
+ "refreshToken": { "kind": "property", "displayName": "Refresh Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "OAuth 2 refresh token.
Using this, the Google Calendar component can obtain a new acce [...]
+ "user": { "kind": "property", "displayName": "User", "group": "security",
"label": "security", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "The email address of
the user the application is trying to impersonate in the service account flow."
}
},
"properties": {
"index": { "kind": "path", "displayName": "Index", "group": "consumer",
"label": "", "required": true, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "deprecationNote": "", "autowired":
false, "secret": false, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "Specifies an index for
the endpoint" },
@@ -49,13 +49,10 @@
"clientId": { "kind": "parameter", "displayName": "Client Id", "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": "Client ID of the
calendar application" },
"considerLastUpdate": { "kind": "parameter", "displayName": "Consider Last
Update", "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": "Take into account the
lastUpdate of the last event polled as sta [...]
"consumeFromNow": { "kind": "parameter", "displayName": "Consume From
Now", "group": "consumer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": true, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "Consume events in the
selected calendar from now on" },
- "emailAddress": { "kind": "parameter", "displayName": "Email Address",
"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 emailAddress of the
Google Service Account." },
"maxResults": { "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" },
- "p12FileName": { "kind": "parameter", "displayName": "P12 File Name",
"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 name of the p12
file which has the private key to use with the Google Service Account." },
"query": { "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": { "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 a user accou [...]
"sendEmptyMessageWhenIdle": { "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." },
- "user": { "kind": "parameter", "displayName": "User", "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 email address of
the user the application is trying to impersonate in the service account flow."
},
"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, "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 default the
con [...]
"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, "autowired": false, "secret": false,
"description": "Sets the exchange pattern when the consumer creates an
exchange." },
"pollStrategy": { "kind": "parameter", "displayName": "Poll Strategy",
"group": "consumer (advanced)", "label": "consumer,advanced", "required":
false, "type": "object", "javaType":
"org.apache.camel.spi.PollingConsumerPollStrategy", "deprecated": false,
"autowired": false, "secret": false, "description": "A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the
poll operation [...]
@@ -76,7 +73,10 @@
"useFixedDelay": { "kind": "parameter", "displayName": "Use Fixed Delay",
"group": "scheduler", "label": "consumer,scheduler", "required": false, "type":
"boolean", "javaType": "boolean", "deprecated": false, "autowired": false,
"secret": false, "defaultValue": true, "description": "Controls if fixed delay
or fixed rate is used. See ScheduledExecutorService in JDK for details." },
"accessToken": { "kind": "parameter", "displayName": "Access Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "OAuth 2 access token.
This typically expires after an hour so refreshToken is recommend [...]
"clientSecret": { "kind": "parameter", "displayName": "Client Secret",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "Client secret of the
calendar application" },
- "refreshToken": { "kind": "parameter", "displayName": "Refresh Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "OAuth 2 refresh token.
Using this, the Google Calendar component can obtain a new acc [...]
+ "emailAddress": { "kind": "parameter", "displayName": "Email Address",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "The emailAddress of the
Google Service Account." },
+ "p12FileName": { "kind": "parameter", "displayName": "P12 File Name",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "The name of the p12
file which has the private key to use with the Google Service Acco [...]
+ "refreshToken": { "kind": "parameter", "displayName": "Refresh Token",
"group": "security", "label": "security", "required": false, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "autowired": false,
"secret": true, "configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "OAuth 2 refresh token.
Using this, the Google Calendar component can obtain a new acc [...]
+ "user": { "kind": "parameter", "displayName": "User", "group": "security",
"label": "security", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": true,
"configurationClass":
"org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration",
"configurationField": "configuration", "description": "The email address of
the user the application is trying to impersonate in the service account flow."
}
},
"apis": {
"acl": { "consumerOnly": true, "producerOnly": false, "description": "The
acl collection of methods", "methods": { "delete": { "description": "Deletes an
access control rule", "signatures": [
"com.google.api.services.calendar.Calendar$Acl$Delete delete(String calendarId,
String ruleId)" ] }, "get": { "description": "Returns an access control rule",
"signatures": [ "com.google.api.services.calendar.Calendar$Acl$Get get(String
calendarId, String ruleId)" ] }, "insert": { "description": [...]
diff --git
a/components/camel-google-calendar/src/main/docs/google-calendar-component.adoc
b/components/camel-google-calendar/src/main/docs/google-calendar-component.adoc
index 817fac1..b7df170 100644
---
a/components/camel-google-calendar/src/main/docs/google-calendar-component.adoc
+++
b/components/camel-google-calendar/src/main/docs/google-calendar-component.adoc
@@ -55,17 +55,17 @@ The Google Calendar component supports 14 options, which
are listed below.
| *applicationName* (common) | Google calendar application name. Example would
be camel-google-calendar/1.0 | | String
| *clientId* (common) | Client ID of the calendar application | | String
| *configuration* (common) | To use the shared configuration | |
GoogleCalendarConfiguration
-| *emailAddress* (common) | The emailAddress of the Google Service Account. |
| String
-| *p12FileName* (common) | The name of the p12 file which has the private key
to use with the Google Service Account. | | String
| *scopes* (common) | 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. | https://www.googleapis.com/auth/calendar | String
-| *user* (common) | The email address of the user the application is trying to
impersonate in the service account flow | | 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
| *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 [...]
| *autowiredEnabled* (advanced) | 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
type, which then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc. | true | boolean
| *clientFactory* (advanced) | To use the GoogleCalendarClientFactory as
factory for creating the client. Will by default use
BatchGoogleCalendarClientFactory | | GoogleCalendarClientFactory
| *accessToken* (security) | OAuth 2 access token. This typically expires
after an hour so refreshToken is recommended for long term usage. | | String
| *clientSecret* (security) | Client secret of the calendar application | |
String
+| *emailAddress* (security) | The emailAddress of the Google Service Account.
| | String
+| *p12FileName* (security) | The name of the p12 file which has the private
key to use with the Google Service Account. | | String
| *refreshToken* (security) | OAuth 2 refresh token. Using this, the Google
Calendar component can obtain a new accessToken whenever the current one
expires - a necessity if the application is long-lived. | | String
+| *user* (security) | The email address of the user the application is trying
to impersonate in the service account flow | | String
|===
// component options: END
@@ -98,11 +98,8 @@ with the following path and query parameters:
| Name | Description | Default | Type
| *applicationName* (common) | Google calendar application name. Example would
be camel-google-calendar/1.0 | | String
| *clientId* (common) | Client ID of the calendar application | | String
-| *emailAddress* (common) | The emailAddress of the Google Service Account. |
| String
| *inBody* (common) | Sets the name of a parameter to be passed in the
exchange In Body | | String
-| *p12FileName* (common) | The name of the p12 file which has the private key
to use with the Google Service Account. | | String
| *scopes* (common) | 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. | https://www.googleapis.com/auth/calendar | String
-| *user* (common) | The email address of the user the application is trying to
impersonate in the service account flow | | 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
| *sendEmptyMessageWhenIdle* (consumer) | If the polling consumer did not poll
any files, you can enable this option to send an empty message (no body)
instead. | false | boolean
| *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
@@ -126,7 +123,10 @@ with the following path and query parameters:
| *useFixedDelay* (scheduler) | Controls if fixed delay or fixed rate is used.
See ScheduledExecutorService in JDK for details. | true | boolean
| *accessToken* (security) | OAuth 2 access token. This typically expires
after an hour so refreshToken is recommended for long term usage. | | String
| *clientSecret* (security) | Client secret of the calendar application | |
String
+| *emailAddress* (security) | The emailAddress of the Google Service Account.
| | String
+| *p12FileName* (security) | The name of the p12 file which has the private
key to use with the Google Service Account. | | String
| *refreshToken* (security) | OAuth 2 refresh token. Using this, the Google
Calendar component can obtain a new accessToken whenever the current one
expires - a necessity if the application is long-lived. | | String
+| *user* (security) | The email address of the user the application is trying
to impersonate in the service account flow | | String
|===
diff --git
a/components/camel-google-calendar/src/main/docs/google-calendar-stream-component.adoc
b/components/camel-google-calendar/src/main/docs/google-calendar-stream-component.adoc
index e0233a9..00fdac3 100644
---
a/components/camel-google-calendar/src/main/docs/google-calendar-stream-component.adoc
+++
b/components/camel-google-calendar/src/main/docs/google-calendar-stream-component.adoc
@@ -68,17 +68,17 @@ The Google Calendar Stream component supports 18 options,
which are listed below
| *configuration* (consumer) | The configuration | |
GoogleCalendarStreamConfiguration
| *considerLastUpdate* (consumer) | Take into account the lastUpdate of the
last event polled as start date for the next poll | false | boolean
| *consumeFromNow* (consumer) | Consume events in the selected calendar from
now on | true | boolean
-| *emailAddress* (consumer) | The emailAddress of the Google Service Account.
| | String
| *maxResults* (consumer) | Max results to be returned | 10 | int
-| *p12FileName* (consumer) | The name of the p12 file which has the private
key to use with the Google Service Account. | | String
| *query* (consumer) | The query to execute on calendar | | String
| *scopes* (consumer) | 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. | | List
-| *user* (consumer) | The email address of the user the application is trying
to impersonate in the service account flow. | | String
| *autowiredEnabled* (advanced) | 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
type, which then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc. | true | boolean
| *clientFactory* (advanced) | The client Factory | |
GoogleCalendarClientFactory
| *accessToken* (security) | OAuth 2 access token. This typically expires
after an hour so refreshToken is recommended for long term usage. | | String
| *clientSecret* (security) | Client secret of the calendar application | |
String
+| *emailAddress* (security) | The emailAddress of the Google Service Account.
| | String
+| *p12FileName* (security) | The name of the p12 file which has the private
key to use with the Google Service Account. | | String
| *refreshToken* (security) | OAuth 2 refresh token. Using this, the Google
Calendar component can obtain a new accessToken whenever the current one
expires - a necessity if the application is long-lived. | | String
+| *user* (security) | The email address of the user the application is trying
to impersonate in the service account flow. | | String
|===
// component options: END
diff --git
a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/GoogleCalendarConfiguration.java
b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/GoogleCalendarConfiguration.java
index 9f7e64b..b0631437 100644
---
a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/GoogleCalendarConfiguration.java
+++
b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/GoogleCalendarConfiguration.java
@@ -42,6 +42,8 @@ public class GoogleCalendarConfiguration {
@UriParam
private String clientId;
@UriParam
+ private String applicationName;
+ @UriParam(label = "security", secret = true)
private String emailAddress;
@UriParam(label = "security", secret = true)
private String clientSecret;
@@ -49,11 +51,9 @@ public class GoogleCalendarConfiguration {
private String accessToken;
@UriParam(label = "security", secret = true)
private String refreshToken;
- @UriParam
- private String applicationName;
- @UriParam
+ @UriParam(label = "security", secret = true)
private String p12FileName;
- @UriParam
+ @UriParam(label = "security", secret = true)
private String user;
public GoogleCalendarApiName getApiName() {
diff --git
a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamConfiguration.java
b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamConfiguration.java
index 6372531..60d7341 100644
---
a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamConfiguration.java
+++
b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/stream/GoogleCalendarStreamConfiguration.java
@@ -41,18 +41,18 @@ public class GoogleCalendarStreamConfiguration implements
Cloneable {
@UriParam
private String clientId;
@UriParam
- private String emailAddress;
+ private String applicationName;
@UriParam(label = "security", secret = true)
private String clientSecret;
@UriParam(label = "security", secret = true)
private String accessToken;
@UriParam(label = "security", secret = true)
private String refreshToken;
- @UriParam
- private String applicationName;
- @UriParam
+ @UriParam(label = "security", secret = true)
private String p12FileName;
- @UriParam
+ @UriParam(label = "security", secret = true)
+ private String emailAddress;
+ @UriParam(label = "security", secret = true)
private String user;
@UriParam
private String query;
diff --git
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarComponentBuilderFactory.java
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarComponentBuilderFactory.java
index 050a4d4..f43276e 100644
---
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarComponentBuilderFactory.java
+++
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarComponentBuilderFactory.java
@@ -98,37 +98,6 @@ public interface GoogleCalendarComponentBuilderFactory {
return this;
}
/**
- * The emailAddress of the Google Service Account.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param emailAddress the value to set
- * @return the dsl builder
- */
- default GoogleCalendarComponentBuilder emailAddress(
- java.lang.String emailAddress) {
- doSetProperty("emailAddress", emailAddress);
- return this;
- }
- /**
- * The name of the p12 file which has the private key to use with the
- * Google Service Account.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param p12FileName the value to set
- * @return the dsl builder
- */
- default GoogleCalendarComponentBuilder p12FileName(
- java.lang.String p12FileName) {
- doSetProperty("p12FileName", p12FileName);
- return this;
- }
- /**
* 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
@@ -147,21 +116,6 @@ public interface GoogleCalendarComponentBuilderFactory {
return this;
}
/**
- * The email address of the user the application is trying to
- * impersonate in the service account flow.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param user the value to set
- * @return the dsl builder
- */
- default GoogleCalendarComponentBuilder user(java.lang.String user) {
- doSetProperty("user", user);
- 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
@@ -277,6 +231,37 @@ public interface GoogleCalendarComponentBuilderFactory {
return this;
}
/**
+ * The emailAddress of the Google Service Account.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param emailAddress the value to set
+ * @return the dsl builder
+ */
+ default GoogleCalendarComponentBuilder emailAddress(
+ java.lang.String emailAddress) {
+ doSetProperty("emailAddress", emailAddress);
+ return this;
+ }
+ /**
+ * The name of the p12 file which has the private key to use with the
+ * Google Service Account.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param p12FileName the value to set
+ * @return the dsl builder
+ */
+ default GoogleCalendarComponentBuilder p12FileName(
+ java.lang.String p12FileName) {
+ doSetProperty("p12FileName", p12FileName);
+ return this;
+ }
+ /**
* OAuth 2 refresh token. Using this, the Google Calendar component can
* obtain a new accessToken whenever the current one expires - a
* necessity if the application is long-lived.
@@ -293,6 +278,21 @@ public interface GoogleCalendarComponentBuilderFactory {
doSetProperty("refreshToken", refreshToken);
return this;
}
+ /**
+ * The email address of the user the application is trying to
+ * impersonate in the service account flow.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param user the value to set
+ * @return the dsl builder
+ */
+ default GoogleCalendarComponentBuilder user(java.lang.String user) {
+ doSetProperty("user", user);
+ return this;
+ }
}
class GoogleCalendarComponentBuilderImpl
@@ -320,17 +320,17 @@ public interface GoogleCalendarComponentBuilderFactory {
case "applicationName":
getOrCreateConfiguration((GoogleCalendarComponent)
component).setApplicationName((java.lang.String) value); return true;
case "clientId":
getOrCreateConfiguration((GoogleCalendarComponent)
component).setClientId((java.lang.String) value); return true;
case "configuration": ((GoogleCalendarComponent)
component).setConfiguration((org.apache.camel.component.google.calendar.GoogleCalendarConfiguration)
value); return true;
- case "emailAddress":
getOrCreateConfiguration((GoogleCalendarComponent)
component).setEmailAddress((java.lang.String) value); return true;
- case "p12FileName":
getOrCreateConfiguration((GoogleCalendarComponent)
component).setP12FileName((java.lang.String) value); return true;
case "scopes": getOrCreateConfiguration((GoogleCalendarComponent)
component).setScopes((java.lang.String) value); return true;
- case "user": getOrCreateConfiguration((GoogleCalendarComponent)
component).setUser((java.lang.String) value); return true;
case "bridgeErrorHandler": ((GoogleCalendarComponent)
component).setBridgeErrorHandler((boolean) value); return true;
case "lazyStartProducer": ((GoogleCalendarComponent)
component).setLazyStartProducer((boolean) value); return true;
case "autowiredEnabled": ((GoogleCalendarComponent)
component).setAutowiredEnabled((boolean) value); return true;
case "clientFactory": ((GoogleCalendarComponent)
component).setClientFactory((org.apache.camel.component.google.calendar.GoogleCalendarClientFactory)
value); return true;
case "accessToken":
getOrCreateConfiguration((GoogleCalendarComponent)
component).setAccessToken((java.lang.String) value); return true;
case "clientSecret":
getOrCreateConfiguration((GoogleCalendarComponent)
component).setClientSecret((java.lang.String) value); return true;
+ case "emailAddress":
getOrCreateConfiguration((GoogleCalendarComponent)
component).setEmailAddress((java.lang.String) value); return true;
+ case "p12FileName":
getOrCreateConfiguration((GoogleCalendarComponent)
component).setP12FileName((java.lang.String) value); return true;
case "refreshToken":
getOrCreateConfiguration((GoogleCalendarComponent)
component).setRefreshToken((java.lang.String) value); return true;
+ case "user": getOrCreateConfiguration((GoogleCalendarComponent)
component).setUser((java.lang.String) value); return true;
default: return false;
}
}
diff --git
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarStreamComponentBuilderFactory.java
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarStreamComponentBuilderFactory.java
index 49a5d35..cea4048 100644
---
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarStreamComponentBuilderFactory.java
+++
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/GoogleCalendarStreamComponentBuilderFactory.java
@@ -169,21 +169,6 @@ public interface
GoogleCalendarStreamComponentBuilderFactory {
return this;
}
/**
- * The emailAddress of the Google Service Account.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: consumer
- *
- * @param emailAddress the value to set
- * @return the dsl builder
- */
- default GoogleCalendarStreamComponentBuilder emailAddress(
- java.lang.String emailAddress) {
- doSetProperty("emailAddress", emailAddress);
- return this;
- }
- /**
* Max results to be returned.
*
* The option is a: <code>int</code> type.
@@ -199,22 +184,6 @@ public interface
GoogleCalendarStreamComponentBuilderFactory {
return this;
}
/**
- * The name of the p12 file which has the private key to use with the
- * Google Service Account.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: consumer
- *
- * @param p12FileName the value to set
- * @return the dsl builder
- */
- default GoogleCalendarStreamComponentBuilder p12FileName(
- java.lang.String p12FileName) {
- doSetProperty("p12FileName", p12FileName);
- return this;
- }
- /**
* The query to execute on calendar.
*
* The option is a: <code>java.lang.String</code> type.
@@ -248,21 +217,6 @@ public interface
GoogleCalendarStreamComponentBuilderFactory {
return this;
}
/**
- * The email address of the user the application is trying to
- * impersonate in the service account flow.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: consumer
- *
- * @param user the value to set
- * @return the dsl builder
- */
- default GoogleCalendarStreamComponentBuilder user(java.lang.String
user) {
- doSetProperty("user", user);
- return this;
- }
- /**
* 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 type,
@@ -331,6 +285,37 @@ public interface
GoogleCalendarStreamComponentBuilderFactory {
return this;
}
/**
+ * The emailAddress of the Google Service Account.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param emailAddress the value to set
+ * @return the dsl builder
+ */
+ default GoogleCalendarStreamComponentBuilder emailAddress(
+ java.lang.String emailAddress) {
+ doSetProperty("emailAddress", emailAddress);
+ return this;
+ }
+ /**
+ * The name of the p12 file which has the private key to use with the
+ * Google Service Account.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param p12FileName the value to set
+ * @return the dsl builder
+ */
+ default GoogleCalendarStreamComponentBuilder p12FileName(
+ java.lang.String p12FileName) {
+ doSetProperty("p12FileName", p12FileName);
+ return this;
+ }
+ /**
* OAuth 2 refresh token. Using this, the Google Calendar component can
* obtain a new accessToken whenever the current one expires - a
* necessity if the application is long-lived.
@@ -347,6 +332,21 @@ public interface
GoogleCalendarStreamComponentBuilderFactory {
doSetProperty("refreshToken", refreshToken);
return this;
}
+ /**
+ * The email address of the user the application is trying to
+ * impersonate in the service account flow.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param user the value to set
+ * @return the dsl builder
+ */
+ default GoogleCalendarStreamComponentBuilder user(java.lang.String
user) {
+ doSetProperty("user", user);
+ return this;
+ }
}
class GoogleCalendarStreamComponentBuilderImpl
@@ -378,17 +378,17 @@ public interface
GoogleCalendarStreamComponentBuilderFactory {
case "configuration": ((GoogleCalendarStreamComponent)
component).setConfiguration((org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamConfiguration)
value); return true;
case "considerLastUpdate":
getOrCreateConfiguration((GoogleCalendarStreamComponent)
component).setConsiderLastUpdate((boolean) value); return true;
case "consumeFromNow":
getOrCreateConfiguration((GoogleCalendarStreamComponent)
component).setConsumeFromNow((boolean) value); return true;
- case "emailAddress":
getOrCreateConfiguration((GoogleCalendarStreamComponent)
component).setEmailAddress((java.lang.String) value); return true;
case "maxResults":
getOrCreateConfiguration((GoogleCalendarStreamComponent)
component).setMaxResults((int) value); return true;
- case "p12FileName":
getOrCreateConfiguration((GoogleCalendarStreamComponent)
component).setP12FileName((java.lang.String) value); return true;
case "query":
getOrCreateConfiguration((GoogleCalendarStreamComponent)
component).setQuery((java.lang.String) value); return true;
case "scopes":
getOrCreateConfiguration((GoogleCalendarStreamComponent)
component).setScopes((java.util.List) value); return true;
- case "user":
getOrCreateConfiguration((GoogleCalendarStreamComponent)
component).setUser((java.lang.String) value); return true;
case "autowiredEnabled": ((GoogleCalendarStreamComponent)
component).setAutowiredEnabled((boolean) value); return true;
case "clientFactory": ((GoogleCalendarStreamComponent)
component).setClientFactory((org.apache.camel.component.google.calendar.GoogleCalendarClientFactory)
value); return true;
case "accessToken":
getOrCreateConfiguration((GoogleCalendarStreamComponent)
component).setAccessToken((java.lang.String) value); return true;
case "clientSecret":
getOrCreateConfiguration((GoogleCalendarStreamComponent)
component).setClientSecret((java.lang.String) value); return true;
+ case "emailAddress":
getOrCreateConfiguration((GoogleCalendarStreamComponent)
component).setEmailAddress((java.lang.String) value); return true;
+ case "p12FileName":
getOrCreateConfiguration((GoogleCalendarStreamComponent)
component).setP12FileName((java.lang.String) value); return true;
case "refreshToken":
getOrCreateConfiguration((GoogleCalendarStreamComponent)
component).setRefreshToken((java.lang.String) value); return true;
+ case "user":
getOrCreateConfiguration((GoogleCalendarStreamComponent)
component).setUser((java.lang.String) value); return true;
default: return false;
}
}
diff --git
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarEndpointBuilderFactory.java
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarEndpointBuilderFactory.java
index 645733e..cdd6582 100644
---
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarEndpointBuilderFactory.java
+++
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarEndpointBuilderFactory.java
@@ -77,21 +77,6 @@ public interface GoogleCalendarEndpointBuilderFactory {
return this;
}
/**
- * The emailAddress of the Google Service Account.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param emailAddress the value to set
- * @return the dsl builder
- */
- default GoogleCalendarEndpointConsumerBuilder emailAddress(
- String emailAddress) {
- doSetProperty("emailAddress", emailAddress);
- return this;
- }
- /**
* Sets the name of a parameter to be passed in the exchange In Body.
*
* The option is a: <code>java.lang.String</code> type.
@@ -106,22 +91,6 @@ public interface GoogleCalendarEndpointBuilderFactory {
return this;
}
/**
- * The name of the p12 file which has the private key to use with the
- * Google Service Account.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param p12FileName the value to set
- * @return the dsl builder
- */
- default GoogleCalendarEndpointConsumerBuilder p12FileName(
- String p12FileName) {
- doSetProperty("p12FileName", p12FileName);
- return this;
- }
- /**
* 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
@@ -140,21 +109,6 @@ public interface GoogleCalendarEndpointBuilderFactory {
return this;
}
/**
- * The email address of the user the application is trying to
- * impersonate in the service account flow.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param user the value to set
- * @return the dsl builder
- */
- default GoogleCalendarEndpointConsumerBuilder user(String user) {
- doSetProperty("user", user);
- 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
@@ -748,6 +702,37 @@ public interface GoogleCalendarEndpointBuilderFactory {
return this;
}
/**
+ * The emailAddress of the Google Service Account.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param emailAddress the value to set
+ * @return the dsl builder
+ */
+ default GoogleCalendarEndpointConsumerBuilder emailAddress(
+ String emailAddress) {
+ doSetProperty("emailAddress", emailAddress);
+ return this;
+ }
+ /**
+ * The name of the p12 file which has the private key to use with the
+ * Google Service Account.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param p12FileName the value to set
+ * @return the dsl builder
+ */
+ default GoogleCalendarEndpointConsumerBuilder p12FileName(
+ String p12FileName) {
+ doSetProperty("p12FileName", p12FileName);
+ return this;
+ }
+ /**
* OAuth 2 refresh token. Using this, the Google Calendar component can
* obtain a new accessToken whenever the current one expires - a
* necessity if the application is long-lived.
@@ -764,6 +749,21 @@ public interface GoogleCalendarEndpointBuilderFactory {
doSetProperty("refreshToken", refreshToken);
return this;
}
+ /**
+ * The email address of the user the application is trying to
+ * impersonate in the service account flow.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param user the value to set
+ * @return the dsl builder
+ */
+ default GoogleCalendarEndpointConsumerBuilder user(String user) {
+ doSetProperty("user", user);
+ return this;
+ }
}
/**
@@ -961,21 +961,6 @@ public interface GoogleCalendarEndpointBuilderFactory {
return this;
}
/**
- * The emailAddress of the Google Service Account.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param emailAddress the value to set
- * @return the dsl builder
- */
- default GoogleCalendarEndpointProducerBuilder emailAddress(
- String emailAddress) {
- doSetProperty("emailAddress", emailAddress);
- return this;
- }
- /**
* Sets the name of a parameter to be passed in the exchange In Body.
*
* The option is a: <code>java.lang.String</code> type.
@@ -990,22 +975,6 @@ public interface GoogleCalendarEndpointBuilderFactory {
return this;
}
/**
- * The name of the p12 file which has the private key to use with the
- * Google Service Account.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param p12FileName the value to set
- * @return the dsl builder
- */
- default GoogleCalendarEndpointProducerBuilder p12FileName(
- String p12FileName) {
- doSetProperty("p12FileName", p12FileName);
- return this;
- }
- /**
* 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
@@ -1024,21 +993,6 @@ public interface GoogleCalendarEndpointBuilderFactory {
return this;
}
/**
- * The email address of the user the application is trying to
- * impersonate in the service account flow.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param user the value to set
- * @return the dsl builder
- */
- default GoogleCalendarEndpointProducerBuilder user(String user) {
- doSetProperty("user", user);
- 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
@@ -1119,6 +1073,37 @@ public interface GoogleCalendarEndpointBuilderFactory {
return this;
}
/**
+ * The emailAddress of the Google Service Account.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param emailAddress the value to set
+ * @return the dsl builder
+ */
+ default GoogleCalendarEndpointProducerBuilder emailAddress(
+ String emailAddress) {
+ doSetProperty("emailAddress", emailAddress);
+ return this;
+ }
+ /**
+ * The name of the p12 file which has the private key to use with the
+ * Google Service Account.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param p12FileName the value to set
+ * @return the dsl builder
+ */
+ default GoogleCalendarEndpointProducerBuilder p12FileName(
+ String p12FileName) {
+ doSetProperty("p12FileName", p12FileName);
+ return this;
+ }
+ /**
* OAuth 2 refresh token. Using this, the Google Calendar component can
* obtain a new accessToken whenever the current one expires - a
* necessity if the application is long-lived.
@@ -1135,6 +1120,21 @@ public interface GoogleCalendarEndpointBuilderFactory {
doSetProperty("refreshToken", refreshToken);
return this;
}
+ /**
+ * The email address of the user the application is trying to
+ * impersonate in the service account flow.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param user the value to set
+ * @return the dsl builder
+ */
+ default GoogleCalendarEndpointProducerBuilder user(String user) {
+ doSetProperty("user", user);
+ return this;
+ }
}
/**
@@ -1225,20 +1225,6 @@ public interface GoogleCalendarEndpointBuilderFactory {
return this;
}
/**
- * The emailAddress of the Google Service Account.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: common
- *
- * @param emailAddress the value to set
- * @return the dsl builder
- */
- default GoogleCalendarEndpointBuilder emailAddress(String
emailAddress) {
- doSetProperty("emailAddress", emailAddress);
- return this;
- }
- /**
* Sets the name of a parameter to be passed in the exchange In Body.
*
* The option is a: <code>java.lang.String</code> type.
@@ -1253,80 +1239,79 @@ public interface GoogleCalendarEndpointBuilderFactory {
return this;
}
/**
- * The name of the p12 file which has the private key to use with the
- * Google Service Account.
+ * 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.
*
* The option is a: <code>java.lang.String</code> type.
*
+ * Default: https://www.googleapis.com/auth/calendar
* Group: common
*
- * @param p12FileName the value to set
+ * @param scopes the value to set
* @return the dsl builder
*/
- default GoogleCalendarEndpointBuilder p12FileName(String p12FileName) {
- doSetProperty("p12FileName", p12FileName);
+ default GoogleCalendarEndpointBuilder scopes(String scopes) {
+ doSetProperty("scopes", scopes);
return this;
}
/**
- * 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.
+ * OAuth 2 access token. This typically expires after an hour so
+ * refreshToken is recommended for long term usage.
*
* The option is a: <code>java.lang.String</code> type.
*
- * Default: https://www.googleapis.com/auth/calendar
- * Group: common
+ * Group: security
*
- * @param scopes the value to set
+ * @param accessToken the value to set
* @return the dsl builder
*/
- default GoogleCalendarEndpointBuilder scopes(String scopes) {
- doSetProperty("scopes", scopes);
+ default GoogleCalendarEndpointBuilder accessToken(String accessToken) {
+ doSetProperty("accessToken", accessToken);
return this;
}
/**
- * The email address of the user the application is trying to
- * impersonate in the service account flow.
+ * Client secret of the calendar application.
*
* The option is a: <code>java.lang.String</code> type.
*
- * Group: common
+ * Group: security
*
- * @param user the value to set
+ * @param clientSecret the value to set
* @return the dsl builder
*/
- default GoogleCalendarEndpointBuilder user(String user) {
- doSetProperty("user", user);
+ default GoogleCalendarEndpointBuilder clientSecret(String
clientSecret) {
+ doSetProperty("clientSecret", clientSecret);
return this;
}
/**
- * OAuth 2 access token. This typically expires after an hour so
- * refreshToken is recommended for long term usage.
+ * The emailAddress of the Google Service Account.
*
* The option is a: <code>java.lang.String</code> type.
*
* Group: security
*
- * @param accessToken the value to set
+ * @param emailAddress the value to set
* @return the dsl builder
*/
- default GoogleCalendarEndpointBuilder accessToken(String accessToken) {
- doSetProperty("accessToken", accessToken);
+ default GoogleCalendarEndpointBuilder emailAddress(String
emailAddress) {
+ doSetProperty("emailAddress", emailAddress);
return this;
}
/**
- * Client secret of the calendar application.
+ * The name of the p12 file which has the private key to use with the
+ * Google Service Account.
*
* The option is a: <code>java.lang.String</code> type.
*
* Group: security
*
- * @param clientSecret the value to set
+ * @param p12FileName the value to set
* @return the dsl builder
*/
- default GoogleCalendarEndpointBuilder clientSecret(String
clientSecret) {
- doSetProperty("clientSecret", clientSecret);
+ default GoogleCalendarEndpointBuilder p12FileName(String p12FileName) {
+ doSetProperty("p12FileName", p12FileName);
return this;
}
/**
@@ -1345,6 +1330,21 @@ public interface GoogleCalendarEndpointBuilderFactory {
doSetProperty("refreshToken", refreshToken);
return this;
}
+ /**
+ * The email address of the user the application is trying to
+ * impersonate in the service account flow.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param user the value to set
+ * @return the dsl builder
+ */
+ default GoogleCalendarEndpointBuilder user(String user) {
+ doSetProperty("user", user);
+ return this;
+ }
}
/**
diff --git
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarStreamEndpointBuilderFactory.java
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarStreamEndpointBuilderFactory.java
index 7207e42..bfe5914 100644
---
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarStreamEndpointBuilderFactory.java
+++
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/GoogleCalendarStreamEndpointBuilderFactory.java
@@ -206,21 +206,6 @@ public interface
GoogleCalendarStreamEndpointBuilderFactory {
return this;
}
/**
- * The emailAddress of the Google Service Account.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: consumer
- *
- * @param emailAddress the value to set
- * @return the dsl builder
- */
- default GoogleCalendarStreamEndpointBuilder emailAddress(
- String emailAddress) {
- doSetProperty("emailAddress", emailAddress);
- return this;
- }
- /**
* Max results to be returned.
*
* The option is a: <code>int</code> type.
@@ -251,22 +236,6 @@ public interface
GoogleCalendarStreamEndpointBuilderFactory {
return this;
}
/**
- * The name of the p12 file which has the private key to use with the
- * Google Service Account.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: consumer
- *
- * @param p12FileName the value to set
- * @return the dsl builder
- */
- default GoogleCalendarStreamEndpointBuilder p12FileName(
- String p12FileName) {
- doSetProperty("p12FileName", p12FileName);
- return this;
- }
- /**
* The query to execute on calendar.
*
* The option is a: <code>java.lang.String</code> type.
@@ -350,21 +319,6 @@ public interface
GoogleCalendarStreamEndpointBuilderFactory {
return this;
}
/**
- * The email address of the user the application is trying to
- * impersonate in the service account flow.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: consumer
- *
- * @param user the value to set
- * @return the dsl builder
- */
- default GoogleCalendarStreamEndpointBuilder user(String user) {
- doSetProperty("user", user);
- return this;
- }
- /**
* The number of subsequent error polls (failed due some error) that
* should happen before the backoffMultipler should kick-in.
*
@@ -877,6 +831,37 @@ public interface
GoogleCalendarStreamEndpointBuilderFactory {
return this;
}
/**
+ * The emailAddress of the Google Service Account.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param emailAddress the value to set
+ * @return the dsl builder
+ */
+ default GoogleCalendarStreamEndpointBuilder emailAddress(
+ String emailAddress) {
+ doSetProperty("emailAddress", emailAddress);
+ return this;
+ }
+ /**
+ * The name of the p12 file which has the private key to use with the
+ * Google Service Account.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param p12FileName the value to set
+ * @return the dsl builder
+ */
+ default GoogleCalendarStreamEndpointBuilder p12FileName(
+ String p12FileName) {
+ doSetProperty("p12FileName", p12FileName);
+ return this;
+ }
+ /**
* OAuth 2 refresh token. Using this, the Google Calendar component can
* obtain a new accessToken whenever the current one expires - a
* necessity if the application is long-lived.
@@ -893,6 +878,21 @@ public interface
GoogleCalendarStreamEndpointBuilderFactory {
doSetProperty("refreshToken", refreshToken);
return this;
}
+ /**
+ * The email address of the user the application is trying to
+ * impersonate in the service account flow.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param user the value to set
+ * @return the dsl builder
+ */
+ default GoogleCalendarStreamEndpointBuilder user(String user) {
+ doSetProperty("user", user);
+ return this;
+ }
}
/**
diff --git a/docs/components/modules/ROOT/pages/google-calendar-component.adoc
b/docs/components/modules/ROOT/pages/google-calendar-component.adoc
index 7390297..f113b8e 100644
--- a/docs/components/modules/ROOT/pages/google-calendar-component.adoc
+++ b/docs/components/modules/ROOT/pages/google-calendar-component.adoc
@@ -57,17 +57,17 @@ The Google Calendar component supports 14 options, which
are listed below.
| *applicationName* (common) | Google calendar application name. Example would
be camel-google-calendar/1.0 | | String
| *clientId* (common) | Client ID of the calendar application | | String
| *configuration* (common) | To use the shared configuration | |
GoogleCalendarConfiguration
-| *emailAddress* (common) | The emailAddress of the Google Service Account. |
| String
-| *p12FileName* (common) | The name of the p12 file which has the private key
to use with the Google Service Account. | | String
| *scopes* (common) | 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. | https://www.googleapis.com/auth/calendar | String
-| *user* (common) | The email address of the user the application is trying to
impersonate in the service account flow | | 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
| *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 [...]
| *autowiredEnabled* (advanced) | 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
type, which then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc. | true | boolean
| *clientFactory* (advanced) | To use the GoogleCalendarClientFactory as
factory for creating the client. Will by default use
BatchGoogleCalendarClientFactory | | GoogleCalendarClientFactory
| *accessToken* (security) | OAuth 2 access token. This typically expires
after an hour so refreshToken is recommended for long term usage. | | String
| *clientSecret* (security) | Client secret of the calendar application | |
String
+| *emailAddress* (security) | The emailAddress of the Google Service Account.
| | String
+| *p12FileName* (security) | The name of the p12 file which has the private
key to use with the Google Service Account. | | String
| *refreshToken* (security) | OAuth 2 refresh token. Using this, the Google
Calendar component can obtain a new accessToken whenever the current one
expires - a necessity if the application is long-lived. | | String
+| *user* (security) | The email address of the user the application is trying
to impersonate in the service account flow | | String
|===
// component options: END
@@ -100,11 +100,8 @@ with the following path and query parameters:
| Name | Description | Default | Type
| *applicationName* (common) | Google calendar application name. Example would
be camel-google-calendar/1.0 | | String
| *clientId* (common) | Client ID of the calendar application | | String
-| *emailAddress* (common) | The emailAddress of the Google Service Account. |
| String
| *inBody* (common) | Sets the name of a parameter to be passed in the
exchange In Body | | String
-| *p12FileName* (common) | The name of the p12 file which has the private key
to use with the Google Service Account. | | String
| *scopes* (common) | 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. | https://www.googleapis.com/auth/calendar | String
-| *user* (common) | The email address of the user the application is trying to
impersonate in the service account flow | | 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
| *sendEmptyMessageWhenIdle* (consumer) | If the polling consumer did not poll
any files, you can enable this option to send an empty message (no body)
instead. | false | boolean
| *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
@@ -128,7 +125,10 @@ with the following path and query parameters:
| *useFixedDelay* (scheduler) | Controls if fixed delay or fixed rate is used.
See ScheduledExecutorService in JDK for details. | true | boolean
| *accessToken* (security) | OAuth 2 access token. This typically expires
after an hour so refreshToken is recommended for long term usage. | | String
| *clientSecret* (security) | Client secret of the calendar application | |
String
+| *emailAddress* (security) | The emailAddress of the Google Service Account.
| | String
+| *p12FileName* (security) | The name of the p12 file which has the private
key to use with the Google Service Account. | | String
| *refreshToken* (security) | OAuth 2 refresh token. Using this, the Google
Calendar component can obtain a new accessToken whenever the current one
expires - a necessity if the application is long-lived. | | String
+| *user* (security) | The email address of the user the application is trying
to impersonate in the service account flow | | String
|===
diff --git
a/docs/components/modules/ROOT/pages/google-calendar-stream-component.adoc
b/docs/components/modules/ROOT/pages/google-calendar-stream-component.adoc
index a0dd632..336cbb1 100644
--- a/docs/components/modules/ROOT/pages/google-calendar-stream-component.adoc
+++ b/docs/components/modules/ROOT/pages/google-calendar-stream-component.adoc
@@ -70,17 +70,17 @@ The Google Calendar Stream component supports 18 options,
which are listed below
| *configuration* (consumer) | The configuration | |
GoogleCalendarStreamConfiguration
| *considerLastUpdate* (consumer) | Take into account the lastUpdate of the
last event polled as start date for the next poll | false | boolean
| *consumeFromNow* (consumer) | Consume events in the selected calendar from
now on | true | boolean
-| *emailAddress* (consumer) | The emailAddress of the Google Service Account.
| | String
| *maxResults* (consumer) | Max results to be returned | 10 | int
-| *p12FileName* (consumer) | The name of the p12 file which has the private
key to use with the Google Service Account. | | String
| *query* (consumer) | The query to execute on calendar | | String
| *scopes* (consumer) | 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. | | List
-| *user* (consumer) | The email address of the user the application is trying
to impersonate in the service account flow. | | String
| *autowiredEnabled* (advanced) | 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
type, which then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc. | true | boolean
| *clientFactory* (advanced) | The client Factory | |
GoogleCalendarClientFactory
| *accessToken* (security) | OAuth 2 access token. This typically expires
after an hour so refreshToken is recommended for long term usage. | | String
| *clientSecret* (security) | Client secret of the calendar application | |
String
+| *emailAddress* (security) | The emailAddress of the Google Service Account.
| | String
+| *p12FileName* (security) | The name of the p12 file which has the private
key to use with the Google Service Account. | | String
| *refreshToken* (security) | OAuth 2 refresh token. Using this, the Google
Calendar component can obtain a new accessToken whenever the current one
expires - a necessity if the application is long-lived. | | String
+| *user* (security) | The email address of the user the application is trying
to impersonate in the service account flow. | | String
|===
// component options: END