-
Notifications
You must be signed in to change notification settings - Fork 947
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
[MD] Support test connection for datasource #2435
Comments
there isn't an OpenSearch API that can be used to verify the connection/authentication. While I think we can leverage the
This will require a new API in data source plugin for test connection function. And in the case of users wants to connect to a non-Opensearch endpoint, like Elasticsearch with x-pack security which supports basic auth, this test connection will not work even though the username and password is valid and it could run query against that data source |
Update: we can try connecting to the cluster info API as well when there is auth. And only look for 401 Unauthorized error to check if the provided auth is invalid. |
I think per @zengyan-amazon 's point, to suggest using security plugin api, e.g. |
can this be closed by: #2973 @zhongnansu |
Yes |
Feedback from our review of the latest implantation: MDS Create flow - test connection UX
MDS detail page - test connection UX
Non blocking feedback (to add to the project roadmap):
|
Adding test connection feature, as a button on data source related pages to:
The text was updated successfully, but these errors were encountered: