-
Notifications
You must be signed in to change notification settings - Fork 76
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
update build.gradle to use alerting-spi snapshot version #1217
Conversation
Signed-off-by: Subhobrata Dey <[email protected]>
@@ -168,7 +171,7 @@ dependencies { | |||
compileOnly "org.opensearch.client:opensearch-rest-client:${opensearch_version}" | |||
compileOnly "org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}" | |||
compileOnly "org.opensearch:opensearch-job-scheduler-spi:${opensearch_build}" | |||
compileOnly "org.opensearch.alerting:alerting-spi:${opensearch_build}" | |||
compileOnly "org.opensearch.alerting:alerting-spi:${alerting_spi_build}" |
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.
why is it not similar to the job scheduler spi??
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.
plz match the naming convention version of the alerting spi to job scheduler spi
@@ -18,6 +18,9 @@ buildscript { | |||
if (buildVersionQualifier) { | |||
opensearch_build += "-${buildVersionQualifier}" | |||
} | |||
|
|||
alerting_spi_build = opensearch_build | |||
alerting_spi_build += "-SNAPSHOT" |
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.
Aren't we supposed to pick from the non-released versions, like we do with the main alerting repo today?
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.
This should be pulled from the snapshot repo, example https://aws.oss.sonatype.org/content/repositories/snapshots/org/opensearch/alerting/alerting-spi/2.16.0.0-SNAPSHOT/.
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.
Comments will be addressed in separate PR.
Signed-off-by: Subhobrata Dey <[email protected]> (cherry picked from commit ddfa87c) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: Subhobrata Dey <[email protected]> (cherry picked from commit ddfa87c) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit ddfa87c) Signed-off-by: Subhobrata Dey <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit ddfa87c) Signed-off-by: Subhobrata Dey <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Description
update build.gradle to use alerting-spi snapshot version
Issues Resolved
#1193
Check List
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.