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

Users/kegangum/fix errors #9511

Merged
merged 47 commits into from
Jul 24, 2020
Merged

Conversation

kegangum
Copy link
Contributor

@kegangum kegangum commented May 19, 2020

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

Contribution checklist:

If any further question about AME onboarding or validation tools, please view the FAQ.

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.

@AutorestCI
Copy link

You don't have permission to trigger SDK Automation.
Please add yourself to Azure group from opensource portal if you are MSFT employee,
or please ask reviewer to add comment *** /openapibot sdkautomation ***.
Please ask tih@microsoft.com (or NullMDR in github) for additional help.

@azuresdkci
Copy link
Contributor

Can one of the admins verify this patch?

@kegangum
Copy link
Contributor Author

The result from LintDiff is wrong as RP name is already in PascalCase . Breaking Change can be ignoreed.

@openapi-assignment-bot openapi-assignment-bot bot added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label May 20, 2020
@bganapa bganapa requested a review from viananth May 20, 2020 02:22
@bganapa
Copy link
Member

bganapa commented May 20, 2020

@njuCZ Could you please review this PR?

Copy link
Contributor

@KrisBash KrisBash left a comment

Choose a reason for hiding this comment

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

No API changes for ARM to review

@KrisBash KrisBash added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels May 26, 2020
@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Jun 2, 2020

[Staging] Swagger Validation Report

BreakingChange: 96 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}/providers/Microsoft.Deployment.Admin/locations/global/productDeployments/{productId}/unlock' removed or restructured?
Old: Microsoft.Deployment.Admin/preview/2019-01-01/ProductDeployment.json#L230:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productSecrets/{productId}/secrets/{secretName}/import' removed or restructured?
Old: Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json#L100:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productSecrets/{productId}/secrets/{secretName}/validate' removed or restructured?
Old: Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json#L146:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productDeployments/{productId}/lock' removed or restructured?
Old: Microsoft.Deployment.Admin/preview/2019-01-01/ProductDeployment.json#L263:5
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productSecrets/{productId}/secrets/{secretName}' removed or restructured?
Old: Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json#L55:5
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'SecretValue' removed or renamed?
New: Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json#L208:3
Old: Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json#L193:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'UnlockActionParameters' removed or renamed?
New: Microsoft.Deployment.Admin/preview/2019-01-01/ProductDeployment.json#L310:3
Old: Microsoft.Deployment.Admin/preview/2019-01-01/ProductDeployment.json#L294:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'PfxPassword' removed or renamed?
New: Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json#L208:3
Old: Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json#L193:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'PfxFileName' removed or renamed?
New: Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json#L208:3
Old: Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json#L193:3
1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'Password' removed or renamed?
New: Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json#L208:3
Old: Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json#L193:3
LintDiff: 7 Errors, 10 Warnings [Detail] [Expand] Only 10 items are listed, please refer to log for more details.
Rule Message
R3020 - PathResourceProviderNamePascalCase Resource provider naming must follow the pascal case. Path: '/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productPackages/{packageId}'
New: Microsoft.Deployment.Admin/preview/2018-07-01/ProductPackage.json#L18
R3020 - PathResourceProviderNamePascalCase Resource provider naming must follow the pascal case. Path: '/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productPackages/{packageId}/secrets/{secretName}/validate'
New: Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json#L12
R3020 - PathResourceProviderNamePascalCase Resource provider naming must follow the pascal case. Path: '/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productDeployments/{productId}/executeRunner'
New: Microsoft.Deployment.Admin/preview/2019-01-01/ProductDeployment.json#L18
R3020 - PathResourceProviderNamePascalCase Resource provider naming must follow the pascal case. Path: '/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productPackages/{packageId}'
New: Microsoft.Deployment.Admin/preview/2019-01-01/ProductPackage.json#L18
R3020 - PathResourceProviderNamePascalCase Resource provider naming must follow the pascal case. Path: '/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productPackages/{packageId}/secrets'
New: Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json#L12
R3020 - PathResourceProviderNamePascalCase Resource provider naming must follow the pascal case. Path: '/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productPackages/{packageId}/secrets/{secretName}'
New: Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json#L12
R3020 - PathResourceProviderNamePascalCase Resource provider naming must follow the pascal case. Path: '/subscriptions/{subscriptionId}/providers/Microsoft.Deployment.Admin/locations/global/productPackages/{packageId}/secrets/{secretName}/import'
New: Microsoft.Deployment.Admin/preview/2019-01-01/ProductSecret.json#L12
⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
New: Microsoft.Deployment.Admin/preview/2018-07-01/FileContainer.json#L282
⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
New: Microsoft.Deployment.Admin/preview/2018-07-01/ProductPackage.json#L308
⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
New: Microsoft.Deployment.Admin/preview/2019-01-01/FileContainer.json#L282
️✔️Avocado [Detail]
 Validation passes for Avocado. 
Posted by Swagger Pipeline | How to fix these errors?

