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.x] Change DataSourceType from enum to class #2746

Merged

Conversation

ykmr1224
Copy link
Collaborator

Description

  • [Backport 2.x] Change DataSourceType from enum to class
  • Original auto backport had issue and this includes the revision for the code style fix.

Issues Resolved

n/a

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc 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.

ykmr1224 added 2 commits June 12, 2024 15:34
* Change DataSourceType from enum to class

Signed-off-by: Tomoyuki Morita <[email protected]>

* Fix test failure

Signed-off-by: Tomoyuki Morita <[email protected]>

* Fix serialization issue

Signed-off-by: Tomoyuki Morita <[email protected]>

* Fix format

Signed-off-by: Tomoyuki Morita <[email protected]>

* Fix integTest

Signed-off-by: Tomoyuki Morita <[email protected]>

* Fix style

Signed-off-by: Tomoyuki Morita <[email protected]>

* Fix failing test

Signed-off-by: Tomoyuki Morita <[email protected]>

* Address comment

Signed-off-by: Tomoyuki Morita <[email protected]>

* Fix DataSourceType to allow registering new type

Signed-off-by: Tomoyuki Morita <[email protected]>

---------

Signed-off-by: Tomoyuki Morita <[email protected]>
(cherry picked from commit 1d703e8)
Signed-off-by: Tomoyuki Morita <[email protected]>
(cherry picked from commit 00d5c4e)
@ykmr1224 ykmr1224 merged commit c475d5d into opensearch-project:2.x Jun 12, 2024
20 of 27 checks passed
@ykmr1224 ykmr1224 deleted the backport/backport-2730-to-2.x branch July 30, 2024 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Improves code quality, but not the product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants