Closed rrutt closed 11 years ago
Refer to Pull Request 66:
Just migrated all my projects to DynamoDBV2, and everything works fine Alternator-side. This pull request should be merged
Will do. On Jun 12, 2013 12:27 AM, "sashee" notifications@github.com wrote:
Just migrated all my projects to DynamoDBV2, and everything works fine Alternator-side. This pull request should be merged
— Reply to this email directly or view it on GitHubhttps://github.com/mboudreau/Alternator/pull/66#issuecomment-19265117 .
I also ran all tests with 'mvn verify' and confirmed they all pass with the latest commit from sashee.
Good to know. I'll be updating and deploying as soon as I can. On Jun 14, 2013 12:03 AM, "Rick Rutt" notifications@github.com wrote:
I also ran the all tests with 'mvn verify' and confirmed they all pass with the latest commit from sashee.
— Reply to this email directly or view it on GitHubhttps://github.com/mboudreau/Alternator/pull/66#issuecomment-19393602 .
I see this seems pretty recent, but it looks like the changes to support dbv2 are not in 0.5.0? Any idea of when they will become available in repo?
In about two hours. On Jun 18, 2013 8:03 AM, "Nick Campion" notifications@github.com wrote:
I see this seems pretty recent, but it looks like the changes to support dbv2 are not in 0.5.0? Any idea of when they will become available in repo?
— Reply to this email directly or view it on GitHubhttps://github.com/mboudreau/Alternator/pull/66#issuecomment-19578121 .
Fantastic, I'll do my part to test it tonight then :D
Alright guys, version 0.6.0 deployed, now with V2 support. I'm probably going to look into re-architecting it a bit in the future since I don't like having 2 classes for different versions. I think it should be possible to do one for both.
Cheers.
Refer to Issue 65:
https://github.com/mboudreau/Alternator/issues/65
Amazon created a new specification for the DynamoDB API that is NOT backward compatible with the earlier version. The earlier version of the API is still supported but is deprecated.
Note however that only the features that were already available thru the original API version are supported.
When processing against the newer API protocol, Alternator simply maps the request objects to the original format and calls the pre-existing logic. It then maps the result to the new API protocol format. Any exceptions are also remapped from the dynamodb namespace to the dynamodbv2 namespace.
This revision also implements the BETWEEN, BEGINS_WITH, and CONTAINS scan filters and corrects the comparison direction for the GE scan filter.