Azure Machine Learning WebServicesRP new API version#2921
Azure Machine Learning WebServicesRP new API version#2921NonStatic2014 wants to merge 16 commits into
Conversation
…-for-net into new_version # Conflicts: # src/ResourceManagement/MachineLearning/Microsoft.Azure.Management.MachineLearning/Properties/AssemblyInfo.cs # src/ResourceManagement/MachineLearning/Microsoft.Azure.Management.MachineLearning/project.json
|
@NonStatic2014 Please change the PR title to be more descriptive. You realize that you checked a box saying the PR had a descriptive title, right? :-) |
|
Good catch Mark! I reopen the web page but forget to update the title. Now it is updated. |
…cryption, not auth.
|
I have run the following command locally and exit successfully. Not sure why lab build keep failing.
|
…dScan in the lab build.
cormacpayne
left a comment
There was a problem hiding this comment.
@NonStatic2014 Hey Klein, some minor comments that need to be resolved before the swagger gets merged and we can review the generated code.
| @@ -1,5 +1,5 @@ | |||
| { | |||
| "version": "0.10.0-preview", | |||
| "version": "1.0.0", | |||
There was a problem hiding this comment.
@NonStatic2014 this should be version 1.0.0-preview (or 0.11.0-preview) since you are introducing breaking changes
There was a problem hiding this comment.
This version is going to be the GA version, so we expect it is called 1.0.0.
There was a problem hiding this comment.
We still require the package to be in preview when breaking changes are introduced to the SDK, and after enough time to ensure it is stable, you can remove the -preview suffix and re-publish a new version
| set autoRestVersion=0.17.0-Nightly20160824 | ||
|
|
||
| set webServicesSpecFile="https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-machinelearning/2016-05-01-preview/swagger/webservices.json" | ||
| set webServicesSpecFile="https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/arm-machinelearning/2017-01-01/swagger/webservices.json" |
There was a problem hiding this comment.
@NonStatic2014 please use the URL containing the commit Id when the spec gets merged instead of the URL containing the branch
| @@ -8,7 +8,7 @@ setlocal | |||
|
|
|||
| set autoRestVersion=0.17.0-Nightly20160824 | |||
There was a problem hiding this comment.
@NonStatic2014 AutoRest is now at version 1.0.x. Please refer to aka.ms/autorest/install for more information on how to install and use the latest version(s).
There was a problem hiding this comment.
Then please ignore this cmd file and we are going to follow the new instruction generate code locally.
There was a problem hiding this comment.
We would still prefer if you updated this file with the version of AutoRest used (even if it's from the new instructions); it let's us know that you aren't using an outdated version of AutoRest if we were to just look at this file
|
@NonStatic2014 please reopen this PR once the swagger PR is merged. |
Description
Azure Machine Learning Web Services RP is publishing a new version of API. The .Net SDK needs to be regenerated from a new swagger spec. The pull request of swagger spec change is here: Azure/azure-rest-api-specs#1019. Compare with the existing preview version, this is a breaking change according to breaking changes
Scenario Tests have been updated and two new test cases were added to cover new scenarios.
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Testing Guidelines
SDK Generation Guidelines
project.jsonandAssemblyInfo.csfiles have been updated with the new version of the SDK.