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 SQL ShortTermRetention, VulnerabilityAssessment, and Elastic jobs #4351

Merged
merged 30 commits into from
May 24, 2018

Conversation

jaredmoo
Copy link
Contributor

@jaredmoo jaredmoo commented May 22, 2018

Description


This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

SDK Generation Guidelines

  • If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
  • The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
  • The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

ziwa-msft and others added 25 commits April 23, 2018 16:29
…h Instance Failover Group APIs (Azure#4259)

* adding generated files and tests for Cloud Lifter work

* updating the SDK version in .csproj and AssemblyInfo.cs files

* adding Managed Instance test recording

* addressing some comments

* changing tabs into spaces

* Regen from swagger

* Updating the release note with the current changes
Short Term Retention SDK regen and tests
Turn ON database threat detection as a preprequite to use VA
…s ran msbuild build.proj /t:build /p:Scope=SDs\SqlManagement
This brings in the ShortTermRetention code and tests.
@jaredmoo
Copy link
Contributor Author

Swagger PR: Azure/azure-rest-api-specs#2860

I merged from SqlMgmt-CloudLifter branch, updated tests, then regenerated Swagger from commit f943cdccabceca5467712cf1788cbeb52cbfb25b which is the newest commit that does not contain VA (see #4327) or jobs (see #4340)

@jaredmoo jaredmoo changed the title Add SQL ShortTermRetention Add SQL ShortTermRetention, VulnerabilityAssessment, and Elastic jobs May 22, 2018
@jaredmoo
Copy link
Contributor Author

Blocking issues:

  • @dealaus - need BackupShortTermRetentionPolicy name change merged into Swagger
  • @yaakoviyun - need Execute -> InitiateScan name change and required params merged into Swagger. (Please make a PR separate from your MI change so it can be merged into Swagger immediately)

@jaredmoo jaredmoo changed the title Add SQL ShortTermRetention, VulnerabilityAssessment, and Elastic jobs [DO NOT MERGE YET] Add SQL ShortTermRetention, VulnerabilityAssessment, and Elastic jobs May 22, 2018
Copy link
Contributor

@dsgouda dsgouda left a comment

Choose a reason for hiding this comment

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

Looks great apart from the minor comment


2) AutoRest information
Requested version: latest
Bootstrapper version: C:\Users\jugeorge\AppData\Roaming\npm `-- autorest@2.0.4262
Latest installed version:
Copy link
Contributor

Choose a reason for hiding this comment

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

Please generate the code using this script instead

ShortTermRetentionPolicy -> BackupShortTermRetentionPolicy
@jaredmoo
Copy link
Contributor Author

Now I am just waiting for Azure/azure-rest-api-specs#3125 to be merged so I can do the final regen.

@jaredmoo jaredmoo changed the title [DO NOT MERGE YET] Add SQL ShortTermRetention, VulnerabilityAssessment, and Elastic jobs Add SQL ShortTermRetention, VulnerabilityAssessment, and Elastic jobs May 23, 2018
@jaredmoo
Copy link
Contributor Author

Ready to merge

Copy link
Contributor

@dsgouda dsgouda left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for addressing all the feedback

@@ -23,7 +23,7 @@
<PackageReference Include="WindowsAzure.Storage" Version="8.1.4" />
</ItemGroup>
<ItemGroup>
<!--<PackageReference Include="Microsoft.Azure.Management.Sql" Version="1.15.0-preview" />-->
Copy link
Contributor

Choose a reason for hiding this comment

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

You don't really need this line

@dsgouda dsgouda merged commit 15e4a59 into Azure:psSdkJson6 May 24, 2018
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.

5 participants