[Don't Merge, Service rollout ~March/1/18 ] Swagger for new API changes 2017-12-01#2207
[Don't Merge, Service rollout ~March/1/18 ] Swagger for new API changes 2017-12-01#2207revachauhan wants to merge 25 commits intoAzure:masterfrom
Conversation
|
@jhendrixMSFT do you mind if i take this PR? [Reva previously opened another PR with the same features and I requested him to close that PR and open new one] |
|
@anuchandy Assigned to you. |
|
Talked to Reva and learned that the service will take one month to land in production so team don't want to publish the new API swagger as of now. The estimated date is March 1. Hence adding 'DONT MERGE' prefix to title. |
|
@revas89 it looks like you didn't add entry to readme file for the new api version, can you please do so? |
|
@anuchandy Made changes to readme.md file |
|
|
||
| ``` yaml $(tag) == 'package-2017-12-01' | ||
| input-file: | ||
| - Microsoft.DBforPostgreSQL/2017-12-01-preview/postgresql.json |
There was a problem hiding this comment.
should this be Microsoft.DBforPostgreSQL/2017-12-01/postgresql.json?
| Please also specify `--go-sdk-folder=<path to the root directory of your azure-sdk-for-go clone>`. | ||
|
|
||
| ``` yaml $(tag) == 'package-2017-12-01' && $(go) | ||
| output-folder: $(go-sdk-folder)/services/postgresql/mgmt/2017-04-30-preview/postgresql |
|
@revas89 thanks for readme update.. please see last two comments |
rohit-joy
left a comment
There was a problem hiding this comment.
Do not merge until our team decides it is time.
|
@rohit-joy & @revas89 sure I've highlighted that in the PR title. Meantime please correct the readme file. Though there is new tag, it's still pointing to older preview api version. |
| @@ -0,0 +1,19 @@ | |||
| { | |||
There was a problem hiding this comment.
I did not see anything about Microsoft.DBforMySQL, will it be included in this PR?
There was a problem hiding this comment.
i have added mysql.json and examples in this PR.
|
Hi @revas89, I didn't see anything about |
| "dtu": 50, | ||
| "storageMB": 51200, | ||
| "id": "PGSQLB50" | ||
| "Edition": "Basic", |
There was a problem hiding this comment.
In my imagination, these fields are in lower case.
| "id": "PGSQLB100" | ||
| "Edition": "Basic", | ||
| "HardwareGeneration": "Gen4", | ||
| "Id": "PGSQL_B_Gen4_2", |
There was a problem hiding this comment.
I did not see the PGSQL_ prefix in our tier id. When I called the GetTiers API, it just returned B_Gen4_2
There was a problem hiding this comment.
I am able to see that when I am running it on C# generated SDK
There was a problem hiding this comment.
yes that is right, I will change in my example.
| "vCore": { | ||
| "type": "integer", | ||
| "description": "Database throughput unit associated with the service level objective" | ||
| "description": "VCore associated with the service level objective" |
| @@ -19,7 +19,7 @@ | |||
| "type": "Microsoft.DBforMySQL/servers", | |||
| "location": "onebox", | |||
There was a problem hiding this comment.
Should onebox be other real region be better?
|
review feedback from the in person meeting. @revas89 - Please incorporate and schedule a follow up to go over the remaining changes we could not cover.
|
|
Hi There, I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result: File: File: AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback Thanks for your co-operation. |
|
Signing off as this was reviewed in person again after the changes were made based on feedback from earlier review. |
|
Hi There, I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result: File: File: AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback Thanks for your co-operation. |
|
@AutorestCI rebuild azure-sdk-for-go |
Automation for azure-sdk-for-goA PR has been created for you: |
|
@revas89 Please abandon this PR. We've restructured our swagger files. This is not needed any more. |
|
closing this based on @QingqingYuan comment. |
Automation for azure-libraries-for-javaNothing to generate for azure-libraries-for-java |
Automation for azure-sdk-for-nodeNothing to generate for azure-sdk-for-node |
Automation for azure-sdk-for-pythonA PR has been created for you: |
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information
api-versionin the path should match theapi-versionin the spec).Quality of Swagger