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

Fix alert constructor #191

Merged
merged 3 commits into from
Feb 7, 2024
Merged

Fix alert constructor #191

merged 3 commits into from
Feb 7, 2024

Conversation

ohltyler
Copy link
Member

@ohltyler ohltyler commented Feb 6, 2024

Description

Fix Alert constructor caused by this breaking change from alerting team. opensearch-project/common-utils#584

Check List

  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Tyler Ohlsen <[email protected]>
@zane-neo
Copy link
Collaborator

zane-neo commented Feb 7, 2024

ITs are failing, please help take a look.

Signed-off-by: Tyler Ohlsen <[email protected]>
Signed-off-by: Tyler Ohlsen <[email protected]>
@ohltyler
Copy link
Member Author

ohltyler commented Feb 7, 2024

Alerting tests all passing now:

40 tests completed, 5 failed
Tests with failures:
 - org.opensearch.integTest.NeuralSparseSearchToolIT.testNeuralSparseSearchToolInFlowAgent
 - org.opensearch.integTest.NeuralSparseSearchToolIT.testNeuralSparseSearchToolInFlowAgent_withIllegalIndexField_thenThrowException
 - org.opensearch.integTest.NeuralSparseSearchToolIT.testNeuralSparseSearchToolInFlowAgent_withIllegalEmbeddingField_thenThrowException
 - org.opensearch.integTest.NeuralSparseSearchToolIT.testNeuralSparseSearchToolInFlowAgent_withIllegalModelIdField_thenThrowException
 - org.opensearch.integTest.SearchIndexToolIT.testSearchIndexToolInFlowAgent_withIllegalQueryField_thenThrowException

@ohltyler
Copy link
Member Author

ohltyler commented Feb 7, 2024

@zane-neo can you re-review?

@ohltyler ohltyler merged commit e323660 into opensearch-project:main Feb 7, 2024
3 of 12 checks passed
@ohltyler ohltyler deleted the fix-cx branch February 7, 2024 01:18
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 7, 2024
* Fix alert constructor

Signed-off-by: Tyler Ohlsen <[email protected]>

* Update alert mapping

Signed-off-by: Tyler Ohlsen <[email protected]>

* Change sample alert example

Signed-off-by: Tyler Ohlsen <[email protected]>

---------

Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit e323660)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ohltyler pushed a commit that referenced this pull request Feb 7, 2024
* Fix alert constructor



* Update alert mapping



* Change sample alert example



---------


(cherry picked from commit e323660)

Signed-off-by: Tyler Ohlsen <[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>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Feb 7, 2024
* Fix alert constructor

Signed-off-by: Tyler Ohlsen <[email protected]>

* Update alert mapping

Signed-off-by: Tyler Ohlsen <[email protected]>

* Change sample alert example

Signed-off-by: Tyler Ohlsen <[email protected]>

---------

Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit e323660)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ohltyler pushed a commit that referenced this pull request Feb 7, 2024
* Fix alert constructor



* Update alert mapping



* Change sample alert example



---------


(cherry picked from commit e323660)

Signed-off-by: Tyler Ohlsen <[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>
yuye-aws pushed a commit to yuye-aws/skills that referenced this pull request Apr 26, 2024
* Fix alert constructor

* Update alert mapping

* Change sample alert example

---------

(cherry picked from commit e323660)

Signed-off-by: Tyler Ohlsen <[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>
Signed-off-by: yuye-aws <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants