[
https://issues.apache.org/jira/browse/CAMEL-8572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14393439#comment-14393439
]
ASF GitHub Bot commented on CAMEL-8572:
---------------------------------------
GitHub user oscerd opened a pull request:
https://github.com/apache/camel/pull/463
CAMEL-8572 Upgrade AWS SDK java version and add support for DynamoDB v2
Hi all,
This PR is related to:
Upgrade aws sdk java version and add support for DynamoDB v2
There are some new feature to consider:
- The package is different: from com.amazonaws.services.dynamodb to
com.amazonaws.services.dynamodbv2
- Key class is gone (among other changes) and it's been replaced by
Map<String, AttributeValue>
The most important changes:
- from com.amazonaws.services.dynamodb.model.Key to Map<String,
AttributeValue>
- from com.amazonaws.services.dynamodb.model.BatchResponse to
List<Map<String, AttributeValue>>
- from com.amazonaws.services.dynamodb.model.KeySchema to
List<KeySchemaElement>
- QueryRequest methods withHashKeyValue(AttributeValue) and
withRangeKeyCondition(Condition) now are merged into
withKeyConditions(Map<String,Condition>)
- QueryRequest method withCount(Boolean) doesn't exist anymore
So we will even need to make some changes on documentation (I've deleted
some constant from DdbConstants.java class).
Andrea
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/oscerd/camel update-aws-sdk-version
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/463.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #463
----
commit fa80c497583b455aa74b4f129d12e398772bbdee
Author: ancosen <[email protected]>
Date: 2015-04-02T20:02:13Z
CAMEL-8572 Updated version of AWS Java SDK from 1.8.9.1 to 1.9.17
commit 8844979a2d0f7e791e1afade00a8dde71488940a
Author: ancosen <[email protected]>
Date: 2015-04-02T20:19:30Z
CAMEL-8572 - Upgrade aws sdk java version and add support for DynamoDB v2
commit cee8291e1c8c1c2de92e626c3ca071b77268dfc6
Author: ancosen <[email protected]>
Date: 2015-04-02T21:06:31Z
CAMEL-8572 Fixed CS
----
> Upgrade aws sdk java version and add support for DynamoDB v2
> ------------------------------------------------------------
>
> Key: CAMEL-8572
> URL: https://issues.apache.org/jira/browse/CAMEL-8572
> Project: Camel
> Issue Type: Improvement
> Components: camel-aws
> Reporter: Andrea Cosentino
> Priority: Minor
> Labels: aws, aws-ddb
> Fix For: 2.16.0
>
>
> Hi,
> We should upgrade the AWS sdk version to something >= 1.9. I've made some
> test on the code, and the DynamoDB part of the component is affected from
> this change.
> We need to support DynamoDB v2, if we want to use a newer version.
> I would like to study this improvement and work on this. Is possible to
> assign this JIRA to me? I would like to be able to assign JIRAs to myself. Is
> it possible?
> Bye,
> Andrea
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)