Skip to content

Implement AWS SDK v2 support#202

Open
amcp wants to merge 1 commit into
Netflix:masterfrom
amcp:sdk
Open

Implement AWS SDK v2 support#202
amcp wants to merge 1 commit into
Netflix:masterfrom
amcp:sdk

Conversation

@amcp

@amcp amcp commented Jul 16, 2018

Copy link
Copy Markdown
Contributor

Fixes #147

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

amcp commented Oct 14, 2018

Copy link
Copy Markdown
Contributor Author

@ipapapa ready for review

@amcp amcp left a comment

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

amcp commented Oct 14, 2018

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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
Copy Markdown
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

ipapapa commented Oct 14, 2018

Copy link
Copy Markdown
Contributor

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