Skip to content

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

Closed
dbbaughe wants to merge 1 commit intomainfrom
notif-ism
Closed

Adds legacy chime, slack, custom webhook messages, request/response f…#45
dbbaughe wants to merge 1 commit intomainfrom
notif-ism

Conversation

@dbbaughe
Copy link
Copy Markdown
Contributor

@dbbaughe dbbaughe commented Aug 3, 2021

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

Signed-off-by: Drew Baugher 46505179+dbbaughe@users.noreply.github.com

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 <46505179+dbbaughe@users.noreply.github.com>
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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