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

Extract validation logic from FlintIndexMetadataServiceImpl #2944

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

ykmr1224
Copy link
Collaborator

Description

  • Extract validation logic from FlintIndexMetadataServiceImpl
  • This is to make the validation logic usable for async-query-core library user

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • [n/a] New functionality has been documented.
  • New functionality has javadoc added.
  • [n/a] New functionality has a user manual doc added.
  • [n/a] API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • [n/a] Public documentation issue/PR created.

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.

Signed-off-by: Tomoyuki Morita <moritato@amazon.com>

public static final Set<String> ALTER_TO_FULL_REFRESH_ALLOWED_OPTIONS =
new LinkedHashSet<>(Arrays.asList(AUTO_REFRESH, INCREMENTAL_REFRESH));
public static final Set<String> ALTER_TO_INCREMENTAL_REFRESH_ALLOWED_OPTIONS =
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[Nit] I think these are my changes. Do we need LinkedHashset?

Copy link
Member

@vamsi-amazon vamsi-amazon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ykmr1224 ykmr1224 merged commit d260e0e into opensearch-project:main Aug 30, 2024
14 of 16 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Aug 30, 2024
Signed-off-by: Tomoyuki Morita <moritato@amazon.com>
(cherry picked from commit d260e0e)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ykmr1224 pushed a commit that referenced this pull request Aug 30, 2024
…2954)

(cherry picked from commit d260e0e)

Signed-off-by: Tomoyuki Morita <moritato@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x maintenance Improves code quality, but not the product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants