-
Notifications
You must be signed in to change notification settings - Fork 55
chore: add support for SESv2 Sigv4a (not yet used because SESv2 hasn't rolled out support) #1452
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
Conversation
…t rolled out support)
| class Sigv4aTest { | ||
| @Test | ||
| @Ignore // TODO enable once SESv2 model adds endpointId and Sigv4a | ||
|
|
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.
nit: remove blank line
| }.use { ses -> | ||
| assertFailsWith<HttpException> { | ||
| ses.sendEmail { | ||
| // endpointId = "bdm3x3zl.n5x" // TODO uncomment |
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.
Will this TODO be completed in this PR?
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.
No, we'll need to follow up. There's no public issue to track for doing so.
| assertEquals(1, interceptor.requests.size) | ||
| val request = interceptor.requests.single() | ||
|
|
||
| assertContains("bdm3x3zl.n5x.endpoints.email.amazonaws.com", request.url.host.toString()) // Correct endpoint? |
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.
Is it the correct endpoint?
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.
Yes, it is. The comment is probably misleading now, I'll update it.
|
|
A new generated diff is ready to view. |
Affected ArtifactsChanged in size
|



Issue #
(none)
Description of changes
This change prepares for SESv2 Sigv4a support. This won't take effect until additional support rolls out from the service side.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.