Skip to content

[Hub Generated] Review request for Microsoft.Migrate to add version stable/2023-03-03 #22803

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

kuchatur-ms
Copy link
Contributor

This is a PR generated at OpenAPI Hub. You can view your work branch via this link.

ARM API Information (Control Plane)

Azure 1st Party Service can try out the Shift Left experience to initiate API design review from ADO code repo. If you are interested, may request engineering support by filling in with the form https://aka.ms/ShiftLeftSupportForm.

Changelog

Add a changelog entry for this PR by answering the following questions:

  1. What's the purpose of the update?
    • new service onboarding
    • new API version
    • update existing version for new feature
    • update existing version to fix swagger quality issue in s360
    • Other, please clarify
  2. When are you targeting to deploy the new service/feature to public regions? Please provide the date or, if the date is not yet available, the month.
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month.
  4. By default, Azure SDKs of all languages (.NET/Python/Java/JavaScript for both management-plane SDK and data-plane SDK, Go for management-plane SDK only ) MUST be refreshed with/after swagger of new version is published. If you prefer NOT to refresh any specific SDK language upon swagger updates in the current PR, please leave details with justification here.

Contribution checklist (MS Employees Only):

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

ARM API Review Checklist

Applicability: ⚠️

If your changes encompass only the following scenarios, you should SKIP this section, as these scenarios do not require ARM review.

  • Change to data plane APIs
  • Adding new properties
  • All removals

Otherwise your PR may be subject to ARM review requirements. Complete the following:

  • Check this box if any of the following apply to the PR so that the label "ARMReview" and "WaitForARMFeedback" will be added by bot to kick off ARM API Review. Missing to check this box in the following scenario may result in delays to the ARM manifest review and deployment.

    • Adding a new service
    • Adding new API(s)
    • Adding a new API version
      -[ ] To review changes efficiently, ensure you copy the existing version into the new directory structure for first commit and then push new changes, including version updates, in separate commits. You can use OpenAPIHub to initialize the PR for adding a new version. For more details refer to the wiki.
  • Ensure you've reviewed following guidelines including ARM resource provider contract and REST guidelines. Estimated time (4 hours). This is required before you can request review from ARM API Review board.

  • If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist

If you have any breaking changes as defined in the Breaking Change Policy, request approval from the Breaking Change Review Board.

Action: to initiate an evaluation of the breaking change, create a new intake using the template for breaking changes. Additional details on the process and office hours are on the Breaking Change Wiki.

NOTE: To update API(s) in public preview for over 1 year (refer to Retirement of Previews)

Please follow the link to find more details on PR review process.

@openapi-workflow-bot
Copy link

