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

Validation for Endpoint URL when creating a dataSource #6517

Closed
Tracked by #5872
riysaxen-amzn opened this issue Apr 17, 2024 · 2 comments
Closed
Tracked by #5872

Validation for Endpoint URL when creating a dataSource #6517

riysaxen-amzn opened this issue Apr 17, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request multiple datasource multiple datasource project v2.14.0

Comments

@riysaxen-amzn
Copy link

riysaxen-amzn commented Apr 17, 2024

DataSource Endpoint Validation
Presently, there is no validation for the Endpoint URL during the creation of a dataSource in Dashboards Management. Consequently, it is possible to create a dataSource with an invalid Endpoint URL, as shown below.

Image 4-17-24 at 3 16 PM

Despite repeated attempts to test the connection, error messages related to authentication issues persist, masking the actual problem associated with the Endpoint URL. Also, I was able to create a dataSource with an invalid Endpoint

Image 4-17-24 at 3 33 PM

Describe the solution you'd like

Implementing DataSource Endpoint Validation would significantly improve the user experience. By incorporating this validation, error messages can accurately reflect the cause of failure during dataSource creation, leading to more efficient issue resolution.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

@riysaxen-amzn riysaxen-amzn added the enhancement New feature or request label Apr 17, 2024
@BionIT
Copy link
Collaborator

BionIT commented Apr 17, 2024

Thanks @riysaxen-amzn to report this issue! @zhongnansu could you help to work on this and this issue in functional test repo is somewhat related opensearch-project/opensearch-dashboards-functional-test#1202

@zhongnansu
Copy link
Member

Thanks @riysaxen-amzn to report this issue! @zhongnansu could you help to work on this and this issue in functional test repo is somewhat related opensearch-project/opensearch-dashboards-functional-test#1202

Sure, I'll work on this. What I plan to do is to add the same logic of "test connection", to the create data source validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request multiple datasource multiple datasource project v2.14.0
Projects
None yet
Development

No branches or pull requests

3 participants