-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement AWS SDK v2 support #202
base: master
Are you sure you want to change the base?
Conversation
@ipapapa ready for review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comments
super(awsCredentialsProvider, configuration); | ||
} | ||
|
||
protected void createAndSetDynamoDBClient() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a comment and explain why protected
this.dynamoDB = dynamoDbBuilder.build(); | ||
} | ||
|
||
protected void instantiateDataPlaneOperations(DataGenerator dataGenerator) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a java doc and explain why protected
refresh(); | ||
return credentialsProvider.resolveCredentials(); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add a newline
also, add a test for v2 operations? |
@@ -35,6 +35,10 @@ dependencies { | |||
compile "com.amazonaws:aws-java-sdk-applicationautoscaling:latest.release" | |||
compile "com.amazonaws:aws-java-sdk-sts:latest.release" | |||
compile "com.amazonaws:aws-java-sdk-cloudwatch:latest.release" | |||
compile "software.amazon.awssdk:dynamodb:latest.release" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whys is this package different from the standard com.amazonaws
?
* @author Alexander Patrikalakis | ||
*/ | ||
@Singleton | ||
@NdBenchClientPlugin("DynamoDBv2KeyValue") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we have in the documentation the difference between V1 and V2? Are we going to keep eventually both of them or just V2?
It seems there are some comments in some places, I assume this is a WIP? Has the PR been functionally tested? cc'ing @sumanth-pasupuleti. |
Fixes #147