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

Adds legacy chime, slack, custom webhook messages, request/response f… #45

Closed
wants to merge 1 commit into from

Conversation

dbbaughe
Copy link
Contributor

@dbbaughe dbbaughe commented Aug 3, 2021

…or publishing legacy notifications, and method for executing transport action

Signed-off-by: Drew Baugher [email protected]

Description

Adds required legacy messages, request/response classes, and methods for ISM to publish a notification through the notification plugin with the old embedded types without having to create a channel first.
opensearch-project/notifications#253

Issues Resolved

#44

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.

…or publishing legacy notifications, and method for executing transport action

Signed-off-by: Drew Baugher <[email protected]>
Copy link
Contributor

@akbhatta akbhatta left a comment

Choose a reason for hiding this comment

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

I will continue the review after I get info current quires.

if (url == null) {
throw new IllegalArgumentException("url is invalid or empty");
}
this.url = url;
Copy link
Contributor

Choose a reason for hiding this comment

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

Please validate that schema is https. http schema is not supported.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

http must be supported as alerting and ism have already supported it in production

@dbbaughe
Copy link
Contributor Author

Don't have access to push to this branch once it's been created in the repo it seems... going to close this and recreate on fork.

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.

2 participants