Skip to content

[Backport 2.10] #709 Return empty response for empty mappings and no applied aliases#750

Merged
jowg-amazon merged 1 commit into2.10from
backport/backport-724-to-2.10
Dec 1, 2023
Merged

[Backport 2.10] #709 Return empty response for empty mappings and no applied aliases#750
jowg-amazon merged 1 commit into2.10from
backport/backport-724-to-2.10

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 (e005b5a) 25.04% compared to head (624ee34) 25.03%.

Files Patch % Lines
...ch/securityanalytics/mapper/MappingsTraverser.java 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               2.10     #750      +/-   ##
============================================
- Coverage     25.04%   25.03%   -0.01%     
- Complexity      940      941       +1     
============================================
  Files           255      255              
  Lines         11125    11125              
  Branches       1242     1242              
============================================
- Hits           2786     2785       -1     
- Misses         8087     8089       +2     
+ Partials        252      251       -1     

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

@jowg-amazon jowg-amazon merged commit 9de52ad into 2.10 Dec 1, 2023
@github-actions github-actions bot deleted the backport/backport-724-to-2.10 branch December 1, 2023 01:34
riysaxen-amzn pushed a commit to riysaxen-amzn/security-analytics that referenced this pull request Mar 25, 2024
…ch-project#750) (opensearch-project#785)

Signed-off-by: Ashish Agrawal <ashisagr@amazon.com>
(cherry picked from commit 830dff1d17c9a002efe417b55b84219b14c0c2fe)

Co-authored-by: Ashish Agrawal <ashisagr@amazon.com>
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