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.13] Change doc level query name validation #638

Merged
merged 1 commit into from
Apr 13, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 9beae87 from #630.

* change validation and tests

Signed-off-by: jowg-amazon <jowg@amazon.com>

* change regex to 0-256 chars

Signed-off-by: jowg-amazon <jowg@amazon.com>

* moved validation to common utils and fix test

Signed-off-by: jowg-amazon <jowg@amazon.com>

* remove TODO

Signed-off-by: jowg-amazon <jowg@amazon.com>

* ensure name is at lest 1 char

Signed-off-by: jowg-amazon <jowg@amazon.com>

* change error message

Signed-off-by: jowg-amazon <jowg@amazon.com>

---------

Signed-off-by: jowg-amazon <jowg@amazon.com>
(cherry picked from commit 9beae87)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@jowg-amazon jowg-amazon merged commit 814eba1 into 2.13 Apr 13, 2024
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants