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

Workbooks correctness 2021-08-01 #16249

Merged
merged 30 commits into from
Nov 17, 2021
Merged

Conversation

vutran01
Copy link
Contributor

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

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. - asap
  3. When do you expect to publish the swagger? Please provide date or, the the date is not yet available, the month. - asap
  4. If updating an existing version, please select the specific langauge SDKs and CLIs that must be refreshed after the swagger is published.
    • SDK of .NET (need service team to ensure code readiness)
    • SDK of Python
    • SDK of Java
    • SDK of Js
    • SDK of Go
    • PowerShell
    • CLI
    • Terraform
    • No refresh required for updates in this PR

Contribution checklist:

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 label “WaitForARMFeedback” will be added automatically to begin ARM API Review. Failure to comply may result in delays to the manifest.

    • 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.
  • 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 any of the following scenarios apply to the PR, request approval from the Breaking Change Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in a stable version
  • Removing properties in a stable version
  • Removing API version(s) in a stable version
  • Updating API in a stable or public preview version with Breaking Change Validation errors
  • Updating API(s) in public preview over 1 year (refer to Retirement of Previews)

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.

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

@openapi-workflow-bot
Copy link

openapi-workflow-bot bot commented Sep 30, 2021

Hi, @vutran01 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


    In reply to: 931638398


    In reply to: 931638398


    In reply to: 931638398

    @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.

    @openapi-workflow-bot openapi-workflow-bot bot added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Sep 30, 2021
    @openapi-workflow-bot
    Copy link

    openapi-workflow-bot bot commented Sep 30, 2021

    Hi, @vutran01 your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board(armapireview@microsoft.com).


    In reply to: 931638433

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Sep 30, 2021

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️❌LintDiff: 59 Errors, 40 Warnings failed [Detail]
    The following errors/warnings are introduced by current PR:

    Only 30 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}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/components/{resourceName}/linkedStorageAccounts/{storageType}'
    Location: Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json#L37
    R3020 - PathResourceProviderNamePascalCase Resource provider naming must follow the pascal case. Path: '/providers/microsoft.insights/operations'
    Location: Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json#L39
    R3020 - PathResourceProviderNamePascalCase Resource provider naming must follow the pascal case. Path: '/{resourceUri}/providers/microsoft.insights/generatelivetoken'
    Location: Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json#L77
    R3026 - TrackedResourcePatchOperation Tracked resource 'Workbook' must have patch operation that at least supports the update of tags. It's strongly recommended that the PATCH operation supports update of all mutable properties as well.
    Location: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L473
    R3030 - PathResourceProviderMatchNamespace The last resource provider 'microsoft.insights' doesn't match the namespace.
    Location: Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json#L37
    R3030 - PathResourceProviderMatchNamespace The last resource provider 'microsoft.insights' doesn't match the namespace.
    Location: Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json#L39
    R3030 - PathResourceProviderMatchNamespace The last resource provider 'microsoft.insights' doesn't match the namespace.
    Location: Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json#L77
    R3030 - PathResourceProviderMatchNamespace The last resource provider 'microsoft.insights' doesn't match the namespace.
    Location: Microsoft.Insights/stable/2015-05-01/analyticsItems_API.json#L37
    R3030 - PathResourceProviderMatchNamespace The last resource provider 'microsoft.insights' doesn't match the namespace.
    Location: Microsoft.Insights/stable/2015-05-01/analyticsItems_API.json#L85
    R4007 - DefaultErrorResponseSchema the default error response schema does not correspond to the schema documented at https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/common-api-details.md#error-response-content.
    Location: Microsoft.Insights/stable/2015-05-01/aiOperations_API.json#L50
    R4015 - NestedResourcesMustHaveListOperation The nested resource 'ComponentLinkedStorageAccounts' does not have list operation, please add it.
    Location: Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json#L240
    R4018 - OperationsApiResponseSchema The response schema of operations API '/providers/Microsoft.Insights/operations' does not match the ARM specification. Please standardize the schema.
    Location: Microsoft.Insights/stable/2015-05-01/aiOperations_API.json#L31
    R4037 - MissingTypeObject The schema 'ComponentsResource' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/preview/2018-05-01-preview/components_API.json#L333
    R4037 - MissingTypeObject The schema 'tags' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/preview/2018-05-01-preview/components_API.json#L358
    R4037 - MissingTypeObject The schema 'TagsResource' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/preview/2018-05-01-preview/components_API.json#L371
    R4037 - MissingTypeObject The schema 'tags' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/preview/2018-05-01-preview/components_API.json#L373
    R4037 - MissingTypeObject The schema 'ApplicationInsightsComponent' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/preview/2018-05-01-preview/components_API.json#L382
    R4037 - MissingTypeObject The schema 'ApplicationInsightsComponentProperties' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/preview/2018-05-01-preview/components_API.json#L404
    R4037 - MissingTypeObject The schema 'PrivateLinkScopedResource' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/preview/2018-05-01-preview/components_API.json#L555
    R4037 - MissingTypeObject The schema 'ApplicationInsightsComponentListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/preview/2018-05-01-preview/components_API.json#L568
    R4037 - MissingTypeObject The schema 'ComponentPurgeBody' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/preview/2018-05-01-preview/components_API.json#L587
    R4037 - MissingTypeObject The schema 'ComponentPurgeBodyFilters' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/preview/2018-05-01-preview/components_API.json#L607
    R4037 - MissingTypeObject The schema 'ComponentPurgeResponse' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/preview/2018-05-01-preview/components_API.json#L627
    R4037 - MissingTypeObject The schema 'ComponentPurgeStatusResponse' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/preview/2018-05-01-preview/components_API.json#L639
    R4037 - MissingTypeObject The schema 'display' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/stable/2015-05-01/aiOperations_API.json#L92
    R4037 - MissingTypeObject The schema 'OperationListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/stable/2015-05-01/aiOperations_API.json#L111
    R4037 - MissingTypeObject The schema 'AnnotationsListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/stable/2015-05-01/componentAnnotations_API.json#L244
    R4037 - MissingTypeObject The schema 'ApplicationInsightsComponentAPIKeyListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/stable/2015-05-01/componentApiKeys_API.json#L209
    R4037 - MissingTypeObject The schema 'WorkItemConfigurationsListResult' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/stable/2015-05-01/componentWorkItemConfigs_API.json#L290
    R4037 - MissingTypeObject The schema 'ApplicationInsightsComponentFavorite' is considered an object but without a 'type:object', please add the missing 'type:object'.
    Location: Microsoft.Insights/stable/2015-05-01/favorites_API.json#L240


    The following errors/warnings exist before current PR submission:

    Rule Message
    ⚠️ R4006 - DeprecatedXmsCodeGenerationSetting The x-ms-code-generation-setting extension is being deprecated. Please remove it and move settings to readme file for code generation.
    Location: Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json#L5
    ⚠️ R4021 - DescriptionAndTitleMissing 'ErrorResponseLinkedStorage' model/property lacks 'description' and 'title' property. Consider adding a 'description'/'title' element. Accurate description/title is essential for maintaining reference documentation.
    Location: Microsoft.Insights/preview/2020-03-01-preview/componentLinkedStorageAccounts_API.json#L219
    ️⚠️Avocado: 1 Warnings warning [Detail]
    Rule Message
    ⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
    readme: specification/applicationinsights/resource-manager/readme.md
    tag: specification/applicationinsights/resource-manager/readme.md#tag-package-2021-11-01
    ️️✔️~[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: 25 Errors, 63 Warnings failed [Detail]
    The following breaking changes are detected by comparison with the latest stable version:

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

    Rule Message
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'WorkbookManagedIdentity' removed or renamed?
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L416:3
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L419:3
    1006 - RemovedDefinition The new version is missing a definition that was found in the old version. Was 'WorkbookUserAssignedIdentities' removed or renamed?
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L416:3
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L419:3
    1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L515:9
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L542:9
    1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L551:9
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L577:9
    1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: common-types/resource-management/v1/types.json#L14:9
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L426:9
    1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: common-types/resource-management/v1/types.json#L19:9
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L434:9
    1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: common-types/resource-management/v1/types.json#L24:9
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L442:9
    1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: common-types/resource-management/v1/types.json#L14:9
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L426:9
    1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: common-types/resource-management/v1/types.json#L19:9
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L434:9
    1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: common-types/resource-management/v1/types.json#L24:9
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L442:9
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'userAssignedIdentities' renamed or removed?
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L693:7
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'type' renamed or removed?
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L693:7
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'innererror' renamed or removed?
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L642:7
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L658:7
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'identity' renamed or removed?
    New: common-types/resource-management/v1/types.json#L13:7
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L421:7
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'location' renamed or removed?
    New: common-types/resource-management/v1/types.json#L13:7
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L421:7
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'tags' renamed or removed?
    New: common-types/resource-management/v1/types.json#L13:7
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L421:7
    1033 - RemovedProperty The new version is missing a property found in the old version. Was 'etag' renamed or removed?
    New: common-types/resource-management/v1/types.json#L13:7
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L421:7
    1034 - AddedRequiredProperty The new version has new required property 'location' that was not found in the old version.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L462:11
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L479:11
    1034 - AddedRequiredProperty The new version has new required property 'location' that was not found in the old version.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L160:13
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L163:13
    1034 - AddedRequiredProperty The new version has new required property 'location' that was not found in the old version.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L244:13
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L247:13
    1034 - AddedRequiredProperty The new version has new required property 'location' that was not found in the old version.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L252:13
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L255:13
    1034 - AddedRequiredProperty The new version has new required property 'location' that was not found in the old version.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L258:13
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L261:13
    1034 - AddedRequiredProperty The new version has new required property 'location' that was not found in the old version.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L310:13
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L313:13
    1034 - AddedRequiredProperty The new version has new required property 'location' that was not found in the old version.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L397:13
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L400:13
    1034 - AddedRequiredProperty The new version has new required property 'location' that was not found in the old version.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L473:5
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L490:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L61:13
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L61:13
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L462:11
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L479:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L482:9
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L510:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: common-types/resource-management/v1/types.json#L55:9
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L458:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'string' than the previous one ''.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L447:9
    Old: Microsoft.Insights/stable/2021-03-08/workbooks_API.json#L464:9


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

    Rule Message
    ⚠️ 1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.insights/workbooks' removed or restructured?
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.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.insights/workbooks/{resourceName}' removed or restructured?
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L88:5
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L515:9
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L364:9
    ⚠️ 1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L704:5
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L513:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: common-types/resource-management/v1/types.json#L9:5
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L270:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L456:5
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L321:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L462:11
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L325:11
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L482:9
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L341:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L473:5
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L333:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L493:5
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L348:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L559:5
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L395:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L587:9
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L416:9
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L594:5
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L424:5
    ⚠️ 1026 - TypeChanged The new version has a different type 'object' than the previous one ''.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L629:5
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L465:5
    ⚠️ 1029 - ReadonlyPropertyChanged The read only property has changed from 'false' to 'true'.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L459:9
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L323:9
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L462:11
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L325:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L473:5
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L333:5
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'kind' renamed or removed?
    New: common-types/resource-management/v1/types.json#L13:7
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L271:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'location' renamed or removed?
    New: common-types/resource-management/v1/types.json#L13:7
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L271:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'tags' renamed or removed?
    New: common-types/resource-management/v1/types.json#L13:7
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L271:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'code' renamed or removed?
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L632:7
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L466:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'message' renamed or removed?
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L632:7
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L466:7
    ⚠️ 1033 - RemovedProperty The new version is missing a property found in the old version. Was 'details' renamed or removed?
    New: Microsoft.Insights/stable/2021-08-01/workbooks_API.json#L632:7
    Old: Microsoft.Insights/preview/2018-06-17-preview/workbooks_API.json#L466:7
    ️️✔️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 Sep 30, 2021

    Swagger Generation Artifacts

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

    Breaking Changes Tracking

    ️✔️azure-sdk-for-go - appinsights/mgmt/2020-02-02/insights - Approved - v59.2.0
    ️✔️azure-sdk-for-go - appinsights/mgmt/2015-05-01/insights - Approved - v59.2.0
    azure-sdk-for-python-track2 - track2_azure-mgmt-applicationinsights - Approved - 1.0.0
    azure-sdk-for-go - preview/appinsights/mgmt/2020-02-02-preview/insights - Approved - v59.2.0
    +	Package was removed
    ️️✔️ azure-sdk-for-net succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from c03e6d6. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	sudo apt-get install -y dotnet-sdk-5.0
      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/applicationinsights/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.ApplicationInsights [View full logs]  [Release SDK Changes]
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from c03e6d6. SDK Automation 14.0.0
      command	sh scripts/automation_init.sh ../azure-sdk-for-python_tmp/initInput.json ../azure-sdk-for-python_tmp/initOutput.json
      cmderr	[automation_init.sh] WARNING: Skipping azure-nspkg as it is not installed.
      command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    • ️✔️track2_azure-mgmt-applicationinsights [View full logs]  [Release SDK Changes] Breaking Change Detected
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Model ApplicationInsightsComponent has a new parameter force_customer_storage_for_profiler
      info	[Changelog]   - Model ApplicationInsightsComponent has a new parameter disable_local_auth
      info	[Changelog]   - Model WebTest has a new parameter validation_rules
      info	[Changelog]   - Model WebTest has a new parameter request
      info	[Changelog]   - Model ErrorResponse has a new parameter error
      info	[Changelog]
      info	[Changelog] **Breaking changes**
      info	[Changelog]
      info	[Changelog]   - Model ErrorResponse no longer has parameter code
      info	[Changelog]   - Model ErrorResponse no longer has parameter message
    ️⚠️ azure-sdk-for-java warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from c03e6d6. 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] 2021-11-17 03:32:39 INFO [VERSION][Found] current version "com.azure.resourcemanager:azure-resourcemanager-applicationinsights;1.0.0-beta.1;1.0.0-beta.2"
      cmderr	[generate.py] 2021-11-17 03:32:39 INFO [VERSION][Not Found] cannot find stable version, current version "1.0.0-beta.2"
      cmderr	[generate.py] 2021-11-17 03:32:39 INFO autorest --version=3.6.0 --use=@autorest/java@4.0.40 --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/applicationinsights/azure-resourcemanager-applicationinsights --java.namespace=com.azure.resourcemanager.applicationinsights   --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/applicationinsights/resource-manager/readme.md
      cmderr	[generate.py] 2021-11-17 03:33:20 INFO [CI][Skip] ci.yml already has module azure-resourcemanager-applicationinsights
      cmderr	[generate.py] 2021-11-17 03:33:20 INFO [POM][Process] dealing with pom.xml
      cmderr	[generate.py] 2021-11-17 03:33:20 INFO [POM][Skip] pom already has module azure-resourcemanager-applicationinsights
      cmderr	[generate.py] 2021-11-17 03:33:20 INFO [POM][Success] Write to pom.xml
      cmderr	[generate.py] 2021-11-17 03:33:20 INFO [POM][Process] dealing with root pom
      cmderr	[generate.py] 2021-11-17 03:33:20 INFO [POM][Skip] pom already has module sdk/applicationinsights
      cmderr	[generate.py] 2021-11-17 03:33:20 INFO [POM][Success] Write to root pom
      cmderr	[generate.py] 2021-11-17 03:33:51 ERROR [COMPILE] Maven build fail
    • ️✔️azure-resourcemanager-applicationinsights [View full logs]  [Release SDK Changes]
      cmderr	[Inst] 2021-11-17 03:33:53 DEBUG Got artifact_id: azure-resourcemanager-applicationinsights
      cmderr	[Inst] 2021-11-17 03:33:53 DEBUG Got artifact: pom.xml
      cmderr	[Inst] 2021-11-17 03:33:53 ERROR Unmatch any jar in artifacts
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from c03e6d6. 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
    • ️✔️appinsights/mgmt/2020-02-02/insights [View full logs]  [Release SDK Changes]
      info	[Changelog] No exported changes
    • ️✔️appinsights/mgmt/2015-05-01/insights [View full logs
      info	[Changelog] No exported changes
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs]Release - Generate from c03e6d6. SDK Automation 14.0.0
      warn	Skip initScript due to not configured
      command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION --use=@microsoft.azure/autorest.typescript@4.7.0 --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/applicationinsights/resource-manager/readme.md
    • ️✔️@azure/arm-appinsights [View full logs]  [Release SDK Changes]
      cmderr	[npmPack] loaded rollup.config.js with warnings
      cmderr	[npmPack] (!) Unused external imports
      cmderr	[npmPack] default imported from external module 'rollup' but never used
      cmderr	[npmPack] ./esm/applicationInsightsManagementClient.js → ./dist/arm-appinsights.js...
      cmderr	[npmPack] created ./dist/arm-appinsights.js in 663ms
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs]Release - Generate from c03e6d6. 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
    • ️✔️applicationinsights [View full logs]  [Release Schema Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

    Hi @vutran01, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff.

    TaskHow to fixPrioritySupport (Microsoft alias)
    AvocadoFix-AvocadoHighruowan
    Semantic validationFix-SemanticValidation-ErrorHighraychen, jianyxi
    Model validationFix-ModelValidation-ErrorHighraychen,jianyxi
    LintDiffFix-LintDiffhighjianyxi, ruoxuan
    If you need further help, please feedback via swagger feedback."

    "userAssignedIdentities": {
    "type": "object",
    "additionalProperties": {
    "$ref": "#/definitions/WorkbookUserAssignedIdentities"
    Copy link
    Member

    @TimLovellSmith TimLovellSmith Oct 1, 2021

    Choose a reason for hiding this comment

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

    WorkbookUserAssignedIdentities

    If possible please refactor the $ref to UserAssignedIdentity definition in common managed identity type definitions

    https://github.com/Azure/azure-rest-api-specs/blob/main/specification/common-types/resource-management/v3/managedidentity.json #Resolved

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    types.json also has an identity field but it's a shorten version. i'll use this one

    "default": {
    "description": "Error response describing why the operation failed.",
    "schema": {
    "$ref": "#/definitions/WorkbookError"
    Copy link
    Member

    @TimLovellSmith TimLovellSmith Oct 1, 2021

    Choose a reason for hiding this comment

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

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    we also dump out the innererror which types does not do

    @@ -28,7 +28,7 @@ These are the global settings for the ApplicationInsights API.
    title: ApplicationInsightsManagementClient
    description: Composite Swagger for Application Insights Management Client
    openapi-type: arm
    tag: package-2021-10
    Copy link
    Member

    @qiaozha qiaozha Nov 10, 2021

    Choose a reason for hiding this comment

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

    Just realize you are downgrade the tag version? #Resolved

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    update to new tag=package-2021-11-01

    @ArcturusZhang ArcturusZhang added the Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go label Nov 11, 2021
    @akning-ms
    Copy link
    Contributor

    @jianyexi to help check whether it is correct alert for Linter & cross API breaking change.

    @jianyexi
    Copy link
    Contributor

    @jianyexi Jianye Xi FTE to help check whether it is correct alert for Linter & cross API breaking change.

    All the linter errors are existing errors before the PR, but the swagger in the previous default tag is not full , so they aren't filtered out.

    And the breaking change is correct , as the 'Operation API' schema has changed due to the reference to the v3 common types.

    @openapi-workflow-bot
    Copy link

    openapi-workflow-bot bot commented Nov 16, 2021

    Hi @vutran01, 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.


    In reply to: 969962593

    @vutran01
    Copy link
    Contributor Author

    vutran01 commented Nov 16, 2021

    operation changes are not needed for this pr, will remove this breaking changes. cleaning up this file is not needed


    In reply to: 969962593

    @vutran01
    Copy link
    Contributor Author

    removed the BreakingChangePReviewRequired flag as Operation API is no longer being changed in this pr


    In reply to: 970082946

    @Alancere
    Copy link
    Contributor

    @vutran01 You still have two operations with the same operationId "Operations_List" within the same tag. https://github.com/vutran01/azure-rest-api-specs/blob/correctness-2021-08-01/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json#L46 and https://github.com/vutran01/azure-rest-api-specs/blob/correctness-2021-08-01/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/aiOperations_API.json#L37

    In reply to: 964854938

    In reply to: 964854938

    In reply to: 964854938

    In reply to: 964854938

    go generator code happen issue:
    error | DuplicateOperation | Duplicate Operation 'Operations' > 'List' detected(This is most likely due to 2 operation using the same 'operationId' or 'tags'). Duplicates have those paths:

    • /providers/Microsoft.Insights/operations
    • /providers/microsoft.insights/operations

    @gardnerjr
    Copy link
    Contributor

    @804873052 we're really confused here

    You still have two operations with the same operationId "Operations_List" within the same tag. https://github.com/vutran01/azure-rest-api-specs/blob/correctness-2021-08-01/specification/applicationinsights/resource-manager/Microsoft.Insights/preview/2020-06-02-preview/livetoken_API.json#L46 and https://github.com/vutran01/azure-rest-api-specs/blob/correctness-2021-08-01/specification/applicationinsights/resource-manager/Microsoft.Insights/stable/2015-05-01/aiOperations_API.json#L37

    1. none of these files are in the PR vu submitted, nor the API version he's fixing
    2. none of those files belong to our part of the RP (this RP is huge and owned by many teams)
    3. none of those are even the same api versions (2020-06-02-preview and 2015-05-01?)

    why is the tool doing validations across/between api versions? possibly one or other of those api versions explicitly changed the paths to be lower case for other reasons that api reviews required?

    @cataggar
    Copy link
    Member

    cataggar commented Jan 4, 2022

    I opened up #17215 for the duplicate Operations_List. A tag shouldn't contain duplicates.

    LeiWang3 pushed a commit to LeiWang3/azure-rest-api-specs that referenced this pull request Mar 31, 2022
    * set default tag to package-2021-03-only
    
    * new default tag and add only workbooks to release
    
    * update package tag with same RP as last package
    
    * update tag name
    
    * Update readme.python.md
    
    * change definition name
    
    * remove operations
    
    * fix missingtypeobject in workbooks
    
    * fix up model validation errors
    
    * copy from 2021-03-08 to 2021-08-01
    
    * 2021-08-01 changes
    
    * fix prettier errors
    
    * use common types where possible
    
    * fix displayName errors
    
    * use newer myworkbooks and workbooktemplates
    
    * restore update params due to location
    
    * update tags
    
    * remove the only verison
    
    * update types to v3
    
    * restore the operation
    
    * remove operation file
    
    * restore operation as it's needed for some updates
    
    * set to types to v1 to be consistent
    
    * update name
    
    * update to later tag
    
    * use unique definition
    
    * don't release operation in this pr
    
    Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-LintDiff Approved-SdkBreakingChange-Go Approve the breaking change tracking for azure-sdk-for-go Approved-SdkBreakingChange-Python ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-FixRequiredOnFailure
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.