Skip to content
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

Adding the ITs for the support of Date Math Index Resolution and a fix for moving the alert to the error state in case of not being able to publish the emails #113

Merged
merged 1 commit into from
Jun 30, 2021

Conversation

adityaj1107
Copy link
Contributor

@adityaj1107 adityaj1107 commented Jun 20, 2021

Issue #, if available: #74 #94

Description of changes: A null check was required to prevent the destinations which don't have a URL or a HOST as a part of the Destination Params. This resulted in validation failures whenever Destinations such as SNS are added. Added the null checks and also updated the UTs

An urgent update (hot fix) was done as a part of this commit to unblock.

This also updates the integration test to create the index which is encoded in date math format. (#74)

This also contains the fix for storing the alert in the error condition whenever the action is unable to send the email to the destination.

Changes are tested locally by hitting the APIs and checking the response of the unreachably configured SMPT server.

CheckList:

  • Commits are signed per the DCO using --signoff

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.

@adityaj1107 adityaj1107 marked this pull request as draft June 20, 2021 00:48
@adityaj1107 adityaj1107 changed the title Fixing the UTs for the Hot Fix Fixing the UTs for the SNS Destination Type in AOS Jun 20, 2021
@adityaj1107 adityaj1107 self-assigned this Jun 20, 2021
@adityaj1107 adityaj1107 marked this pull request as ready for review June 20, 2021 01:01
@adityaj1107 adityaj1107 requested a review from lezzago June 20, 2021 01:02
@adityaj1107 adityaj1107 changed the title Fixing the UTs for the SNS Destination Type in AOS Fixing the UTs for the SNS Destination Type in AOS and adding support to test encoded indices Jun 21, 2021
@adityaj1107 adityaj1107 changed the title Fixing the UTs for the SNS Destination Type in AOS and adding support to test encoded indices Fixing the UTs and adding support to test encoded indices Jun 21, 2021
@adityaj1107 adityaj1107 requested a review from lezzago June 21, 2021 23:45
@adityaj1107 adityaj1107 changed the title Fixing the UTs and adding support to test encoded indices Fixing the ITs and adding support to test encoded indices Jun 22, 2021
for showing error alerts in case of email message not sent
@adityaj1107 adityaj1107 changed the title Fixing the ITs and adding support to test encoded indices Adding the ITs for the support of Date Math Index Resolution and a fix for moving the alert to the error state in case of not being able to publish the emails Jun 23, 2021
@adityaj1107 adityaj1107 merged commit d6371ff into opensearch-project:main Jun 30, 2021
@adityaj1107 adityaj1107 deleted the fixing-integ-test branch July 4, 2021 08:23
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.

None yet

2 participants