@azure-pipelines
Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 16, 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

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 16, 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 Jul 16, 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

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 16, 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

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Jul 16, 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 Jul 16, 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 Jul 16, 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 Jul 16, 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

kegangum and others added 10 commits July 21, 2020 11:37
added locations endpoint and fixed other changes

added actionplans to custom-words.txt and uodated ProductSecret.json

updated locations endpoint response
added 404 and default responses

added locations endpoint - list operation

removed 404 response for the 'ProductDeployment-remove operation'

Adding  'productDeployments/executeRunner/action''

removed 404 responses

added default error responses and deleted 404 responses for file containers

removed older version in the read.md 'input-file' section

changed details info in the "ExtendedErrorInfo"

changed ExtendedErrorInfo object

updating error definition

changing error definition in 2018-07-01 version

updated location responses

changed the entity name

Revert "changed the entity name"

This reverts commit 2c7e079.

Revert "updated location responses"

This reverts commit 78bca1d.

updated locations Get response

change for New-AzFileContainer command

added Parameter for the New-AzsProductPackage

changed productId to packageId

updated operationId for Bootstrap

changed operationId for deploy action

changed paramters to object

changed the operation Ids

changed operationIds for the right command names

execute runner changes

fixed path parameter for secrets and remove command name

changed the secret name

changed secret parameters

added changes to resolve conflicts

changed version number

changed the version number

changed the tag name

to fix conflicts
@akning-ms
Copy link
Contributor

Hi @kegangum, The Linter failure for PathResourceProviderNamePascalCase can be ignored as it is due to Microsoft.Deployment.Admin has 2 dot which is not like others we are not support it in tool.
But it created new linter error: R4011 - DeleteOperationResponses can you help fix it?

@akning-ms akning-ms added the SuppressionTrack Track suppression in PR label Jul 24, 2020
@akning-ms akning-ms merged commit 7e32fc1 into Azure:master Jul 24, 2020
00Kai0 pushed a commit to 00Kai0/azure-rest-api-specs that referenced this pull request Oct 12, 2020
* added swagger for 'actionplan/operation/attempts' , 'operationresults' endpoints and corrected Product Package Secrets endpoint

* updated the pfx file name type

* fix LintDiff erros

* added locations endpoint and fixed other changes

* added actionplans to custom-words.txt and uodated ProductSecret.json

* updated locations endpoint response

* updated the location parameter to global

* added 404 and default responses

* added locations endpoint - list operation

* removed 404 response for the 'ProductDeployment-remove operation'

* Adding  'productDeployments/executeRunner/action''

* removed 404 responses

* added default error responses and deleted 404 responses for file containers

* removed older version in the read.md 'input-file' section

* changed details info in the "ExtendedErrorInfo"

* changed ExtendedErrorInfo object

* updating error definition

* changing error definition in 2018-07-01 version

* updated location responses

* changed the entity name

* Revert "changed the entity name"

This reverts commit 2c7e079.

* Revert "updated location responses"

This reverts commit 78bca1d.

* updated locations Get response

* change for New-AzFileContainer command

* added Parameter for the New-AzsProductPackage

* changed productId to packageId

* updated operationId for Bootstrap

* changed operationId for deploy action

* changed paramters to object

* changed the operation Ids

* changed operationIds for the right command names

* execute runner changes

* fixed path parameter for secrets and remove command name

* changed the secret name

* changed secret parameters

* added changes to resolve conflicts

* changed version number

* changed the version number

* changed the tag name

* to fix conflicts

* added swagger for missing endpoints of the Deployment Resource Provider

fixed CI failures

* fix LintDiff erros

added locations endpoint and fixed other changes

added actionplans to custom-words.txt and uodated ProductSecret.json

updated locations endpoint response

* updated the location parameter to global

added 404 and default responses

added locations endpoint - list operation

removed 404 response for the 'ProductDeployment-remove operation'

Adding  'productDeployments/executeRunner/action''

removed 404 responses

added default error responses and deleted 404 responses for file containers

removed older version in the read.md 'input-file' section

changed details info in the "ExtendedErrorInfo"

changed ExtendedErrorInfo object

updating error definition

changing error definition in 2018-07-01 version

updated location responses

changed the entity name

Revert "changed the entity name"

This reverts commit 2c7e079.

Revert "updated location responses"

This reverts commit 78bca1d.

updated locations Get response

change for New-AzFileContainer command

added Parameter for the New-AzsProductPackage

changed productId to packageId

updated operationId for Bootstrap

changed operationId for deploy action

changed paramters to object

changed the operation Ids

changed operationIds for the right command names

execute runner changes

fixed path parameter for secrets and remove command name

changed the secret name

changed secret parameters

added changes to resolve conflicts

changed version number

changed the version number

changed the tag name

to fix conflicts

* added 204 responses for delete operation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review SuppressionTrack Track suppression in PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants