Skip to content

Comments

Csharp SDK for Microsoft.StorageSync Resource Provider for ApiVersion package-2018-04-02#4729

Merged
shahabhijeet merged 10 commits intoAzure:psSdkJson6from
ankushbindlish2:storagesync-addsdk
Sep 18, 2018
Merged

Csharp SDK for Microsoft.StorageSync Resource Provider for ApiVersion package-2018-04-02#4729
shahabhijeet merged 10 commits intoAzure:psSdkJson6from
ankushbindlish2:storagesync-addsdk

Conversation

@ankushbindlish2
Copy link
Member

@ankushbindlish2 ankushbindlish2 commented Aug 31, 2018

Csharp SDK for Microsoft.StorageSync Resource Provider
https://github.com/Azure/azure-rest-api-specs/blob/master/specification/storagesync/resource-manager/readme.md

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.

Csharp SDK for Microsoft.StorageSync Resource Provider
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.

left a few comments

public static readonly String GithubCommidId = "7b95fd70c37943bd88eac39b3e7f1e4d4ab295ed";
public static readonly String CodeGenerationErrors = "";
public static readonly String GithubRepoName = "azure-rest-api-specs";
// END: Code Generation Metadata Section }
Copy link
Contributor

Choose a reason for hiding this comment

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

Either regenerate the code or remove the } at the end of this line

@@ -0,0 +1 @@

Copy link
Contributor

Choose a reason for hiding this comment

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

Please pull latest changes from remote psSdkJson6, run msbuild build.proj and regenerate the code

@dsgouda
Copy link
Contributor

dsgouda commented Aug 31, 2018

Also, please link the REST spec PR here

@ankushbindlish2
Copy link
Member Author

@@ -0,0 +1,2 @@
Start-AutoRestCodeGeneration -ResourceProvider "storagesync/resource-manager" -AutoRestVersion "latest"
#Start-AutoRestCodeGenerationWithLocalConfig -ResourceProvider "storagesync/resource-manager" -AutoRestVersion "latest" -LocalConfigFilePath "H:\csharpsdk\azure-rest-api-specs\specification\storagesync\resource-manager\readme.md" -SdkDirectory "H:\csharpsdk\azure-sdk-for-net\src\SDKs\StorageSync\Management.StorageSync\Generated"
Copy link
Contributor

Choose a reason for hiding this comment

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

You can remove this line

<AssemblyName>StorageSync.Tests</AssemblyName>
<Description>StorageSync.Tests Class Library</Description>
</PropertyGroup>
<!--<PropertyGroup>
Copy link
Contributor

Choose a reason for hiding this comment

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

Remove these commented lines

<Import Project="$([MSBuild]::GetPathOfFileAbove('AzSdk.test.reference.props'))" />
<PropertyGroup>
<PackageId>StorageSync.Tests</PackageId>
<VersionPrefix>1.0.0-preview</VersionPrefix>
Copy link
Contributor

Choose a reason for hiding this comment

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

Please replace this with <Version>1.0.0<Version>

@ankushbindlish2
Copy link
Member Author

@dsgouda I updated swagger to introduce some types like create and update parameters
Azure/azure-rest-api-specs#3863

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.

Running generate.ps1 also generates a .txt file please check in this file too

@shahabhijeet
Copy link
Contributor

@ankushbindlish2 please always include link to the spec PR. Having a PR link helps rather than the commit.

@ankushbindlish2 ankushbindlish2 changed the title Csharp SDK for Microsoft.StorageSync Resource Provider Csharp SDK for Microsoft.StorageSync Resource Provider for ApiVersion package-2018-04-02 Sep 18, 2018
Copy link
Contributor

@shahabhijeet shahabhijeet left a comment

Choose a reason for hiding this comment

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

once the CI passes, this is good to be merged.

@shahabhijeet shahabhijeet merged commit 4310b58 into Azure:psSdkJson6 Sep 18, 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