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

[Azure Stack] Updates to Azs.AzureBridge.Admin spec #9035

Merged
merged 11 commits into from
Sep 11, 2020

Conversation

viananth
Copy link
Member

Latest improvements:

MSFT employees can try out our new experience at OpenAPI Hub - one location for using our validation tools and finding your workflow.

Contribution checklist:

  • I have reviewed the documentation for the workflow.
  • Validation tools were run on swagger spec(s) and have all been fixed in this PR.
  • The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

  • Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
  • adding/removing APIs.
  • adding/removing properties.
  • adding/removing API-version.
  • adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

  • If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
    Please follow the link to find more details on API review process.

commit adaabc1
Author: bganapa <[email protected]>
Date:   Wed Mar 4 18:07:20 2020 -0800

    Changing casing in resourcgroups to resourceGroups

commit fb5e9ae
Author: bganapa <[email protected]>
Date:   Wed Feb 26 14:00:37 2020 -0800

    Update Readme.md to have $(this-folder)/ for the input-file

commit 8234329
Author: bganapa <[email protected]>
Date:   Sun Feb 9 17:11:33 2020 -0800

    Fix-Renaming ResourceGroupParameter to ResourceGroupNameParmameter (Azure#8345)
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 13, 2020

azure-cli-extensions

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 13, 2020

azure-sdk-for-go - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 13, 2020

azure-sdk-for-java - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 13, 2020

azure-sdk-for-net - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 13, 2020

azure-sdk-for-python - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 13, 2020

azure-sdk-for-js - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@bganapa
Copy link
Member

bganapa commented Apr 13, 2020

These are fixes to the existing swagger specs to the admin API surface of Azurestack. This API surface is consumed only thru powershell in azurestack. None of these are really breaking changes

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Apr 22, 2020

azure-sdk-for-trenton

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@viananth
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented May 26, 2020

Azure CLI Extension Generation - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@viananth
Copy link
Member Author

@markcowl, Mark, could you please take a look at this PR? The lintDiff errors are mostly pascalcase errors (reported wrong, CI issue):

Resource provider naming must follow the pascal case. Path: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}/products/{productName}'

Breaking changes are for autorest generation config. @bganapa FYI

@markcowl
Copy link
Member

/azp run public.rest-api-specs

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@markcowl
Copy link
Member

markcowl commented Jun 15, 2020

@bganapa The breakign changes look like real breakign changes (for example, resourceGroup -> resourceGroupName). If these are intentional, then they are OK.

for the linter errors, please suppress these in your readme.md file.

@markcowl markcowl added the Reviewed-ChangesRequested <valid label in PR review process>add this label when assignee request changes after review label Jun 15, 2020
@bganapa
Copy link
Member

bganapa commented Jun 15, 2020

@markcowl Thanks. Yes the change is intentional, we are taking many breaking changes as bug fixes
In the following URI Path, Calling it as resourceGroupName is the standard everywhere. We had the option of either renaming it in the generator metadata or fix it for all in the spec.
resourcegroups/{resourceGroup}

We decided to do the breaking change in the spec as our admin specs are still in 'preview'

@bganapa
Copy link
Member

bganapa commented Jun 15, 2020

@viananth as mark mentioned above
for the linter errors, please suppress these in your readme.md file.

@markcowl
Copy link
Member

@viananth Ping? Need to suppress the linter errors and I can merge this as an approved breaking change.

@viananth
Copy link
Member Author

viananth commented Aug 3, 2020

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 3, 2020

azure-sdk-for-python-track2 - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Aug 3, 2020

Trenton Generation - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

@markcowl
Copy link
Member

markcowl commented Aug 7, 2020

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Aug 11, 2020

[Staging] Swagger Validation Report

