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
we will not add OpenSearchDataService to OSD core, instead, I'd make it part of data source plugin. So we will register data source saved object type into dataSource plugin, and provide functions for other components to get OpenSearch client for data sources in request context
zengyan-amazon
changed the title
Add OpenSearchDataService in core(to epic)
Add OpenSearchDataService in OSD
Aug 2, 2022
Due to the change of design, we are moving the client management from a "core service" to data source plugin. The most uncertain refactor is how to expose "getDataSourceClient" function in request handler context. The previous idea is proved by POC that we can register it with "core context". But we can't apply the same within a plugin.
I am working on a POC to register "getClient()" interface, to request context from a plugin. It's likely it will be implemented in search plugin, and only be exposed to search plugin. While the actual service can be in data_source plugin.
data_source
plugin to request context as plugin context #1979The text was updated successfully, but these errors were encountered: