You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After integrating SDK with AD Extension in #24, the next steps would be for AD Extension to interact with OpenSearch for creating a detector. Below are the steps of the workflow:
Initialize the extension and initialize the interfaces of the extension points.
Registered the REST APIs in OpenSearch
Send a Create Detector request to extension which will be redirected to the handler from handleRequest. If it fails exception will thrown on AD Extension and to throw the same exception on OpenSearch listener.onFailure will be invoked.
The handler will take care of calling Create Index API to create AD index on OpenSearch using the SDKClient.
There will be bugs/issues after integrating all the SDK features with AD Extension and making it to interact with OpenSearch. We will turn this into a meta issue then and split the work to fix those.
getRestHandler - Register POST route for create detector in OpenSearch
createComponent Initialize searchFeatureDao, anomalyDetectionIndices, adTaskManager objects using the Transport APIs created here. - not needed for creating a detector but will be needed for next set of features
getActions - Register custom AD actions in OpenSearch - Since AD create detector is working on one extension node. Keeping this on hold as extension to extension communication will be needed for the AD feature which requires details from all the AD extension nodes.
Finally, send a request to create a detector to OpenSearch, should be redirected to AD Extension and later a request will be send back to OpenSearch to create the detector.
The text was updated successfully, but these errors were encountered:
minalsha
changed the title
[FEATURE] Interaction of AD Extension with OpenSearch
Meta: [FEATURE/Extensions] Interaction of AD Extension with OpenSearch
Sep 19, 2022
Is your feature request related to a problem?
After integrating SDK with AD Extension in #24, the next steps would be for AD Extension to interact with OpenSearch for creating a detector. Below are the steps of the workflow:
handleRequest
. If it fails exception will thrown on AD Extension and to throw the same exception on OpenSearchlistener.onFailure
will be invoked.There will be bugs/issues after integrating all the SDK features with AD Extension and making it to interact with OpenSearch. We will turn this into a meta issue then and split the work to fix those.
Steps/ Sub issues:
getSettings - Register custom AD Extension settings in OpenSearch [Feature/extensions] Add getSettings support for AD anomaly-detection#686
getRestHandler - Register POST route for create detector in OpenSearch
createComponent Initialize
searchFeatureDao
,anomalyDetectionIndices
,adTaskManager
objects using the Transport APIs created here. - not needed for creating a detector but will be needed for next set of featuresgetActions - Register custom AD actions in OpenSearch - Since AD create detector is working on one extension node. Keeping this on hold as extension to extension communication will be needed for the AD feature which requires details from all the AD extension nodes.
Finally, send a request to create a detector to OpenSearch, should be redirected to AD Extension and later a request will be send back to OpenSearch to create the detector.
The text was updated successfully, but these errors were encountered: