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.9] #709 Return empty response for empty mappings and no applied aliases #748

Merged
merged 1 commit into from
Nov 30, 2023

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport c0f7bd9 from #724

…724)

* #709 Return empty response for empty mappings and no applied aliases

Signed-off-by: Megha Goyal <goyamegh@amazon.com>

* Adding integ tests for empty mappings/aliases use-cases

Signed-off-by: Megha Goyal <goyamegh@amazon.com>

* Fix unit tests for MappingsTraverser

Signed-off-by: Megha Goyal <goyamegh@amazon.com>

---------

Signed-off-by: Megha Goyal <goyamegh@amazon.com>
(cherry picked from commit c0f7bd9)
Copy link

codecov bot commented Nov 30, 2023

Codecov Report

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

Comparison is base (61909b2) 25.85% compared to head (d809cf2) 25.82%.

Files Patch % Lines
...ch/securityanalytics/mapper/MappingsTraverser.java 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.9     #748      +/-   ##
============================================
- Coverage     25.85%   25.82%   -0.03%     
  Complexity      940      940              
============================================
  Files           252      252              
  Lines         10753    10753              
  Branches       1198     1198              
============================================
- Hits           2780     2777       -3     
- Misses         7726     7729       +3     
  Partials        247      247              

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

@eirsep eirsep merged commit 4f68164 into 2.9 Nov 30, 2023
13 of 15 checks passed
@github-actions github-actions bot deleted the backport/backport-724-to-2.9 branch November 30, 2023 19:21
opensearch-trigger-bot bot added a commit that referenced this pull request Nov 30, 2023
…724) (#748)

* #709 Return empty response for empty mappings and no applied aliases

Signed-off-by: Megha Goyal <goyamegh@amazon.com>

* Adding integ tests for empty mappings/aliases use-cases

Signed-off-by: Megha Goyal <goyamegh@amazon.com>

* Fix unit tests for MappingsTraverser

Signed-off-by: Megha Goyal <goyamegh@amazon.com>

---------

Signed-off-by: Megha Goyal <goyamegh@amazon.com>
(cherry picked from commit c0f7bd9)

Co-authored-by: Megha Goyal <56077967+goyamegh@users.noreply.github.com>
(cherry picked from commit 4f68164)
eirsep pushed a commit that referenced this pull request Nov 30, 2023
…724) (#748) (#758)

* #709 Return empty response for empty mappings and no applied aliases

Signed-off-by: Megha Goyal <goyamegh@amazon.com>

* Adding integ tests for empty mappings/aliases use-cases

Signed-off-by: Megha Goyal <goyamegh@amazon.com>

* Fix unit tests for MappingsTraverser

Signed-off-by: Megha Goyal <goyamegh@amazon.com>

---------

Signed-off-by: Megha Goyal <goyamegh@amazon.com>
(cherry picked from commit c0f7bd9)

Co-authored-by: Megha Goyal <56077967+goyamegh@users.noreply.github.com>
(cherry picked from commit 4f68164)

Co-authored-by: opensearch-trigger-bot[bot] <98922864+opensearch-trigger-bot[bot]@users.noreply.github.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.

3 participants