-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Failover database and elastic pools Net SDK #6934
Conversation
@@ -13,6 +13,7 @@ | |||
<![CDATA[ | |||
New features: | |||
- Added support for serverless databases. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 15 is release notes for 1.31.0-preview, this was already published (see https://www.nuget.org/packages/Microsoft.Azure.Management.Sql). So you should update version to 1.32 (here and in AssemblyInfo.cs) and wipe out the old release notes.
Assert.NotNull(db); | ||
|
||
// Failover database | ||
AzureOperationResponse failoverResponse = await sqlClient.Databases.BeginFailoverWithHttpMessagesAsync( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just call Failover
instead, that way you are verifying the entire e2e operation succeeds.
Assert.NotNull(db); | ||
|
||
// Failover elastic pool | ||
AzureOperationResponse failoverResponse = await sqlClient.ElasticPools.BeginFailoverWithHttpMessagesAsync( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also use Failover
here.
@@ -13,6 +13,7 @@ | |||
<![CDATA[ | |||
New features: | |||
- Added support for serverless databases. | |||
- Added support for failover databases and elastic pools. | |||
]]> | |||
</PackageReleaseNotes> | |||
</PropertyGroup> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@emgu-ms, you need to update Version if you want to publish new nuget pcakge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may also need update the value of AssemblyFileVersion in AssemblyInfo.cs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please resolve conflicts.
@@ -12,6 +12,7 @@ | |||
<PackageReleaseNotes> | |||
<![CDATA[ | |||
New features: | |||
- Added support for failover databases and elastic pools. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, looks like 1.32 was just published. Can you wipe out the 1.32 release notes and bump to 1.33?
GitHub fork: Azure | ||
Branch: master | ||
Commit: 808cfe2da58aa6f1d93bed748004dfb97268e6e3 | ||
GitHub fork: emgu-ms |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't your changes checked into master? Published SDK must be based on azure/master.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
REST API commit change - Azure/azure-rest-api-specs@597f7dd#diff-cf76f9fb3a55909fa9cd42d1e4612784
Added database and elastic pool failover to Net SDK. Also included tests.