This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git
The following commit(s) were added to refs/heads/main by this push:
new 6e71875 [create-pull-request] automated change
6e71875 is described below
commit 6e71875c2eda18592684957b693640b5657c6d4a
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat May 1 04:03:09 2021 +0000
[create-pull-request] automated change
---
.../resources/connectors/camel-aws2-ddbstream-source.json | 14 ++++++++++++++
.../resources/connectors/camel-aws2-ec2-sink.json | 14 ++++++++++++++
.../resources/connectors/camel-aws2-ecs-sink.json | 14 ++++++++++++++
.../generated/resources/camel-aws2-ddbstream-source.json | 14 ++++++++++++++
.../docs/camel-aws2-ddbstream-kafka-source-connector.adoc | 4 +++-
.../CamelAws2ddbstreamSourceConnectorConfig.java | 8 ++++++++
.../src/generated/resources/camel-aws2-ec2-sink.json | 14 ++++++++++++++
.../src/main/docs/camel-aws2-ec2-kafka-sink-connector.adoc | 4 +++-
.../aws2ec2/CamelAws2ec2SinkConnectorConfig.java | 8 ++++++++
.../src/generated/resources/camel-aws2-ecs-sink.json | 14 ++++++++++++++
.../src/main/docs/camel-aws2-ecs-kafka-sink-connector.adoc | 4 +++-
.../aws2ecs/CamelAws2ecsSinkConnectorConfig.java | 8 ++++++++
.../camel-aws2-ddbstream-kafka-source-connector.adoc | 4 +++-
.../connectors/camel-aws2-ec2-kafka-sink-connector.adoc | 4 +++-
.../connectors/camel-aws2-ecs-kafka-sink-connector.adoc | 4 +++-
15 files changed, 126 insertions(+), 6 deletions(-)
diff --git
a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-ddbstream-source.json
b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-ddbstream-source.json
index bacc592..8099730 100644
---
a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-ddbstream-source.json
+++
b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-ddbstream-source.json
@@ -110,6 +110,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.source.endpoint.useDefaultCredentialsProvider": {
+ "name":
"camel.source.endpoint.useDefaultCredentialsProvider",
+ "description": "Set whether the DynamoDB Streams client
should expect to load credentials through a default credentials provider or to
expect static credentials to be passed in.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.exceptionHandler": {
"name": "camel.source.endpoint.exceptionHandler",
"description": "To let the consumer use a custom
ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this
option is not in use. By default the consumer will deal with exceptions, that
will be logged at WARN or ERROR level and ignored.",
@@ -349,6 +356,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.aws2-ddbstream.useDefaultCredentialsProvider":
{
+ "name":
"camel.component.aws2-ddbstream.useDefaultCredentialsProvider",
+ "description": "Set whether the DynamoDB Streams client
should expect to load credentials through a default credentials provider or to
expect static credentials to be passed in.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.aws2-ddbstream.autowiredEnabled": {
"name":
"camel.component.aws2-ddbstream.autowiredEnabled",
"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 then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc.",
diff --git
a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-ec2-sink.json
b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-ec2-sink.json
index bd5fa4b..965cd30 100644
---
a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-ec2-sink.json
+++
b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-ec2-sink.json
@@ -115,6 +115,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.useDefaultCredentialsProvider": {
+ "name":
"camel.sink.endpoint.useDefaultCredentialsProvider",
+ "description": "Set whether the EC2 client should
expect to load credentials through a default credentials provider or to expect
static credentials to be passed in.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.aws2-ec2.accessKey": {
"name": "camel.component.aws2-ec2.accessKey",
"description": "Amazon AWS Access Key",
@@ -221,6 +228,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.aws2-ec2.useDefaultCredentialsProvider": {
+ "name":
"camel.component.aws2-ec2.useDefaultCredentialsProvider",
+ "description": "Set whether the EC2 client should
expect to load credentials through a default credentials provider or to expect
static credentials to be passed in.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.aws2-ec2.autowiredEnabled": {
"name": "camel.component.aws2-ec2.autowiredEnabled",
"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 then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc.",
diff --git
a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-ecs-sink.json
b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-ecs-sink.json
index 7c44598..d373cf1 100644
---
a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-ecs-sink.json
+++
b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-ecs-sink.json
@@ -96,6 +96,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.useDefaultCredentialsProvider": {
+ "name":
"camel.sink.endpoint.useDefaultCredentialsProvider",
+ "description": "Set whether the ECS client should
expect to load credentials through a default credentials provider or to expect
static credentials to be passed in.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.accessKey": {
"name": "camel.sink.endpoint.accessKey",
"description": "Amazon AWS Access Key",
@@ -195,6 +202,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.aws2-ecs.useDefaultCredentialsProvider": {
+ "name":
"camel.component.aws2-ecs.useDefaultCredentialsProvider",
+ "description": "Set whether the ECS client should
expect to load credentials through a default credentials provider or to expect
static credentials to be passed in.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.aws2-ecs.autowiredEnabled": {
"name": "camel.component.aws2-ecs.autowiredEnabled",
"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 then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc.",
diff --git
a/connectors/camel-aws2-ddbstream-kafka-connector/src/generated/resources/camel-aws2-ddbstream-source.json
b/connectors/camel-aws2-ddbstream-kafka-connector/src/generated/resources/camel-aws2-ddbstream-source.json
index bacc592..8099730 100644
---
a/connectors/camel-aws2-ddbstream-kafka-connector/src/generated/resources/camel-aws2-ddbstream-source.json
+++
b/connectors/camel-aws2-ddbstream-kafka-connector/src/generated/resources/camel-aws2-ddbstream-source.json
@@ -110,6 +110,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.source.endpoint.useDefaultCredentialsProvider": {
+ "name":
"camel.source.endpoint.useDefaultCredentialsProvider",
+ "description": "Set whether the DynamoDB Streams client
should expect to load credentials through a default credentials provider or to
expect static credentials to be passed in.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.source.endpoint.exceptionHandler": {
"name": "camel.source.endpoint.exceptionHandler",
"description": "To let the consumer use a custom
ExceptionHandler. Notice if the option bridgeErrorHandler is enabled then this
option is not in use. By default the consumer will deal with exceptions, that
will be logged at WARN or ERROR level and ignored.",
@@ -349,6 +356,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.aws2-ddbstream.useDefaultCredentialsProvider":
{
+ "name":
"camel.component.aws2-ddbstream.useDefaultCredentialsProvider",
+ "description": "Set whether the DynamoDB Streams client
should expect to load credentials through a default credentials provider or to
expect static credentials to be passed in.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.aws2-ddbstream.autowiredEnabled": {
"name":
"camel.component.aws2-ddbstream.autowiredEnabled",
"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 then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc.",
diff --git
a/connectors/camel-aws2-ddbstream-kafka-connector/src/main/docs/camel-aws2-ddbstream-kafka-source-connector.adoc
b/connectors/camel-aws2-ddbstream-kafka-connector/src/main/docs/camel-aws2-ddbstream-kafka-source-connector.adoc
index 0f57a52..492d75a 100644
---
a/connectors/camel-aws2-ddbstream-kafka-connector/src/main/docs/camel-aws2-ddbstream-kafka-source-connector.adoc
+++
b/connectors/camel-aws2-ddbstream-kafka-connector/src/main/docs/camel-aws2-ddbstream-kafka-source-connector.adoc
@@ -24,7 +24,7 @@
connector.class=org.apache.camel.kafkaconnector.aws2ddbstream.CamelAws2ddbstream
----
-The camel-aws2-ddbstream source connector supports 49 options, which are
listed below.
+The camel-aws2-ddbstream source connector supports 51 options, which are
listed below.
@@ -45,6 +45,7 @@ The camel-aws2-ddbstream source connector supports 49
options, which are listed
| *camel.source.endpoint.sequenceNumberProvider* | Provider for the sequence
number when using one of the two ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER
iterator types. Can be a registry reference or a literal sequence number. |
null | false | MEDIUM
| *camel.source.endpoint.trustAllCertificates* | If we want to trust all
certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.source.endpoint.uriEndpointOverride* | Set the overriding uri
endpoint. This option needs to be used in combination with overrideEndpoint
option | null | false | MEDIUM
+| *camel.source.endpoint.useDefaultCredentials Provider* | Set whether the
DynamoDB Streams client should expect to load credentials through a default
credentials provider or to expect static credentials to be passed in. | false |
false | MEDIUM
| *camel.source.endpoint.exceptionHandler* | 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. | null | false | MEDIUM
| *camel.source.endpoint.exchangePattern* | Sets the exchange pattern when the
consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut] | null |
false | MEDIUM
| *camel.source.endpoint.pollStrategy* | A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the
poll operation before an Exchange have been created and being routed in Camel.
| null | false | MEDIUM
@@ -77,6 +78,7 @@ The camel-aws2-ddbstream source connector supports 49
options, which are listed
| *camel.component.aws2-ddbstream.sequenceNumber Provider* | Provider for the
sequence number when using one of the two
ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER iterator types. Can be a registry
reference or a literal sequence number. | null | false | MEDIUM
| *camel.component.aws2-ddbstream.trustAll Certificates* | If we want to trust
all certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.component.aws2-ddbstream.uriEndpointOverride* | Set the overriding
uri endpoint. This option needs to be used in combination with overrideEndpoint
option | null | false | MEDIUM
+| *camel.component.aws2-ddbstream.useDefault CredentialsProvider* | Set
whether the DynamoDB Streams client should expect to load credentials through a
default credentials provider or to expect static credentials to be passed in. |
false | false | MEDIUM
| *camel.component.aws2-ddbstream.autowiredEnabled* | 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 | false | MEDIUM
| *camel.component.aws2-ddbstream.accessKey* | Amazon AWS Access Key | null |
false | MEDIUM
| *camel.component.aws2-ddbstream.secretKey* | Amazon AWS Secret Key | null |
false | MEDIUM
diff --git
a/connectors/camel-aws2-ddbstream-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2ddbstream/CamelAws2ddbstreamSourceConnectorConfig.java
b/connectors/camel-aws2-ddbstream-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2ddbstream/CamelAws2ddbstreamSourceConnectorConfig.java
index cf499ef..805722d 100644
---
a/connectors/camel-aws2-ddbstream-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2ddbstream/CamelAws2ddbstreamSourceConnectorConfig.java
+++
b/connectors/camel-aws2-ddbstream-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2ddbstream/CamelAws2ddbstreamSourceConnectorConfig.java
@@ -68,6 +68,9 @@ public class CamelAws2ddbstreamSourceConnectorConfig
public static final String
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF =
"camel.source.endpoint.uriEndpointOverride";
public static final String
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_URI_ENDPOINT_OVERRIDE_DOC = "Set the
overriding uri endpoint. This option needs to be used in combination with
overrideEndpoint option";
public static final String
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT = null;
+ public static final String
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF =
"camel.source.endpoint.useDefaultCredentialsProvider";
+ public static final String
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "Set
whether the DynamoDB Streams client should expect to load credentials through a
default credentials provider or to expect static credentials to be passed in.";
+ public static final Boolean
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT =
false;
public static final String
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_EXCEPTION_HANDLER_CONF =
"camel.source.endpoint.exceptionHandler";
public static final String
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_EXCEPTION_HANDLER_DOC = "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.";
public static final String
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_EXCEPTION_HANDLER_DEFAULT = null;
@@ -164,6 +167,9 @@ public class CamelAws2ddbstreamSourceConnectorConfig
public static final String
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF =
"camel.component.aws2-ddbstream.uriEndpointOverride";
public static final String
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_URI_ENDPOINT_OVERRIDE_DOC = "Set the
overriding uri endpoint. This option needs to be used in combination with
overrideEndpoint option";
public static final String
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT = null;
+ public static final String
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF =
"camel.component.aws2-ddbstream.useDefaultCredentialsProvider";
+ public static final String
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC =
"Set whether the DynamoDB Streams client should expect to load credentials
through a default credentials provider or to expect static credentials to be
passed in.";
+ public static final Boolean
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT =
false;
public static final String
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_AUTOWIRED_ENABLED_CONF =
"camel.component.aws2-ddbstream.autowiredEnabled";
public static final String
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_AUTOWIRED_ENABLED_DOC = "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.";
public static final Boolean
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true;
@@ -201,6 +207,7 @@ public class CamelAws2ddbstreamSourceConnectorConfig
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_SEQUENCE_NUMBER_PROVIDER_CONF,
ConfigDef.Type.STRING,
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_SEQUENCE_NUMBER_PROVIDER_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_SEQUENCE_NUMBER_PROVIDER_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF,
ConfigDef.Type.STRING,
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_URI_ENDPOINT_OVERRIDE_DOC);
+
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_EXCEPTION_HANDLER_CONF,
ConfigDef.Type.STRING,
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_EXCEPTION_HANDLER_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_EXCEPTION_HANDLER_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_EXCHANGE_PATTERN_CONF,
ConfigDef.Type.STRING,
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_EXCHANGE_PATTERN_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_EXCHANGE_PATTERN_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_POLL_STRATEGY_CONF,
ConfigDef.Type.STRING,
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_POLL_STRATEGY_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SOURCE_AWS2DDBSTREAM_ENDPOINT_POLL_STRATEGY_DOC);
@@ -233,6 +240,7 @@ public class CamelAws2ddbstreamSourceConnectorConfig
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_SEQUENCE_NUMBER_PROVIDER_CONF,
ConfigDef.Type.STRING,
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_SEQUENCE_NUMBER_PROVIDER_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_SEQUENCE_NUMBER_PROVIDER_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_TRUST_ALL_CERTIFICATES_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF,
ConfigDef.Type.STRING,
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_URI_ENDPOINT_OVERRIDE_DOC);
+
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_AUTOWIRED_ENABLED_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_AUTOWIRED_ENABLED_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_AUTOWIRED_ENABLED_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_ACCESS_KEY_CONF,
ConfigDef.Type.PASSWORD,
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_ACCESS_KEY_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_ACCESS_KEY_DOC);
conf.define(CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_SECRET_KEY_CONF,
ConfigDef.Type.PASSWORD,
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_SECRET_KEY_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SOURCE_AWS2DDBSTREAM_COMPONENT_SECRET_KEY_DOC);
diff --git
a/connectors/camel-aws2-ec2-kafka-connector/src/generated/resources/camel-aws2-ec2-sink.json
b/connectors/camel-aws2-ec2-kafka-connector/src/generated/resources/camel-aws2-ec2-sink.json
index bd5fa4b..965cd30 100644
---
a/connectors/camel-aws2-ec2-kafka-connector/src/generated/resources/camel-aws2-ec2-sink.json
+++
b/connectors/camel-aws2-ec2-kafka-connector/src/generated/resources/camel-aws2-ec2-sink.json
@@ -115,6 +115,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.useDefaultCredentialsProvider": {
+ "name":
"camel.sink.endpoint.useDefaultCredentialsProvider",
+ "description": "Set whether the EC2 client should
expect to load credentials through a default credentials provider or to expect
static credentials to be passed in.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.aws2-ec2.accessKey": {
"name": "camel.component.aws2-ec2.accessKey",
"description": "Amazon AWS Access Key",
@@ -221,6 +228,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.aws2-ec2.useDefaultCredentialsProvider": {
+ "name":
"camel.component.aws2-ec2.useDefaultCredentialsProvider",
+ "description": "Set whether the EC2 client should
expect to load credentials through a default credentials provider or to expect
static credentials to be passed in.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.aws2-ec2.autowiredEnabled": {
"name": "camel.component.aws2-ec2.autowiredEnabled",
"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 then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc.",
diff --git
a/connectors/camel-aws2-ec2-kafka-connector/src/main/docs/camel-aws2-ec2-kafka-sink-connector.adoc
b/connectors/camel-aws2-ec2-kafka-connector/src/main/docs/camel-aws2-ec2-kafka-sink-connector.adoc
index 3097f40..3930557 100644
---
a/connectors/camel-aws2-ec2-kafka-connector/src/main/docs/camel-aws2-ec2-kafka-sink-connector.adoc
+++
b/connectors/camel-aws2-ec2-kafka-connector/src/main/docs/camel-aws2-ec2-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@
connector.class=org.apache.camel.kafkaconnector.aws2ec2.CamelAws2ec2SinkConnecto
----
-The camel-aws2-ec2 sink connector supports 29 options, which are listed below.
+The camel-aws2-ec2 sink connector supports 31 options, which are listed below.
@@ -45,6 +45,7 @@ The camel-aws2-ec2 sink connector supports 29 options, which
are listed below.
| *camel.sink.endpoint.secretKey* | Amazon AWS Secret Key | null | false |
MEDIUM
| *camel.sink.endpoint.trustAllCertificates* | If we want to trust all
certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.sink.endpoint.uriEndpointOverride* | Set the overriding uri endpoint.
This option needs to be used in combination with overrideEndpoint option | null
| false | MEDIUM
+| *camel.sink.endpoint.useDefaultCredentialsProvider* | Set whether the EC2
client should expect to load credentials through a default credentials provider
or to expect static credentials to be passed in. | false | false | MEDIUM
| *camel.component.aws2-ec2.accessKey* | Amazon AWS Access Key | null | false
| MEDIUM
| *camel.component.aws2-ec2.amazonEc2Client* | To use a existing configured
AmazonEC2Client as client | null | false | MEDIUM
| *camel.component.aws2-ec2.configuration* | The component configuration |
null | false | MEDIUM
@@ -59,6 +60,7 @@ The camel-aws2-ec2 sink connector supports 29 options, which
are listed below.
| *camel.component.aws2-ec2.secretKey* | Amazon AWS Secret Key | null | false
| MEDIUM
| *camel.component.aws2-ec2.trustAllCertificates* | If we want to trust all
certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.component.aws2-ec2.uriEndpointOverride* | Set the overriding uri
endpoint. This option needs to be used in combination with overrideEndpoint
option | null | false | MEDIUM
+| *camel.component.aws2-ec2.useDefaultCredentials Provider* | Set whether the
EC2 client should expect to load credentials through a default credentials
provider or to expect static credentials to be passed in. | false | false |
MEDIUM
| *camel.component.aws2-ec2.autowiredEnabled* | 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 | false | MEDIUM
|===
diff --git
a/connectors/camel-aws2-ec2-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2ec2/CamelAws2ec2SinkConnectorConfig.java
b/connectors/camel-aws2-ec2-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2ec2/CamelAws2ec2SinkConnectorConfig.java
index c6d4ecd..19f5215 100644
---
a/connectors/camel-aws2-ec2-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2ec2/CamelAws2ec2SinkConnectorConfig.java
+++
b/connectors/camel-aws2-ec2-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2ec2/CamelAws2ec2SinkConnectorConfig.java
@@ -66,6 +66,9 @@ public class CamelAws2ec2SinkConnectorConfig extends
CamelSinkConnectorConfig {
public static final String
CAMEL_SINK_AWS2EC2_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF =
"camel.sink.endpoint.uriEndpointOverride";
public static final String
CAMEL_SINK_AWS2EC2_ENDPOINT_URI_ENDPOINT_OVERRIDE_DOC = "Set the overriding uri
endpoint. This option needs to be used in combination with overrideEndpoint
option";
public static final String
CAMEL_SINK_AWS2EC2_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT = null;
+ public static final String
CAMEL_SINK_AWS2EC2_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF =
"camel.sink.endpoint.useDefaultCredentialsProvider";
+ public static final String
CAMEL_SINK_AWS2EC2_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "Set whether
the EC2 client should expect to load credentials through a default credentials
provider or to expect static credentials to be passed in.";
+ public static final Boolean
CAMEL_SINK_AWS2EC2_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT = false;
public static final String CAMEL_SINK_AWS2EC2_COMPONENT_ACCESS_KEY_CONF =
"camel.component.aws2-ec2.accessKey";
public static final String CAMEL_SINK_AWS2EC2_COMPONENT_ACCESS_KEY_DOC =
"Amazon AWS Access Key";
public static final String CAMEL_SINK_AWS2EC2_COMPONENT_ACCESS_KEY_DEFAULT
= null;
@@ -108,6 +111,9 @@ public class CamelAws2ec2SinkConnectorConfig extends
CamelSinkConnectorConfig {
public static final String
CAMEL_SINK_AWS2EC2_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF =
"camel.component.aws2-ec2.uriEndpointOverride";
public static final String
CAMEL_SINK_AWS2EC2_COMPONENT_URI_ENDPOINT_OVERRIDE_DOC = "Set the overriding
uri endpoint. This option needs to be used in combination with overrideEndpoint
option";
public static final String
CAMEL_SINK_AWS2EC2_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT = null;
+ public static final String
CAMEL_SINK_AWS2EC2_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF =
"camel.component.aws2-ec2.useDefaultCredentialsProvider";
+ public static final String
CAMEL_SINK_AWS2EC2_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "Set
whether the EC2 client should expect to load credentials through a default
credentials provider or to expect static credentials to be passed in.";
+ public static final Boolean
CAMEL_SINK_AWS2EC2_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT = false;
public static final String
CAMEL_SINK_AWS2EC2_COMPONENT_AUTOWIRED_ENABLED_CONF =
"camel.component.aws2-ec2.autowiredEnabled";
public static final String
CAMEL_SINK_AWS2EC2_COMPONENT_AUTOWIRED_ENABLED_DOC = "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.";
public static final Boolean
CAMEL_SINK_AWS2EC2_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true;
@@ -138,6 +144,7 @@ public class CamelAws2ec2SinkConnectorConfig extends
CamelSinkConnectorConfig {
conf.define(CAMEL_SINK_AWS2EC2_ENDPOINT_SECRET_KEY_CONF,
ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2EC2_ENDPOINT_SECRET_KEY_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2EC2_ENDPOINT_SECRET_KEY_DOC);
conf.define(CAMEL_SINK_AWS2EC2_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWS2EC2_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2EC2_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SINK_AWS2EC2_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF,
ConfigDef.Type.STRING,
CAMEL_SINK_AWS2EC2_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2EC2_ENDPOINT_URI_ENDPOINT_OVERRIDE_DOC);
+
conf.define(CAMEL_SINK_AWS2EC2_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWS2EC2_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2EC2_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SINK_AWS2EC2_COMPONENT_ACCESS_KEY_CONF,
ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2EC2_COMPONENT_ACCESS_KEY_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2EC2_COMPONENT_ACCESS_KEY_DOC);
conf.define(CAMEL_SINK_AWS2EC2_COMPONENT_AMAZON_EC_2CLIENT_CONF,
ConfigDef.Type.STRING, CAMEL_SINK_AWS2EC2_COMPONENT_AMAZON_EC_2CLIENT_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2EC2_COMPONENT_AMAZON_EC_2CLIENT_DOC);
conf.define(CAMEL_SINK_AWS2EC2_COMPONENT_CONFIGURATION_CONF,
ConfigDef.Type.STRING, CAMEL_SINK_AWS2EC2_COMPONENT_CONFIGURATION_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2EC2_COMPONENT_CONFIGURATION_DOC);
@@ -152,6 +159,7 @@ public class CamelAws2ec2SinkConnectorConfig extends
CamelSinkConnectorConfig {
conf.define(CAMEL_SINK_AWS2EC2_COMPONENT_SECRET_KEY_CONF,
ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2EC2_COMPONENT_SECRET_KEY_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2EC2_COMPONENT_SECRET_KEY_DOC);
conf.define(CAMEL_SINK_AWS2EC2_COMPONENT_TRUST_ALL_CERTIFICATES_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWS2EC2_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2EC2_COMPONENT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SINK_AWS2EC2_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF,
ConfigDef.Type.STRING,
CAMEL_SINK_AWS2EC2_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2EC2_COMPONENT_URI_ENDPOINT_OVERRIDE_DOC);
+
conf.define(CAMEL_SINK_AWS2EC2_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWS2EC2_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2EC2_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SINK_AWS2EC2_COMPONENT_AUTOWIRED_ENABLED_CONF,
ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2EC2_COMPONENT_AUTOWIRED_ENABLED_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2EC2_COMPONENT_AUTOWIRED_ENABLED_DOC);
return conf;
}
diff --git
a/connectors/camel-aws2-ecs-kafka-connector/src/generated/resources/camel-aws2-ecs-sink.json
b/connectors/camel-aws2-ecs-kafka-connector/src/generated/resources/camel-aws2-ecs-sink.json
index 7c44598..d373cf1 100644
---
a/connectors/camel-aws2-ecs-kafka-connector/src/generated/resources/camel-aws2-ecs-sink.json
+++
b/connectors/camel-aws2-ecs-kafka-connector/src/generated/resources/camel-aws2-ecs-sink.json
@@ -96,6 +96,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.useDefaultCredentialsProvider": {
+ "name":
"camel.sink.endpoint.useDefaultCredentialsProvider",
+ "description": "Set whether the ECS client should
expect to load credentials through a default credentials provider or to expect
static credentials to be passed in.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.sink.endpoint.accessKey": {
"name": "camel.sink.endpoint.accessKey",
"description": "Amazon AWS Access Key",
@@ -195,6 +202,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.aws2-ecs.useDefaultCredentialsProvider": {
+ "name":
"camel.component.aws2-ecs.useDefaultCredentialsProvider",
+ "description": "Set whether the ECS client should
expect to load credentials through a default credentials provider or to expect
static credentials to be passed in.",
+ "defaultValue": "false",
+ "priority": "MEDIUM",
+ "required": "false"
+ },
"camel.component.aws2-ecs.autowiredEnabled": {
"name": "camel.component.aws2-ecs.autowiredEnabled",
"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 then gets configured on the component. This can be used for
automatic configuring JDBC data sources, JMS connection factories, AWS Clients,
etc.",
diff --git
a/connectors/camel-aws2-ecs-kafka-connector/src/main/docs/camel-aws2-ecs-kafka-sink-connector.adoc
b/connectors/camel-aws2-ecs-kafka-connector/src/main/docs/camel-aws2-ecs-kafka-sink-connector.adoc
index ba4361a..9a73f8b 100644
---
a/connectors/camel-aws2-ecs-kafka-connector/src/main/docs/camel-aws2-ecs-kafka-sink-connector.adoc
+++
b/connectors/camel-aws2-ecs-kafka-connector/src/main/docs/camel-aws2-ecs-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@
connector.class=org.apache.camel.kafkaconnector.aws2ecs.CamelAws2ecsSinkConnecto
----
-The camel-aws2-ecs sink connector supports 29 options, which are listed below.
+The camel-aws2-ecs sink connector supports 31 options, which are listed below.
@@ -43,6 +43,7 @@ The camel-aws2-ecs sink connector supports 29 options, which
are listed below.
| *camel.sink.endpoint.region* | The region in which ECS client needs to work.
When using this parameter, the configuration will expect the lowercase name of
the region (for example ap-east-1) You'll need to use the name
Region.EU_WEST_1.id() | null | false | MEDIUM
| *camel.sink.endpoint.trustAllCertificates* | If we want to trust all
certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.sink.endpoint.uriEndpointOverride* | Set the overriding uri endpoint.
This option needs to be used in combination with overrideEndpoint option | null
| false | MEDIUM
+| *camel.sink.endpoint.useDefaultCredentialsProvider* | Set whether the ECS
client should expect to load credentials through a default credentials provider
or to expect static credentials to be passed in. | false | false | MEDIUM
| *camel.sink.endpoint.accessKey* | Amazon AWS Access Key | null | false |
MEDIUM
| *camel.sink.endpoint.secretKey* | Amazon AWS Secret Key | null | false |
MEDIUM
| *camel.component.aws2-ecs.configuration* | Component configuration | null |
false | MEDIUM
@@ -57,6 +58,7 @@ The camel-aws2-ecs sink connector supports 29 options, which
are listed below.
| *camel.component.aws2-ecs.region* | The region in which ECS client needs to
work. When using this parameter, the configuration will expect the lowercase
name of the region (for example ap-east-1) You'll need to use the name
Region.EU_WEST_1.id() | null | false | MEDIUM
| *camel.component.aws2-ecs.trustAllCertificates* | If we want to trust all
certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.component.aws2-ecs.uriEndpointOverride* | Set the overriding uri
endpoint. This option needs to be used in combination with overrideEndpoint
option | null | false | MEDIUM
+| *camel.component.aws2-ecs.useDefaultCredentials Provider* | Set whether the
ECS client should expect to load credentials through a default credentials
provider or to expect static credentials to be passed in. | false | false |
MEDIUM
| *camel.component.aws2-ecs.autowiredEnabled* | 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 | false | MEDIUM
| *camel.component.aws2-ecs.accessKey* | Amazon AWS Access Key | null | false
| MEDIUM
| *camel.component.aws2-ecs.secretKey* | Amazon AWS Secret Key | null | false
| MEDIUM
diff --git
a/connectors/camel-aws2-ecs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2ecs/CamelAws2ecsSinkConnectorConfig.java
b/connectors/camel-aws2-ecs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2ecs/CamelAws2ecsSinkConnectorConfig.java
index 9d05e17..9e7f4cd 100644
---
a/connectors/camel-aws2-ecs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2ecs/CamelAws2ecsSinkConnectorConfig.java
+++
b/connectors/camel-aws2-ecs-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2ecs/CamelAws2ecsSinkConnectorConfig.java
@@ -60,6 +60,9 @@ public class CamelAws2ecsSinkConnectorConfig extends
CamelSinkConnectorConfig {
public static final String
CAMEL_SINK_AWS2ECS_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF =
"camel.sink.endpoint.uriEndpointOverride";
public static final String
CAMEL_SINK_AWS2ECS_ENDPOINT_URI_ENDPOINT_OVERRIDE_DOC = "Set the overriding uri
endpoint. This option needs to be used in combination with overrideEndpoint
option";
public static final String
CAMEL_SINK_AWS2ECS_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT = null;
+ public static final String
CAMEL_SINK_AWS2ECS_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF =
"camel.sink.endpoint.useDefaultCredentialsProvider";
+ public static final String
CAMEL_SINK_AWS2ECS_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "Set whether
the ECS client should expect to load credentials through a default credentials
provider or to expect static credentials to be passed in.";
+ public static final Boolean
CAMEL_SINK_AWS2ECS_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT = false;
public static final String CAMEL_SINK_AWS2ECS_ENDPOINT_ACCESS_KEY_CONF =
"camel.sink.endpoint.accessKey";
public static final String CAMEL_SINK_AWS2ECS_ENDPOINT_ACCESS_KEY_DOC =
"Amazon AWS Access Key";
public static final String CAMEL_SINK_AWS2ECS_ENDPOINT_ACCESS_KEY_DEFAULT
= null;
@@ -102,6 +105,9 @@ public class CamelAws2ecsSinkConnectorConfig extends
CamelSinkConnectorConfig {
public static final String
CAMEL_SINK_AWS2ECS_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF =
"camel.component.aws2-ecs.uriEndpointOverride";
public static final String
CAMEL_SINK_AWS2ECS_COMPONENT_URI_ENDPOINT_OVERRIDE_DOC = "Set the overriding
uri endpoint. This option needs to be used in combination with overrideEndpoint
option";
public static final String
CAMEL_SINK_AWS2ECS_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT = null;
+ public static final String
CAMEL_SINK_AWS2ECS_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF =
"camel.component.aws2-ecs.useDefaultCredentialsProvider";
+ public static final String
CAMEL_SINK_AWS2ECS_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "Set
whether the ECS client should expect to load credentials through a default
credentials provider or to expect static credentials to be passed in.";
+ public static final Boolean
CAMEL_SINK_AWS2ECS_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT = false;
public static final String
CAMEL_SINK_AWS2ECS_COMPONENT_AUTOWIRED_ENABLED_CONF =
"camel.component.aws2-ecs.autowiredEnabled";
public static final String
CAMEL_SINK_AWS2ECS_COMPONENT_AUTOWIRED_ENABLED_DOC = "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.";
public static final Boolean
CAMEL_SINK_AWS2ECS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true;
@@ -136,6 +142,7 @@ public class CamelAws2ecsSinkConnectorConfig extends
CamelSinkConnectorConfig {
conf.define(CAMEL_SINK_AWS2ECS_ENDPOINT_REGION_CONF,
ConfigDef.Type.STRING, CAMEL_SINK_AWS2ECS_ENDPOINT_REGION_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2ECS_ENDPOINT_REGION_DOC);
conf.define(CAMEL_SINK_AWS2ECS_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWS2ECS_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2ECS_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SINK_AWS2ECS_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF,
ConfigDef.Type.STRING,
CAMEL_SINK_AWS2ECS_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2ECS_ENDPOINT_URI_ENDPOINT_OVERRIDE_DOC);
+
conf.define(CAMEL_SINK_AWS2ECS_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWS2ECS_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2ECS_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SINK_AWS2ECS_ENDPOINT_ACCESS_KEY_CONF,
ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2ECS_ENDPOINT_ACCESS_KEY_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2ECS_ENDPOINT_ACCESS_KEY_DOC);
conf.define(CAMEL_SINK_AWS2ECS_ENDPOINT_SECRET_KEY_CONF,
ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2ECS_ENDPOINT_SECRET_KEY_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2ECS_ENDPOINT_SECRET_KEY_DOC);
conf.define(CAMEL_SINK_AWS2ECS_COMPONENT_CONFIGURATION_CONF,
ConfigDef.Type.STRING, CAMEL_SINK_AWS2ECS_COMPONENT_CONFIGURATION_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2ECS_COMPONENT_CONFIGURATION_DOC);
@@ -150,6 +157,7 @@ public class CamelAws2ecsSinkConnectorConfig extends
CamelSinkConnectorConfig {
conf.define(CAMEL_SINK_AWS2ECS_COMPONENT_REGION_CONF,
ConfigDef.Type.STRING, CAMEL_SINK_AWS2ECS_COMPONENT_REGION_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2ECS_COMPONENT_REGION_DOC);
conf.define(CAMEL_SINK_AWS2ECS_COMPONENT_TRUST_ALL_CERTIFICATES_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWS2ECS_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2ECS_COMPONENT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SINK_AWS2ECS_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF,
ConfigDef.Type.STRING,
CAMEL_SINK_AWS2ECS_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2ECS_COMPONENT_URI_ENDPOINT_OVERRIDE_DOC);
+
conf.define(CAMEL_SINK_AWS2ECS_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWS2ECS_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2ECS_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SINK_AWS2ECS_COMPONENT_AUTOWIRED_ENABLED_CONF,
ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2ECS_COMPONENT_AUTOWIRED_ENABLED_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2ECS_COMPONENT_AUTOWIRED_ENABLED_DOC);
conf.define(CAMEL_SINK_AWS2ECS_COMPONENT_ACCESS_KEY_CONF,
ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2ECS_COMPONENT_ACCESS_KEY_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2ECS_COMPONENT_ACCESS_KEY_DOC);
conf.define(CAMEL_SINK_AWS2ECS_COMPONENT_SECRET_KEY_CONF,
ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2ECS_COMPONENT_SECRET_KEY_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2ECS_COMPONENT_SECRET_KEY_DOC);
diff --git
a/docs/modules/ROOT/pages/connectors/camel-aws2-ddbstream-kafka-source-connector.adoc
b/docs/modules/ROOT/pages/connectors/camel-aws2-ddbstream-kafka-source-connector.adoc
index 0f57a52..492d75a 100644
---
a/docs/modules/ROOT/pages/connectors/camel-aws2-ddbstream-kafka-source-connector.adoc
+++
b/docs/modules/ROOT/pages/connectors/camel-aws2-ddbstream-kafka-source-connector.adoc
@@ -24,7 +24,7 @@
connector.class=org.apache.camel.kafkaconnector.aws2ddbstream.CamelAws2ddbstream
----
-The camel-aws2-ddbstream source connector supports 49 options, which are
listed below.
+The camel-aws2-ddbstream source connector supports 51 options, which are
listed below.
@@ -45,6 +45,7 @@ The camel-aws2-ddbstream source connector supports 49
options, which are listed
| *camel.source.endpoint.sequenceNumberProvider* | Provider for the sequence
number when using one of the two ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER
iterator types. Can be a registry reference or a literal sequence number. |
null | false | MEDIUM
| *camel.source.endpoint.trustAllCertificates* | If we want to trust all
certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.source.endpoint.uriEndpointOverride* | Set the overriding uri
endpoint. This option needs to be used in combination with overrideEndpoint
option | null | false | MEDIUM
+| *camel.source.endpoint.useDefaultCredentials Provider* | Set whether the
DynamoDB Streams client should expect to load credentials through a default
credentials provider or to expect static credentials to be passed in. | false |
false | MEDIUM
| *camel.source.endpoint.exceptionHandler* | 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. | null | false | MEDIUM
| *camel.source.endpoint.exchangePattern* | Sets the exchange pattern when the
consumer creates an exchange. One of: [InOnly] [InOut] [InOptionalOut] | null |
false | MEDIUM
| *camel.source.endpoint.pollStrategy* | A pluggable
org.apache.camel.PollingConsumerPollingStrategy allowing you to provide your
custom implementation to control error handling usually occurred during the
poll operation before an Exchange have been created and being routed in Camel.
| null | false | MEDIUM
@@ -77,6 +78,7 @@ The camel-aws2-ddbstream source connector supports 49
options, which are listed
| *camel.component.aws2-ddbstream.sequenceNumber Provider* | Provider for the
sequence number when using one of the two
ShardIteratorType.{AT,AFTER}_SEQUENCE_NUMBER iterator types. Can be a registry
reference or a literal sequence number. | null | false | MEDIUM
| *camel.component.aws2-ddbstream.trustAll Certificates* | If we want to trust
all certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.component.aws2-ddbstream.uriEndpointOverride* | Set the overriding
uri endpoint. This option needs to be used in combination with overrideEndpoint
option | null | false | MEDIUM
+| *camel.component.aws2-ddbstream.useDefault CredentialsProvider* | Set
whether the DynamoDB Streams client should expect to load credentials through a
default credentials provider or to expect static credentials to be passed in. |
false | false | MEDIUM
| *camel.component.aws2-ddbstream.autowiredEnabled* | 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 | false | MEDIUM
| *camel.component.aws2-ddbstream.accessKey* | Amazon AWS Access Key | null |
false | MEDIUM
| *camel.component.aws2-ddbstream.secretKey* | Amazon AWS Secret Key | null |
false | MEDIUM
diff --git
a/docs/modules/ROOT/pages/connectors/camel-aws2-ec2-kafka-sink-connector.adoc
b/docs/modules/ROOT/pages/connectors/camel-aws2-ec2-kafka-sink-connector.adoc
index 3097f40..3930557 100644
---
a/docs/modules/ROOT/pages/connectors/camel-aws2-ec2-kafka-sink-connector.adoc
+++
b/docs/modules/ROOT/pages/connectors/camel-aws2-ec2-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@
connector.class=org.apache.camel.kafkaconnector.aws2ec2.CamelAws2ec2SinkConnecto
----
-The camel-aws2-ec2 sink connector supports 29 options, which are listed below.
+The camel-aws2-ec2 sink connector supports 31 options, which are listed below.
@@ -45,6 +45,7 @@ The camel-aws2-ec2 sink connector supports 29 options, which
are listed below.
| *camel.sink.endpoint.secretKey* | Amazon AWS Secret Key | null | false |
MEDIUM
| *camel.sink.endpoint.trustAllCertificates* | If we want to trust all
certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.sink.endpoint.uriEndpointOverride* | Set the overriding uri endpoint.
This option needs to be used in combination with overrideEndpoint option | null
| false | MEDIUM
+| *camel.sink.endpoint.useDefaultCredentialsProvider* | Set whether the EC2
client should expect to load credentials through a default credentials provider
or to expect static credentials to be passed in. | false | false | MEDIUM
| *camel.component.aws2-ec2.accessKey* | Amazon AWS Access Key | null | false
| MEDIUM
| *camel.component.aws2-ec2.amazonEc2Client* | To use a existing configured
AmazonEC2Client as client | null | false | MEDIUM
| *camel.component.aws2-ec2.configuration* | The component configuration |
null | false | MEDIUM
@@ -59,6 +60,7 @@ The camel-aws2-ec2 sink connector supports 29 options, which
are listed below.
| *camel.component.aws2-ec2.secretKey* | Amazon AWS Secret Key | null | false
| MEDIUM
| *camel.component.aws2-ec2.trustAllCertificates* | If we want to trust all
certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.component.aws2-ec2.uriEndpointOverride* | Set the overriding uri
endpoint. This option needs to be used in combination with overrideEndpoint
option | null | false | MEDIUM
+| *camel.component.aws2-ec2.useDefaultCredentials Provider* | Set whether the
EC2 client should expect to load credentials through a default credentials
provider or to expect static credentials to be passed in. | false | false |
MEDIUM
| *camel.component.aws2-ec2.autowiredEnabled* | 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 | false | MEDIUM
|===
diff --git
a/docs/modules/ROOT/pages/connectors/camel-aws2-ecs-kafka-sink-connector.adoc
b/docs/modules/ROOT/pages/connectors/camel-aws2-ecs-kafka-sink-connector.adoc
index ba4361a..9a73f8b 100644
---
a/docs/modules/ROOT/pages/connectors/camel-aws2-ecs-kafka-sink-connector.adoc
+++
b/docs/modules/ROOT/pages/connectors/camel-aws2-ecs-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@
connector.class=org.apache.camel.kafkaconnector.aws2ecs.CamelAws2ecsSinkConnecto
----
-The camel-aws2-ecs sink connector supports 29 options, which are listed below.
+The camel-aws2-ecs sink connector supports 31 options, which are listed below.
@@ -43,6 +43,7 @@ The camel-aws2-ecs sink connector supports 29 options, which
are listed below.
| *camel.sink.endpoint.region* | The region in which ECS client needs to work.
When using this parameter, the configuration will expect the lowercase name of
the region (for example ap-east-1) You'll need to use the name
Region.EU_WEST_1.id() | null | false | MEDIUM
| *camel.sink.endpoint.trustAllCertificates* | If we want to trust all
certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.sink.endpoint.uriEndpointOverride* | Set the overriding uri endpoint.
This option needs to be used in combination with overrideEndpoint option | null
| false | MEDIUM
+| *camel.sink.endpoint.useDefaultCredentialsProvider* | Set whether the ECS
client should expect to load credentials through a default credentials provider
or to expect static credentials to be passed in. | false | false | MEDIUM
| *camel.sink.endpoint.accessKey* | Amazon AWS Access Key | null | false |
MEDIUM
| *camel.sink.endpoint.secretKey* | Amazon AWS Secret Key | null | false |
MEDIUM
| *camel.component.aws2-ecs.configuration* | Component configuration | null |
false | MEDIUM
@@ -57,6 +58,7 @@ The camel-aws2-ecs sink connector supports 29 options, which
are listed below.
| *camel.component.aws2-ecs.region* | The region in which ECS client needs to
work. When using this parameter, the configuration will expect the lowercase
name of the region (for example ap-east-1) You'll need to use the name
Region.EU_WEST_1.id() | null | false | MEDIUM
| *camel.component.aws2-ecs.trustAllCertificates* | If we want to trust all
certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.component.aws2-ecs.uriEndpointOverride* | Set the overriding uri
endpoint. This option needs to be used in combination with overrideEndpoint
option | null | false | MEDIUM
+| *camel.component.aws2-ecs.useDefaultCredentials Provider* | Set whether the
ECS client should expect to load credentials through a default credentials
provider or to expect static credentials to be passed in. | false | false |
MEDIUM
| *camel.component.aws2-ecs.autowiredEnabled* | 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 | false | MEDIUM
| *camel.component.aws2-ecs.accessKey* | Amazon AWS Access Key | null | false
| MEDIUM
| *camel.component.aws2-ecs.secretKey* | Amazon AWS Secret Key | null | false
| MEDIUM