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

new internal model interfaces - #405 #412

Merged
merged 3 commits into from
Oct 13, 2021

Conversation

cmanning09
Copy link
Contributor

@cmanning09 cmanning09 commented Oct 11, 2021

Signed-off-by: cmanning09 [email protected]

Description

Introducing interfaces for the new internal model. All model objects will have an interface definition to create a contract for all models. Implementations will be provided in follow up PRs.

Issues Resolved

#405

Check List

  • New functionality includes testing.
    • All tests pass
  • [ x ] New functionality has been documented.
    • [ x ] New functionality has javadoc added
  • [ x ] 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.

@dlvenable
Copy link
Member

Per our DCO, we require that commits be signed off using your real name.

You have:

Signed-off-by: cmanning09 <[email protected]>

Please change cmanning09 to your real name.

@cmanning09
Copy link
Contributor Author

cmanning09 commented Oct 12, 2021

That was an unintentionally deleted pushing the latest version to my forked repo.

@cmanning09 cmanning09 reopened this Oct 12, 2021
dlvenable
dlvenable previously approved these changes Oct 12, 2021
* @return JsonNode of the event
* @since 1.2
*/
JsonNode toJsonNode();
Copy link
Contributor

Choose a reason for hiding this comment

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

As a heads up, this ties us to Jackson for all our implementations. Would String be a better choice?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yea, a JSON serialized String would be agnostic to other packages. I will address.

@laneholloway laneholloway merged commit c118f94 into opensearch-project:main Oct 13, 2021
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