Hi, @kuchatur-ms 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. [email protected]

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 27, 2023

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️❌Breaking Change(Cross-Version): 2 Errors, 0 Warnings failed [Detail] The following breaking changes are detected by comparison with the latest stable version:
    Rule Message
    Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/9cc24f3a5a79c3166475b5c4849a7a118edb4c29/specification/migrate/resource-manager/Microsoft.Migrate/stable/2023-03-03/migrate.json",
    "old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/stable/2019-10-01/migrate.json",
    "details":"Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.56/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=specification/migrate/resource-manager/Microsoft.Migrate/stable/2023-03-03/migrate.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp\nERROR: Schema violation: Data does not match any schemas from 'oneOf'\n - file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/stable/2023-03-03/migrate.json:3348:8 ($.paths["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Migrate/assessmentProjects/projectName/machines"].get.parameters)\nERROR: Schema violation: Data does not match any schemas from 'oneOf'\n - file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/stable/2023-03-03/migrate.json:3348:8 ($.paths["/s"


    The following breaking changes are detected by comparison with the latest preview version:

    Rule Message
    Runtime Exception "new":"https://github.com/Azure/azure-rest-api-specs/blob/9cc24f3a5a79c3166475b5c4849a7a118edb4c29/specification/migrate/resource-manager/Microsoft.Migrate/stable/2023-03-03/migrate.json",
    "old":"https://github.com/Azure/azure-rest-api-specs/blob/main/specification/migrate/resource-manager/Microsoft.Migrate/AssessmentProjects/preview/2017-11-11-preview/migrate.json",
    "details":"Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.56/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=specification/migrate/resource-manager/Microsoft.Migrate/stable/2023-03-03/migrate.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=new --output-folder=/tmp\nERROR: Schema violation: Data does not match any schemas from 'oneOf'\n - file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/stable/2023-03-03/migrate.json:3348:8 ($.paths["/subscriptions/subscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Migrate/assessmentProjects/projectName/machines"].get.parameters)\nERROR: Schema violation: Data does not match any schemas from 'oneOf'\n - file:///mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/resource-manager/Microsoft.Migrate/stable/2023-03-03/migrate.json:3348:8 ($.paths["/s"
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️️✔️LintDiff succeeded [Detail]
    Rule Message
    LintDiffToolException "details":""stack":"ResolverError: Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/common-types/resource-management/v3/types.json\"\n at onError (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.56/common/temp/node_modules/.pnpm/@APIDevTools[email protected]/node_modules/@apidevtools/json-schema-ref-parser/lib/parse.js:92:16)\n at processTicksAndRejections (internal/process/task_queues.js:95:5)",
    "code":"ERESOLVER",
    "message":"Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/common-types/resource-management/v3/types.json\"",
    "source":"/mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/common-types/resource-management/v3/types.json",
    "path":null,
    "name":"ResolverError",
    "footprint":"null+/mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/common-types/resource-management/v3/types.json+ERESOLVER+Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/common-types/resource-management/v3/types.json\"""
    ️❌Avocado: 13 Errors, 0 Warnings failed [Detail]
    Rule Message
    MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/providers/Microsoft.Migrate/assessmentProjects is not in the default tag. Please make sure the missing API swaggers are in the default tag.
    readme: specification/migrate/resource-manager/readme.md
    json: AssessmentProjects/stable/2019-10-01/migrate.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourcegroups/{}/providers/Microsoft.Migrate/assessmentProjects is not in the default tag. Please make sure the missing API swaggers are in the default tag.
    readme: specification/migrate/resource-manager/readme.md
    json: AssessmentProjects/stable/2019-10-01/migrate.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourcegroups/{}/providers/Microsoft.Migrate/assessmentProjects/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
    readme: specification/migrate/resource-manager/readme.md
    json: AssessmentProjects/stable/2019-10-01/migrate.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourcegroups/{}/providers/Microsoft.Migrate/assessmentProjects/{}/assessmentOptions/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
    readme: specification/migrate/resource-manager/readme.md
    json: AssessmentProjects/stable/2019-10-01/migrate.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourcegroups/{}/providers/Microsoft.Migrate/assessmentProjects/{}/assessmentOptions is not in the default tag. Please make sure the missing API swaggers are in the default tag.
    readme: specification/migrate/resource-manager/readme.md
    json: AssessmentProjects/stable/2019-10-01/migrate.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Migrate/assessmentProjects/{}/assessments is not in the default tag. Please make sure the missing API swaggers are in the default tag.
    readme: specification/migrate/resource-manager/readme.md
    json: AssessmentProjects/stable/2019-10-01/migrate.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Migrate/assessmentProjects/{}/groups/{}/assessments/{}/downloadUrl is not in the default tag. Please make sure the missing API swaggers are in the default tag.
    readme: specification/migrate/resource-manager/readme.md
    json: AssessmentProjects/stable/2019-10-01/migrate.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Migrate/assessmentProjects/{}/importcollectors is not in the default tag. Please make sure the missing API swaggers are in the default tag.
    readme: specification/migrate/resource-manager/readme.md
    json: AssessmentProjects/stable/2019-10-01/migrate.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Migrate/assessmentProjects/{}/importcollectors/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
    readme: specification/migrate/resource-manager/readme.md
    json: AssessmentProjects/stable/2019-10-01/migrate.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Migrate/assessmentprojects/{}/privateEndpointConnections is not in the default tag. Please make sure the missing API swaggers are in the default tag.
    readme: specification/migrate/resource-manager/readme.md
    json: AssessmentProjects/stable/2019-10-01/migrate.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Migrate/assessmentprojects/{}/privateEndpointConnections/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
    readme: specification/migrate/resource-manager/readme.md
    json: AssessmentProjects/stable/2019-10-01/migrate.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Migrate/assessmentprojects/{}/privateLinkResources/{} is not in the default tag. Please make sure the missing API swaggers are in the default tag.
    readme: specification/migrate/resource-manager/readme.md
    json: AssessmentProjects/stable/2019-10-01/migrate.json
    MISSING_APIS_IN_DEFAULT_TAG The default tag should contain all APIs. The API path /subscriptions/{}/resourceGroups/{}/providers/Microsoft.Migrate/assessmentprojects/{}/privateLinkResources is not in the default tag. Please make sure the missing API swaggers are in the default tag.
    readme: specification/migrate/resource-manager/readme.md
    json: AssessmentProjects/stable/2019-10-01/migrate.json
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️⚠️~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]

    API Test is not triggered due to precheck failure. Check pipeline log for details.

    ️️✔️SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️CadlAPIView succeeded [Detail] [Expand]
    ️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
    ️❌ModelValidation: 34 Errors, 0 Warnings failed [Detail]

    Only 23 items are listed, please refer to log for more details.

    Rule Message
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L6264:26
    ExampleUrl: stable/2023-03-03/examples/AssessmentProjectsOperations_Get_MinimumSet_Gen.json#L12:15
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L6264:26
    ExampleUrl: stable/2023-03-03/examples/AssessmentProjectsOperations_Create_MinimumSet_Gen.json#L15:15
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L6264:26
    ExampleUrl: stable/2023-03-03/examples/AssessmentProjectsOperations_Create_MinimumSet_Gen.json#L23:15
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L6127:26
    ExampleUrl: stable/2023-03-03/examples/AssessmentOptionsOperations_ListByAssessmentProject_MinimumSet_Gen.json#L14:11
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L6803:29
    ExampleUrl: stable/2023-03-03/examples/AvsAssessmentOptionsOperations_ListByAssessmentProject_MinimumSet_Gen.json#L14:11
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L11190:14
    ExampleUrl: stable/2023-03-03/examples/GroupsOperations_ListByAssessmentProject_MinimumSet_Gen.json#L14:11
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L6084:19
    ExampleUrl: stable/2023-03-03/examples/AssessmentsOperations_ListByGroup_MinimumSet_Gen.json#L15:11
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L6760:22
    ExampleUrl: stable/2023-03-03/examples/AvsAssessmentsOperations_ListByGroup_MinimumSet_Gen.json#L15:11
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L12576:24
    ExampleUrl: stable/2023-03-03/examples/SqlAssessmentV2Operations_ListByGroup_MinimumSet_Gen.json#L15:11
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L11392:24
    ExampleUrl: stable/2023-03-03/examples/HypervCollectorsOperations_ListByAssessmentProject_MinimumSet_Gen.json#L14:11
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L11935:34
    ExampleUrl: stable/2023-03-03/examples/PrivateEndpointConnectionOperations_ListByAssessmentProject_MinimumSet_Gen.json#L14:11
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L11998:28
    ExampleUrl: stable/2023-03-03/examples/PrivateLinkResourceOperations_ListByAssessmentProject_MinimumSet_Gen.json#L14:11
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L6284:33
    ExampleUrl: stable/2023-03-03/examples/AssessmentProjectSummaryOperations_ListByAssessmentProject_MinimumSet_Gen.json#L14:11
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L12271:24
    ExampleUrl: stable/2023-03-03/examples/ServerCollectorsOperations_ListByAssessmentProject_MinimumSet_Gen.json#L14:11
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L12411:29
    ExampleUrl: stable/2023-03-03/examples/SqlAssessmentOptionsOperations_ListByAssessmentProject_MinimumSet_Gen.json#L14:11
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L13152:21
    ExampleUrl: stable/2023-03-03/examples/SqlCollectorOperations_ListByAssessmentProject_MinimumSet_Gen.json#L14:11
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L13523:24
    ExampleUrl: stable/2023-03-03/examples/VmwareCollectorsOperations_ListByAssessmentProject_MinimumSet_Gen.json#L14:11
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L6264:26
    ExampleUrl: stable/2023-03-03/examples/AssessmentProjectsOperations_Get_MinimumSet_Gen.json#L12:15
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L6264:26
    ExampleUrl: stable/2023-03-03/examples/AssessmentProjectsOperations_Create_MinimumSet_Gen.json#L15:15
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L6264:26
    ExampleUrl: stable/2023-03-03/examples/AssessmentProjectsOperations_Create_MinimumSet_Gen.json#L23:15
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L6127:26
    ExampleUrl: stable/2023-03-03/examples/AssessmentOptionsOperations_ListByAssessmentProject_MinimumSet_Gen.json#L14:11
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L6803:29
    ExampleUrl: stable/2023-03-03/examples/AvsAssessmentOptionsOperations_ListByAssessmentProject_MinimumSet_Gen.json#L14:11
    MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
    Url: Microsoft.Migrate/stable/2023-03-03/migrate.json#L11190:14
    ExampleUrl: stable/2023-03-03/examples/GroupsOperations_ListByAssessmentProject_MinimumSet_Gen.json#L14:11
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️❌PrettierCheck: 139 Errors, 0 Warnings failed [Detail]

    Only 23 items are listed, please refer to log for more details.

    Rule Message
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedMachinesOperations_Get_MaximumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedMachinesOperations_Get_MinimumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedMachinesOperations_ListByAssessment_MaximumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedMachinesOperations_ListByAssessment_MinimumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedSqlDatabaseV2Operations_Get_MaximumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedSqlDatabaseV2Operations_Get_MinimumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedSqlDatabaseV2Operations_ListBySqlAssessmentV2_MaximumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedSqlDatabaseV2Operations_ListBySqlAssessmentV2_MinimumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedSqlInstanceV2Operations_Get_MaximumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedSqlInstanceV2Operations_Get_MinimumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedSqlInstanceV2Operations_ListBySqlAssessmentV2_MaximumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedSqlInstanceV2Operations_ListBySqlAssessmentV2_MinimumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedSqlMachinesOperations_Get_MaximumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedSqlMachinesOperations_Get_MinimumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedSqlMachinesOperations_ListBySqlAssessmentV2_MaximumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedSqlMachinesOperations_ListBySqlAssessmentV2_MinimumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedSqlRecommendedEntityOperations_Get_MaximumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedSqlRecommendedEntityOperations_Get_MinimumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedSqlRecommendedEntityOperations_ListBySqlAssessmentV2_MaximumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessedSqlRecommendedEntityOperations_ListBySqlAssessmentV2_MinimumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessmentOptionsOperations_Get_MaximumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessmentOptionsOperations_Get_MinimumSet_Gen.json
    HowToFix Code style issues found
    path: stable/2023-03-03/examples/AssessmentOptionsOperations_ListByAssessmentProject_MaximumSet_Gen.json
    ️❌SpellCheck: 37 Errors, 0 Warnings failed [Detail]

    Only 23 items are listed, please refer to log for more details.

    Rule Message
    HowToFix Unknown word (valus), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L488:68
    HowToFix Unknown word (assessement), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L1292:37
    HowToFix Unknown word (assessement), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L1821:33
    HowToFix Unknown word (assessement), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L2350:33
    HowToFix Unknown word (assessement), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L2506:33
    HowToFix Unknown word (Assessible), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L3441:29
    HowToFix Unknown word (sqlcollectors), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L4249:134
    HowToFix Unknown word (sqlcollectors), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L4301:134
    HowToFix Unknown word (wheter), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L5495:32
    HowToFix Unknown word (wheter), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L5499:32
    HowToFix Unknown word (Reasonings), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L5617:27
    HowToFix Unknown word (Overcommit), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L7004:13
    HowToFix Unknown word (overcommit), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L7007:34
    HowToFix Unknown word (SSDE), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L7378:30
    HowToFix Unknown word (SSDE), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L7382:30
    HowToFix Unknown word (SSDE), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L7386:30
    HowToFix Unknown word (SSDE), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L7390:30
    HowToFix Unknown word (Recieved), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L7648:25
    HowToFix Unknown word (Recieved), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L7649:25
    HowToFix Unknown word (Paas), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L8012:14
    HowToFix Unknown word (PAAS), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L8060:52
    HowToFix Unknown word (Ebds), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L8190:10
    HowToFix Unknown word (Ebds), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Migrate/stable/2023-03-03/migrate.json#L8401:22
    ️️✔️Lint(RPaaS) succeeded [Detail]
    Rule Message
    LintRpaasToolException "details":""stack":"ResolverError: Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/common-types/resource-management/v3/types.json\"\n at onError (/mnt/vss/_work/_tasks/AzureApiValidation_5654d05d-82c1-48da-ad8f-161b817f6d41/0.0.56/common/temp/node_modules/.pnpm/@APIDevTools[email protected]/node_modules/@apidevtools/json-schema-ref-parser/lib/parse.js:92:16)",
    "code":"ERESOLVER",
    "message":"Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/common-types/resource-management/v3/types.json\"",
    "source":"/mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/common-types/resource-management/v3/types.json",
    "path":null,
    "name":"ResolverError",
    "footprint":"null+/mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/common-types/resource-management/v3/types.json+ERESOLVER+Error reading file \"/mnt/vss/_work/1/azure-rest-api-specs/specification/migrate/common-types/resource-management/v3/types.json\"""
    ️❌CadlValidation: 1 Errors, 0 Warnings failed [Detail]
    Rule Message
    MissingCadlFile "details":"The swagger specification/migrate/resource-manager/Microsoft.Migrate/stable/2023-03-03/migrate.json is generated from cadl files,
    but the cadl project with '@azure-tools/cadl-autorest' emitter is missing in the PR. Please add the missing cadl project or emitter configuration."
    ️️✔️TypeSpec Validation succeeded [Detail] [Expand]
    Validation passes for TypeSpec Validation.
    ️❌PR Summary: 0 Errors, 0 Warnings failed [Detail]
    ️️✔️All merging requirements met succeeded [Detail] [Expand]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 27, 2023

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]
     Please click here to preview with your @microsoft account. 
    ️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

    Breaking Changes Tracking

    ️❌ azure-sdk-for-net-track2 failed [Detail]
    • Failed [Logs] Generate from 11e214bf7678d7aebfe8464842d091d1b9cf39cd. SDK Automation 14.0.0
      command	pwsh ./eng/scripts/Automation-Sdk-Init.ps1 ../azure-sdk-for-net_tmp/initInput.json ../azure-sdk-for-net_tmp/initOutput.json
      command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:712
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 712 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to generate sdk. exit code: False
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGet-ChildItem: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:805
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 805 | �[0m … rtifacts += �[36;1mGet-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mCannot find path
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m'/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1mit does not exist.
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1mGeneratePackage: �[0m/mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:712
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1mLine |
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m 712 | �[0m         �[36;1mGeneratePackage -projectFolder $projectFolder -sdkRootPath $s�[0m …
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[36;1m     | �[31;1m         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[31;1m�[36;1m     | �[31;1mFailed to generate sdk artifact
      cmderr	[Invoke-GenerateAndBuildV2.ps1] �[0m
    • Azure.ResourceManager.Migrate [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    ️❌ azure-sdk-for-go failed [Detail]
    • Code Generator Failed [Logs] Generate from 11e214bf7678d7aebfe8464842d091d1b9cf39cd. 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
      cmderr	[generator automation-v2] [ERROR] total 1 error(s):
      cmderr	[generator automation-v2] [ERROR] failed to execute `go generate` '�[33;1mWARNING: Unable to find version for /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrate/armmigrate�[0m
      cmderr	[generator automation-v2] [ERROR] Cannot find go module under resourcemanager/migrate/armmigrate, try to build in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrate/armmigrate
      cmderr	[generator automation-v2] [ERROR] ##[command]Cleaning auto-generated files in /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrate/armmigrate
      cmderr	[generator automation-v2] [ERROR] ##[command]Executing autorest.go in  /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrate/armmigrate
      cmderr	[generator automation-v2] [ERROR] autorest --use=@autorest/[email protected] --go --track2 --output-folder=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/migrate/armmigrate --clear-output-folder=false --go.clear-output-folder=false --honor-body-placement=true --remove-unreferenced-types=false ./autorest.md
      cmderr	[generator automation-v2] [ERROR] AutoRest code generation utility [cli version: 3.6.1; node: v16.20.1]
      cmderr	[generator automation-v2] [ERROR] (C) 2018 Microsoft Corporation.
      cmderr	[generator automation-v2] [ERROR] https://aka.ms/autorest
      cmderr	[generator automation-v2] [ERROR] There is a new version of AutoRest available (3.6.3).
      cmderr	[generator automation-v2] [ERROR] > You can install the newer version with with npm install -g autorest@latest
      cmderr	[generator automation-v2] [ERROR] info    |    Loading AutoRest core      '/home/cloudtest/.autorest/@[email protected]/nodemodules/@autorest/core/dist' (3.9.6)
      cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.0.suppress which is deprecated and will be removed in the future.
      cmderr	[generator automation-v2] [ERROR] warning | DeprecatedConfig | Using directive.1.suppress which is deprecated and will be removed in the future.
      cmderr	[generator automation-v2] [ERROR] info    |    Installing AutoRest extension '@autorest/go' (4.0.0-preview.54 -> 4.0.0-preview.54)
      cmderr	[generator automation-v2] [ERROR] info    |    Installed AutoRest extension '@autorest/go' (4.0.0-preview.54->4.0.0-preview.54)
      cmderr	[generator automation-v2] [ERROR] info    |    Installing AutoRest extension '@autorest/modelerfour' (4.26.2 -> 4.26.2)
      cmderr	[generator automation-v2] [ERROR] info    |    Installed AutoRest extension '@autorest/modelerfour' (4.26.2->4.26.2)
      cmderr	[generator automation-v2] [ERROR] error   | [Exception] No input files provided.
      cmderr	[generator automation-v2] [ERROR] Use --help to get help information or see https://aka.ms/autorest/cli for additional documentation
      cmderr	[generator automation-v2] [ERROR] error   |   Error: [Exception] No input files provided.
      cmderr	[generator automation-v2] [ERROR] Use --help to get help information or see https://aka.ms/autorest/cli for additional documentation
      cmderr	[generator automation-v2] [ERROR] error   | Autorest completed with an error. If you think the error message is unclear, or is a bug, please declare an issues at https://github.com/Azure/autorest/issues with the error message you are seeing.
      cmderr	[generator automation-v2] [ERROR] ##[error]Error running autorest.go
      cmderr	[generator automation-v2] [ERROR] build.go:5: running "pwsh": exit status 1
      cmderr	[generator automation-v2] [ERROR] ': exit status 1
      error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go]: generator automation-v2
      warn	Skip package processing as generation is failed
    ️🔄 azure-sdk-for-js inProgress [Detail]
    ️❌ azure-resource-manager-schemas failed [Detail]
    • Failed [Logs] Generate from 11e214bf7678d7aebfe8464842d091d1b9cf39cd. 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
    • migrate/resource-manager [View full logs]  [Preview Schema Changes]
    • ️✔️migrate [View full logs]  [Preview Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Pipeline Framework Failed [Logs] Generate from 11e214bf7678d7aebfe8464842d091d1b9cf39cd. SDK Automation 14.0.0
      command	sh ./tools/SwaggerCI/init.sh ../azure-powershell_tmp/initInput.json ../azure-powershell_tmp/initOutput.json
      command	pwsh ./tools/SwaggerCI/psci.ps1 ../azure-powershell_tmp/generateInput.json ../azure-powershell_tmp/generateOutput.json
      SSL error: syscall failure: Broken pipe
      Error: SSL error: syscall failure: Broken pipe
    • ⚠️Az.migrate.DefaultTag [View full logs
      error	Fatal error: SSL error: syscall failure: Broken pipe
      error	The following packages are still pending:
      error		Az.migrate.DefaultTag
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 27, 2023

    Generated ApiView

    Language Package Name ApiView Link
    Swagger Microsoft.Migrate https://apiview.dev/Assemblies/Review/7c57042268684b47a2ced1591cc7b79e

    @kuchatur-ms
    Copy link
    Contributor Author

    /azp run unifiedPipeline

    @azure-pipelines
    Copy link

    No pipelines are associated with this pull request.

    @kuchatur-ms
    Copy link
    Contributor Author

    /azp run unifiedPipeline

    @azure-pipelines
    Copy link

    No commit pushedDate could be found for PR 22803 in repo Azure/azure-rest-api-specs

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    2 participants