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

Update from System.Data.SqlClient to Microsoft.Data.SqlClient in v1.x #1024

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

janrybka
Copy link
Contributor

@janrybka janrybka commented Apr 2, 2024

Details in of update in discussion: #1022 (comment)

This is first PR. The second will be to develop-v0. Unfortunately I don't have any sample project to run tests on. Changes looks straight forward, build and unit tests passes, so there shouldn't be problems with runtime library mismatches.

I'm currently running test on v0 version. I'll post those once finished.

@CLAassistant
Copy link

CLAassistant commented Apr 2, 2024

CLA assistant check
All committers have signed the CLA.

@janrybka janrybka changed the title Update from System.Data.SqlClient to Microsoft.Data.SqlClient Update from System.Data.SqlClient to Microsoft.Data.SqlClient in v1.x Apr 2, 2024
@janrybka
Copy link
Contributor Author

janrybka commented Apr 2, 2024

I see I need to disable cert validation on SQL connection in tests... Work ongoing...

... Done

@@ -50,7 +50,8 @@ public static MsSqlConnectionString CreateConnectionString(string label)
{
DataSource = FirstNonEmpty(
Environment.GetEnvironmentVariable("EVENTFLOW_MSSQL_SERVER"),
".")
"."),
Encrypt = false
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Trust Server Cert wasn't working (I assume with SQL Server 2017), so I just disabled encryption. It's not required for tests.

@rasmus
Copy link
Member

rasmus commented Apr 2, 2024

@janrybka there seems to be something odd with the CLA. Are your commits done using an email verified on GitHub?

@janrybka
Copy link
Contributor Author

janrybka commented Apr 2, 2024

@janrybka there seems to be something odd with the CLA. Are your commits done using an email verified on GitHub?

Yes, I used the wrong one on this repo. Fixed.

@rasmus rasmus merged commit 2b100fb into eventflow:develop-v1 Apr 2, 2024
5 checks passed
@rasmus
Copy link
Member

rasmus commented Apr 2, 2024

❤️

@janrybka janrybka deleted the v1-mssqlclient branch April 3, 2024 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants