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

Fix examples for some RPs #16763

Merged
merged 8 commits into from
Nov 16, 2021
Merged

Fix examples for some RPs #16763

merged 8 commits into from
Nov 16, 2021

Conversation

keryul
Copy link
Contributor

@keryul keryul commented Nov 15, 2021

Adding Location header for some examples;
Adding examples for some operations which are missing x-ms-examples.

@openapi-workflow-bot
Copy link

Hi, @KeYu-AnkhSpirit Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. vsswagger@microsoft.com

    @openapi-workflow-bot
    Copy link

    [Call for Action] To better understand Azure service dev/test scenario, and support Azure service developer better on Swagger and REST API related tests in early phase, please help to fill in with this survey https://aka.ms/SurveyForEarlyPhase. It will take 5 to 10 minutes. If you already complete survey, please neglect this comment. Thanks.

    @ghost ghost added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Nov 15, 2021
    @ghost
    Copy link

    ghost commented Nov 15, 2021

    Thank you for your contribution KeYu-AnkhSpirit! We will review the pull request and get back to you soon.

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Nov 15, 2021

    Swagger Validation Report

    ️❌BreakingChange: 27 Errors, 0 Warnings failed [Detail]
    Rule Message
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/providers/Microsoft.OperationalInsights/operations' removed or restructured?
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L37:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables' removed or restructured?
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json#L37:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}' removed or restructured?
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Tables.json#L82:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/workspaces' removed or restructured?
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Workspaces.json#L37:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces' removed or restructured?
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Workspaces.json#L76:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}' removed or restructured?
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Workspaces.json#L118:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/providers/Microsoft.OperationalInsights/deletedWorkspaces' removed or restructured?
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Workspaces.json#L319:5
    1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/deletedWorkspaces' removed or restructured?
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Workspaces.json#L358:5
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'Schema' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L37:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L74:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'SearchResults' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L37:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L74:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'RestoredLogs' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L37:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L74:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'ResultStatistics' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L37:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L74:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'TableProperties' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L37:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L74:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'Table' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L37:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L74:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'systemData' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L37:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L74:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'WorkspaceSku' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L37:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L74:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'WorkspaceCapping' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L37:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L74:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'WorkspaceProperties' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L37:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L74:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'WorkspaceFeatures' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L37:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L74:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'Workspace' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L37:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L74:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'WorkspacePatch' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L37:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L74:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'PublicNetworkAccessType' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L37:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L74:3
    1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'ApiVersionParameter' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L38:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L123:3
    1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'TableNameParameter' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L38:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L123:3
    1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'WorkspaceNameParameter' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L38:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L123:3
    1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'ResourceGroupNameParameter' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L38:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L123:3
    1007 - RemovedClientParameter The new version is missing a client parameter that was found in the old version. Was 'SubscriptionIdParameter' removed or renamed?
    New: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L38:3
    Old: Microsoft.OperationalInsights/preview/2021-12-01-preview/Operations.json#L123:3
    ️️✔️LintDiff succeeded [Detail] [Expand]
    Validation passes for LintDiff.
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/operationalinsights/resource-manager/readme.md
    tag: specification/operationalinsights/resource-manager/readme.md#tag-package-2021-06
    ️️✔️~[Staging] ApiReadinessCheck succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️Cross-Version Breaking Changes succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️SDK Track2 Validation succeeded [Detail] [Expand]
    Validation passes for SDKTrack2Validation
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Nov 15, 2021

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
    ️⌛SDK Breaking Change Tracking pending [Detail]
    ️❌ azure-sdk-for-net failed [Detail]
    • Failed [Logs]Release - Generate from 94a3711. SDK Automation 14.0.0
      Only show 30 items here, please refer to log for details.
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/managementgroups/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/relay/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/servicefabric/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.csharp@2.3.82 --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/storage/resource-manager/readme.md
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
      cmderr	[Autorest] realpath(): Permission denied
    • ️✔️Microsoft.Azure.Management.KeyVault [View full logs]  [Release SDK Changes]
    • ️✔️Microsoft.Azure.Management.ManagementGroups [View full logs]  [Release SDK Changes]
    • Microsoft.Azure.Management.ServiceFabric [View full logs]  [Release SDK Changes]
      cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/servicefabric/Microsoft.Azure.Management.ServiceFabric/tests/Tests/ManagedClusters/ServiceFabricManagedTestBase.cs(41,19): error CS0246: The type or namespace name 'ManagedCluster' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/servicefabric/Microsoft.Azure.Management.ServiceFabric/tests/Microsoft.Azure.Management.ServiceFabric.Test.csproj]
      cmdout	[msbuild]      3>/home/vsts/work/1/s/azure-sdk-for-net/sdk/servicefabric/Microsoft.Azure.Management.ServiceFabric/tests/Tests/ManagedClusters/ServiceFabricManagedTestBase.cs(78,19): error CS0246: The type or namespace name 'NodeType' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/servicefabric/Microsoft.Azure.Management.ServiceFabric/tests/Microsoft.Azure.Management.ServiceFabric.Test.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/servicefabric/Microsoft.Azure.Management.ServiceFabric/tests/Tests/ManagedClusters/ServiceFabricManagedTestBase.cs(41,19): error CS0246: The type or namespace name 'ManagedCluster' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/servicefabric/Microsoft.Azure.Management.ServiceFabric/tests/Microsoft.Azure.Management.ServiceFabric.Test.csproj]
      cmdout	[msbuild]          /home/vsts/work/1/s/azure-sdk-for-net/sdk/servicefabric/Microsoft.Azure.Management.ServiceFabric/tests/Tests/ManagedClusters/ServiceFabricManagedTestBase.cs(78,19): error CS0246: The type or namespace name 'NodeType' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/azure-sdk-for-net/sdk/servicefabric/Microsoft.Azure.Management.ServiceFabric/tests/Microsoft.Azure.Management.ServiceFabric.Test.csproj]
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-net]: dotnet
    • ️✔️Microsoft.Azure.Management.Storage [View full logs]  [Release SDK Changes]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 94a3711. SDK Automation 14.0.0
      command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
      command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
      cmderr	[generate.py] 2022-01-05 11:43:00 INFO [VERSION][Not Found] cannot find version for "com.azure.resourcemanager:azure-resourcemanager-keyvault-generated"
      cmderr	[generate.py] 2022-01-05 11:43:00 INFO [VERSION][Not Found] cannot find stable version, current version "1.0.0-beta.1"
      cmderr	[generate.py] 2022-01-05 11:43:00 INFO autorest --version=3.6.6 --use=@autorest/java@4.0.44 --java.azure-libraries-for-java-folder=/home/vsts/work/1/s/azure-sdk-for-java --java.output-folder=/home/vsts/work/1/s/azure-sdk-for-java/sdk/keyvault/azure-resourcemanager-keyvault-generated --java.namespace=com.azure.resourcemanager.keyvault.generated   --java --pipeline.modelerfour.additional-checks=false --pipeline.modelerfour.lenient-model-deduplication=true --azure-arm --verbose --sdk-integration --generate-samples --fluent=lite --java.fluent=lite --java.license-header=MICROSOFT_MIT_SMALL  ../azure-rest-api-specs/specification/keyvault/resource-manager/readme.md
      cmderr	[generate.py] 2022-01-05 11:43:27 INFO [CI][Success] Write to ci.yml
      cmderr	[generate.py] 2022-01-05 11:43:27 INFO [POM][Process] dealing with pom.xml
      cmderr	[generate.py] 2022-01-05 11:43:27 INFO [POM][Success] Write to pom.xml
      cmderr	[generate.py] 2022-01-05 11:43:27 INFO [POM][Process] dealing with root pom
      cmderr	[generate.py] 2022-01-05 11:43:27 INFO [POM][Skip] pom already has module sdk/keyvault
      cmderr	[generate.py] 2022-01-05 11:43:27 INFO [POM][Success] Write to root pom
    • ️✔️azure-resourcemanager-keyvault-generated [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2022-01-05 11:44:55 DEBUG Got artifact_id: azure-resourcemanager-keyvault-generated
      cmderr	[Inst] 2022-01-05 11:44:55 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2022-01-05 11:44:55 DEBUG Got artifact: azure-resourcemanager-keyvault-generated-1.0.0-beta.1.jar
      cmderr	[Inst] 2022-01-05 11:44:55 DEBUG Match jar package: azure-resourcemanager-keyvault-generated-1.0.0-beta.1.jar
      cmderr	[Inst] 2022-01-05 11:44:55 DEBUG output: {"full": "```sh\ncurl -L \"https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/16763/azure-sdk-for-java/azure-resourcemanager-keyvault-generated/azure-resourcemanager-keyvault-generated-1.0.0-beta.1.jar\" -o azure-resourcemanager-keyvault-generated-1.0.0-beta.1.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-keyvault-generated -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-keyvault-generated-1.0.0-beta.1.jar -Dpackaging=jar -DgeneratePom=true
      ```"}
    • ️✔️azure-resourcemanager-managementgroups [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2022-01-05 11:45:54 DEBUG Got artifact_id: azure-resourcemanager-managementgroups
      cmderr	[Inst] 2022-01-05 11:45:54 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2022-01-05 11:45:54 DEBUG Got artifact: azure-resourcemanager-managementgroups-1.0.0-beta.1-javadoc.jar
      cmderr	[Inst] 2022-01-05 11:45:54 DEBUG Got artifact: azure-resourcemanager-managementgroups-1.0.0-beta.1-sources.jar
      cmderr	[Inst] 2022-01-05 11:45:54 DEBUG Got artifact: azure-resourcemanager-managementgroups-1.0.0-beta.1.jar
      cmderr	[Inst] 2022-01-05 11:45:54 DEBUG Match jar package: azure-resourcemanager-managementgroups-1.0.0-beta.1.jar
      cmderr	[Inst] 2022-01-05 11:45:54 DEBUG output: {"full": "```sh\ncurl -L \"https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/16763/azure-sdk-for-java/azure-resourcemanager-managementgroups/azure-resourcemanager-managementgroups-1.0.0-beta.1.jar\" -o azure-resourcemanager-managementgroups-1.0.0-beta.1.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-managementgroups -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-managementgroups-1.0.0-beta.1.jar -Dpackaging=jar -DgeneratePom=true
      ```"}
    • ️✔️azure-resourcemanager-relay [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2022-01-05 11:46:55 DEBUG Got artifact_id: azure-resourcemanager-relay
      cmderr	[Inst] 2022-01-05 11:46:55 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2022-01-05 11:46:55 DEBUG Got artifact: azure-resourcemanager-relay-1.0.0-beta.2.jar
      cmderr	[Inst] 2022-01-05 11:46:55 DEBUG Match jar package: azure-resourcemanager-relay-1.0.0-beta.2.jar
      cmderr	[Inst] 2022-01-05 11:46:55 DEBUG output: {"full": "```sh\ncurl -L \"https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/16763/azure-sdk-for-java/azure-resourcemanager-relay/azure-resourcemanager-relay-1.0.0-beta.2.jar\" -o azure-resourcemanager-relay-1.0.0-beta.2.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-relay -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-relay-1.0.0-beta.2.jar -Dpackaging=jar -DgeneratePom=true
      ```"}
    • ️✔️azure-resourcemanager-servicefabric [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2022-01-05 11:48:06 DEBUG Got artifact_id: azure-resourcemanager-servicefabric
      cmderr	[Inst] 2022-01-05 11:48:06 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2022-01-05 11:48:06 DEBUG Got artifact: azure-resourcemanager-servicefabric-1.0.0-beta.3-sources.jar
      cmderr	[Inst] 2022-01-05 11:48:06 DEBUG Got artifact: azure-resourcemanager-servicefabric-1.0.0-beta.3.jar
      cmderr	[Inst] 2022-01-05 11:48:06 DEBUG Match jar package: azure-resourcemanager-servicefabric-1.0.0-beta.3.jar
      cmderr	[Inst] 2022-01-05 11:48:06 DEBUG output: {"full": "```sh\ncurl -L \"https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/16763/azure-sdk-for-java/azure-resourcemanager-servicefabric/azure-resourcemanager-servicefabric-1.0.0-beta.3.jar\" -o azure-resourcemanager-servicefabric-1.0.0-beta.3.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-servicefabric -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-servicefabric-1.0.0-beta.3.jar -Dpackaging=jar -DgeneratePom=true
      ```"}
    • ️✔️azure-resourcemanager-storage-generated [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2022-01-05 11:49:45 DEBUG Got artifact_id: azure-resourcemanager-storage-generated
      cmderr	[Inst] 2022-01-05 11:49:45 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2022-01-05 11:49:45 DEBUG Got artifact: azure-resourcemanager-storage-generated-1.0.0-beta.1.jar
      cmderr	[Inst] 2022-01-05 11:49:45 DEBUG Match jar package: azure-resourcemanager-storage-generated-1.0.0-beta.1.jar
      cmderr	[Inst] 2022-01-05 11:49:45 DEBUG output: {"full": "```sh\ncurl -L \"https://portal.azure-devex-tools.com/api/sdk-dl-pub?p=Azure/16763/azure-sdk-for-java/azure-resourcemanager-storage-generated/azure-resourcemanager-storage-generated-1.0.0-beta.1.jar\" -o azure-resourcemanager-storage-generated-1.0.0-beta.1.jar\nmvn install:install-file -DgroupId=com.azure.resourcemanager -DartifactId=azure-resourcemanager-storage-generated -Dversion=1.0.0-beta.0 -Dfile=azure-resourcemanager-storage-generated-1.0.0-beta.1.jar -Dpackaging=jar -DgeneratePom=true
      ```"}
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 94a3711. SDK Automation 14.0.0
      command	sh ./eng/initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️keyvault/mgmt/2019-09-01/keyvault [View full logs]  [Release SDK Changes]
      Only show 3 items here, please refer to log for details.
      info	[Changelog] - New field `ActionsRequired` in struct `PrivateLinkServiceConnectionState`
      info	[Changelog]
      info	[Changelog] Total 1 breaking change(s), 15 additive change(s).
    • ️✔️keyvault/mgmt/2018-02-14/keyvault [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️keyvault/mgmt/2016-10-01/keyvault [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️keyvault/mgmt/2015-06-01/keyvault [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️preview/keyvault/mgmt/2020-04-01-preview/keyvault [View full logs
      Only show 3 items here, please refer to log for details.
      info	[Changelog] - New field `PurgeProtectionEnabled` in struct `DeletedVaultProperties`
      info	[Changelog]
      info	[Changelog] Total 1 breaking change(s), 15 additive change(s).
    • ️✔️resources/mgmt/2021-04-01/managementgroups [View full logs
      info	[Changelog] This is a new package
      info	[Changelog]
    • ️✔️resources/mgmt/2020-10-01/managementgroups [View full logs
      info	[Changelog] This is a new package
      info	[Changelog]
    • ️✔️resources/mgmt/2020-05-01/managementgroups [View full logs
      Only show 3 items here, please refer to log for details.
      info	[Changelog] - New field `Path` in struct `Details`
      info	[Changelog]
      info	[Changelog] Total 1 breaking change(s), 1 additive change(s).
    • ️✔️resources/mgmt/2020-02-01/managementgroups [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️resources/mgmt/2019-11-01/managementgroups [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️preview/resources/mgmt/2018-03-01-preview/managementgroups [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️preview/resources/mgmt/2018-01-01-preview/managementgroups [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️preview/resources/mgmt/2017-11-01-preview/managementgroups [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️preview/resources/mgmt/2017-08-31-preview/managementgroups [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️relay/mgmt/2017-04-01/relay [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️relay/mgmt/2016-07-01/relay [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️servicefabric/mgmt/2021-06-01/servicefabric [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️servicefabric/mgmt/2019-03-01/servicefabric [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️servicefabric/mgmt/2016-09-01/servicefabric [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️preview/servicefabric/mgmt/2019-03-01-preview/servicefabric [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️preview/servicefabric/mgmt/2018-02-01-preview/servicefabric [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️preview/servicefabric/mgmt/2017-07-01-preview/servicefabric [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️storage/mgmt/2021-06-01/storage [View full logs
      info	[Changelog] This is a new package
      info	[Changelog]
    • ️✔️storage/mgmt/2021-04-01/storage [View full logs
      Only show 3 items here, please refer to log for details.
      info	[Changelog] - New field `ExpiryTime` in struct `AccessPolicy`
      info	[Changelog]
      info	[Changelog] Total 1 breaking change(s), 1 additive change(s).
    • ️✔️storage/mgmt/2021-02-01/storage [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️storage/mgmt/2021-01-01/storage [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️storage/mgmt/2019-06-01/storage [View full logs
      Only show 3 items here, please refer to log for details.
      info	[Changelog] - New field `AllowSharedKeyAccess` in struct `AccountPropertiesUpdateParameters`
      info	[Changelog]
      info	[Changelog] Total 1 breaking change(s), 63 additive change(s).
    • ️✔️storage/mgmt/2019-04-01/storage [View full logs
      Only show 3 items here, please refer to log for details.
      info	[Changelog] - New field `AllowSharedKeyAccess` in struct `AccountProperties`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 3 additive change(s).
    • ️✔️storage/mgmt/2018-11-01/storage [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️storage/mgmt/2018-02-01/storage [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️storage/mgmt/2017-10-01/storage [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️storage/mgmt/2017-06-01/storage [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️storage/mgmt/2016-12-01/storage [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️storage/mgmt/2016-05-01/storage [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️storage/mgmt/2016-01-01/storage [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️storage/mgmt/2015-06-15/storage [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️preview/storage/mgmt/2020-08-01-preview/storage [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️preview/storage/mgmt/2018-07-01-preview/storage [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️preview/storage/mgmt/2018-03-01-preview/storage [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️preview/storage/mgmt/2015-05-01-preview/storage [View full logs
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    ️️✔️ azure-sdk-for-go-track2 succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from 94a3711. SDK Automation 14.0.0
      command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
      command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    • ️✔️armkeyvault [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Breaking Changes
      info	[Changelog]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New const `KeyPermissionsGetrotationpolicy`
      info	[Changelog] - New const `JSONWebKeyOperationRelease`
      info	[Changelog] - New const `KeyPermissionsSetrotationpolicy`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 3 additive change(s).
    • ️✔️armmanagementgroups [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️armrelay [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️armservicefabric [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    • ️✔️armstorage [View full logs]  [Release SDK Changes]
      info	[Changelog] ### Other Changes
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 0 additive change(s).
    ️⚠️ azure-sdk-for-js warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 94a3711. SDK Automation 14.0.0
      command	sh .scripts/automation_init.sh ../azure-sdk-for-js_tmp/initInput.json ../azure-sdk-for-js_tmp/initOutput.json
      cmderr	[automation_init.sh]  uuid@3.4.0: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
      cmderr	[automation_init.sh] npm WARN deprecated @opentelemetry/types@0.2.0: Package renamed to @opentelemetry/api, see https://github.com/open-telemetry/opentelemetry-js
      cmderr	[automation_init.sh] notice created a lockfile as package-lock.json. You should commit this file.
      cmderr	[automation_init.sh]  @octokit/plugin-request-log@1.0.4 requires a peer of @octokit/core@>=3 but none is installed. You must install peer dependencies yourself.
      warn	File azure-sdk-for-js_tmp/initOutput.json not found to read
      command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    • ️✔️track2_@azure/arm-keyvault [View full logs]  [Release SDK Changes]
      info	[Changelog]
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    • ️✔️track2_@azure/arm-managementgroups [View full logs]  [Release SDK Changes]
      info	[Changelog]
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    • ️✔️track2_@azure/arm-relay [View full logs]  [Release SDK Changes]
      info	[Changelog]
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    • ️✔️track2_@azure/arm-storage [View full logs]  [Release SDK Changes]
      info	[Changelog]
      error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from 94a3711. Schema Automation 14.0.0
      command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
      cmderr	[initScript.sh] WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile The package-lock.json file was created with an old version of npm,
      cmderr	[initScript.sh] npm WARN old lockfile so supplemental metadata must be fetched from the registry.
      cmderr	[initScript.sh] npm WARN old lockfile
      cmderr	[initScript.sh] npm WARN old lockfile This is a one-time fix-up, please be patient...
      cmderr	[initScript.sh] npm WARN old lockfile
      warn	File azure-resource-manager-schemas_tmp/initOutput.json not found to read
      command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
      warn	No file changes detected after generation
    • ️✔️keyvault [View full logs
    • ️✔️managementgroups [View full logs
    • ️✔️relay [View full logs
    • ️✔️servicefabric [View full logs]  [Release Schema Changes]
    • ️✔️storage [View full logs
    Posted by Swagger Pipeline | How to fix these errors?

    This was referenced Nov 16, 2021
    @msyyc
    Copy link
    Member

    msyyc commented Jan 5, 2022

    /azp run

    2 similar comments
    @msyyc
    Copy link
    Member

    msyyc commented Jan 5, 2022

    /azp run

    @msyyc
    Copy link
    Member

    msyyc commented Jan 5, 2022

    /azp run

    @openapi-workflow-bot
    Copy link

    Hi @KeYu-AnkhSpirit, one or multiple breaking change(s) is detected in your PR. Please check out the breaking change(s), and provide business justification in the PR comment and @ PR assignee why you must have these change(s), and how external customer impact can be mitigated. Please ensure to follow breaking change policy to request breaking change review and approval before proceeding swagger PR review.
    Action: To initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Addition details on the process and office hours are on the Breaking change Wiki.
    If you want to know the production traffic statistic, please see ARM Traffic statistic.
    If you think it is false positive breaking change, please provide the reasons in the PR comment, report to Swagger Tooling Team via https://aka.ms/swaggerfeedback.

    @raych1 raych1 added the FixSwaggerExample PR includes swagger example fix label Mar 30, 2022
    LeiWang3 pushed a commit to LeiWang3/azure-rest-api-specs that referenced this pull request Mar 31, 2022
    * fix LRO_RESPONSE_HEADER error in "keyvault"
    
    * fix LRO_RESPONSE_HEADER error in "managementgroups"
    
    * fix XMS_EXAMPLE_NOTFOUND_ERROR error in "managementgroups"
    
    * fix RESPONSE_BODY_NOT_IN_EXAMPLE error in "relay"
    
    * fix XMS_EXAMPLE_NOTFOUND_ERROR error in "servicefabric"
    
    * fix LRO_RESPONSE_HEADER error in "storage"
    
    * update api version to 2021-06-01
    
    * fix code style issues
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    customer-reported Issues that are reported by GitHub users external to the Azure organization. FixSwaggerExample PR includes swagger example fix
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants