Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Implement AWS SDK v2 support #202

wants to merge 1 commit into from

Conversation

amcp
Copy link
Contributor

@amcp amcp commented Jul 16, 2018

Fixes #147

@amcp amcp changed the title [WIP] Implement AWS SDK v2 support Implement AWS SDK v2 support Oct 14, 2018
@amcp
Copy link
Contributor Author

amcp commented Oct 14, 2018

@ipapapa ready for review

Copy link
Contributor Author

@amcp amcp left a 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() {
Copy link
Contributor Author

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) {
Copy link
Contributor Author

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();
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a newline

@amcp
Copy link
Contributor Author

amcp commented Oct 14, 2018

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"
Copy link
Contributor

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")
Copy link
Contributor

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?

@ipapapa
Copy link
Contributor

ipapapa commented Oct 14, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants