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.git
commit f5a78a4809ba34dfa41a01ce71c3ce34daa0073f Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Feb 11 09:59:17 2020 +0100 CAMEL-14519 - Create an AWS-DDB component based on SDK v2, Regen --- .../resources/org/apache/camel/component/aws2/ddb/aws2-ddb.json | 4 ++-- .../org/apache/camel/component/aws2/ddbstream/aws2-ddbstream.json | 2 +- components/camel-aws2-ddb/src/main/docs/aws2-ddb-component.adoc | 4 ++-- .../org/apache/camel/builder/component/ComponentsBuilderFactory.java | 4 ++-- .../camel/builder/component/dsl/Aws2DdbComponentBuilderFactory.java | 4 ++-- .../builder/component/dsl/Aws2DdbstreamComponentBuilderFactory.java | 5 +++-- core/camel-componentdsl/src/generated/resources/metadata.json | 4 ++-- 7 files changed, 14 insertions(+), 13 deletions(-) diff --git a/components/camel-aws2-ddb/src/generated/resources/org/apache/camel/component/aws2/ddb/aws2-ddb.json b/components/camel-aws2-ddb/src/generated/resources/org/apache/camel/component/aws2/ddb/aws2-ddb.json index 0133e81..9bd3413 100644 --- a/components/camel-aws2-ddb/src/generated/resources/org/apache/camel/component/aws2/ddb/aws2-ddb.json +++ b/components/camel-aws2-ddb/src/generated/resources/org/apache/camel/component/aws2/ddb/aws2-ddb.json @@ -5,7 +5,7 @@ "extendsScheme": "", "syntax": "aws2-ddb:tableName", "title": "AWS 2 DynamoDB", - "description": "The aws-ddb component is used for storing and retrieving data from Amazon's DynamoDB service.", + "description": "The aws2-ddb component is used for storing and retrieving data from Amazon's DynamoDB service.", "label": "cloud,database,nosql", "deprecated": false, "async": false, @@ -35,7 +35,7 @@ "lazyStartProducer": { "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "secret": false, "defaultValue": false, "description": "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 [...] "operation": { "kind": "parameter", "displayName": "Operation", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "org.apache.camel.component.aws2.ddb.Ddb2Operations", "enum": [ "BatchGetItems", "DeleteItem", "DeleteTable", "DescribeTable", "GetItem", "PutItem", "Query", "Scan", "UpdateItem", "UpdateTable" ], "deprecated": false, "secret": false, "defaultValue": "PutItem", "configurationClass": "org.apache.camel.component.aws2.ddb.Ddb2Configuration", [...] "proxyHost": { "kind": "parameter", "displayName": "Proxy Host", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.ddb.Ddb2Configuration", "configurationField": "configuration", "description": "To define a proxy host when instantiating the DDB client" }, - "proxyPort": { "kind": "parameter", "displayName": "Proxy Port", "group": "producer", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.ddb.Ddb2Configuration", "configurationField": "configuration", "description": "To define a proxy port when instantiating the DDB client. When using this parameter, the configuration will expect the capitalized name of the reg [...] + "proxyPort": { "kind": "parameter", "displayName": "Proxy Port", "group": "producer", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Integer", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.ddb.Ddb2Configuration", "configurationField": "configuration", "description": "The region in which DynamoDB client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for [...] "proxyProtocol": { "kind": "parameter", "displayName": "Proxy Protocol", "group": "producer", "label": "", "required": false, "type": "object", "javaType": "software.amazon.awssdk.core.Protocol", "enum": [ "HTTP", "HTTPS" ], "deprecated": false, "secret": false, "defaultValue": "HTTPS", "configurationClass": "org.apache.camel.component.aws2.ddb.Ddb2Configuration", "configurationField": "configuration", "description": "To define a proxy protocol when instantiating the DDB client" }, "readCapacity": { "kind": "parameter", "displayName": "Read Capacity", "group": "producer", "label": "", "required": false, "type": "integer", "javaType": "java.lang.Long", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.ddb.Ddb2Configuration", "configurationField": "configuration", "description": "The provisioned throughput to reserve for reading resources from your table" }, "region": { "kind": "parameter", "displayName": "Region", "group": "producer", "label": "", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "secret": false, "configurationClass": "org.apache.camel.component.aws2.ddb.Ddb2Configuration", "configurationField": "configuration", "description": "The region in which DDB client needs to work" }, diff --git a/components/camel-aws2-ddb/src/generated/resources/org/apache/camel/component/aws2/ddbstream/aws2-ddbstream.json b/components/camel-aws2-ddb/src/generated/resources/org/apache/camel/component/aws2/ddbstream/aws2-ddbstream.json index f25950d..b15f3f7 100644 --- a/components/camel-aws2-ddb/src/generated/resources/org/apache/camel/component/aws2/ddbstream/aws2-ddbstream.json +++ b/components/camel-aws2-ddb/src/generated/resources/org/apache/camel/component/aws2/ddbstream/aws2-ddbstream.json @@ -5,7 +5,7 @@ "extendsScheme": "", "syntax": "aws2-ddbstream:tableName", "title": "AWS 2 DynamoDB Streams", - "description": "The aws-ddbstream component is used for working with Amazon DynamoDB Streams.", + "description": "The aws2-ddbstream component is used for working with Amazon DynamoDB Streams.", "label": "cloud,messaging,streams", "deprecated": false, "async": false, diff --git a/components/camel-aws2-ddb/src/main/docs/aws2-ddb-component.adoc b/components/camel-aws2-ddb/src/main/docs/aws2-ddb-component.adoc index d417a9b..14faa27 100644 --- a/components/camel-aws2-ddb/src/main/docs/aws2-ddb-component.adoc +++ b/components/camel-aws2-ddb/src/main/docs/aws2-ddb-component.adoc @@ -86,7 +86,7 @@ with the following path and query parameters: | *lazyStartProducer* (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 processed then creating and [...] | *operation* (producer) | What operation to perform. The value can be one of: BatchGetItems, DeleteItem, DeleteTable, DescribeTable, GetItem, PutItem, Query, Scan, UpdateItem, UpdateTable | PutItem | Ddb2Operations | *proxyHost* (producer) | To define a proxy host when instantiating the DDB client | | String -| *proxyPort* (producer) | To define a proxy port when instantiating the DDB client. When using this parameter, the configuration will expect the capitalized name of the region (for example AP_EAST_1) You'll need to use the name Regions.EU_WEST_1.name() | | Integer +| *proxyPort* (producer) | The region in which DynamoDB 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() | | Integer | *proxyProtocol* (producer) | To define a proxy protocol when instantiating the DDB client. The value can be one of: HTTP, HTTPS | HTTPS | Protocol | *readCapacity* (producer) | The provisioned throughput to reserve for reading resources from your table | | Long | *region* (producer) | The region in which DDB client needs to work | | String @@ -348,4 +348,4 @@ Maven users will need to add the following dependency to their pom.xml. </dependency> --------------------------------------- -where `$\{camel-version\}` must be replaced by the actual version of Camel. \ No newline at end of file +where `$\{camel-version\}` must be replaced by the actual version of Camel. diff --git a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java index 717dbd5..ca5303b 100644 --- a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java +++ b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java @@ -474,7 +474,7 @@ public interface ComponentsBuilderFactory { } /** * AWS 2 DynamoDB (camel-aws2-ddb) - * The aws-ddb component is used for storing and retrieving data from + * The aws2-ddb component is used for storing and retrieving data from * Amazon's DynamoDB service. * * Category: cloud,database,nosql @@ -486,7 +486,7 @@ public interface ComponentsBuilderFactory { } /** * AWS 2 DynamoDB Streams (camel-aws2-ddb) - * The aws-ddbstream component is used for working with Amazon DynamoDB + * The aws2-ddbstream component is used for working with Amazon DynamoDB * Streams. * * Category: cloud,messaging,streams diff --git a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2DdbComponentBuilderFactory.java b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2DdbComponentBuilderFactory.java index 271ee4a..d84debf 100644 --- a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2DdbComponentBuilderFactory.java +++ b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2DdbComponentBuilderFactory.java @@ -23,7 +23,7 @@ import org.apache.camel.builder.component.ComponentBuilder; import org.apache.camel.component.aws2.ddb.Ddb2Component; /** - * The aws-ddb component is used for storing and retrieving data from Amazon's + * The aws2-ddb component is used for storing and retrieving data from Amazon's * DynamoDB service. * * Generated by camel-package-maven-plugin - do not edit this file! @@ -33,7 +33,7 @@ public interface Aws2DdbComponentBuilderFactory { /** * AWS 2 DynamoDB (camel-aws2-ddb) - * The aws-ddb component is used for storing and retrieving data from + * The aws2-ddb component is used for storing and retrieving data from * Amazon's DynamoDB service. * * Category: cloud,database,nosql diff --git a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2DdbstreamComponentBuilderFactory.java b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2DdbstreamComponentBuilderFactory.java index 6e99954..ffa992c 100644 --- a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2DdbstreamComponentBuilderFactory.java +++ b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2DdbstreamComponentBuilderFactory.java @@ -23,7 +23,8 @@ import org.apache.camel.builder.component.ComponentBuilder; import org.apache.camel.component.aws2.ddbstream.Ddb2StreamComponent; /** - * The aws-ddbstream component is used for working with Amazon DynamoDB Streams. + * The aws2-ddbstream component is used for working with Amazon DynamoDB + * Streams. * * Generated by camel-package-maven-plugin - do not edit this file! */ @@ -32,7 +33,7 @@ public interface Aws2DdbstreamComponentBuilderFactory { /** * AWS 2 DynamoDB Streams (camel-aws2-ddb) - * The aws-ddbstream component is used for working with Amazon DynamoDB + * The aws2-ddbstream component is used for working with Amazon DynamoDB * Streams. * * Category: cloud,messaging,streams diff --git a/core/camel-componentdsl/src/generated/resources/metadata.json b/core/camel-componentdsl/src/generated/resources/metadata.json index cb0028e..906bab4 100644 --- a/core/camel-componentdsl/src/generated/resources/metadata.json +++ b/core/camel-componentdsl/src/generated/resources/metadata.json @@ -387,7 +387,7 @@ "extendsScheme": "", "syntax": "aws2-ddb:tableName", "title": "AWS 2 DynamoDB", - "description": "The aws-ddb component is used for storing and retrieving data from Amazon's DynamoDB service.", + "description": "The aws2-ddb component is used for storing and retrieving data from Amazon's DynamoDB service.", "label": "cloud,database,nosql", "deprecated": false, "deprecationNote": "cloud,database,nosql", @@ -407,7 +407,7 @@ "extendsScheme": "", "syntax": "aws2-ddbstream:tableName", "title": "AWS 2 DynamoDB Streams", - "description": "The aws-ddbstream component is used for working with Amazon DynamoDB Streams.", + "description": "The aws2-ddbstream component is used for working with Amazon DynamoDB Streams.", "label": "cloud,messaging,streams", "deprecated": false, "deprecationNote": "cloud,messaging,streams",