forked from opensearch-project/common-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed CommonUtilsException assets and references. (opensearch-proje…
…ct#639) * Added validation for the clusters field. Refactored ClusterMetricsInput validiation to throw 4xx-level CommonUtilsExceptions instead of 5xx-level IllegalArgumentException. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Moved some regex from alerting plugin to common utils. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Moved cluster-based regex to separate file. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed ktlint error. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Fixed regex. Moved cluster-related regexes. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> * Removed CommonUtilsException. Team decided IllegalArgumentExceptions should be caught in the plugins themselves. Signed-off-by: AWSHurneyt <hurneyt@amazon.com> --------- Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
- Loading branch information
1 parent
abc69cd
commit c19a10a
Showing
3 changed files
with
51 additions
and
133 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 0 additions & 71 deletions
71
src/main/kotlin/org/opensearch/commons/alerting/util/CommonUtilsException.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters