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-spring-boot.git
The following commit(s) were added to refs/heads/master by this push:
new bed9421 Regen and add aws2-athena page to the website
bed9421 is described below
commit bed9421cdc719ca18a97b707f38a790ca397afe4
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Jun 8 08:43:18 2020 +0200
Regen and add aws2-athena page to the website
---
components-starter/README.adoc | 5 +-
components-starter/camel-corda-starter/pom.xml | 12 +++++
components-starter/camel-iota-starter/pom.xml | 12 +++++
docs/modules/ROOT/pages/aws2-athena-starter.adoc | 60 ++++++++++++++++++++++++
docs/modules/ROOT/pages/list.adoc | 5 +-
tooling/camel-spring-boot-dependencies/pom.xml | 10 ++++
6 files changed, 102 insertions(+), 2 deletions(-)
diff --git a/components-starter/README.adoc b/components-starter/README.adoc
index e8486cd..6c5d5d8 100644
--- a/components-starter/README.adoc
+++ b/components-starter/README.adoc
@@ -5,7 +5,7 @@ Apache Camel Spring Boot supports the following Camel artifacts
as Spring Boot S
== Camel Components
// components: START
-Number of Camel components: 330 in 263 JAR artifacts (1 deprecated)
+Number of Camel components: 331 in 264 JAR artifacts (1 deprecated)
[width="100%",cols="4,1,5",options="header"]
|===
@@ -62,6 +62,9 @@ Number of Camel components: 330 in 263 JAR artifacts (1
deprecated)
| link:https://camel.apache.org/components/latest/avro-component.html[Avro
RPC] (camel-avro-rpc-starter) +
`avro:transport:host:port/messageName` | 2.10 | Produce or consume Apache Avro
RPC services.
+|
link:https://camel.apache.org/components/latest/aws2-athena-component.html[AWS
2 Athena] (camel-aws2-athena-starter) +
+`aws2-athena:label` | 3.4 | Access AWS Athena service using AWS SDK version
2.x.
+
| link:https://camel.apache.org/components/latest/aws2-cw-component.html[AWS 2
CloudWatch] (camel-aws2-cw-starter) +
`aws2-cw:namespace` | 3.1 | Sending metrics to AWS CloudWatch using AWS SDK
version 2.x.
diff --git a/components-starter/camel-corda-starter/pom.xml
b/components-starter/camel-corda-starter/pom.xml
index 8559a29..9ae10f6 100644
--- a/components-starter/camel-corda-starter/pom.xml
+++ b/components-starter/camel-corda-starter/pom.xml
@@ -38,6 +38,18 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-corda</artifactId>
<version>${camel-version}</version>
+ <!--START OF GENERATED CODE-->
+ <exclusions>
+ <exclusion>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-core</artifactId>
+ </exclusion>
+ </exclusions>
+ <!--END OF GENERATED CODE-->
</dependency>
<!--START OF GENERATED CODE-->
<dependency>
diff --git a/components-starter/camel-iota-starter/pom.xml
b/components-starter/camel-iota-starter/pom.xml
index 0ccac9f..45084aa 100644
--- a/components-starter/camel-iota-starter/pom.xml
+++ b/components-starter/camel-iota-starter/pom.xml
@@ -38,6 +38,18 @@
<groupId>org.apache.camel</groupId>
<artifactId>camel-iota</artifactId>
<version>${camel-version}</version>
+ <!--START OF GENERATED CODE-->
+ <exclusions>
+ <exclusion>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-classic</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>ch.qos.logback</groupId>
+ <artifactId>logback-core</artifactId>
+ </exclusion>
+ </exclusions>
+ <!--END OF GENERATED CODE-->
</dependency>
<!--START OF GENERATED CODE-->
<dependency>
diff --git a/docs/modules/ROOT/pages/aws2-athena-starter.adoc
b/docs/modules/ROOT/pages/aws2-athena-starter.adoc
new file mode 100644
index 0000000..bb06d17
--- /dev/null
+++ b/docs/modules/ROOT/pages/aws2-athena-starter.adoc
@@ -0,0 +1,60 @@
+// spring-boot-auto-configure options: START
+:page-partial:
+:doctitle: Camel Spring Boot Starter for aws2-athena
+
+== Spring Boot Auto-Configuration
+
+When using aws2-athena with Spring Boot make sure to use the following Maven
dependency to have support for auto configuration:
+
+[source,xml]
+----
+<dependency>
+ <groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-aws2-athena-starter</artifactId>
+ <version>x.x.x</version>
+ <!-- use the same version as your Camel core version -->
+</dependency>
+----
+
+
+The component supports 30 options, which are listed below.
+
+
+
+[width="100%",cols="2,5,^1,2",options="header"]
+|===
+| Name | Description | Default | Type
+| *camel.component.aws2-athena.access-key* | Amazon AWS Access Key. | | String
+| *camel.component.aws2-athena.amazon-athena-client* | The AmazonAthena
instance to use as the client. The option is a
software.amazon.awssdk.services.athena.AthenaClient type. | | String
+| *camel.component.aws2-athena.basic-property-binding* | Whether the component
should use basic property binding (Camel 2.x) or the newer property binding
with additional capabilities | false | Boolean
+| *camel.component.aws2-athena.client-request-token* | A unique string to
ensure issues queries are idempotent. It is unlikely you will need to set this.
| | String
+| *camel.component.aws2-athena.configuration* | The component configuration.
The option is a org.apache.camel.component.aws2.athena.Athena2Configuration
type. | | String
+| *camel.component.aws2-athena.database* | The Athena database to use. | |
String
+| *camel.component.aws2-athena.delay* | Milliseconds before the next poll for
query execution status. See the section 'Waiting for Query Completion and
Retrying Failed Queries' to learn more. | 2000 | Long
+| *camel.component.aws2-athena.enabled* | Whether to enable auto configuration
of the aws2-athena component. This is enabled by default. | | Boolean
+| *camel.component.aws2-athena.encryption-option* | The encryption type to use
when storing query results in S3. One of SSE_S3, SSE_KMS, or CSE_KMS. | |
EncryptionOption
+| *camel.component.aws2-athena.include-trace* | Include useful trace
information at the beginning of queries as an SQL comment (prefixed with --). |
false | Boolean
+| *camel.component.aws2-athena.initial-delay* | Milliseconds before the first
poll for query execution status. See the section 'Waiting for Query Completion
and Retrying Failed Queries' to learn more. | 1000 | Long
+| *camel.component.aws2-athena.kms-key* | For SSE-KMS and CSE-KMS, this is the
KMS key ARN or ID. | | String
+| *camel.component.aws2-athena.lazy-start-producer* | 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 processe [...]
+| *camel.component.aws2-athena.max-attempts* | Maximum number of times to
attempt a query. Set to 1 to disable retries. See the section 'Waiting for
Query Completion and Retrying Failed Queries' to learn more. | 1 | Integer
+| *camel.component.aws2-athena.max-results* | Max number of results to return
for the given operation (if supported by the Athena API endpoint). If not set,
will use the Athena API default for the given operation. | | Integer
+| *camel.component.aws2-athena.next-token* | Pagination token to use in the
case where the response from the previous request was truncated. | | String
+| *camel.component.aws2-athena.operation* | The Athena API function to call. |
| Athena2Operations
+| *camel.component.aws2-athena.output-location* | The location in Amazon S3
where query results are stored, such as s3://path/to/query/bucket/. Ensure this
value ends with a forward slash ('/'). | | String
+| *camel.component.aws2-athena.output-type* | How query results should be
returned. One of StreamList (default - return a GetQueryResultsIterable that
can page through all results), SelectList (returns at most 1,000 rows at a
time, plus a NextToken value as a header than can be used for manual pagination
of results), S3Pointer (return an S3 path pointing to the results). | |
Athena2OutputType
+| *camel.component.aws2-athena.proxy-host* | To define a proxy host when
instantiating the Athena client. | | String
+| *camel.component.aws2-athena.proxy-port* | To define a proxy port when
instantiating the Athena client. | | Integer
+| *camel.component.aws2-athena.proxy-protocol* | To define a proxy protocol
when instantiating the Athena client. | | Protocol
+| *camel.component.aws2-athena.query-execution-id* | The unique ID identifying
the query execution. | | String
+| *camel.component.aws2-athena.query-string* | The SQL query to run. Except
for simple queries, prefer setting this as the body of the Exchange or as a
header using Athena2Constants.QUERY_STRING to avoid having to deal with URL
encoding issues. | | String
+| *camel.component.aws2-athena.region* | The region in which Athena 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(). | | String
+| *camel.component.aws2-athena.reset-wait-timeout-on-retry* | Reset the
waitTimeout countdown in the event of a query retry. If set to true, potential
max time spent waiting for queries is equal to waitTimeout x maxAttempts. See
the section 'Waiting for Query Completion and Retrying Failed Queries' to learn
more. | true | Boolean
+| *camel.component.aws2-athena.retry* | Optional comma separated list of error
types to retry the query for. Use 'retryable' to retry all retryable failure
conditions (e.g. generic errors and resources exhausted), 'generic' to retry
'GENERIC_INTERNAL_ERROR' failures, 'exhausted' to retry queries that have
exhausted resource limits, 'always' to always retry regardless of failure
condition, or 'never' or null to never retry (default). See the section
'Waiting for Query Completion and Retry [...]
+| *camel.component.aws2-athena.secret-key* | Amazon AWS Secret Key. | | String
+| *camel.component.aws2-athena.wait-timeout* | Optional max wait time in
millis to wait for a successful query completion. See the section 'Waiting for
Query Completion and Retrying Failed Queries' to learn more. | 0 | Long
+| *camel.component.aws2-athena.work-group* | The workgroup to use for running
the query. | | String
+|===
+
+
+// spring-boot-auto-configure options: END
diff --git a/docs/modules/ROOT/pages/list.adoc
b/docs/modules/ROOT/pages/list.adoc
index e8486cd..6c5d5d8 100644
--- a/docs/modules/ROOT/pages/list.adoc
+++ b/docs/modules/ROOT/pages/list.adoc
@@ -5,7 +5,7 @@ Apache Camel Spring Boot supports the following Camel artifacts
as Spring Boot S
== Camel Components
// components: START
-Number of Camel components: 330 in 263 JAR artifacts (1 deprecated)
+Number of Camel components: 331 in 264 JAR artifacts (1 deprecated)
[width="100%",cols="4,1,5",options="header"]
|===
@@ -62,6 +62,9 @@ Number of Camel components: 330 in 263 JAR artifacts (1
deprecated)
| link:https://camel.apache.org/components/latest/avro-component.html[Avro
RPC] (camel-avro-rpc-starter) +
`avro:transport:host:port/messageName` | 2.10 | Produce or consume Apache Avro
RPC services.
+|
link:https://camel.apache.org/components/latest/aws2-athena-component.html[AWS
2 Athena] (camel-aws2-athena-starter) +
+`aws2-athena:label` | 3.4 | Access AWS Athena service using AWS SDK version
2.x.
+
| link:https://camel.apache.org/components/latest/aws2-cw-component.html[AWS 2
CloudWatch] (camel-aws2-cw-starter) +
`aws2-cw:namespace` | 3.1 | Sending metrics to AWS CloudWatch using AWS SDK
version 2.x.
diff --git a/tooling/camel-spring-boot-dependencies/pom.xml
b/tooling/camel-spring-boot-dependencies/pom.xml
index 72dced4..c212751 100644
--- a/tooling/camel-spring-boot-dependencies/pom.xml
+++ b/tooling/camel-spring-boot-dependencies/pom.xml
@@ -413,6 +413,11 @@
</dependency>
<dependency>
<groupId>org.apache.camel.springboot</groupId>
+ <artifactId>camel-aws2-athena-starter</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.springboot</groupId>
<artifactId>camel-aws2-cw-starter</artifactId>
<version>${project.version}</version>
</dependency>
@@ -2084,6 +2089,11 @@
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
+ <artifactId>camel-aws2-athena</artifactId>
+ <version>3.4.0-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
<artifactId>camel-aws2-cw</artifactId>
<version>3.4.0-SNAPSHOT</version>
</dependency>