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

Make Statemodels free of XContent #2619

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vmmusings
Copy link
Member

@vmmusings vmmusings commented Apr 17, 2024

Description

Meta Issue: #2623
As part of moving all the non-opensearch classes to a separate async-query-core module. We are removing the dependency of opensearch on state models by moving all the XContent serialization and deserialization functionality to separate classes and made state models simple POJOs.

Issues Resolved

[List any issues this PR will resolve]

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.

@vmmusings vmmusings changed the title Make models free of XContent Make Statemodels free of XContent Apr 17, 2024
@vmmusings vmmusings force-pushed the refactor-state-models branch 4 times, most recently from 012be35 to ff702ed Compare April 17, 2024 08:09
Signed-off-by: Vamsi Manohar <[email protected]>
@@ -0,0 +1,5 @@
package org.opensearch.sql.spark.execution.statestore;
Copy link
Contributor

Choose a reason for hiding this comment

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

missing copyright. also in interface FromXContent and StateCopyBuilder.

@vmmusings vmmusings marked this pull request as draft April 22, 2024 20:17
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.

2 participants