Skip to content
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

[FEATURE] Support multi data source in assistant #192

Open
raintygao opened this issue May 28, 2024 · 1 comment
Open

[FEATURE] Support multi data source in assistant #192

raintygao opened this issue May 28, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@raintygao
Copy link
Collaborator

raintygao commented May 28, 2024

Is your feature request related to a problem?
We will support multi data source in assistant, assistant needs to get the data source selected by other applications from the OSD page and use this data source to connect to the corresponding OS cluster. When the data source selected on the page changes, the assistant should refresh and update accordingly and connect to the new OS cluster.

What solution would you like?
image

There are two parts that need to be updated.

In OSD, since the data source selector and menu components provided by DSM don't store the selected value after the data source is selected, we will add a service in DSM. After the component is selected, store the selected value after selecting data source and delete the selected value after the component is unmounted. Other plugins such as assistant can get the value through this instance. opensearch-project/OpenSearch-Dashboards#6825

In assistant, we need to integrate the above new service in DSM, and get selected data source through the data source selector in the OSD page on the front end. Meanwhile, the API needs to be upgraded to support passed data source ID and be able to connect to the corresponding OS cluster through specific data source id.

@dblock
Copy link
Member

dblock commented Jun 24, 2024

Catch All Triage - 1 2 3 4 5 6

@dblock dblock removed the untriaged Issues that have not yet been triaged label Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants