OpenSearch gradle plugin seems to be avoiding resolution of transient dependencies for implementation/api configurations.
This results in NoClassFound exceptions and other classes missing during operation.
How can one reproduce the bug?
./gradlew :oci-repository-plugin:run
then attempt to create a repository
Caused by: java.util.NoSuchElementException: No http provider available; add dependency on one of the oci-java-sdk-common-httpclient-* choices, e.g. oci-java-sdk-common-httpclient-jersey
What is the expected behavior?
expected behavior is for everything in the readme.md examples to just work
What is your host/environment?
will happen on any environment
Do you have any additional context?
It seems that during the tests the transient dependencies from the fixture compensate, therefore it means we will have to add an IT class that perform an external test.
What is the bug?
OpenSearch gradle plugin seems to be avoiding resolution of transient dependencies for
implementation/api
configurations. This results in NoClassFound exceptions and other classes missing during operation.How can one reproduce the bug?
./gradlew :oci-repository-plugin:run
then attempt to create a repositoryopen search logs will show errors such as:
What is the expected behavior?
expected behavior is for everything in the
readme.md
examples to just workWhat is your host/environment?
will happen on any environment
Do you have any additional context?
It seems that during the tests the transient dependencies from the fixture compensate, therefore it means we will have to add an IT class that perform an external test.