This repository has been archived by the owner on Jan 10, 2019. It is now read-only.
Update dynamodb-geo to work with version 1.10.61 of aws-java-sdk #15
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue: dynamodb-geo-1.0.0.jar can not be deployed in a runtime environment with the latest aws-java-sdk ( tested with 1.10.61)
Use case: I want to apply dynamodb-geo in a lambda function. In this function I need the recent aws-java-sdk. If I deploy dynamodb-geo-1.0.0.jar I get errors like Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/jackson/map/ObjectMapper
Cause: The current dynamodb-geo-1.0.0 requires jackson-1.8.9 (via aws-java-sdk-1.5.5). Version 1.8.9 of Jackson uses java packaging org.codehaus.jackson.
aws-java-sdk-1.10.61 requires jackson-2.5. Version 2.5.* of Jackson uses packaging com.fasterxml.jackson.
Solution: Release a new version of dynamodb-geo (I used 1.1.0 in the pom.xml) and apply the new jackson package names in the affected files.
I wrote a simple test client here: https://github.com/peterfennema/dynamodb-geo/blob/topic-update-to-aws-java-sdk-1.10.61/srctest/nl/peterfennema/geo/SimpleGeoClientTest.java