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.AzureStack to add version stable/2016-01-01 #12876

Conversation

ionuttulai
Copy link
Contributor

@ionuttulai ionuttulai commented Feb 5, 2021

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

Changelog

Please ensure to add changelog with 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 you are targeting to deploy new service/feature to public regions? Please provide date, or month to public if date is not available yet.
  3. When you expect to publish swagger? Please provide date, or month to public if date is not available yet.
  4. If it's an update to existing version, please select SDKs of specific language and CLIs that require refresh after 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, no need to refresh 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

  • 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
  • Please 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 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

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

Hi, @ionuttulai Thanks for your PR. I am workflow bot for review process. Here are some small tips.

  • Please ensure to do self-check against checklists in first PR comment.
  • PR assignee is the person auto-assigned and responsible for your current PR reviewing and merging.
  • For specs comparison cross API versions, Use API Specs Comparison Report Generator
  • If there is CI failure(s), to fix CI error(s) is mandatory for PR merging; or you need to provide justification in PR comment for explanation. How to fix?

  • Any feedback about review process or workflow bot, pls contact swagger and tools team. [email protected]

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 5, 2021

    Swagger Validation Report

    ️⌛BreakingChange pending [Detail]
    ️⌛LintDiff pending [Detail]
    ️⌛Avocado pending [Detail]
    ️️✔️ModelValidation succeeded [Detail] [Expand]
    Validation passes for ModelValidation.
    ️⌛SemanticValidation pending [Detail]
    ️⌛[Staging] Cross Version BreakingChange (Base on preview version) pending [Detail]
    ️⌛[Staging] Cross Version BreakingChange (Base on stable version) pending [Detail]
    ️⌛CredScan pending [Detail]
    ️⌛[Staging] SDK Track2 Validation pending [Detail]
    ️⌛[Staging] PrettierCheck pending [Detail]
    ️⌛[Staging] SpellCheck pending [Detail]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Feb 5, 2021

    Swagger Generation Artifacts

    ️🔄[Staging] ApiDocPreview inProgress [Detail]
    ️🔄 azure-resource-manager-schemas inProgress [Detail]
    ️🔄 azure-sdk-for-go inProgress [Detail]
    ️🔄 azure-sdk-for-js inProgress [Detail]
    ️🔄 azure-sdk-for-java inProgress [Detail]
    ️⌛ azure-sdk-for-python pending [Detail]
    Posted by Swagger Pipeline | How to fix these errors?

    @openapi-workflow-bot
    Copy link

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

    @ionuttulai
    Copy link
    Contributor Author

    /azp run unifiedPipeline

    @ionuttulai ionuttulai marked this pull request as ready for review February 8, 2021 23:51
    @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 Feb 9, 2021
    @openapi-workflow-bot
    Copy link

    Hi, @ionuttulai your PR are labelled with WaitForARMFeedback. A notification email will be sent out shortly afterwards to notify ARM review board([email protected]). cc @markcowl

    @ionuttulai
    Copy link
    Contributor Author

    This PR is adding missing api version 2016-01-01 for swagger completeness.

    }
    },
    "definitions": {
    "Resource": {

    Choose a reason for hiding this comment

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

    Resource [](start = 5, length = 8)

    you don't need to define your own - you can reuse from common-types/resource-management/v2/types.json

    Choose a reason for hiding this comment

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

    and pretty much everything else in this file


    In reply to: 572604325 [](ancestors = 572604325)

    Copy link
    Contributor Author

    Choose a reason for hiding this comment

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

    I removed the generic types and referenced the ones in common-types folder.

    @ionuttulai
    Copy link
    Contributor Author

    @varunkumta we are taking care of s360 alerts but not by changes to an existing API version, but by adding a missing one for swagger completeness - that's why I initially had it marked as "new API version" .

    Here's a link to the s360 issues we are addressing with this PR

    https://vnext.s360.msftcloudes.com/blades/unifiedplatform?blade=AssignedTo:All~KPI:6dc4e485-2d1b-449c-a224-30b183391437~SLA:1~Forums:All~_loc:UnifiedPlatform&def=&peopleBasedNodes=avishwan_team;maximpop_team&tile=S360_ServiceId:9537bbc3-8945-4a80-a398-9e894170cc28~_loc:__key__UnifiedPlatform__6dc4e485-2d1b-449c-a224-30b183391437&global=4:9537bbc3-8945-4a80-a398-9e894170cc28

    Cc: @markcowl for awareness

    @varunkumta varunkumta removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Feb 11, 2021
    @varunkumta
    Copy link

    varunkumta commented Feb 11, 2021

    @varunkumta we are taking care of s360 alerts but not by changes to an existing API version, but by adding a missing one for swagger completeness - that's why I initially had it marked as "new API version" .

    Here's a link to the s360 issues we are addressing with this PR

    https://vnext.s360.msftcloudes.com/blades/unifiedplatform?blade=AssignedTo:All~KPI:6dc4e485-2d1b-449c-a224-30b183391437~SLA:1~Forums:All~_loc:UnifiedPlatform&def=&peopleBasedNodes=avishwan_team;maximpop_team&tile=S360_ServiceId:9537bbc3-8945-4a80-a398-9e894170cc28~_loc:__key__UnifiedPlatform__6dc4e485-2d1b-449c-a224-30b183391437&global=4:9537bbc3-8945-4a80-a398-9e894170cc28

    Cc: @markcowl for awareness

    yes, pretty sure here existing means 'already publicly available' not 'existing in swagger' - as I see a lot of traffic in ARM for your RP and this apiversion

    @ionuttulai
    Copy link
    Contributor Author

    @varunkumta we are taking care of s360 alerts but not by changes to an existing API version, but by adding a missing one for swagger completeness - that's why I initially had it marked as "new API version" .
    Here's a link to the s360 issues we are addressing with this PR
    https://vnext.s360.msftcloudes.com/blades/unifiedplatform?blade=AssignedTo:All~KPI:6dc4e485-2d1b-449c-a224-30b183391437~SLA:1~Forums:All~_loc:UnifiedPlatform&def=&peopleBasedNodes=avishwan_team;maximpop_team&tile=S360_ServiceId:9537bbc3-8945-4a80-a398-9e894170cc28~_loc:__key__UnifiedPlatform__6dc4e485-2d1b-449c-a224-30b183391437&global=4:9537bbc3-8945-4a80-a398-9e894170cc28
    Cc: @markcowl for awareness

    yes, pretty sure here existing means 'already publicly available' not 'existing in swagger' - as I see a lot of traffic in ARM for your RP and this apiversion

    Sounds good. Thanks for the review!

    @markcowl markcowl added the Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates label Feb 11, 2021
    @markcowl
    Copy link
    Member

    @ionuttulai We cna merge when the ci jobs have passed

    @ionuttulai
    Copy link
    Contributor Author

    @ionuttulai We cna merge when the ci jobs have passed

    The pipeline has been running for almost 24 hours now. Is that expected, or is there a way to re-queue it?

    @ionuttulai
    Copy link
    Contributor Author

    @ionuttulai We cna merge when the ci jobs have passed

    @markcowl It looks like the pipeline ran successfully but the results were not reported back to the PR.
    https://dev.azure.com/azure-sdk/internal/_build/results?buildId=730156&view=results

    @ionuttulai
    Copy link
    Contributor Author

    @markcowl is there anything we can do to re-run the pipeline for the mandatory checks? It looks like it ran successfully but the results never made it back to the PR.

    @markcowl markcowl added Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 Approved-Avocado Approved-LintDiff Approved-ModelValidation Approved-SemanticValidation labels Feb 16, 2021
    @markcowl
    Copy link
    Member

    @ionuttulai Yes, we are looking at why the notifications did not make it back here

    @markcowl
    Copy link
    Member

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 2 pipeline(s).

    @markcowl markcowl closed this Feb 17, 2021
    @markcowl markcowl reopened this Feb 17, 2021
    @markcowl
    Copy link
    Member

    /azp run

    @azure-pipelines
    Copy link

    Azure Pipelines successfully started running 2 pipeline(s).

    @markcowl
    Copy link
    Member

    @allenjzhang allenjzhang merged commit 6ecbac8 into Azure:master Feb 17, 2021
    mkarmark pushed a commit to mkarmark/azure-rest-api-specs that referenced this pull request Jul 21, 2021
    …n stable/2016-01-01 (Azure#12876)
    
    * Adds base for updating Microsoft.AzureStack from version stable/2017-06-01 to version 2016-01-01
    
    * Updates readme
    
    * Updates API version in new specs and examples
    
    * missing changes
    
    * readme changes
    
    * added operations path
    
    * added missing examples
    
    * switched back to old default package version
    
    * Removed local ref to generic types
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-Avocado Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 Approved-LintDiff Approved-ModelValidation Approved-OkToMerge <valid label in PR review process>add this label when assignee approve to merge the updates Approved-SemanticValidation ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review CI-BreakingChange-Go CI-BreakingChange-Python FixS360
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    4 participants