BreakingChange: 51 Errors, 0 Warnings [Detail] [Expand] Only 10 items are listed, please refer to log for more details.
Rule Message
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroup}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}/downloadedProducts/{productName}' removed or restructured?
Old: Microsoft.AzureBridge.Admin/preview/2016-01-01/DownloadedProduct.json#L58:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroup}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}/products/{productName}/download' removed or restructured?
Old: Microsoft.AzureBridge.Admin/preview/2016-01-01/Product.json#L106:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroup}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}/products/{productName}' removed or restructured?
Old: Microsoft.AzureBridge.Admin/preview/2016-01-01/Product.json#L58:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroup}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}/downloadedProducts' removed or restructured?
Old: Microsoft.AzureBridge.Admin/preview/2016-01-01/DownloadedProduct.json#L13:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroup}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}' removed or restructured?
Old: Microsoft.AzureBridge.Admin/preview/2016-01-01/Activation.json#L55:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroup}/providers/Microsoft.AzureBridge.Admin/activations' removed or restructured?
Old: Microsoft.AzureBridge.Admin/preview/2016-01-01/Activation.json#L13:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroup}/providers/Microsoft.AzureBridge.Admin/activations/{activationName}/products' removed or restructured?
Old: Microsoft.AzureBridge.Admin/preview/2016-01-01/Product.json#L13:5
1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'ResourceGroupParameter' removed or renamed?
New: Microsoft.AzureBridge.Admin/preview/2016-01-01/DownloadedProduct.json#L252:3
Old: Microsoft.AzureBridge.Admin/preview/2016-01-01/DownloadedProduct.json#L231:3
1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'ResourceGroupParameter' removed or renamed?
New: Microsoft.AzureBridge.Admin/preview/2016-01-01/AzureBridge.json#L526:3
Old: Microsoft.AzureBridge.Admin/preview/2016-01-01/AzureBridge.json#L530:3
1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'ResourceGroupParameter' removed or renamed?
New: Microsoft.AzureBridge.Admin/preview/2016-01-01/Activation.json#L306:3
Old: Microsoft.AzureBridge.Admin/preview/2016-01-01/Activation.json#L248:3
️✔️LintDiff [Detail]
 Validation passes for LintDiff. 
️✔️Avocado [Detail]
 Validation passes for Avocado. 
Posted by Swagger Pipeline | How to fix these errors?

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@viananth
Copy link
Member Author

@markcowl, I fixed the lint and model errors. Could you pls merge this PR? Thanks!

@viananth
Copy link
Member Author

viananth commented Sep 1, 2020

@markcowl, Mark, Fixed lint errors. Could you pls merge this PR? Thanks!

@markcowl markcowl added Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 and removed Reviewed-ChangesRequested <valid label in PR review process>add this label when assignee request changes after review labels Sep 11, 2020
@markcowl markcowl merged commit ff5dc59 into Azure:master Sep 11, 2020
@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Sep 11, 2020

azure-resource-manager-schemas - Release

No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

nitegupt pushed a commit to nitegupt/azure-rest-api-specs that referenced this pull request Sep 25, 2020
* Cumulative commit message:
commit adaabc1
Author: bganapa <[email protected]>
Date:   Wed Mar 4 18:07:20 2020 -0800

    Changing casing in resourcgroups to resourceGroups

commit fb5e9ae
Author: bganapa <[email protected]>
Date:   Wed Feb 26 14:00:37 2020 -0800

    Update Readme.md to have $(this-folder)/ for the input-file

commit 8234329
Author: bganapa <[email protected]>
Date:   Sun Feb 9 17:11:33 2020 -0800

    Fix-Renaming ResourceGroupParameter to ResourceGroupNameParmameter (Azure#8345)

* bug fixes and autorest config addition

* Fix path, read-only properties and example

* Fix model validation

* Suppress camelcase warnings in Activation.json

* Suppress RequiredPropertiesMissingInResourceModel

* Suppress PathResoourceProviderNamePascalCase

* Add default error response

* Add 204 response for delete

* Remove 404 and add 202 in examples

* Fix model validation failures
iscai-msft added a commit to iscai-msft/azure-rest-api-specs that referenced this pull request Oct 14, 2020
…into formrecognizer_regeneration

* 'master' of https://github.com/Azure/azure-rest-api-specs:
  [Hub Generated] Review request for Microsoft.DigitalTwins to add version stable/2020-10-31 (Azure#10653)
  [SRP] Introduce 2020-08-01-preview version. (Azure#10570)
  Update Readmes for Python for Automanage (Azure#10633)
  Incident entities (Azure#10648)
  Fix Billing Swagger (Azure#10276)
  Connected machine az cli (Azure#10640)
  [Azure Stack] Updates to Azs.AzureBridge.Admin spec (Azure#9035)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants