Skip to content

Comments

Add circuit breaker to the backend contract#21320

Merged
live1206 merged 5 commits intoAzure:release-Microsoft.ApiManagement-2022-09-01-previewfrom
m-h-s:release-Microsoft.ApiManagement-2022-09-01-preview
Nov 11, 2022
Merged

Add circuit breaker to the backend contract#21320
live1206 merged 5 commits intoAzure:release-Microsoft.ApiManagement-2022-09-01-previewfrom
m-h-s:release-Microsoft.ApiManagement-2022-09-01-preview

Conversation

@m-h-s
Copy link
Contributor

@m-h-s m-h-s commented Oct 27, 2022

ARM API Information (Control Plane)

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

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.

@m-h-s m-h-s requested a review from solankisamir as a code owner October 27, 2022 22:01
@openapi-workflow-bot
Copy link

Hi, @m-h-s 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. vscswagger@microsoft.com

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Oct 27, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️❌Breaking Change(Cross-Version): 4 Errors, 90 Warnings failed [Detail]
    compared swaggers (via Oad v0.10.1)] new version base version
    definitions.json 2022-09-01-preview(5cb8f0d) 2021-08-01(main)
    definitions.json 2022-09-01-preview(5cb8f0d) 2022-04-01-preview(main)

    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
    1025 - RequiredStatusChange The 'required' status changed from the old version('True') to the new version('False').
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L5836:7
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L5073:7
    1034 - AddedRequiredProperty The new version has new required property 'document' that was not found in the old version.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L5822:9
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L5059:9
    1034 - AddedRequiredProperty The new version has new required property 'document' that was not found in the old version.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L5835:5
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L5072:5
    1048 - AddedXmsEnum The new version adds a x-ms-enum extension.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L961:9
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L936:9
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L42:11
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L42:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L61:5
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L61:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L172:11
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L172:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L186:5
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L186:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L217:11
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L217:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L236:5
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L236:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L648:11
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L623:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L667:5
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L642:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L914:11
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L889:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L931:5
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L906:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L1437:11
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L1093:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L1454:5
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L1110:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L1667:5
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L1315:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L1846:11
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L1482:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L1863:5
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L1499:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L2000:5
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L1636:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L2264:11
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L1806:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L2281:5
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L1823:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L2364:11
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L1906:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L2381:5
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L1923:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L2530:11
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L2072:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L2547:5
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L2089:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L2691:11
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L2233:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L2708:5
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L2250:5
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L2848:11
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L2390:11
    ⚠️ 1032 - DifferentAllOf The new version has a different 'allOf' property than the previous one.
    New: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L2865:5
    Old: Microsoft.ApiManagement/stable/2021-08-01/definitions.json#L2407:5
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    compared tags (via openapi-validator v1.13.0) new version base version
    package-preview-2022-09 package-preview-2022-09(5cb8f0d) package-preview-2022-09(release-Microsoft.ApiManagement-2022-09-01-preview)

    The following errors/warnings exist before current PR submission:

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

    Rule Message
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L1819
    ⚠️ R2001 - AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L7468
    ⚠️ R2015 - ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L7849
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'tenant' with immediate parent 'ApiManagementServiceResource', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L61
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'settings' with immediate parent 'ApiManagementServiceResource', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L186
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'apis' with immediate parent 'ApiManagementServiceResource', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L236
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'releases' with immediate parent 'ApiContract', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L667
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'apiVersionSets' with immediate parent 'ApiManagementServiceResource', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L931
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'authorizations' with immediate parent 'AuthorizationProviderContract', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L1174
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'accessPolicies' with immediate parent 'AuthorizationContract', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L1291
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'authorizationProviders' with immediate parent 'ApiManagementServiceResource', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L1363
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'authorizationServers' with immediate parent 'ApiManagementServiceResource', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L1454
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'backends' with immediate parent 'ApiManagementServiceResource', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L1863
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'caches' with immediate parent 'ApiManagementServiceResource', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L2281
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'certificates' with immediate parent 'ApiManagementServiceResource', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L2381
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'diagnostics' with immediate parent 'ApiContract', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L2547
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'diagnostics' with immediate parent 'ApiManagementServiceResource', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L2547
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'templates' with immediate parent 'ApiManagementServiceResource', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L2708
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'groups' with immediate parent 'ApiManagementServiceResource', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L2865
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'identityProviders' with immediate parent 'ApiManagementServiceResource', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L3157
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'attachments' with immediate parent 'IssueContract', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L3271
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'comments' with immediate parent 'IssueContract', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L3354
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'issues' with immediate parent 'ApiContract', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L3391
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'issues' with immediate parent 'ApiManagementServiceResource', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L3391
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'loggers' with immediate parent 'ApiManagementServiceResource', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L3582
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'notifications' with immediate parent 'ApiManagementServiceResource', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L3734
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'openidConnectProviders' with immediate parent 'ApiManagementServiceResource', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L3821
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'operations' with immediate parent 'ApiContract', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L3944
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'policies' with immediate parent 'OperationContract', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L4312
    ⚠️ R3010 - TrackedResourceListByImmediateParent The child tracked resource, 'policies' with immediate parent 'ApiContract', must have a list by immediate parent operation.
    Location: Microsoft.ApiManagement/preview/2022-09-01-preview/definitions.json#L4312
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️️✔️SpellCheck succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️CadlValidation succeeded [Detail] [Expand]
    Validation passes for CadlValidation.
    ️️✔️PR Summary succeeded [Detail] [Expand]
    Validation passes for Summary.
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Oct 27, 2022

    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 succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from dd4607c2e19009ee44b47bb8aaff5c97e325c718. 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
      warn	File azure-sdk-for-net_tmp/initOutput.json not found to read
      command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
    • ️✔️Azure.ResourceManager.ApiManagement [View full logs]  [Preview SDK Changes]
      info	[Changelog]
    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from dd4607c2e19009ee44b47bb8aaff5c97e325c718. 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
    • ️✔️sdk/resourcemanager/apimanagement/armapimanagement [View full logs]  [Preview SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog] - New field `Metrics` in struct `DiagnosticContractProperties`
      info	[Changelog]
      info	[Changelog] Total 0 breaking change(s), 1 additive change(s).
    ️⚠️ azure-sdk-for-python-track2 warning [Detail]
    • ⚠️Warning [Logs] Generate from dd4607c2e19009ee44b47bb8aaff5c97e325c718. 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-apimanagement [View full logs]  [Preview SDK Changes]
      info	[Changelog] ### Features Added
      info	[Changelog]
      info	[Changelog]   - Model DiagnosticContract has a new parameter metrics
    ️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
    • ️✔️Succeeded [Logs] Generate from dd4607c2e19009ee44b47bb8aaff5c97e325c718. 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
      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
    • ️✔️@azure/arm-apimanagement [View full logs]  [Preview SDK Changes]
      info	[Changelog] **Features**
      info	[Changelog]
      info	[Changelog]   - Added operation group GlobalSchema
      info	[Changelog]   - Added Interface GlobalSchemaCollection
      info	[Changelog]   - Added Interface GlobalSchemaContract
      info	[Changelog]   - Added Interface GlobalSchemaCreateOrUpdateHeaders
      info	[Changelog]   - Added Interface GlobalSchemaCreateOrUpdateOptionalParams
      info	[Changelog]   - Added Interface GlobalSchemaDeleteOptionalParams
      info	[Changelog]   - Added Interface GlobalSchemaGetEntityTagHeaders
      info	[Changelog]   - Added Interface GlobalSchemaGetEntityTagOptionalParams
      info	[Changelog]   - Added Interface GlobalSchemaGetHeaders
      info	[Changelog]   - Added Interface GlobalSchemaGetOptionalParams
      info	[Changelog]   - Added Interface GlobalSchemaListByServiceNextOptionalParams
      info	[Changelog]   - Added Interface GlobalSchemaListByServiceOptionalParams
      info	[Changelog]   - Added Type Alias GlobalSchemaCreateOrUpdateResponse
      info	[Changelog]   - Added Type Alias GlobalSchemaGetEntityTagResponse
      info	[Changelog]   - Added Type Alias GlobalSchemaGetResponse
      info	[Changelog]   - Added Type Alias GlobalSchemaListByServiceNextResponse
      info	[Changelog]   - Added Type Alias GlobalSchemaListByServiceResponse
      info	[Changelog]   - Added Type Alias SchemaType
      info	[Changelog]   - Interface DiagnosticContract has a new optional parameter metrics
      info	[Changelog]   - Class ApiManagementClient has a new parameter globalSchema
      info	[Changelog]   - Added Enum KnownSchemaType
    ️⚠️ azure-resource-manager-schemas warning [Detail]
    • ⚠️Warning [Logs] Generate from dd4607c2e19009ee44b47bb8aaff5c97e325c718. 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
    • ️✔️apimanagement [View full logs]  [Preview Schema Changes]
    ️❌ azure-powershell failed [Detail]
    • Failed [Logs] Generate from dd4607c2e19009ee44b47bb8aaff5c97e325c718. 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
    • Az.apimanagement [View full logs]  [Preview SDK Changes]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Oct 27, 2022

    Generated ApiView

    Language Package Name ApiView Link
    Go sdk/resourcemanager/apimanagement/armapimanagement Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    Python track2_azure-mgmt-apimanagement Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    JavaScript @azure/arm-apimanagement Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    .Net Azure.ResourceManager.ApiManagement Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.

    @ghost ghost added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Oct 27, 2022
    @ghost
    Copy link

    ghost commented Oct 27, 2022

    Thank you for your contribution m-h-s! We will review the pull request and get back to you soon.

    @openapi-workflow-bot
    Copy link

    Hi @m-h-s, 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.
    Note: To avoid breaking change, you can refer to Shift Left Solution for detecting breaking change in early phase at your service code repository.

    @openapi-workflow-bot
    Copy link

    Hi @m-h-s, Your PR has some issues. Please fix the CI sequentially by following the order of Avocado, semantic validation, model validation, breaking change, lintDiff. If you have any questions, please post your questions in this channel https://aka.ms/swaggersupport.

    TaskHow to fixPriority
    AvocadoFix-AvocadoHigh
    Semantic validationFix-SemanticValidation-ErrorHigh
    Model validationFix-ModelValidation-ErrorHigh
    LintDiffFix-LintDiffhigh
    If you need further help, please feedback via swagger feedback.

    @m-h-s
    Copy link
    Contributor Author

    m-h-s commented Oct 31, 2022

    This PR should be reopened.

    @m-h-s m-h-s reopened this Oct 31, 2022
    @m-h-s m-h-s force-pushed the release-Microsoft.ApiManagement-2022-09-01-preview branch from 2cd9107 to 055f760 Compare October 31, 2022 21:00
    @m-h-s m-h-s force-pushed the release-Microsoft.ApiManagement-2022-09-01-preview branch from 33b4422 to 5cb8f0d Compare November 1, 2022 19:14
    @AzureRestAPISpecReview AzureRestAPISpecReview added the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label Nov 1, 2022
    @mikekistler
    Copy link
    Member

    Approving breaking change to merge to feature branch, but will revisit adding x-ms-enum to "versioningScheme" in PR to merge to main.

    @mikekistler mikekistler added the Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 label Nov 7, 2022
    @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 Nov 7, 2022
    },
    "maxItems": 15,
    "description": "The rules for tripping the backend.",
    "x-ms-identifiers": []
    Copy link
    Member

    Choose a reason for hiding this comment

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

    []

    include the property set that uniquely identifies a single element in the array

    @rkmanda rkmanda added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Nov 10, 2022
    @openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Nov 10, 2022
    @live1206 live1206 merged commit 533dc43 into Azure:release-Microsoft.ApiManagement-2022-09-01-preview Nov 11, 2022
    @solankisamir solankisamir added the 2022-09-01-preview APIM 2022-09-01-preview PRs label Feb 10, 2023
    live1206 pushed a commit that referenced this pull request Apr 3, 2023
    * add circuit breaker to the backend contract
    
    * resolve validation errors
    
    * Revert "resolve validation errors" and last push
    
    This reverts commit c557685.
    
    * resolve validation errors
    
    * run prettier
    weidongxu-microsoft pushed a commit that referenced this pull request Apr 28, 2023
    * Adds base for updating Microsoft.ApiManagement from version stable/2022-08-01 to version 2022-09-01-preview
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * Add circuit breaker to the backend contract (#21320) (#23359)
    
    * add circuit breaker to the backend contract
    
    * resolve validation errors
    
    * Revert "resolve validation errors" and last push
    
    This reverts commit c557685.
    
    * resolve validation errors
    
    * run prettier
    
    * stv2.1 (#23326)
    
    * added Workspaces feature-related endpoints and contracts (#23330)
    
    * added Workspaces feature-related endpoints and contracts
    
    * cleanup
    
    * prettier
    
    * + examples
    
    * - redundant examples
    
    * link contracts for PUT
    
    * typo
    
    * Location header added to async operations
    
    ---------
    
    Co-authored-by: promoisha <glfeokti@microsoft.com>
    
    * New ApiVersion 2022-09-01-preview : Fix Linter errors (#23706)
    
    * x-ms-pageable extension for all list calls on policy
    
    * x-ms-secret to secret values
    
    * location header and invalid produces
    
    * New Api-Version 2022-09-01-preview: Linter Errors (#23739)
    
    * boolean to x-ms-enum
    
    * add location header to 202 response
    
    * Location header to all 202 operations
    
    ---------
    
    Co-authored-by: Mahsa Sadi <mahsa.sadi@utoronto.ca>
    Co-authored-by: promoisha <feoktistovgg@gmail.com>
    Co-authored-by: promoisha <glfeokti@microsoft.com>
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    2022-09-01-preview APIM 2022-09-01-preview PRs API Management Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-BreakingChange-Python CI-FixRequiredOnFailure CI-MissingBaseCommit customer-reported Issues that are reported by GitHub users external to the Azure organization. data-plane new-api-version resource-manager RPaaS SuppressionReviewRequired

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    6 participants