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 <anco...@gmail.com>
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 <anco...@gmail.com>
Date:   2015-04-02T20:19:30Z

    CAMEL-8572 - Upgrade aws sdk java version and add support for DynamoDB v2

commit cee8291e1c8c1c2de92e626c3ca071b77268dfc6
Author: ancosen <anco...@gmail.com>
Date:   2015-04-02T21:06:31Z

    CAMEL-8572 Fixed CS

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to