Skip to content

[Backport 2.x] #709 Return empty response for empty mappings and no applied aliases#747

Merged
jowg-amazon merged 1 commit into2.xfrom
backport/backport-724-to-2.x
Dec 1, 2023
Merged

[Backport 2.x] #709 Return empty response for empty mappings and no applied aliases#747
jowg-amazon merged 1 commit into2.xfrom
backport/backport-724-to-2.x

Conversation

@opensearch-trigger-bot
Copy link
Copy Markdown
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)
@codecov
Copy link
Copy Markdown

codecov bot commented Nov 30, 2023

Codecov Report

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

Comparison is base (951d6e5) 24.82% compared to head (12d6b2e) 24.80%.

Files Patch % Lines
...ch/securityanalytics/mapper/MappingsTraverser.java 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x     #747      +/-   ##
============================================
- Coverage     24.82%   24.80%   -0.03%     
  Complexity     1019     1019              
============================================
  Files           275      275              
  Lines         12671    12671              
  Branches       1390     1390              
============================================
- Hits           3146     3143       -3     
- Misses         9257     9260       +3     
  Partials        268      268              

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

@jowg-amazon jowg-amazon merged commit 0bd58ca into 2.x Dec 1, 2023
@github-actions github-actions bot deleted the backport/backport-724-to-2.x branch December 1, 2023 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants