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

Add opensearch-remote-metadata-sdk to manifest #5228

Merged

Conversation

dbwiddis
Copy link
Member

@dbwiddis dbwiddis commented Jan 8, 2025

Description

Adds the opensearch-remote-metadata-sdk library to the manifest.

This PR is step 6 of this checklist: https://github.com/opensearch-project/opensearch-build/blob/main/ONBOARDING.md#onboard-to-build-workflow

Note that this is not a plugin. It is a library to be used by plugins in order to refactor common code to a single location. It is similar to common-utils in that respect and I attempted to follow that pattern (plain jar rather than zip).

PR implementing the build script:

Artifacts published:

> find artifacts/maven/org/opensearch -type f \( -name "*.jar" -o -name "*.pom" \) | sed 's|^artifacts/maven/org/opensearch/||' | sort

opensearch-remote-metadata-sdk-aos-client/2.19.0-SNAPSHOT/opensearch-remote-metadata-sdk-aos-client-2.19.0-20250108.223743-1-javadoc.jar
opensearch-remote-metadata-sdk-aos-client/2.19.0-SNAPSHOT/opensearch-remote-metadata-sdk-aos-client-2.19.0-20250108.223743-1-sources.jar
opensearch-remote-metadata-sdk-aos-client/2.19.0-SNAPSHOT/opensearch-remote-metadata-sdk-aos-client-2.19.0-20250108.223743-1.jar
opensearch-remote-metadata-sdk-aos-client/2.19.0-SNAPSHOT/opensearch-remote-metadata-sdk-aos-client-2.19.0-20250108.223743-1.pom
opensearch-remote-metadata-sdk-ddb-client/2.19.0-SNAPSHOT/opensearch-remote-metadata-sdk-ddb-client-2.19.0-20250108.223743-1-javadoc.jar
opensearch-remote-metadata-sdk-ddb-client/2.19.0-SNAPSHOT/opensearch-remote-metadata-sdk-ddb-client-2.19.0-20250108.223743-1-sources.jar
opensearch-remote-metadata-sdk-ddb-client/2.19.0-SNAPSHOT/opensearch-remote-metadata-sdk-ddb-client-2.19.0-20250108.223743-1.jar
opensearch-remote-metadata-sdk-ddb-client/2.19.0-SNAPSHOT/opensearch-remote-metadata-sdk-ddb-client-2.19.0-20250108.223743-1.pom
opensearch-remote-metadata-sdk-remote-client/2.19.0-SNAPSHOT/opensearch-remote-metadata-sdk-remote-client-2.19.0-20250108.223743-1-javadoc.jar
opensearch-remote-metadata-sdk-remote-client/2.19.0-SNAPSHOT/opensearch-remote-metadata-sdk-remote-client-2.19.0-20250108.223743-1-sources.jar
opensearch-remote-metadata-sdk-remote-client/2.19.0-SNAPSHOT/opensearch-remote-metadata-sdk-remote-client-2.19.0-20250108.223743-1.jar
opensearch-remote-metadata-sdk-remote-client/2.19.0-SNAPSHOT/opensearch-remote-metadata-sdk-remote-client-2.19.0-20250108.223743-1.pom
opensearch-remote-metadata-sdk/2.19.0-SNAPSHOT/opensearch-remote-metadata-sdk-2.19.0-20250108.223743-1-javadoc.jar
opensearch-remote-metadata-sdk/2.19.0-SNAPSHOT/opensearch-remote-metadata-sdk-2.19.0-20250108.223743-1-sources.jar
opensearch-remote-metadata-sdk/2.19.0-SNAPSHOT/opensearch-remote-metadata-sdk-2.19.0-20250108.223743-1.jar
opensearch-remote-metadata-sdk/2.19.0-SNAPSHOT/opensearch-remote-metadata-sdk-2.19.0-20250108.223743-1.pom

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: Daniel Widdis <widdis@gmail.com>
@gaiksaya gaiksaya added the manifest-ci-check Run manifest ci check label Jan 13, 2025
@gaiksaya
Copy link
Member

@dbwiddis Looks like versioning is the issue:

system.properties_file.PropertiesFile.UnexpectedKeyValueError: Expected to have version='3.0.0.0-SNAPSHOT', but was '3.0.0-SNAPSHOT'.

Its missing the 4th digit. .0

@dbwiddis
Copy link
Member Author

@dbwiddis Looks like versioning is the issue:

system.properties_file.PropertiesFile.UnexpectedKeyValueError: Expected to have version='3.0.0.0-SNAPSHOT', but was '3.0.0-SNAPSHOT'.

Its missing the 4th digit. .0

Yeah, I intentionally left that off since I didn't expect to need it (we're not a plugin). But I guess I need to add it back in.

@dbwiddis
Copy link
Member Author

Its missing the 4th digit. .0

Should be fixed now if you want to rerun the test.

@gaiksaya
Copy link
Member

Its missing the 4th digit. .0

Should be fixed now if you want to rerun the test.

It went through for remote-sdk:

 2025-01-15 00:14:00 INFO     Executing "./gradlew properties -Dopensearch.version=3.0.0-SNAPSHOT -Dbuild.snapshot=true" in /tmp/tmp60g4jri8/opensearch-remote-metadata-sdk
2025-01-15 00:14:01 INFO     Checked opensearch-remote-metadata-sdk (3.0.0.0-SNAPSHOT).
2025-01-15 00:14:01 INFO     Done.

Issue with reporting plugin. Unrelated to this PR. Proceeding with the merge.

@gaiksaya gaiksaya merged commit 1c2faaa into opensearch-project:main Jan 15, 2025
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants