Skip to content

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();
}
} No newline at end of file
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?

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