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

Add Schema Compare support for AAD #853

Merged
merged 4 commits into from
Aug 22, 2019
Merged

Conversation

kisantia
Copy link
Contributor

Adds support for AAD in schema compare by passing the AzureAcountToken if there is one. Fixes microsoft/azuredatastudio#5123

@udeeshagautam
Copy link
Contributor

(weird issue not letting me add comment in code)

SchemacompareUtils.cs line 121 :
while using connInfo.ConnectionDetails.AzureAccountToken do we need to null check connInfo.ConnectionDetails also or this is being null checked before already?

@udeeshagautam
Copy link
Contributor

(also not letting me edit the comment :( )

One more thing, I noticed one SC test failed in PR build... please confirm locally that all SC tests are passing with the change

Copy link
Contributor

@ranasaria ranasaria left a comment

Choose a reason for hiding this comment

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

:shipit:

Copy link
Member

@pensivebrian pensivebrian left a comment

Choose a reason for hiding this comment

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

:shipit:

@kisantia
Copy link
Contributor Author

@udeeshagautam added null check and the test passed when I ran it locally with the changes.

@kisantia kisantia merged commit 361287a into master Aug 22, 2019
@kisantia kisantia deleted the kisantia/schemaCompareAAD branch August 22, 2019 21:19
@coveralls
Copy link

coveralls commented Aug 23, 2019

Coverage Status

Coverage increased (+4.04%) to 76.788% when pulling bab6c12 on kisantia/schemaCompareAAD into b01bdeb on master.

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.

Schema Compare fails for Azure database using AAD auth
6 participants