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

Merged
merged 1 commit into from
Dec 1, 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 (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
12 of 15 checks passed
@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