mboudreau / Alternator

A mock DynamoDB that runs locally for testing purposes - DEPRECATED, PLEASE USE DYNAMODB LOCAL: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.html
Apache License 2.0
78 stars 39 forks source link

Support AWS SDK 1.10.2 #93

Closed rrutt closed 9 years ago

rrutt commented 9 years ago

Addresses Issue 92: https://github.com/mboudreau/Alternator/issues/92

Alternator has several places where it accesses or overrides DynamoDB parent class protected properties and methods.

Amazon changed the internal signature of the AmazonWebServiceClient class in the com.amazonaws package. The .setConfiguration method was removed.

To resolve this for Alternator, a new .setCustomConfiguration method was added; it directly access the protected .configuration property.

By using the name .setCustomConfiguration instead of .setConfiguration for the new method, the Alternator code compiles with both AWS SDK 1.9.13 and 1.10.2

In addition, the pom.xml contains the parameter -Xdoclint:none to disable the new Java 8 strict JavaDoc HTML tag validation.

All JUnit regression tests pass with this update.

mboudreau commented 9 years ago

Thanks Rick. Amazing job as always.