-
Notifications
You must be signed in to change notification settings - Fork 94
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
Conversation
…or publishing legacy notifications, and method for executing transport action Signed-off-by: Drew Baugher <[email protected]>
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 will continue the review after I get info current quires.
src/main/java/org/opensearch/commons/destination/message/LegacyBaseMessage.java
Show resolved
Hide resolved
src/main/java/org/opensearch/commons/destination/message/LegacyBaseMessage.java
Show resolved
Hide resolved
src/main/java/org/opensearch/commons/destination/message/LegacyBaseMessage.java
Show resolved
Hide resolved
src/main/java/org/opensearch/commons/destination/message/LegacyBaseMessage.java
Show resolved
Hide resolved
if (url == null) { | ||
throw new IllegalArgumentException("url is invalid or empty"); | ||
} | ||
this.url = url; |
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.
Please validate that schema is https. http schema is not supported.
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.
http must be supported as alerting and ism have already supported it in production
src/main/java/org/opensearch/commons/destination/message/LegacyBaseMessage.java
Show resolved
Hide resolved
src/main/java/org/opensearch/commons/destination/message/LegacyChimeMessage.java
Show resolved
Hide resolved
src/main/java/org/opensearch/commons/destination/message/LegacyCustomWebhookMessage.java
Show resolved
Hide resolved
src/main/java/org/opensearch/commons/destination/message/LegacyCustomWebhookMessage.java
Show resolved
Hide resolved
src/main/java/org/opensearch/commons/destination/message/LegacyChimeMessage.java
Show resolved
Hide resolved
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. |
…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.