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

[Backport 2.x] Move get monitor and search monitor action / request / responses to common-utils #567

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 2ff995b from #566.

…ommon-utils (#566)

* Add get monitor request/response

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

* Remove status from response; add to interface

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

* Add UT

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

* Repeat for search monitor action

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

---------

Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit 2ff995b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link

codecov bot commented Nov 22, 2023

Codecov Report

Attention: 88 lines in your changes are missing coverage. Please review.

Comparison is base (a56599c) 74.05% compared to head (6a0231a) 72.99%.

Files Patch % Lines
...arch/commons/alerting/action/GetMonitorResponse.kt 10.00% 53 Missing and 1 partial ⚠️
...earch/commons/alerting/action/GetMonitorRequest.kt 0.00% 23 Missing ⚠️
...ch/commons/alerting/action/SearchMonitorRequest.kt 0.00% 8 Missing ⚠️
...search/commons/alerting/AlertingPluginInterface.kt 72.72% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x     #567      +/-   ##
============================================
- Coverage     74.05%   72.99%   -1.06%     
- Complexity      853      856       +3     
============================================
  Files           130      133       +3     
  Lines          5669     5773     +104     
  Branches        697      707      +10     
============================================
+ Hits           4198     4214      +16     
- Misses         1161     1248      +87     
- Partials        310      311       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lezzago lezzago merged commit 8e2537b into 2.x Nov 22, 2023
16 of 19 checks passed
AWSHurneyt pushed a commit to AWSHurneyt/common-utils that referenced this pull request Apr 12, 2024
…ommon-utils (opensearch-project#566) (opensearch-project#567)

* Add get monitor request/response



* Remove status from response; add to interface



* Add UT



* Repeat for search monitor action



---------


(cherry picked from commit 2ff995b)

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: AWSHurneyt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants