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 findings parsing logic introduced by pr #292 #294

Merged
merged 1 commit into from
Oct 21, 2022

Conversation

sbcd90
Copy link
Collaborator

@sbcd90 sbcd90 commented Oct 20, 2022

Signed-off-by: Subhobrata Dey sbcd90@gmail.com

Description

fix findings parsing logic introduced by pr #292

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • 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.

@sbcd90 sbcd90 requested review from a team, eirsep and lezzago October 20, 2022 21:26
eirsep
eirsep previously approved these changes Oct 20, 2022
@eirsep
Copy link
Member

eirsep commented Oct 20, 2022

Will this cause backward compatibility issues in response structure as this would be released in minor version hence asking

lezzago
lezzago previously approved these changes Oct 20, 2022
@eirsep eirsep dismissed their stale review October 20, 2022 22:51

Discussed with @sbcd90 for a holistic fix

@codecov-commenter
Copy link

codecov-commenter commented Oct 20, 2022

Codecov Report

Merging #294 (579efa4) into main (d86f413) will increase coverage by 1.35%.
The diff coverage is 85.00%.

@@             Coverage Diff              @@
##               main     #294      +/-   ##
============================================
+ Coverage     71.81%   73.16%   +1.35%     
- Complexity      683      696      +13     
============================================
  Files           110      110              
  Lines          4569     4573       +4     
  Branches        604      606       +2     
============================================
+ Hits           3281     3346      +65     
+ Misses         1037      976      -61     
  Partials        251      251              
Impacted Files Coverage Δ
...ensearch/commons/alerting/model/FindingWithDocs.kt 32.25% <75.00%> (+23.68%) ⬆️
...rch/commons/alerting/action/GetFindingsResponse.kt 70.83% <86.66%> (+52.08%) ⬆️
...ensearch/commons/alerting/model/FindingDocument.kt 42.10% <100.00%> (+42.10%) ⬆️
...opensearch/commons/alerting/model/DocLevelQuery.kt 58.73% <0.00%> (+17.46%) ⬆️
...n/org/opensearch/commons/alerting/model/Finding.kt 44.59% <0.00%> (+22.97%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Signed-off-by: Subhobrata Dey <sbcd90@gmail.com>
@eirsep
Copy link
Member

eirsep commented Oct 21, 2022

Thanks for fixing issue and adding the tests @sbcd90 !

@sbcd90 sbcd90 merged commit b737142 into opensearch-project:main Oct 21, 2022
opensearch-trigger-bot bot pushed a commit that referenced this pull request Oct 21, 2022
Signed-off-by: Subhobrata Dey <sbcd90@gmail.com>
(cherry picked from commit b737142)
eirsep pushed a commit that referenced this pull request Oct 21, 2022
Signed-off-by: Subhobrata Dey <sbcd90@gmail.com>
(cherry picked from commit b737142)

Co-authored-by: Subhobrata Dey <sbcd90@gmail.com>
wuychn pushed a commit to ochprince/common-utils that referenced this pull request Mar 16, 2023
… (opensearch-project#295)

Signed-off-by: Subhobrata Dey <sbcd90@gmail.com>
(cherry picked from commit b737142)

Co-authored-by: Subhobrata Dey <sbcd90@gmail.com>
AWSHurneyt pushed a commit to AWSHurneyt/common-utils that referenced this pull request Apr 12, 2024
… (opensearch-project#295)

Signed-off-by: Subhobrata Dey <sbcd90@gmail.com>
(cherry picked from commit b737142)

Co-authored-by: Subhobrata Dey <sbcd90@gmail.com>
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
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