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 97746ae [create-pull-request] automated change
97746ae is described below
commit 97746ae9b6729804d87a8cb2390097ff5532e376
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Wed Jun 2 07:24:36 2021 +0000
[create-pull-request] automated change
---
.../connectors/camel-aws-secrets-manager-sink.json | 14 ++++++++++++++
.../resources/camel-aws-secrets-manager-sink.json | 14 ++++++++++++++
.../camel-aws-secrets-manager-kafka-sink-connector.adoc | 4 +++-
.../CamelAwssecretsmanagerSinkConnectorConfig.java | 8 ++++++++
.../camel-aws-secrets-manager-kafka-sink-connector.adoc | 4 +++-
5 files changed, 42 insertions(+), 2 deletions(-)
diff --git
a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws-secrets-manager-sink.json
b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws-secrets-manager-sink.json
index 9bb8afa..6e1b32b 100644
---
a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws-secrets-manager-sink.json
+++
b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws-secrets-manager-sink.json
@@ -107,6 +107,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.useDefaultCredentialsProvider": {
+ "name":
"camel.sink.endpoint.useDefaultCredentialsProvider",
+ "description": "Set whether the Translate 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",
@@ -217,6 +224,13 @@
"priority": "MEDIUM",
"required": "false"
},
+
"camel.component.aws-secrets-manager.useDefaultCredentialsProvider": {
+ "name":
"camel.component.aws-secrets-manager.useDefaultCredentialsProvider",
+ "description": "Set whether the Translate 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.aws-secrets-manager.autowiredEnabled": {
"name":
"camel.component.aws-secrets-manager.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-aws-secrets-manager-kafka-connector/src/generated/resources/camel-aws-secrets-manager-sink.json
b/connectors/camel-aws-secrets-manager-kafka-connector/src/generated/resources/camel-aws-secrets-manager-sink.json
index 9bb8afa..6e1b32b 100644
---
a/connectors/camel-aws-secrets-manager-kafka-connector/src/generated/resources/camel-aws-secrets-manager-sink.json
+++
b/connectors/camel-aws-secrets-manager-kafka-connector/src/generated/resources/camel-aws-secrets-manager-sink.json
@@ -107,6 +107,13 @@
"priority": "MEDIUM",
"required": "false"
},
+ "camel.sink.endpoint.useDefaultCredentialsProvider": {
+ "name":
"camel.sink.endpoint.useDefaultCredentialsProvider",
+ "description": "Set whether the Translate 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",
@@ -217,6 +224,13 @@
"priority": "MEDIUM",
"required": "false"
},
+
"camel.component.aws-secrets-manager.useDefaultCredentialsProvider": {
+ "name":
"camel.component.aws-secrets-manager.useDefaultCredentialsProvider",
+ "description": "Set whether the Translate 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.aws-secrets-manager.autowiredEnabled": {
"name":
"camel.component.aws-secrets-manager.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-aws-secrets-manager-kafka-connector/src/main/docs/camel-aws-secrets-manager-kafka-sink-connector.adoc
b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/docs/camel-aws-secrets-manager-kafka-sink-connector.adoc
index a57b0dc..9ae4964 100644
---
a/connectors/camel-aws-secrets-manager-kafka-connector/src/main/docs/camel-aws-secrets-manager-kafka-sink-connector.adoc
+++
b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/docs/camel-aws-secrets-manager-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@
connector.class=org.apache.camel.kafkaconnector.awssecretsmanager.CamelAwssecret
----
-The camel-aws-secrets-manager sink connector supports 31 options, which are
listed below.
+The camel-aws-secrets-manager sink connector supports 33 options, which are
listed below.
@@ -44,6 +44,7 @@ The camel-aws-secrets-manager sink connector supports 31
options, which are list
| *camel.sink.endpoint.secretsManagerClient* | To use a existing configured
AWS Secrets Manager as client | 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
Translate 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.aws-secrets-manager.binaryPayload* | Set if the secret is
binary or not | false | false | MEDIUM
@@ -59,6 +60,7 @@ The camel-aws-secrets-manager sink connector supports 31
options, which are list
| *camel.component.aws-secrets-manager.secretsManager Client* | To use a
existing configured AWS Secrets Manager as client | null | false | MEDIUM
| *camel.component.aws-secrets-manager.trustAll Certificates* | If we want to
trust all certificates in case of overriding the endpoint | false | false |
MEDIUM
| *camel.component.aws-secrets-manager.uriEndpoint Override* | Set the
overriding uri endpoint. This option needs to be used in combination with
overrideEndpoint option | null | false | MEDIUM
+| *camel.component.aws-secrets-manager.useDefault CredentialsProvider* | Set
whether the Translate 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.aws-secrets-manager.autowired Enabled* | 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.aws-secrets-manager.accessKey* | Amazon AWS Access Key |
null | false | MEDIUM
| *camel.component.aws-secrets-manager.secretKey* | Amazon AWS Secret Key |
null | false | MEDIUM
diff --git
a/connectors/camel-aws-secrets-manager-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssecretsmanager/CamelAwssecretsmanagerSinkConnectorConfig.java
b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssecretsmanager/CamelAwssecretsmanagerSinkConnectorConfig.java
index e8a2b12..186ce05 100644
---
a/connectors/camel-aws-secrets-manager-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssecretsmanager/CamelAwssecretsmanagerSinkConnectorConfig.java
+++
b/connectors/camel-aws-secrets-manager-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/awssecretsmanager/CamelAwssecretsmanagerSinkConnectorConfig.java
@@ -65,6 +65,9 @@ public class CamelAwssecretsmanagerSinkConnectorConfig
public static final String
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF =
"camel.sink.endpoint.uriEndpointOverride";
public static final String
CAMEL_SINK_AWSSECRETSMANAGER_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_AWSSECRETSMANAGER_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT = null;
+ public static final String
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF =
"camel.sink.endpoint.useDefaultCredentialsProvider";
+ public static final String
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC =
"Set whether the Translate 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_AWSSECRETSMANAGER_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT
= false;
public static final String
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_ACCESS_KEY_CONF =
"camel.sink.endpoint.accessKey";
public static final String
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_ACCESS_KEY_DOC = "Amazon AWS Access Key";
public static final String
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_ACCESS_KEY_DEFAULT = null;
@@ -110,6 +113,9 @@ public class CamelAwssecretsmanagerSinkConnectorConfig
public static final String
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF =
"camel.component.aws-secrets-manager.uriEndpointOverride";
public static final String
CAMEL_SINK_AWSSECRETSMANAGER_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_AWSSECRETSMANAGER_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT = null;
+ public static final String
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF =
"camel.component.aws-secrets-manager.useDefaultCredentialsProvider";
+ public static final String
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC =
"Set whether the Translate 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_AWSSECRETSMANAGER_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT
= false;
public static final String
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_AUTOWIRED_ENABLED_CONF =
"camel.component.aws-secrets-manager.autowiredEnabled";
public static final String
CAMEL_SINK_AWSSECRETSMANAGER_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_AWSSECRETSMANAGER_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true;
@@ -146,6 +152,7 @@ public class CamelAwssecretsmanagerSinkConnectorConfig
conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRETS_MANAGER_CLIENT_CONF,
ConfigDef.Type.STRING,
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRETS_MANAGER_CLIENT_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRETS_MANAGER_CLIENT_DOC);
conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF,
ConfigDef.Type.STRING,
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_URI_ENDPOINT_OVERRIDE_DOC);
+
conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_ACCESS_KEY_CONF,
ConfigDef.Type.PASSWORD,
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_ACCESS_KEY_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_ACCESS_KEY_DOC);
conf.define(CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRET_KEY_CONF,
ConfigDef.Type.PASSWORD,
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRET_KEY_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWSSECRETSMANAGER_ENDPOINT_SECRET_KEY_DOC);
conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_BINARY_PAYLOAD_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_BINARY_PAYLOAD_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_BINARY_PAYLOAD_DOC);
@@ -161,6 +168,7 @@ public class CamelAwssecretsmanagerSinkConnectorConfig
conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRETS_MANAGER_CLIENT_CONF,
ConfigDef.Type.STRING,
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRETS_MANAGER_CLIENT_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRETS_MANAGER_CLIENT_DOC);
conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_TRUST_ALL_CERTIFICATES_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_TRUST_ALL_CERTIFICATES_DOC);
conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF,
ConfigDef.Type.STRING,
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_URI_ENDPOINT_OVERRIDE_DOC);
+
conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC);
conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_AUTOWIRED_ENABLED_CONF,
ConfigDef.Type.BOOLEAN,
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_AUTOWIRED_ENABLED_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_AUTOWIRED_ENABLED_DOC);
conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_ACCESS_KEY_CONF,
ConfigDef.Type.PASSWORD,
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_ACCESS_KEY_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_ACCESS_KEY_DOC);
conf.define(CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRET_KEY_CONF,
ConfigDef.Type.PASSWORD,
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRET_KEY_DEFAULT,
ConfigDef.Importance.MEDIUM,
CAMEL_SINK_AWSSECRETSMANAGER_COMPONENT_SECRET_KEY_DOC);
diff --git
a/docs/modules/ROOT/pages/connectors/camel-aws-secrets-manager-kafka-sink-connector.adoc
b/docs/modules/ROOT/pages/connectors/camel-aws-secrets-manager-kafka-sink-connector.adoc
index a57b0dc..9ae4964 100644
---
a/docs/modules/ROOT/pages/connectors/camel-aws-secrets-manager-kafka-sink-connector.adoc
+++
b/docs/modules/ROOT/pages/connectors/camel-aws-secrets-manager-kafka-sink-connector.adoc
@@ -24,7 +24,7 @@
connector.class=org.apache.camel.kafkaconnector.awssecretsmanager.CamelAwssecret
----
-The camel-aws-secrets-manager sink connector supports 31 options, which are
listed below.
+The camel-aws-secrets-manager sink connector supports 33 options, which are
listed below.
@@ -44,6 +44,7 @@ The camel-aws-secrets-manager sink connector supports 31
options, which are list
| *camel.sink.endpoint.secretsManagerClient* | To use a existing configured
AWS Secrets Manager as client | 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
Translate 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.aws-secrets-manager.binaryPayload* | Set if the secret is
binary or not | false | false | MEDIUM
@@ -59,6 +60,7 @@ The camel-aws-secrets-manager sink connector supports 31
options, which are list
| *camel.component.aws-secrets-manager.secretsManager Client* | To use a
existing configured AWS Secrets Manager as client | null | false | MEDIUM
| *camel.component.aws-secrets-manager.trustAll Certificates* | If we want to
trust all certificates in case of overriding the endpoint | false | false |
MEDIUM
| *camel.component.aws-secrets-manager.uriEndpoint Override* | Set the
overriding uri endpoint. This option needs to be used in combination with
overrideEndpoint option | null | false | MEDIUM
+| *camel.component.aws-secrets-manager.useDefault CredentialsProvider* | Set
whether the Translate 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.aws-secrets-manager.autowired Enabled* | 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.aws-secrets-manager.accessKey* | Amazon AWS Access Key |
null | false | MEDIUM
| *camel.component.aws-secrets-manager.secretKey* | Amazon AWS Secret Key |
null | false | MEDIUM