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

added 2.1 preview SDK for text analytics #4872

Merged
merged 12 commits into from
Oct 25, 2018
Merged

Conversation

laramume
Copy link
Contributor

@laramume laramume commented Oct 15, 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.

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.

@laramume Could you tell us why you have created a new directory named -2.1-preview

@laramume
Copy link
Contributor Author

@dsgouda We have two versions right now(stable and preview) which you can take a look at here. We needed two separate SDK's for it that's why I created a separate directory and generated new code in a new project.

@dsgouda
Copy link
Contributor

dsgouda commented Oct 15, 2018

We do not allow multiple versions of SDK in the repo. We need to understand your requirements offline here

@laramume
Copy link
Contributor Author

@dsgouda based on the discussion I have made it to one sdk instead of two.

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.

Please link the related REST spec PR

cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cognitiveservices/data-plane/TextAnalytics/readme.md --csharp --version=latest --reflect-api-versions --csharp.output-folder=E:\azure-sdk-for-net\src\SDKs\CognitiveServices\dataPlane\Language\TextAnalytics\TextAnalytics\Generated\TextAnalytics
2018-07-26 19:20:31 UTC
1) azure-rest-api-specs repository information
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/cognitiveservices/data-plane/TextAnalytics/readme.md --csharp --version=latest --reflect-api-versions --tag=release_2_1 --csharp.output-folder=C:\azure-sdk-for-net\src\SDKs\CognitiveServices\dataPlane\Language\TextAnalytics\TextAnalytics-2.1-preview\Generated\TextAnalytics-2.1-preview
Copy link
Contributor

Choose a reason for hiding this comment

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

This log looks incorrect. please regenerate the code. The csharp.output-folder should not be TextAnalytics-2.1-preview

@laramume
Copy link
Contributor Author

@dsgouda Added the rest api PR and also updated the log files by regenerating the code

@dsgouda
Copy link
Contributor

dsgouda commented Oct 23, 2018

@laramume please update the Version and PackageReleaseNotes as we discussed offline

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 dsgouda merged commit 4228c02 into Azure:psSdkJson6 Oct 25, 2018
v-djnisi pushed a commit to v-djnisi/azure-sdk-for-net that referenced this pull request Oct 30, 2018
* added 2.1 preview SDK for text analytics

* added 2.1 preview SDK for text analytics

* separated two versions into two different projects

* changed generate powershell script for the preview sdk

* added 2.1 preview SDK for text analytics

* based on PR commanets changed the number of SDK's to one

* fixed test project errors

* fixed test project errors

* fixed test project errors

* fixed test project errors

* fixed the log errors

* changed the version name and package notes
ahamad-MS pushed a commit to ahamad-MS/azure-sdk-for-net that referenced this pull request Oct 31, 2018
* added 2.1 preview SDK for text analytics

* added 2.1 preview SDK for text analytics

* separated two versions into two different projects

* changed generate powershell script for the preview sdk

* added 2.1 preview SDK for text analytics

* based on PR commanets changed the number of SDK's to one

* fixed test project errors

* fixed test project errors

* fixed test project errors

* fixed test project errors

* fixed the log errors

* changed the version name and package notes
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.

2 participants