-
Notifications
You must be signed in to change notification settings - Fork 95
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
Added support for SesAccount #54
Conversation
Also updated Feature to be simple string for future plugin easy addition [Tests] Added unit tests for SesAccount Updated Unit tests for changes Signed-off-by: @akbhatta
data class SesAccount( | ||
val awsRegion: String, | ||
val roleArn: String?, | ||
val fromAddress: String |
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.
I remember previously the decision was to only have a text box in UI for SES sender, did this change? are we adding a new config type for SesAccount, and another one for SES?
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.
SES configuration needs to be taken from UI instead of taking from yaml file hence additional fields. In UI, for the email configuration, customer can either choose SmtpAccount or SesAccount for sender profile.
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.
i see. also what's the format to specify awsRegion
? is there a list of valid strings?
* Added support for SesAccount (#54) Also updated Feature to be simple string for future plugin easy addition [Tests] Added unit tests for SesAccount Updated Unit tests for changes Signed-off-by: @akbhatta * Adds legacy chime, slack, custom webhook messages, request/response f (#53) * Adds legacy chime, slack, custom webhook messages, request/response for publishing legacy notifications, and method for executing transport action Signed-off-by: Drew Baugher <[email protected]> * Fixes import and removes username/password that is not used by ISM Signed-off-by: Drew Baugher <[email protected]> * Throws error for toXContent for legacy notification response Signed-off-by: Drew Baugher <[email protected]> * Renames legacy destination types to have legacy prefix Signed-off-by: Drew Baugher <[email protected]> * Obfuscates message to remove from logs in toString method Signed-off-by: Drew Baugher <[email protected]> * Makes destinationt type private and updates places to use getter Signed-off-by: Drew Baugher <[email protected]> * Inlines destination type Signed-off-by: Drew Baugher <[email protected]> * Makes base message content final Signed-off-by: Drew Baugher <[email protected]> * Requires url to be defined in LegacyCustomWebhookMessage for use across transport wire and only writes the full url instead of each individual part Signed-off-by: Drew Baugher <[email protected]> Co-authored-by: Drew Baugher <[email protected]>
Also updated Feature to be simple string for future plugin easy addition [Tests] Added unit tests for SesAccount Updated Unit tests for changes Signed-off-by: @akbhatta Signed-off-by: Zelin Hao <[email protected]>
Also updated Feature to be simple string for future plugin easy addition [Tests] Added unit tests for SesAccount Updated Unit tests for changes Signed-off-by: @akbhatta
Description
Added support for SesAccount
Also updated Feature to be simple string for future plugin easy addition
[Tests]
Added unit tests for SesAccount
Updated Unit tests for changes
Signed-off-by: @akbhatta
Issues Resolved
[List any issues this PR will resolve]
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.