You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by gi...@apache.org on 2020/09/01 01:23:10 UTC

[camel-kafka-connector] 06/07: [create-pull-request] automated change

This is an automated email from the ASF dual-hosted git repository.

github-bot pushed a commit to branch camel-master
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector.git

commit ed40b7930d2e920554f57088ae63cb2586d1b6d5
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Fri Aug 28 03:50:35 2020 +0000

    [create-pull-request] automated change
---
 .../src/main/docs/camel-aws2-sts-kafka-sink-connector.adoc          | 6 ++----
 .../src/main/docs/examples/CamelAws2stsSinkConnector.properties     | 4 ++--
 .../kafkaconnector/aws2sts/CamelAws2stsSinkConnectorConfig.java     | 4 ++--
 .../ROOT/pages/connectors/camel-aws2-sts-kafka-sink-connector.adoc  | 6 ++----
 4 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/connectors/camel-aws2-sts-kafka-connector/src/main/docs/camel-aws2-sts-kafka-sink-connector.adoc b/connectors/camel-aws2-sts-kafka-connector/src/main/docs/camel-aws2-sts-kafka-sink-connector.adoc
index 204c475..59de716 100644
--- a/connectors/camel-aws2-sts-kafka-connector/src/main/docs/camel-aws2-sts-kafka-sink-connector.adoc
+++ b/connectors/camel-aws2-sts-kafka-connector/src/main/docs/camel-aws2-sts-kafka-sink-connector.adoc
@@ -25,7 +25,7 @@ The camel-aws2-sts sink connector supports 29 options, which are listed below.
 | *camel.sink.path.label* | Logical name | null | HIGH
 | *camel.sink.endpoint.autoDiscoverClient* | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | MEDIUM
 | *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then cre [...]
-| *camel.sink.endpoint.operation* | The operation to perform One of: [assumeRole] [getSessionToken] | "assumeRole" | HIGH
+| *camel.sink.endpoint.operation* | The operation to perform One of: [assumeRole] [getSessionToken] [getFederationToken] | "assumeRole" | HIGH
 | *camel.sink.endpoint.pojoRequest* | If we want to use a POJO request as body or not | false | MEDIUM
 | *camel.sink.endpoint.proxyHost* | To define a proxy host when instantiating the STS client | null | MEDIUM
 | *camel.sink.endpoint.proxyPort* | To define a proxy port when instantiating the STS client | null | MEDIUM
@@ -40,7 +40,7 @@ The camel-aws2-sts sink connector supports 29 options, which are listed below.
 | *camel.component.aws2-sts.autoDiscoverClient* | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | MEDIUM
 | *camel.component.aws2-sts.configuration* | Component configuration | null | MEDIUM
 | *camel.component.aws2-sts.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed the [...]
-| *camel.component.aws2-sts.operation* | The operation to perform One of: [assumeRole] [getSessionToken] | "assumeRole" | HIGH
+| *camel.component.aws2-sts.operation* | The operation to perform One of: [assumeRole] [getSessionToken] [getFederationToken] | "assumeRole" | HIGH
 | *camel.component.aws2-sts.pojoRequest* | If we want to use a POJO request as body or not | false | MEDIUM
 | *camel.component.aws2-sts.proxyHost* | To define a proxy host when instantiating the STS client | null | MEDIUM
 | *camel.component.aws2-sts.proxyPort* | To define a proxy port when instantiating the STS client | null | MEDIUM
@@ -52,6 +52,4 @@ The camel-aws2-sts sink connector supports 29 options, which are listed below.
 | *camel.component.aws2-sts.accessKey* | Amazon AWS Access Key | null | MEDIUM
 | *camel.component.aws2-sts.secretKey* | Amazon AWS Secret Key | null | MEDIUM
 |===
-
-
 // kafka-connector options: END
diff --git a/connectors/camel-aws2-sts-kafka-connector/src/main/docs/examples/CamelAws2stsSinkConnector.properties b/connectors/camel-aws2-sts-kafka-connector/src/main/docs/examples/CamelAws2stsSinkConnector.properties
index 3954446..b1e982f 100644
--- a/connectors/camel-aws2-sts-kafka-connector/src/main/docs/examples/CamelAws2stsSinkConnector.properties
+++ b/connectors/camel-aws2-sts-kafka-connector/src/main/docs/examples/CamelAws2stsSinkConnector.properties
@@ -28,9 +28,9 @@ topics=
 
 # mandatory properties (for a complete properties list see the connector documentation):
 
-# The operation to perform One of: [assumeRole] [getSessionToken]
+# The operation to perform One of: [assumeRole] [getSessionToken] [getFederationToken]
 camel.component.aws2-sts.operation=
-# The operation to perform One of: [assumeRole] [getSessionToken]
+# The operation to perform One of: [assumeRole] [getSessionToken] [getFederationToken]
 camel.sink.endpoint.operation=
 # Logical name
 camel.sink.path.label=
