Skip to content

Conversation

kaibocai
Copy link
Member

Data Plane API - Pull Request

add managedEnvironment to Site schema to support project centauri

API Info: The Basics

Most of the information about your service should be captured in the issue that serves as your engagement record.

  • Link to engagement record issue:

Is this review for (select one):

  • a private preview
  • a public preview
  • GA release

Change Scope

This section will help us focus on the specific parts of your API that are new or have been modified.
Please share a link to the design document for the new APIs, a link to the previous Open API document (swagger) if applicable, and the root paths that have been updated.

❔Got questions? Need additional info?? We are here to help!

Contact us!

The Azure API Review Board is dedicated to helping you create amazing APIs. You can read about our mission and learn more about our process on our wiki.

Click here for links to tools, specs, guidelines & other good stuff

Tooling

Guidelines & Specifications

Helpful Links

@openapi-workflow-bot
Copy link

Hi, @kaibocai 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 Jan 24, 2023

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    compared swaggers (via Oad v0.10.4)] new version base version
    CommonDefinitions.json 2022-03-01(ddff6ab) 2022-03-01(main)
    ️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
    There are no breaking changes.
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 0 Warnings warning [Detail]
    compared tags (via openapi-validator v2.0.0) new version base version
    package-2022-03 package-2022-03(ddff6ab) package-2022-03(main)

    The following errors/warnings exist before current PR submission:

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

    Rule Message
    GetCollectionResponseSchema The response in the GET collection operation 'AppServiceCertificateOrders_List' does not match the response definition in the individual GET operation 'AppServiceCertificateOrders_Get' .
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17
    GetCollectionResponseSchema The response in the GET collection operation 'AppServiceCertificateOrders_ListCertificates' does not match the response definition in the individual GET operation 'AppServiceCertificateOrders_GetCertificate' .
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17
    GetCollectionResponseSchema The response in the GET collection operation 'Domains_List' does not match the response definition in the individual GET operation 'Domains_Get' .
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17
    GetCollectionResponseSchema The response in the GET collection operation 'Domains_ListOwnershipIdentifiers' does not match the response definition in the individual GET operation 'Domains_GetOwnershipIdentifier' .
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17
    GetCollectionResponseSchema The response in the GET collection operation 'TopLevelDomains_List' does not match the response definition in the individual GET operation 'TopLevelDomains_Get' .
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17
    GetCollectionResponseSchema The response in the GET collection operation 'AppServiceEnvironments_List' does not match the response definition in the individual GET operation 'AppServiceEnvironments_Get' .
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17
    GetCollectionResponseSchema The response in the GET collection operation 'AppServiceEnvironments_ListMultiRolePools' does not match the response definition in the individual GET operation 'AppServiceEnvironments_GetMultiRolePool' .
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17
    GetCollectionResponseSchema The response in the GET collection operation 'AppServiceEnvironments_ListWorkerPools' does not match the response definition in the individual GET operation 'AppServiceEnvironments_GetWorkerPool' .
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17
    GetCollectionResponseSchema The response in the GET collection operation 'Certificates_List' does not match the response definition in the individual GET operation 'Certificates_Get' .
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L17
    GuidUsage Usage of Guid is not recommended. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L671
    ProvisioningStateValidation ProvisioningState must have terminal states: Succeeded, Failed and Canceled.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L968
    NestedResourcesMustHaveListOperation The nested resource 'HybridConnection' does not have list operation, please add it.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L1806
    GuidUsage Usage of Guid is not recommended. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L2239
    GuidUsage Usage of Guid is not recommended. If GUIDs are absolutely required in your service, please get sign off from the Azure API review board.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L3060
    NestedResourcesMustHaveListOperation The nested resource 'VnetGateway' does not have list operation, please add it.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L3948
    NestedResourcesMustHaveListOperation The nested resource 'VnetInfoResource' does not have list operation, please add it.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L4025
    NestedResourcesMustHaveListOperation The nested resource 'VnetRoute' does not have list operation, please add it.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L4042
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L125
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L147
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L190
    ⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L237
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L286
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L291
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L306
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L325
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L334
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L343
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L382
    ⚠️ AvoidNestedProperties Consider using x-ms-client-flatten to provide a better end user experience
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L441
    ⚠️ EnumInsteadOfBoolean Booleans properties are not descriptive in all cases and can make them to use, evaluate whether is makes sense to keep the property as boolean or turn it into an enum.
    Location: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L470
    ️️✔️Avocado succeeded [Detail] [Expand]
    Validation passes for Avocado.
    ️️✔️ApiReadinessCheck succeeded [Detail] [Expand]
    ️⚠️~[Staging] ServiceAPIReadinessTest: 0 Warnings warning [Detail]

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

    ️️✔️~[Staging] SwaggerAPIView succeeded [Detail] [Expand]
    ️️✔️~[Staging] CadlAPIView succeeded [Detail] [Expand]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️️✔️SemanticValidation succeeded [Detail] [Expand]
    Validation passes for SemanticValidation.
    ️️✔️PoliCheck succeeded [Detail] [Expand]
    Validation passed for PoliCheck.
    ️️✔️PrettierCheck succeeded [Detail] [Expand]
    Validation passes for PrettierCheck.
    ️❌SpellCheck: 2 Errors, 0 Warnings failed [Detail]
    Rule Message
    HowToFix Unknown word (containerapp), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L3083:31
    HowToFix Unknown word (indentify), please fix the error or add words to ./custom-words.txt
    path: Microsoft.Web/stable/2022-03-01/CommonDefinitions.json#L3083:74
    ️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
    Validation passes for Lint(RPaaS).
    ️️✔️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 Jan 24, 2023

    Swagger Generation Artifacts

    ️️✔️ApiDocPreview succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️❌SDK Breaking Change Tracking failed [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️❌ azure-sdk-for-net-track2 failed [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️❌ azure-sdk-for-python-track2 failed [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]

    Only 0 items are rendered, please refer to log for more details.

    ️❌ azure-sdk-for-js failed [Detail]

    Only 0 items are rendered, please refer to log for more details.

    ️🔄 azure-resource-manager-schemas inProgress [Detail]
    ️❌ azure-powershell failed [Detail]

    Only 0 items are rendered, please refer to log for more details.

    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Jan 24, 2023

    Generated ApiView

    Language Package Name ApiView Link
    swagger Microsoft.CertificateRegistration Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    Go sdk/resourcemanager/appservice/armappservice Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
    Java azure-resourcemanager-appservice-generated 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 Web Apps label Jan 24, 2023
    Copy link
    Contributor

    @kamperiadis kamperiadis left a comment

    Choose a reason for hiding this comment

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

    I think we need to create another version (i.e. another folder with the same contents as the 2022-03-01 folder but with these changes) since other clients might depend on this 2022-03-01 schema version

    @kaibocai
    Copy link
    Member Author

    Hi Team, can we review this PR and let me know if it's good to merge? Thanks.

    @weidongxu-microsoft
    Copy link
    Member

    One won't merge a private preview into a stable api-version 

    Also adding property needs a new api-version 

    web is branch here #22084

    @kaibocai kaibocai changed the base branch from main to release-web-Microsoft.Web-2022-09-01 January 29, 2023 14:23
    @kaibocai kaibocai requested review from tg-msft and bexxx and removed request for a team January 29, 2023 14:23
    @kaibocai kaibocai changed the base branch from release-web-Microsoft.Web-2022-09-01 to main January 29, 2023 14:24
    @kaibocai
    Copy link
    Member Author

    Thank you @weidongxu-microsoft , I have open a new PR here #22341, closing this one. Thanks.

    @kaibocai kaibocai closed this Jan 29, 2023
    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.

    4 participants