Skip to content

[Cognitive Services] Update endpoint template for Content Moderator SDK.#4653

Merged
dsgouda merged 2 commits intopsSdkJson6from
unknown repository
Aug 22, 2018
Merged

[Cognitive Services] Update endpoint template for Content Moderator SDK.#4653
dsgouda merged 2 commits intopsSdkJson6from
unknown repository

Conversation

@yangyuan
Copy link
Copy Markdown
Member

Azure/azure-rest-api-specs#3505

  1. Update auto generated code.
  2. Update tests accordingly.
  3. Bump version/Add AssemblyInfo/Update release notes.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please update the PackageReleaseNotes

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Updated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

AssemblyVersion must be set to the first nuget package version that was published.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Checked the first was 0.9.0, so changed AssemblyVersion to 0.9.0.0

@dsgouda
Copy link
Copy Markdown
Contributor

dsgouda commented Aug 10, 2018

Please fix the build errors too

Copy link
Copy Markdown
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
Copy Markdown
Contributor

dsgouda commented Aug 10, 2018

Will merge once CIs pass

@yangyuan
Copy link
Copy Markdown
Member Author

@dsgouda I guess the building error haven't been fixed yet. I'm looking into it.
It's weird because I didn't change test proj config or test logic

@yangyuan yangyuan mentioned this pull request Aug 14, 2018
9 tasks
@shahabhijeet
Copy link
Copy Markdown
Contributor

@yangyuan you have a test failure.
Open this file in VS and you will see the test failure.
https://azuresdkci.westus2.cloudapp.azure.com/job/CI-NetSDK_U/226/artifact/TestResults/net452/

@yangyuan
Copy link
Copy Markdown
Member Author

Thanks for the hint, it seems I might need to do some changes in the API specifications to fix it.

@yangyuan
Copy link
Copy Markdown
Member Author

yangyuan commented Aug 20, 2018

Sent a PR for swagger which should be helpful in fixing the issue,
Azure/azure-rest-api-specs#3681

@yangyuan
Copy link
Copy Markdown
Member Author

@dsgouda looks like the issue get fixed.

@dsgouda dsgouda merged commit 647099f into Azure:psSdkJson6 Aug 22, 2018
@swiftarrow11
Copy link
Copy Markdown

Looks good. @sanjeev3, we should plan to update our SDK samples to use this version. Note: Our sdk will now use the Endpoint parameter instead of baseurl

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.

4 participants