-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Storage] Support Managepolicy policy on 2018-03-01-preview #4367
Conversation
The build failed since a Test case fail.
|
GitHub user: Azure | ||
Branch: master | ||
Commit: 96d9da589ae6610fc816fca6b25288519974c83a | ||
GitHub user: blueww |
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 generate the code from the Azure rest spec repo's master branch, we cannot accept PRs from code generated from a REST spec from a different repo/branch
- Please create a
generate.ps1
similar to this and regenerate the code
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.
-
The PR has been re-generated on public swagger master branch, as the swagger is just merged.
I send the SDK PR for review first from private repo in advance before swagger PR is merged, since would like to have the PR review sooner to avoid risk of get review comments later. -
I have already added generate.ps1 before. And now update it as the sample you provide. But the new script is not tested? Please help to review. Is there a way to test it?
@@ -7,7 +7,7 @@ | |||
<PackageId>Microsoft.Azure.Management.Storage</PackageId> | |||
<Description>Microsoft Azure Management Storage Library</Description> | |||
<AssemblyName>Microsoft.Azure.Management.Storage</AssemblyName> | |||
<Version>7.2.0-preview</Version> | |||
<Version>8.0.0-preview</Version> | |||
<PackageTags>Microsoft Azure Storage management;Storage;Storage management;</PackageTags> | |||
<PackageReleaseNotes>See https://aka.ms/asdotnetsdkchangelog for release notes.</PackageReleaseNotes> |
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 confirm that the package release notes are updated
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.
nit: Is there a reason you plan to release a major version, you can release preview breaking changes by bumping the minor version too
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.
- Where's the package release notes? Do you mean the change log? I have updated it.
- I update the major version just for the breaking change. Although we still in preview, we use the GA quality bar.
@@ -1170,12 +1148,27 @@ public void StorageAccountUpdateEncryptionTest() | |||
Assert.Equal(true, account.Encryption.Services.File.Enabled); | |||
Assert.NotNull(account.Encryption.Services.File.LastEnabledTime); | |||
|
|||
// 2. Update storage encryption by enable Blob Encyrption | |||
//// 2. Explicitly disable file encryption service. |
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.
We generally discourage commented code. It's best to move this code to a different test and mark it as Skipped
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.
Good catch.
Fixed.
@blueww Please pull down latest upstream changes and update the PR |
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.
LGTM, will merge on CIs passing
Description
This PR is generated from swagger in private repo, will update to public repo when the swagger PR for public repo is merged.
But the code should be the same, so please help to start review now.
The feature target to release on 5/30.
The swagger PR:
Private: pass review on private repo: Azure/azure-rest-api-specs-pr#465
Public: just sent to public repo: Azure/azure-rest-api-specs#3137
Rest API Spec: https://microsoft-my.sharepoint.com/:w:/r/personal/yzheng_ntdev_microsoft_com/_layouts/15/Doc.aspx?sourcedoc=%7B3E66A1C5-12C8-4ACB-BCF0-D59B015DE394%7D&file=DLMPreviewDoc.docx&action=default&mobileredirect=true
Breaking:
Per onesdk team requirement in issue Azure/azure-rest-api-specs#3024, change Usage to Usages, since operation ID should not be singleton.
Upgrade SDK version to 8.0.0-preview since the breaking.
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Testing Guidelines
SDK Generation Guidelines
*.csproj
andAssemblyInfo.cs
files have been updated with the new version of the SDK.