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

Introducing Security Center .Net SDK #4548

Merged
merged 1 commit into from
Jul 27, 2018
Merged

Conversation

chlahav
Copy link
Contributor

@chlahav chlahav commented Jul 16, 2018

Description

Introducing Security Center .Net SDK from a new swagger spec

First swagger PR

Spec PR
Spec PR
Spec PR
Spec PR
Spec PR


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.

@chlahav chlahav force-pushed the psSdkJson6 branch 2 times, most recently from 3d8be71 to 9d51179 Compare July 17, 2018 06:40
@dsgouda
Copy link
Contributor

dsgouda commented Jul 20, 2018

@chlahav Please update the PR with latest upstream changes

@chlahav
Copy link
Contributor Author

chlahav commented Jul 22, 2018

@dsgouda PR was updated with the latest changes

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 for the most part. Please address the comments posted.

<PropertyGroup>
<PackageId>Microsoft.Azure.Management.SecurityCenter</PackageId>
<Description>Provides developers with libraries for the updated Azure Security Center platform under Azure Resource manager to view and manage security posture in and outside Azure.</Description>
<Version>0.1.0</Version>
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like the SDK is still in preview version. The Nuget package must also be in preview. Preview versioning must start from
0.9.0-preview

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed to 0.9.0-preview

@@ -0,0 +1 @@
Start-AutoRestCodeGeneration -ResourceProvider "security/resource-manager" -AutoRestVersion "latest"
Copy link
Contributor

Choose a reason for hiding this comment

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

Please confirm that the Sdk was generated using this script.
There must also be a SdkInfo_*.cs file and a .txt log file generated, please commit these files

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the generated files were generated using this script.
I also added the SdkInfo file and the text file

@chlahav chlahav force-pushed the psSdkJson6 branch 2 times, most recently from 3c09418 to 3bb6c62 Compare July 24, 2018 18:47
[assembly: AssemblyDescription("Provides management functionality for Microsoft Azure Security Center Resources.")]

[assembly: AssemblyVersion("0.1.0.0")]
[assembly: AssemblyFileVersion("0.1.0.0")]
Copy link
Member

Choose a reason for hiding this comment

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

@chlahav update assemblyversion/fileversion to 0.9.0.0

Copy link
Contributor Author

Choose a reason for hiding this comment

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

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 good, just address the one comment and update the branch and we should be good

<PackageTags>management;security center;security;</PackageTags>
<PackageReleaseNotes>
<![CDATA[
This is a public release of the Azure Security Center SDK.
Copy link
Contributor

Choose a reason for hiding this comment

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

public preview release

@chlahav chlahav force-pushed the psSdkJson6 branch 2 times, most recently from 02a2e94 to a08be95 Compare July 25, 2018 18:52
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 subject to CIs passing

@chlahav
Copy link
Contributor Author

chlahav commented Jul 26, 2018

@dsgouda All the CI tests passed, if there are no additional comments, can you please merge the CR?
thanks!

@dsgouda
Copy link
Contributor

dsgouda commented Jul 26, 2018

@chlahav Please update the branch with upstream psSdkJson6

@chlahav
Copy link
Contributor Author

chlahav commented Jul 26, 2018

@dsgouda branch was updated and all the tests passed

@dsgouda dsgouda merged commit 84237d0 into Azure:psSdkJson6 Jul 27, 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