Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Implement more connection string validators #12

Conversation

yifguoMSFT
Copy link
Contributor

  1. Implement MySqlValidator, KeyVaultValidator, and HttpValidator
  2. reorganize some code in DatabaseTestController for code re-using
  3. add a post method in ConnectionStringValidationController
    and other minor changes

@@ -445,51 +445,11 @@ private async Task<TestConnectionData> TestConnectionAsync(string connectionStri
{
if (databaseType == DatabaseType.SqlDatabase || databaseType == DatabaseType.SqlServer)
{
using (SqlConnection conn = new SqlConnection())
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@puneet-gupta @vijaysaayi I re-organized some code in this controller by putting them into public functions so that I can re-use them in ConnectionStringValidatorController

Copy link
Contributor

@puneetg1983 puneetg1983 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved with suggestions!

@yifguoMSFT yifguoMSFT merged commit 609167c into feature/connection-string-validation Jul 24, 2021
@yifguoMSFT yifguoMSFT deleted the yifguo/connection-string-validator-cont branch March 11, 2022 17:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants