-
Notifications
You must be signed in to change notification settings - Fork 58
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
[META] Migrate Anomaly Detector plugin to work as an Extension #24
Comments
@owaiskazi19 I've assigned it to you as you've already done some work and wanted to pick up. |
For integrating SDK with AD plugin's issue. There are 2 approaches we can look for
The 1st helps us to integrate SDK in a more generalized way. |
Strongly in favor of this. SDK will be consumed by multiple extensions so having it in a library will help us keep the "common" SDK code separated from extension-specific applications and force us to keep the concepts separate. I think we're already moving in the direction of doing this for "Maven Local" but as the API becomes more stable and we are ready to collect more community input we will want to publish SNAPSHOTs.
Not a good primary plan. Everything will eventually need to move to a separate library so there is no reason to intentionally put things in one location. Granted, I expect that some things we write for AD, we will later find we are duplicating the code in another extension and we might find a way to combine them into an Abstract SDK class both extensions can inherit from, but this should be the exception rather than the rule. |
Thanks @dbwiddis for your input on this. We are moving forward with the 1st approach. |
Upon further exploring AD plugin and Job Scheduler are building with OpenSearch 2.2.0 while SDK is using 3.0.0-SNAPSHOT. This is resulting in dependencies conflicts.
|
Extension Architecture with OpenSearch Benchmark [INFO] Downloading workload data (30.6 kB total size) [100.0%] Running delete-index [100% done]
[INFO] SUCCESS (took 14 seconds) |
Plugin Architecture with OpenSearch Benchmark [INFO] Executing test with workload [nyc_taxis], test_procedure [append-no-conflicts] and provision_config_instance ['external'] with version [3.0.0-SNAPSHOT]. Running delete-index [100% done]
[INFO] SUCCESS (took 13 seconds) |
Is your feature request related to a problem?
To make sure AD works as an extension, all the required extension points for creating a detector should be covered.
opensearchplugin
for Extensions #137The text was updated successfully, but these errors were encountered: