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

Adding POST APIs used to Upload customer TDE certificates in CMS. #4461

Merged
merged 3 commits into from
Jun 21, 2018
Merged

Adding POST APIs used to Upload customer TDE certificates in CMS. #4461

merged 3 commits into from
Jun 21, 2018

Conversation

nivimsft
Copy link
Contributor

Commit contains appropriate tests

Description

Adding POST APIs used to Upload customer TDE certificates in CMS code and tests
PR for spec changes Azure/azure-rest-api-specs#3248


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.

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.

Will approve once REST spec is merged and sdk regenerated.

@@ -13,6 +13,7 @@
<![CDATA[
New features:
- Added support for using sever level rule in vulnerability assessment baseline operations.
- Enable customers to upload their TDE certificate to CMS
Copy link
Contributor

Choose a reason for hiding this comment

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

I published 1.17 today (on request from vulnerability assessment team), so now you need to bump this up to 1.18 and wipe out the old release notes (i.e. just line 15)

Copy link
Contributor

Choose a reason for hiding this comment

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

Bump to 1.18 both in this file and in AssemblyInfo.cs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure will do

GitHub fork: Azure
Branch: master
Commit: 69592a62dd01225f16a9b398664c3b9d6ddc8268
GitHub fork: nivimsft
Copy link
Contributor

Choose a reason for hiding this comment

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

You will need to generate from Azure/master before this PR can be merged

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sounds good! Waiting for PR to be merged

// Update with values from a current MI on the region
//
string resourceGroup = ManagedInstanceResourceGroup;
string managedInstanceName = ManagedInstanceName;
Copy link
Contributor

Choose a reason for hiding this comment

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

Tests MUST be fully automated. This means that they must create all prerequisite resources during test setup. If this is not possible, the test must be skipped (see geo restore scenario test for example)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, automatic provisioning of Managed instances is not currently possible. Managed instances team is working on this. I will go ahead and skip these tests for now

- Updating version to 1.18 in .csproj and assemblyInfo
- regenerate client from Azure/Master,
- skipping tests with long setup time
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

@dsgouda
Copy link
Contributor

dsgouda commented Jun 21, 2018

Will merge when CIs pass

- Added support for using sever level Threat Detection.
- Enable customers to upload their TDE certificate to CMS
Copy link
Contributor

Choose a reason for hiding this comment

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

Customers do not know what CMS is. This release note should be more like, "Added support for uploading TDE certificate into servers and managed instances."

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You are right, will address

Copy link
Contributor

@jaredmoo jaredmoo left a comment

Choose a reason for hiding this comment

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

Looks good, release note needs a little edit.

@jaredmoo
Copy link
Contributor

Thanks, now it's perfect!

@nivimsft
Copy link
Contributor Author

I like that, thanks for your help in making it so! :)

@dsgouda dsgouda merged commit d1a925f into Azure:psSdkJson6 Jun 21, 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.

3 participants