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

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

Merged

Conversation

goyamegh
Copy link
Collaborator

@goyamegh goyamegh commented Dec 1, 2023

Description

Returns an empty response instead of exception in case of:

  1. empty index mappings are present,
  2. no applied aliases are present on the index

Issues Resolved

#709

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.

goyamegh and others added 2 commits November 30, 2023 16:52
… 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>
Signed-off-by: Megha Goyal <goyamegh@amazon.com>
@goyamegh goyamegh marked this pull request as ready for review December 8, 2023 23:07
@jowg-amazon jowg-amazon merged commit dc878c5 into opensearch-project:2.8 Dec 14, 2023
8 of 13 checks passed
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