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

[BUG] opensearch-extra plugin testing does not work #15847

Closed
finnegancarroll opened this issue Sep 6, 2024 · 1 comment
Closed

[BUG] opensearch-extra plugin testing does not work #15847

finnegancarroll opened this issue Sep 6, 2024 · 1 comment
Labels
bug Something isn't working Build Build Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement. untriaged

Comments

@finnegancarroll
Copy link
Contributor

Describe the bug

This section of documentation in TESTING.md seems stale maybe? I can't find any mention of this special 'opensearch-extra' directory in the code and have had no luck using this feature to build a plugin alongside opensearch.

Related component

Build

To Reproduce

git clone https://github.com/opensearch-project/OpenSearch.git
mkdir OpenSearch/opensearch-extra && git clone https://github.com/opensearch-project/asynchronous-search.git OpenSearch/opensearch-extra/asynchronous-search
cd OpenSearch && ./gradlew run

Expected behavior

Based on the documentation I'm expecting OpenSearch to build and include the plugin cloned into 'opensearch-extra'.
I don't see my plugin with either of the below.

./gradlew projects
curl -X GET "http://localhost:9200/_cat/plugins"

Additional Details

No response

@finnegancarroll finnegancarroll added bug Something isn't working untriaged labels Sep 6, 2024
@github-actions github-actions bot added the Build Build Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement. label Sep 6, 2024
@dblock
Copy link
Member

dblock commented Sep 10, 2024

That seems incorrect. Last time I was testing a plugin where I needed to make modifications in both core and the plugin I did #15528 (comment). Maybe you can help update the documentation one way or another?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Build Build Tasks/Gradle Plugin, groovy scripts, build tools, Javadoc enforcement. untriaged
Projects
None yet
Development

No branches or pull requests

2 participants