Skip to content

Conversation

omkhegde
Copy link
Contributor

@omkhegde omkhegde commented Dec 8, 2020

Issue #, if available:
#176

Description of changes:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@omkhegde omkhegde requested a review from ammokhov December 8, 2020 23:31
Copy link
Contributor

@ammokhov ammokhov left a comment

Choose a reason for hiding this comment

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

lgtm, just a couple of comments

}

public <RequestT extends AmazonWebServiceRequest> void injectCredentialsAndInvoke(final RequestT request,
final Consumer<RequestT> requestFunction) {
Copy link
Contributor

Choose a reason for hiding this comment

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

we should also just make a void function for the v2 proxy as well? if we are tackling the v1 here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think v2 functions are required to return a result and are never void. @ammokhov can you please confirm?

@omkhegde omkhegde merged commit 071c592 into aws-cloudformation:master Dec 11, 2020
hex-y added a commit to hex-y/aws-cloudformation-resource-providers-rds-proxy that referenced this pull request Feb 24, 2021
cloudformation-cli-java-plugin made a change to overload injectCredentialsAndInvoke, this breaks our unit test.
aws-cloudformation/cloudformation-cli-java-plugin#338

Update the pom.xml for the repository url, as http was no longer supported.

Updtae the aws-cloudformation-rpdk-java-plugin version to [2.0.0, 3.0.0)
hex-y added a commit to aws-cloudformation/aws-cloudformation-resource-providers-rds-proxy that referenced this pull request Feb 24, 2021
…19)

* Update the unit test following changes in injectCredentialsAndInvoke

cloudformation-cli-java-plugin made a change to overload injectCredentialsAndInvoke, this breaks our unit test.
aws-cloudformation/cloudformation-cli-java-plugin#338

Update the pom.xml for the repository url, as http was no longer supported.

Update the aws-cloudformation-rpdk-java-plugin version to [2.0.0, 3.0.0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants