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
console plugin doesn't interact with OpenSearch via opensearch-js client. It's just making http requests using Node.js http client. Given that the multiple datasource solution is mostly based on opensearch-js clients, to onboard dev tool console with multiple datasource, we first need to refactor original logic to replace http client with opensearch-js client, and then extend it to use the data source client on demand.
Besides, keeping a unified way for OSD to interact with OpenSearch will benefit us long term. All visualizations/Discover retrieves data from OpenSearch through data plugin. And data plugin under the hood is using opensearch-js client. I don't see the point for OSD dev tool console using http client to interact with OpenSearch.
zhongnansu
changed the title
[Multiple Datasource]Replace http client with opensearch-js client in dev tool console
Replace http client with opensearch-js client in dev tool console
Mar 8, 2023
console
plugin doesn't interact with OpenSearch via opensearch-js client. It's just making http requests using Node.js http client. Given that the multiple datasource solution is mostly based onopensearch-js
clients, to onboard dev tool console with multiple datasource, we first need to refactor original logic to replace http client with opensearch-js client, and then extend it to use the data source client on demand.Besides, keeping a unified way for OSD to interact with OpenSearch will benefit us long term. All visualizations/Discover retrieves data from OpenSearch through data plugin. And data plugin under the hood is using opensearch-js client. I don't see the point for OSD dev tool console using http client to interact with OpenSearch.
POC: #3544
Notes:
client.transport.request
part of #2699
The text was updated successfully, but these errors were encountered: