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

2.10 #24

Draft
wants to merge 67 commits into
base: main
Choose a base branch
from
Draft

2.10 #24

wants to merge 67 commits into from

Conversation

macohen
Copy link
Collaborator

@macohen macohen commented Nov 13, 2023

Description

updates the build to use OpenSearch 2.10, but fails due to refactoring needed.

Issues Resolved

N.A

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.

gsingers and others added 30 commits September 15, 2022 11:58
…re and a TODO regarding the Strings class

Signed-off-by: Mark Cohen <markcoh@amazon.com>
… yamlRestTest according to spec. integTests don't work yet so running with the following vars works -Dopensearch.version=2.7.0 -Dskip.integtests=true -Djava.security.manager=allow -Dbuild.snapshot=false

buid.snapshot runs the yamlRestTest successfully. -Djava.security.manager=allow allows the deprecated SecurityManager to do it's work

also updated StoredFeatureParserTests.writeAsNonFormattedString to require MediaType as per opensearch-project/OpenSearch@f9eb9bf

Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
' as a branch to trigger when a tag is pushed

Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
… opensearch version on command line instead of in gradle.properties

Signed-off-by: Mark Cohen <markcoh@amazon.com>
…is too general by subbing the semantic-ish versioning regex with a .*, but the build succeeded...

Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mohammad Hasnain Mohsin Rajan <hasnain2808@gmail.com>
fix: revert build.gradle sourceSets changes
* bring in dockerfile

* bring in dockerfile

* add in docker actions

* remove docker branch for push action
macohen and others added 19 commits November 9, 2023 10:34
Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
' as a branch to trigger when a tag is pushed

Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
… opensearch version on command line instead of in gradle.properties

Signed-off-by: Mark Cohen <markcoh@amazon.com>
…is too general by subbing the semantic-ish versioning regex with a .*, but the build succeeded...

Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mohammad Hasnain Mohsin Rajan <hasnain2808@gmail.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
… docker hub doesn't work right now

Signed-off-by: Mark Cohen <markcoh@amazon.com>
…ToRankPluginIT.java to look for 'ltr' in the response

Signed-off-by: Mark Cohen <markcoh@amazon.com>
…ue to reorganization of code in core

Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
@macohen macohen marked this pull request as draft November 13, 2023 15:01
macohen and others added 4 commits December 28, 2023 11:23
…, but there are integ tests that need to be fixed

Signed-off-by: Mark Cohen <markcoh@amazon.com>
Signed-off-by: Mark Cohen <markcoh@amazon.com>
…ct)"

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>
@austintlee
Copy link

I had a look at the diff and looked for similar changes we had made for ml-commons. Looks like they're all there (MediaType, XContentParser, etc).

…name (context: Object)" honoring XContent/Object/Fragment markers. In doubts.

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>
@macohen
Copy link
Collaborator Author

macohen commented Jan 4, 2024

I had a look at the diff and looked for similar changes we had made for ml-commons. Looks like they're all there (MediaType, XContentParser, etc).

Thanks @austintlee. @mkhludnev managed to find that some of the tests pass if you override ToXContent.isFragment() and return true. I found that some of them fail so there's more digging to do on this one.

mkhludnev and others added 2 commits January 14, 2024 23:50
StoredFeatureParserTests.testToXContent() does what StoredFeatureSetParserTests do.

Signed-off-by: Mikhail Khludnev <mkhl@apache.org>
another attempt to fix ToXContent
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.

None yet

5 participants