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 44f246f [create-pull-request] automated change
44f246f is described below
commit 44f246f904dc5d07d515d0b7fc932f28bc9b5b22
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed May 26 04:33:13 2021 +0000
[create-pull-request] automated change
---
.../generated/resources/connectors/camel-aws2-mq-sink.json | 14 ++++++++++++++
.../src/generated/resources/camel-aws2-mq-sink.json | 14 ++++++++++++++
.../src/main/docs/camel-aws2-mq-kafka-sink-connector.adoc | 4 +++-
.../aws2mq/CamelAws2mqSinkConnectorConfig.java | 8 ++++++++
.../connectors/camel-aws2-mq-kafka-sink-connector.adoc | 4 +++-
5 files changed, 42 insertions(+), 2 deletions(-)
diff --git
a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-mq-sink.json
b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-mq-sink.json
index 865ceac..877d8cb 100644
---
a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-mq-sink.json
+++
b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-mq-sink.json
@@ -98,6 +98,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.useDefaultCredentialsProvider": {
+ "name":
"camel.sink.endpoint.useDefaultCredentialsProvider",
+ "description": "Set whether the MQ 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",
@@ -199,6 +206,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.aws2-mq.useDefaultCredentialsProvider": {
+ "name":
"camel.component.aws2-mq.useDefaultCredentialsProvider",
+ "description": "Set whether the MQ 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-mq.autowiredEnabled": {
"name": "camel.component.aws2-mq.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-mq-kafka-connector/src/generated/resources/camel-aws2-mq-sink.json
b/connectors/camel-aws2-mq-kafka-connector/src/generated/resources/camel-aws2-mq-sink.json
index 865ceac..877d8cb 100644
---
a/connectors/camel-aws2-mq-kafka-connector/src/generated/resources/camel-aws2-mq-sink.json
+++
b/connectors/camel-aws2-mq-kafka-connector/src/generated/resources/camel-aws2-mq-sink.json
@@ -98,6 +98,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.useDefaultCredentialsProvider": {
+ "name":
"camel.sink.endpoint.useDefaultCredentialsProvider",
+ "description": "Set whether the MQ 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",
@@ -199,6 +206,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.component.aws2-mq.useDefaultCredentialsProvider": {
+ "name":
"camel.component.aws2-mq.useDefaultCredentialsProvider",
+ "description": "Set whether the MQ 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-mq.autowiredEnabled": {
"name": "camel.component.aws2-mq.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-mq-kafka-connector/src/main/docs/camel-aws2-mq-kafka-sink-connector.adoc
b/connectors/camel-aws2-mq-kafka-connector/src/main/docs/camel-aws2-mq-kafka-sink-connector.adoc
index 62e1ef9..cf9667d 100644
---
a/connectors/camel-aws2-mq-kafka-connector/src/main/docs/camel-aws2-mq-kafka-sink-connector.adoc
+++
b/connectors/camel-aws2-mq-kafka-connector/src/main/docs/camel-aws2-mq-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@
connector.class=org.apache.camel.kafkaconnector.aws2mq.CamelAws2mqSinkConnector
----
-The camel-aws2-mq sink connector supports 29 options, which are listed below.
+The camel-aws2-mq sink connector supports 31 options, which are listed below.
@@ -43,6 +43,7 @@ The camel-aws2-mq sink connector supports 29 options, which
are listed below.
| *camel.sink.endpoint.region* | The region in which MQ 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 MQ
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-mq.amazonMqClient* | To use a existing configured
AmazonMQClient as client | null | false | MEDIUM
@@ -57,6 +58,7 @@ The camel-aws2-mq sink connector supports 29 options, which
are listed below.
| *camel.component.aws2-mq.region* | The region in which MQ 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-mq.trustAllCertificates* | If we want to trust all
certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.component.aws2-mq.uriEndpointOverride* | Set the overriding uri
endpoint. This option needs to be used in combination with overrideEndpoint
option | null | false | MEDIUM
+| *camel.component.aws2-mq.useDefaultCredentials Provider* | Set whether the
MQ 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-mq.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-mq.accessKey* | Amazon AWS Access Key | null | false |
MEDIUM
| *camel.component.aws2-mq.secretKey* | Amazon AWS Secret Key | null | false |
MEDIUM
diff --git
a/connectors/camel-aws2-mq-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2mq/CamelAws2mqSinkConnectorConfig.java
b/connectors/camel-aws2-mq-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2mq/CamelAws2mqSinkConnectorConfig.java
index 7e58623..6c62967 100644
---
a/connectors/camel-aws2-mq-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2mq/CamelAws2mqSinkConnectorConfig.java
+++
b/connectors/camel-aws2-mq-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2mq/CamelAws2mqSinkConnectorConfig.java
@@ -60,6 +60,9 @@ public class CamelAws2mqSinkConnectorConfig extends
CamelSinkConnectorConfig {
public static final String
CAMEL_SINK_AWS2MQ_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF =
"camel.sink.endpoint.uriEndpointOverride";
public static final String
CAMEL_SINK_AWS2MQ_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_AWS2MQ_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT = null;
+ public static final String
CAMEL_SINK_AWS2MQ_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF =
"camel.sink.endpoint.useDefaultCredentialsProvider";
+ public static final String
CAMEL_SINK_AWS2MQ_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "Set whether
the MQ 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_AWS2MQ_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT = false;
public static final String CAMEL_SINK_AWS2MQ_ENDPOINT_ACCESS_KEY_CONF =
"camel.sink.endpoint.accessKey";
public static final String CAMEL_SINK_AWS2MQ_ENDPOINT_ACCESS_KEY_DOC =
"Amazon AWS Access Key";
public static final String CAMEL_SINK_AWS2MQ_ENDPOINT_ACCESS_KEY_DEFAULT =
null;
@@ -102,6 +105,9 @@ public class CamelAws2mqSinkConnectorConfig extends
CamelSinkConnectorConfig {
public static final String
CAMEL_SINK_AWS2MQ_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF =
"camel.component.aws2-mq.uriEndpointOverride";
public static final String
CAMEL_SINK_AWS2MQ_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_AWS2MQ_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT = null;
+ public static final String
CAMEL_SINK_AWS2MQ_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF =
"camel.component.aws2-mq.useDefaultCredentialsProvider";
+ public static final String
CAMEL_SINK_AWS2MQ_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "Set whether
the MQ 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_AWS2MQ_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT = false;
public static final String
CAMEL_SINK_AWS2MQ_COMPONENT_AUTOWIRED_ENABLED_CONF =
"camel.component.aws2-mq.autowiredEnabled";
public static final String
CAMEL_SINK_AWS2MQ_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_AWS2MQ_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true;
@@ -136,6 +142,7 @@ public class CamelAws2mqSinkConnectorConfig extends
CamelSinkConnectorConfig {
conf.define(CAMEL_SINK_AWS2MQ_ENDPOINT_REGION_CONF,
ConfigDef.Type.STRING, CAMEL_SINK_AWS2MQ_ENDPOINT_REGION_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2MQ_ENDPOINT_REGION_DOC);
conf.define(CAMEL_SINK_AWS2MQ_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWS2MQ_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2MQ_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SINK_AWS2MQ_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF,
ConfigDef.Type.STRING,
CAMEL_SINK_AWS2MQ_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2MQ_ENDPOINT_URI_ENDPOINT_OVERRIDE_DOC);
+
conf.define(CAMEL_SINK_AWS2MQ_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWS2MQ_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2MQ_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SINK_AWS2MQ_ENDPOINT_ACCESS_KEY_CONF,
ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2MQ_ENDPOINT_ACCESS_KEY_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2MQ_ENDPOINT_ACCESS_KEY_DOC);
conf.define(CAMEL_SINK_AWS2MQ_ENDPOINT_SECRET_KEY_CONF,
ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2MQ_ENDPOINT_SECRET_KEY_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2MQ_ENDPOINT_SECRET_KEY_DOC);
conf.define(CAMEL_SINK_AWS2MQ_COMPONENT_AMAZON_MQ_CLIENT_CONF,
ConfigDef.Type.STRING, CAMEL_SINK_AWS2MQ_COMPONENT_AMAZON_MQ_CLIENT_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2MQ_COMPONENT_AMAZON_MQ_CLIENT_DOC);
@@ -150,6 +157,7 @@ public class CamelAws2mqSinkConnectorConfig extends
CamelSinkConnectorConfig {
conf.define(CAMEL_SINK_AWS2MQ_COMPONENT_REGION_CONF,
ConfigDef.Type.STRING, CAMEL_SINK_AWS2MQ_COMPONENT_REGION_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2MQ_COMPONENT_REGION_DOC);
conf.define(CAMEL_SINK_AWS2MQ_COMPONENT_TRUST_ALL_CERTIFICATES_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWS2MQ_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2MQ_COMPONENT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SINK_AWS2MQ_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF,
ConfigDef.Type.STRING,
CAMEL_SINK_AWS2MQ_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2MQ_COMPONENT_URI_ENDPOINT_OVERRIDE_DOC);
+
conf.define(CAMEL_SINK_AWS2MQ_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWS2MQ_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWS2MQ_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SINK_AWS2MQ_COMPONENT_AUTOWIRED_ENABLED_CONF,
ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2MQ_COMPONENT_AUTOWIRED_ENABLED_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2MQ_COMPONENT_AUTOWIRED_ENABLED_DOC);
conf.define(CAMEL_SINK_AWS2MQ_COMPONENT_ACCESS_KEY_CONF,
ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2MQ_COMPONENT_ACCESS_KEY_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2MQ_COMPONENT_ACCESS_KEY_DOC);
conf.define(CAMEL_SINK_AWS2MQ_COMPONENT_SECRET_KEY_CONF,
ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2MQ_COMPONENT_SECRET_KEY_DEFAULT,
ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2MQ_COMPONENT_SECRET_KEY_DOC);
diff --git
a/docs/modules/ROOT/pages/connectors/camel-aws2-mq-kafka-sink-connector.adoc
b/docs/modules/ROOT/pages/connectors/camel-aws2-mq-kafka-sink-connector.adoc
index 62e1ef9..cf9667d 100644
--- a/docs/modules/ROOT/pages/connectors/camel-aws2-mq-kafka-sink-connector.adoc
+++ b/docs/modules/ROOT/pages/connectors/camel-aws2-mq-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@
connector.class=org.apache.camel.kafkaconnector.aws2mq.CamelAws2mqSinkConnector
----
-The camel-aws2-mq sink connector supports 29 options, which are listed below.
+The camel-aws2-mq sink connector supports 31 options, which are listed below.
@@ -43,6 +43,7 @@ The camel-aws2-mq sink connector supports 29 options, which
are listed below.
| *camel.sink.endpoint.region* | The region in which MQ 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 MQ
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-mq.amazonMqClient* | To use a existing configured
AmazonMQClient as client | null | false | MEDIUM
@@ -57,6 +58,7 @@ The camel-aws2-mq sink connector supports 29 options, which
are listed below.
| *camel.component.aws2-mq.region* | The region in which MQ 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-mq.trustAllCertificates* | If we want to trust all
certificates in case of overriding the endpoint | false | false | MEDIUM
| *camel.component.aws2-mq.uriEndpointOverride* | Set the overriding uri
endpoint. This option needs to be used in combination with overrideEndpoint
option | null | false | MEDIUM
+| *camel.component.aws2-mq.useDefaultCredentials Provider* | Set whether the
MQ 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-mq.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-mq.accessKey* | Amazon AWS Access Key | null | false |
MEDIUM
| *camel.component.aws2-mq.secretKey* | Amazon AWS Secret Key | null | false |
MEDIUM