Skip to content

Change mssql url parsing to honor passing parameters (#5728) #5736

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bsofiato
Copy link

This PR should deal with the issue describe on #5728

When writing this PR, I found some points for improvement. I, however, chose not to do it since it would require more profound changes that might be out of the scope of this PR.

The first point of improvement is refactoring the ConnectionUrl::parseUrl method. It has logic to parse oracle, generic, and now MSSQL-based URLs. Maybe we change it a little bit to employ a chain of responsibility that deal with each database.

Another point of improvement lies in the MSSQLServerContainer class. We could change its constructUrlForConnection method to allow different separators by turning it on a template method.

Again, I feel these changes are too profound to incorporate into this issue. Still, if you guys think it is worth it, I will do it. ;)

@eddumelendez
Copy link
Member

thanks for the PR @bsofiato ! failure in tests is related to com.gradle:common-custom-user-data-gradle-plugin:1.8.0 couldn't be found. It was fixed #5738 . Updating the branch should fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants