What is the bug?
Latest ML Commons code fail with below compilation error:
Compilation failed; see the compiler output below.
opensearch/ml-commons/plugin/src/main/java/org/opensearch/ml/resources/MLResourceSharingExtension.java:22: error: ResourceProvider is abstract; cannot be instantiated
return Set.of(new ResourceProvider(ML_MODEL_GROUP_RESOURCE_TYPE, ML_MODEL_GROUP_INDEX));
ResourceProvider class is from Security plugin and I can see a recent refactoring task opensearch-project/security#5755 moved ResourceProvider as an interface. This caused the issue.
How can one reproduce the bug?
Take the latest code base and run the command "./gradlew run"
What is the expected behavior?
It should run successfully and launches a single node cluster with ml-commons plugin installed
What is your host/environment?
Any
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
What is the bug?
Latest ML Commons code fail with below compilation error:
ResourceProvider class is from Security plugin and I can see a recent refactoring task opensearch-project/security#5755 moved ResourceProvider as an interface. This caused the issue.
How can one reproduce the bug?
Take the latest code base and run the command "./gradlew run"
What is the expected behavior?
It should run successfully and launches a single node cluster with ml-commons plugin installed
What is your host/environment?
Any
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.