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

[Hub Generated] Review request for Microsoft.Cache to add version preview/2020-10-01-preview #11360

Conversation

greenms
Copy link
Contributor

@greenms greenms commented Oct 23, 2020

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

Contribution checklist:

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

ARM API Review Checklist

  • Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

    • Adding new API(s)
    • Adding a new API version
    • Adding a new service
  • 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 there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

  • Removing API(s) in stable version
  • Removing properties in stable version
  • Removing API version(s) in stable version
  • Updating API in stable version with Breaking Change Validation errors
  • Updating API(s) in preview over 1 year

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

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Oct 23, 2020

[Staging] Swagger Validation Report

️✔️BreakingChange [Detail]
 There are no breaking changes. 
️✔️LintDiff [Detail]
 Validation passes for LintDiff. 
️✔️Avocado [Detail]
 Validation passes for Avocado. 
️✔️ModelValidation [Detail]
 Validation passes for ModelValidation. 
️✔️SemanticValidation [Detail]
 Validation passes for SemanticValidation. 
Posted by Swagger Pipeline | How to fix these errors?

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@openapi-sdkautomation
Copy link

openapi-sdkautomation bot commented Oct 23, 2020

azure-sdk-for-net - Release

️✔️ succeeded [Logs] [Expand Details]
  • ️✔️ Generate from 5307f79 with merge commit 9abfdcf. SDK Automation 13.0.17.20200918.2
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
    [AutoRest] realpath(): Permission denied
  • ️✔️Microsoft.Azure.Management.RedisEnterprise [View full logs]  [Release SDK Changes]
      Unable to get details about the head commit. This is probably because the head commit is in a fork that we don't have permission to read from. HttpError: Not Found {"name":"HttpError","status":404,"headers":{"access-control-allow-origin":"*","access-control-expose-headers":"ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset","connection":"close","content-encoding":"gzip","content-security-policy":"default-src 'none'","content-type":"application/json; charset=utf-8","date":"Thu, 29 Oct 2020 09:10:59 GMT","referrer-policy":"origin-when-cross-origin, strict-origin-when-cross-origin","server":"GitHub.com","status":"404 Not Found","strict-transport-security":"max-age=31536000; includeSubdomains; preload","transfer-encoding":"chunked","vary":"Accept-Encoding, Accept, X-Requested-With","x-content-type-options":"nosniff","x-frame-options":"deny","x-github-media-type":"github.v3; param=machine-man-preview; format=json","x-github-request-id":"0782:FCBD:1BEE5F4:1F8B7D0:5F9A8723","x-xss-protection":"1; mode=block"},"request":{"method":"POST","url":"https://api.github.com/app/installations//access_tokens","headers":{"accept":"application/vnd.github.machine-man-preview+json","user-agent":"octokit.js/16.43.1 Node.js/13.14.0 (Linux 5.4; x64)","authorization":"bearer [REDACTED]","content-type":"application/json; charset=utf-8"},"body":"{}","request":{"validate":{"commit_sha":{"alias":"ref","deprecated":true,"type":"string"},"owner":{"required":true,"type":"string"},"ref":{"required":true,"type":"string"},"repo":{"required":true,"type":"string"},"sha":{"alias":"ref","deprecated":true,"type":"string"}}}},"documentation_url":"https://docs.github.com/rest"}

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Oct 23, 2020

    azure-sdk-for-python - Release

    ⚠️ warning [Logs] [Expand Details]
    • ⚠️ Generate from 5307f79 with merge commit 9abfdcf. SDK Automation 13.0.17.20200918.2
      Failed to find any changed packages. Please check the changed file list.
      /z/work/azure-sdk-for-python/sdk/azure-mgmt/redisenterprise/__init__.py
      /z/work/azure-sdk-for-python/sdk/azure-mgmt/redisenterprise/_configuration.py
      /z/work/azure-sdk-for-python/sdk/azure-mgmt/redisenterprise/_redisenterprise_client.py
      /z/work/azure-sdk-for-python/sdk/azure-mgmt/redisenterprise/models/__init__.py
      /z/work/azure-sdk-for-python/sdk/azure-mgmt/redisenterprise/models/_models.py
      /z/work/azure-sdk-for-python/sdk/azure-mgmt/redisenterprise/models/_models_py3.py
      /z/work/azure-sdk-for-python/sdk/azure-mgmt/redisenterprise/models/_paged_models.py
      /z/work/azure-sdk-for-python/sdk/azure-mgmt/redisenterprise/models/_redisenterprise_client_enums.py
      /z/work/azure-sdk-for-python/sdk/azure-mgmt/redisenterprise/operations/__init__.py
      /z/work/azure-sdk-for-python/sdk/azure-mgmt/redisenterprise/operations/_databases_operations.py
      /z/work/azure-sdk-for-python/sdk/azure-mgmt/redisenterprise/operations/_get_operations.py
      /z/work/azure-sdk-for-python/sdk/azure-mgmt/redisenterprise/operations/_operations.py
      /z/work/azure-sdk-for-python/sdk/azure-mgmt/redisenterprise/operations/_private_endpoint_connections_operations.py
      /z/work/azure-sdk-for-python/sdk/azure-mgmt/redisenterprise/operations/_private_link_resources_operations.py
      /z/work/azure-sdk-for-python/sdk/azure-mgmt/redisenterprise/operations/_redis_enterprise_database_operations.py
      /z/work/azure-sdk-for-python/sdk/azure-mgmt/redisenterprise/operations/_redis_enterprise_operations.py
      /z/work/azure-sdk-for-python/sdk/azure-mgmt/redisenterprise/version.py

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Oct 23, 2020

    Azure CLI Extension Generation - Release

    No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Oct 23, 2020

    azure-sdk-for-js - Release

    ⚠️ warning [Logs] [Expand Details]
    • ⚠️ Generate from 5307f79 with merge commit 9abfdcf. SDK Automation 13.0.17.20200918.2
      Failed to find any diff after autorest so no changed packages was found.

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Oct 23, 2020

    Trenton Generation - Release

    No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Oct 23, 2020

    azure-resource-manager-schemas - Release

    No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Oct 23, 2020

    azure-sdk-for-go - Release

    ⚠️ warning [Logs] [Expand Details]
    • ⚠️ Generate from 5307f79 with merge commit 9abfdcf. SDK Automation 13.0.17.20200918.2
      Failed to find any diff after autorest so no changed packages was found.

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Oct 23, 2020

    azure-sdk-for-java - Release

    ⚠️ warning [Logs] [Expand Details]
    • ⚠️ Generate from 5307f79 with merge commit 9abfdcf. SDK Automation 13.0.17.20200918.2
      Failed to find any diff after autorest so no changed packages was found.

    @greenms greenms marked this pull request as ready for review October 23, 2020 20:15
    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @greenms
    Copy link
    Contributor Author

    greenms commented Oct 23, 2020

    /azp run unifiedPipeline

    @azure-pipelines
    Copy link

    No pipelines are associated with this pull request.

    @openapi-sdkautomation
    Copy link

    openapi-sdkautomation bot commented Oct 23, 2020

    azure-sdk-for-python-track2 - Release

    No readme.md specification configuration files were found that are associated with the files modified in this pull request, or swagger_to_sdk section in readme.md is not configured

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @greenms
    Copy link
    Contributor Author

    greenms commented Oct 23, 2020

    /azp run unifiedPipeline

    @azure-pipelines
    Copy link

    No pipelines are associated with this pull request.

    Copy link
    Member

    @TimLovellSmith TimLovellSmith left a comment

    Choose a reason for hiding this comment

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

    I see one small issue left, we should add the mutability details of clusteringPolicy

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    Copy link
    Member

    @TimLovellSmith TimLovellSmith left a comment

    Choose a reason for hiding this comment

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

    Looks about right to me, I guess we are now waiting for arm feedback.

    @openapi-workflow-bot
    Copy link

    Hi, @greenms 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.
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

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

    @openapi-workflow-bot
    Copy link

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

    @majastrz majastrz added ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Oct 27, 2020
    @TimLovellSmith
    Copy link
    Member

    @majastrz But... having re-scanned the PR spec, it seems to me that having additional provisioningStates like "Disabling, Scaling, Updating" has always been allowed according to the following, which implies various updates can change the provisioningState after it reaches a terminal state:

    "The provisioningState field should be returned on all future GETs, even after it is complete, until some other operation (e.g. a DELETE or UPDATE) causes it to transition to a non-terminal state."

    @majastrz
    Copy link
    Member

    @majastrz But... having re-scanned the PR spec, it seems to me that having additional provisioningStates like "Disabling, Scaling, Updating" has always been allowed according to the following, which implies various updates can change the provisioningState after it reaches a terminal state:

    "The provisioningState field should be returned on all future GETs, even after it is complete, until some other operation (e.g. a DELETE or UPDATE) causes it to transition to a non-terminal state."

    Adding non-terminal states is allowed, but adding terminal states is not. DeleteFailed and Disabled are terminal states that aren't in the set of Succeeded, Failed, Canceled:
    image

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @majastrz majastrz added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review labels Oct 28, 2020
    Copy link
    Member

    @majastrz majastrz left a comment

    Choose a reason for hiding this comment

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

    Latest changes look good. Signed off from ARM side.

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @majastrz
    Copy link
    Member

    I got a notification that someone was asking about adding the Deleting state, but I can't see the comment. That's a non-terminal state, so that's definitely fine.

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 1 pipeline(s).

    @majastrz
    Copy link
    Member

    Still signed off from ARM side.

    @greenms
    Copy link
    Contributor Author

    greenms commented Oct 28, 2020

    @akning-ms May it be merged?

    @akning-ms akning-ms merged commit 9abfdcf into Azure:master Oct 29, 2020
    giromm2ms pushed a commit to giromm2ms/azure-rest-api-specs that referenced this pull request Dec 20, 2020
    …view/2020-10-01-preview (Azure#11360)
    
    * New Readme Config File
    
    * New Go Language Readme Config File
    
    * New Typescript Language Readme Config File
    
    * New Python Language Readme Config File
    
    * New C# Language Readme Config File
    
    * New Ruby Language Readme Config File
    
    * New Swagger Spec File
    
    * New Swagger Example Spec File
    
    * Initial updates for public preview
    
    * Add default error response. Add integer format.
    
    * Add 200 response to delete operations.
    
    * Add custom words for Redis Enterprise.
    
    * Update whitespace for prettier.
    
    * Update whitespace for prettier.
    
    * Update whitespace for prettier.
    
    * Revert "Update whitespace for prettier."
    
    This reverts commit 4f04b1b.
    
    * Revert "Update whitespace for prettier."
    
    This reverts commit ccca6d5.
    
    * Revert "Update whitespace for prettier."
    
    This reverts commit 3d72e6b.
    
    * Update whitespace for prettier.
    
    * Update Go settings
    
    * Including .NET SDK in list of SDKs automatically generated.
    
    * Update csharp settings.
    
    * Fix typo.
    
    * Updates addressing comments from reviewer.
    
    * Fix provisioningState errors.
    
    * Update clusteringPolicy description and related examples.
    
    * Remove Enterprise_E1 SKU.
    
    * Updates per comments from reviewer.
    
    * Remove illegal terminal states from provisioningState. Add new resourceState.
    
    * Utilize common properties from updated v2 types.json
    
    * Add 'Deleting' state to ProvisioningState enum.
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants