This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git
The following commit(s) were added to refs/heads/master by this push: new 7820e06 [create-pull-request] automated change 7820e06 is described below commit 7820e066c1b01896393670083396bc770d59a123 Author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> AuthorDate: Thu Apr 8 03:43:51 2021 +0000 [create-pull-request] automated change --- .../connectors/camel-aws2-kinesis-firehose-sink.json | 14 ++++++++++++++ .../resources/camel-aws2-kinesis-firehose-sink.json | 14 ++++++++++++++ .../camel-aws2-kinesis-firehose-kafka-sink-connector.adoc | 4 +++- .../CamelAws2kinesisfirehoseSinkConnectorConfig.java | 8 ++++++++ .../camel-aws2-kinesis-firehose-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-kinesis-firehose-sink.json b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-kinesis-firehose-sink.json index ff84b62..f297394 100644 --- a/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-kinesis-firehose-sink.json +++ b/camel-kafka-connector-catalog/src/generated/resources/connectors/camel-aws2-kinesis-firehose-sink.json @@ -97,6 +97,13 @@ "priority": "MEDIUM", "required": "false" }, + "camel.sink.endpoint.useDefaultCredentialsProvider": { + "name": "camel.sink.endpoint.useDefaultCredentialsProvider", + "description": "Set whether the Kinesis Firehose 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", @@ -197,6 +204,13 @@ "priority": "MEDIUM", "required": "false" }, + "camel.component.aws2-kinesis-firehose.useDefaultCredentialsProvider": { + "name": "camel.component.aws2-kinesis-firehose.useDefaultCredentialsProvider", + "description": "Set whether the Kinesis Firehose 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-kinesis-firehose.autowiredEnabled": { "name": "camel.component.aws2-kinesis-firehose.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-kinesis-firehose-kafka-connector/src/generated/resources/camel-aws2-kinesis-firehose-sink.json b/connectors/camel-aws2-kinesis-firehose-kafka-connector/src/generated/resources/camel-aws2-kinesis-firehose-sink.json index ff84b62..f297394 100644 --- a/connectors/camel-aws2-kinesis-firehose-kafka-connector/src/generated/resources/camel-aws2-kinesis-firehose-sink.json +++ b/connectors/camel-aws2-kinesis-firehose-kafka-connector/src/generated/resources/camel-aws2-kinesis-firehose-sink.json @@ -97,6 +97,13 @@ "priority": "MEDIUM", "required": "false" }, + "camel.sink.endpoint.useDefaultCredentialsProvider": { + "name": "camel.sink.endpoint.useDefaultCredentialsProvider", + "description": "Set whether the Kinesis Firehose 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", @@ -197,6 +204,13 @@ "priority": "MEDIUM", "required": "false" }, + "camel.component.aws2-kinesis-firehose.useDefaultCredentialsProvider": { + "name": "camel.component.aws2-kinesis-firehose.useDefaultCredentialsProvider", + "description": "Set whether the Kinesis Firehose 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-kinesis-firehose.autowiredEnabled": { "name": "camel.component.aws2-kinesis-firehose.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-kinesis-firehose-kafka-connector/src/main/docs/camel-aws2-kinesis-firehose-kafka-sink-connector.adoc b/connectors/camel-aws2-kinesis-firehose-kafka-connector/src/main/docs/camel-aws2-kinesis-firehose-kafka-sink-connector.adoc index 9d59bc6..0f58034 100644 --- a/connectors/camel-aws2-kinesis-firehose-kafka-connector/src/main/docs/camel-aws2-kinesis-firehose-kafka-sink-connector.adoc +++ b/connectors/camel-aws2-kinesis-firehose-kafka-connector/src/main/docs/camel-aws2-kinesis-firehose-kafka-sink-connector.adoc @@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.aws2kinesisfirehose.CamelAws2kin ---- -The camel-aws2-kinesis-firehose sink connector supports 29 options, which are listed below. +The camel-aws2-kinesis-firehose sink connector supports 31 options, which are listed below. @@ -43,6 +43,7 @@ The camel-aws2-kinesis-firehose sink connector supports 29 options, which are li | *camel.sink.endpoint.region* | The region in which Kinesis Firehose 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 Kinesis Firehose 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-kinesis-firehose.amazon KinesisFirehoseClient* | Amazon Kinesis Firehose client to use for all requests for this endpoint | null | false | MEDIUM @@ -57,6 +58,7 @@ The camel-aws2-kinesis-firehose sink connector supports 29 options, which are li | *camel.component.aws2-kinesis-firehose.region* | The region in which Kinesis Firehose 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-kinesis-firehose.trustAll Certificates* | If we want to trust all certificates in case of overriding the endpoint | false | false | MEDIUM | *camel.component.aws2-kinesis-firehose.uriEndpoint Override* | Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option | null | false | MEDIUM +| *camel.component.aws2-kinesis-firehose.useDefault CredentialsProvider* | Set whether the Kinesis Firehose 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-kinesis-firehose.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.aws2-kinesis-firehose.accessKey* | Amazon AWS Access Key | null | false | MEDIUM | *camel.component.aws2-kinesis-firehose.secretKey* | Amazon AWS Secret Key | null | false | MEDIUM diff --git a/connectors/camel-aws2-kinesis-firehose-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2kinesisfirehose/CamelAws2kinesisfirehoseSinkConnectorConfig.java b/connectors/camel-aws2-kinesis-firehose-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2kinesisfirehose/CamelAws2kinesisfirehoseSinkConnectorConfig.java index ad8f379..d14c44f 100644 --- a/connectors/camel-aws2-kinesis-firehose-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2kinesisfirehose/CamelAws2kinesisfirehoseSinkConnectorConfig.java +++ b/connectors/camel-aws2-kinesis-firehose-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2kinesisfirehose/CamelAws2kinesisfirehoseSinkConnectorConfig.java @@ -62,6 +62,9 @@ public class CamelAws2kinesisfirehoseSinkConnectorConfig public static final String CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF = "camel.sink.endpoint.uriEndpointOverride"; public static final String CAMEL_SINK_AWS2KINESISFIREHOSE_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_AWS2KINESISFIREHOSE_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT = null; + public static final String CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF = "camel.sink.endpoint.useDefaultCredentialsProvider"; + public static final String CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "Set whether the Kinesis Firehose 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_AWS2KINESISFIREHOSE_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT = false; public static final String CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_ACCESS_KEY_CONF = "camel.sink.endpoint.accessKey"; public static final String CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_ACCESS_KEY_DOC = "Amazon AWS Access Key"; public static final String CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_ACCESS_KEY_DEFAULT = null; @@ -104,6 +107,9 @@ public class CamelAws2kinesisfirehoseSinkConnectorConfig public static final String CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF = "camel.component.aws2-kinesis-firehose.uriEndpointOverride"; public static final String CAMEL_SINK_AWS2KINESISFIREHOSE_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_AWS2KINESISFIREHOSE_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT = null; + public static final String CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF = "camel.component.aws2-kinesis-firehose.useDefaultCredentialsProvider"; + public static final String CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC = "Set whether the Kinesis Firehose 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_AWS2KINESISFIREHOSE_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT = false; public static final String CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_AUTOWIRED_ENABLED_CONF = "camel.component.aws2-kinesis-firehose.autowiredEnabled"; public static final String CAMEL_SINK_AWS2KINESISFIREHOSE_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_AWS2KINESISFIREHOSE_COMPONENT_AUTOWIRED_ENABLED_DEFAULT = true; @@ -139,6 +145,7 @@ public class CamelAws2kinesisfirehoseSinkConnectorConfig conf.define(CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_REGION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_REGION_DOC); conf.define(CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_TRUST_ALL_CERTIFICATES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_TRUST_ALL_CERTIFICATES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_TRUST_ALL_CERTIFICATES_DOC); conf.define(CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_URI_ENDPOINT_OVERRIDE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_URI_ENDPOINT_OVERRIDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_URI_ENDPOINT_OVERRIDE_DOC); + conf.define(CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC); conf.define(CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_ACCESS_KEY_DOC); conf.define(CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_SECRET_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KINESISFIREHOSE_ENDPOINT_SECRET_KEY_DOC); conf.define(CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_AMAZON_KINESIS_FIREHOSE_CLIENT_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_AMAZON_KINESIS_FIREHOSE_CLIENT_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_AMAZON_KINESIS_FIREHOSE_CLIENT_DOC); @@ -153,6 +160,7 @@ public class CamelAws2kinesisfirehoseSinkConnectorConfig conf.define(CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_REGION_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_REGION_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_REGION_DOC); conf.define(CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_TRUST_ALL_CERTIFICATES_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_TRUST_ALL_CERTIFICATES_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_TRUST_ALL_CERTIFICATES_DOC); conf.define(CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_URI_ENDPOINT_OVERRIDE_CONF, ConfigDef.Type.STRING, CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_URI_ENDPOINT_OVERRIDE_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_URI_ENDPOINT_OVERRIDE_DOC); + conf.define(CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_USE_DEFAULT_CREDENTIALS_PROVIDER_DOC); conf.define(CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_AUTOWIRED_ENABLED_CONF, ConfigDef.Type.BOOLEAN, CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_AUTOWIRED_ENABLED_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_AUTOWIRED_ENABLED_DOC); conf.define(CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_ACCESS_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_ACCESS_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_ACCESS_KEY_DOC); conf.define(CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_SECRET_KEY_CONF, ConfigDef.Type.PASSWORD, CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_SECRET_KEY_DEFAULT, ConfigDef.Importance.MEDIUM, CAMEL_SINK_AWS2KINESISFIREHOSE_COMPONENT_SECRET_KEY_DOC); diff --git a/docs/modules/ROOT/pages/connectors/camel-aws2-kinesis-firehose-kafka-sink-connector.adoc b/docs/modules/ROOT/pages/connectors/camel-aws2-kinesis-firehose-kafka-sink-connector.adoc index 9d59bc6..0f58034 100644 --- a/docs/modules/ROOT/pages/connectors/camel-aws2-kinesis-firehose-kafka-sink-connector.adoc +++ b/docs/modules/ROOT/pages/connectors/camel-aws2-kinesis-firehose-kafka-sink-connector.adoc @@ -24,7 +24,7 @@ connector.class=org.apache.camel.kafkaconnector.aws2kinesisfirehose.CamelAws2kin ---- -The camel-aws2-kinesis-firehose sink connector supports 29 options, which are listed below. +The camel-aws2-kinesis-firehose sink connector supports 31 options, which are listed below. @@ -43,6 +43,7 @@ The camel-aws2-kinesis-firehose sink connector supports 29 options, which are li | *camel.sink.endpoint.region* | The region in which Kinesis Firehose 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 Kinesis Firehose 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-kinesis-firehose.amazon KinesisFirehoseClient* | Amazon Kinesis Firehose client to use for all requests for this endpoint | null | false | MEDIUM @@ -57,6 +58,7 @@ The camel-aws2-kinesis-firehose sink connector supports 29 options, which are li | *camel.component.aws2-kinesis-firehose.region* | The region in which Kinesis Firehose 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-kinesis-firehose.trustAll Certificates* | If we want to trust all certificates in case of overriding the endpoint | false | false | MEDIUM | *camel.component.aws2-kinesis-firehose.uriEndpoint Override* | Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option | null | false | MEDIUM +| *camel.component.aws2-kinesis-firehose.useDefault CredentialsProvider* | Set whether the Kinesis Firehose 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-kinesis-firehose.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.aws2-kinesis-firehose.accessKey* | Amazon AWS Access Key | null | false | MEDIUM | *camel.component.aws2-kinesis-firehose.secretKey* | Amazon AWS Secret Key | null | false | MEDIUM