diff --git a/connectors/camel-aws2-sts-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2sts/CamelAws2stsSinkConnectorConfig.java b/connectors/camel-aws2-sts-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2sts/CamelAws2stsSinkConnectorConfig.java
index 66ef528..0aaddad 100644
--- a/connectors/camel-aws2-sts-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2sts/CamelAws2stsSinkConnectorConfig.java
+++ b/connectors/camel-aws2-sts-kafka-connector/src/main/java/org/apache/camel/kafkaconnector/aws2sts/CamelAws2stsSinkConnectorConfig.java
@@ -34,7 +34,7 @@ public class CamelAws2stsSinkConnectorConfig extends CamelSinkConnectorConfig {
     public static final String CAMEL_SINK_AWS2STS_ENDPOINT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that wh [...]
     public static final Boolean CAMEL_SINK_AWS2STS_ENDPOINT_LAZY_START_PRODUCER_DEFAULT = false;
     public static final String CAMEL_SINK_AWS2STS_ENDPOINT_OPERATION_CONF = "camel.sink.endpoint.operation";
-    public static final String CAMEL_SINK_AWS2STS_ENDPOINT_OPERATION_DOC = "The operation to perform One of: [assumeRole] [getSessionToken]";
+    public static final String CAMEL_SINK_AWS2STS_ENDPOINT_OPERATION_DOC = "The operation to perform One of: [assumeRole] [getSessionToken] [getFederationToken]";
     public static final String CAMEL_SINK_AWS2STS_ENDPOINT_OPERATION_DEFAULT = "assumeRole";
     public static final String CAMEL_SINK_AWS2STS_ENDPOINT_POJO_REQUEST_CONF = "camel.sink.endpoint.pojoRequest";
     public static final String CAMEL_SINK_AWS2STS_ENDPOINT_POJO_REQUEST_DOC = "If we want to use a POJO request as body or not";
@@ -79,7 +79,7 @@ public class CamelAws2stsSinkConnectorConfig extends CamelSinkConnectorConfig {
     public static final String CAMEL_SINK_AWS2STS_COMPONENT_LAZY_START_PRODUCER_DOC = "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that w [...]
     public static final Boolean CAMEL_SINK_AWS2STS_COMPONENT_LAZY_START_PRODUCER_DEFAULT = false;
     public static final String CAMEL_SINK_AWS2STS_COMPONENT_OPERATION_CONF = "camel.component.aws2-sts.operation";
-    public static final String CAMEL_SINK_AWS2STS_COMPONENT_OPERATION_DOC = "The operation to perform One of: [assumeRole] [getSessionToken]";
+    public static final String CAMEL_SINK_AWS2STS_COMPONENT_OPERATION_DOC = "The operation to perform One of: [assumeRole] [getSessionToken] [getFederationToken]";
     public static final String CAMEL_SINK_AWS2STS_COMPONENT_OPERATION_DEFAULT = "assumeRole";
     public static final String CAMEL_SINK_AWS2STS_COMPONENT_POJO_REQUEST_CONF = "camel.component.aws2-sts.pojoRequest";
     public static final String CAMEL_SINK_AWS2STS_COMPONENT_POJO_REQUEST_DOC = "If we want to use a POJO request as body or not";
diff --git a/docs/modules/ROOT/pages/connectors/camel-aws2-sts-kafka-sink-connector.adoc b/docs/modules/ROOT/pages/connectors/camel-aws2-sts-kafka-sink-connector.adoc
index 204c475..59de716 100644
--- a/docs/modules/ROOT/pages/connectors/camel-aws2-sts-kafka-sink-connector.adoc
+++ b/docs/modules/ROOT/pages/connectors/camel-aws2-sts-kafka-sink-connector.adoc
@@ -25,7 +25,7 @@ The camel-aws2-sts sink connector supports 29 options, which are listed below.
 | *camel.sink.path.label* | Logical name | null | HIGH
 | *camel.sink.endpoint.autoDiscoverClient* | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | MEDIUM
 | *camel.sink.endpoint.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then cre [...]
-| *camel.sink.endpoint.operation* | The operation to perform One of: [assumeRole] [getSessionToken] | "assumeRole" | HIGH
+| *camel.sink.endpoint.operation* | The operation to perform One of: [assumeRole] [getSessionToken] [getFederationToken] | "assumeRole" | HIGH
 | *camel.sink.endpoint.pojoRequest* | If we want to use a POJO request as body or not | false | MEDIUM
 | *camel.sink.endpoint.proxyHost* | To define a proxy host when instantiating the STS client | null | MEDIUM
 | *camel.sink.endpoint.proxyPort* | To define a proxy port when instantiating the STS client | null | MEDIUM
@@ -40,7 +40,7 @@ The camel-aws2-sts sink connector supports 29 options, which are listed below.
 | *camel.component.aws2-sts.autoDiscoverClient* | Setting the autoDiscoverClient mechanism, if true, the component will look for a client instance in the registry automatically otherwise it will skip that checking. | true | MEDIUM
 | *camel.component.aws2-sts.configuration* | Component configuration | null | MEDIUM
 | *camel.component.aws2-sts.lazyStartProducer* | Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed the [...]
-| *camel.component.aws2-sts.operation* | The operation to perform One of: [assumeRole] [getSessionToken] | "assumeRole" | HIGH
+| *camel.component.aws2-sts.operation* | The operation to perform One of: [assumeRole] [getSessionToken] [getFederationToken] | "assumeRole" | HIGH
 | *camel.component.aws2-sts.pojoRequest* | If we want to use a POJO request as body or not | false | MEDIUM
 | *camel.component.aws2-sts.proxyHost* | To define a proxy host when instantiating the STS client | null | MEDIUM
 | *camel.component.aws2-sts.proxyPort* | To define a proxy port when instantiating the STS client | null | MEDIUM
@@ -52,6 +52,4 @@ The camel-aws2-sts sink connector supports 29 options, which are listed below.
 | *camel.component.aws2-sts.accessKey* | Amazon AWS Access Key | null | MEDIUM
 | *camel.component.aws2-sts.secretKey* | Amazon AWS Secret Key | null | MEDIUM
 |===
-
-
 // kafka-connector options: END