Skip to content

Conversation

@ZhichengYang-MS
Copy link
Contributor

@ZhichengYang-MS ZhichengYang-MS commented Oct 24, 2022

Data Plane API - Pull Request

Add new apis of Pause and Resume for Synapse Link

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.

  • Design Document: Design of Synapse Link Pause and Resume
  • Previous Open API Doc:
  • Updated paths: 'specification\synapse\data-plane\Microsoft.Synapse\preview\2022-11-01-preview' and 'specification\synapse\data-plane\readme.md'

❔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

fix #21421

@openapi-workflow-bot
Copy link

Hi, @ZhichengYang-MS 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 Oct 24, 2022

    Swagger Validation Report

    ️️✔️BreakingChange succeeded [Detail] [Expand]
    There are no breaking changes.
    ️⚠️Breaking Change(Cross-Version): 5 Warnings warning [Detail]
    compared swaggers (via Oad v0.10.2)] new version base version
    linkConnections.json 2022-12-01-preview(b1df23e) 2022-08-01-preview(main)

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

    Rule Message
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'LinkConnection_ListLinkConnectionsByWorkspace' to 'LinkConnection_ListByWorkspace'. This will impact generated code.
    New: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L30:7
    Old: Microsoft.Synapse/preview/2022-08-01-preview/linkConnections.json#L30:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'LinkConnection_CreateOrUpdateLinkConnection' to 'LinkConnection_CreateOrUpdate'. This will impact generated code.
    New: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L66:7
    Old: Microsoft.Synapse/preview/2022-08-01-preview/linkConnections.json#L66:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'LinkConnection_GetLinkConnection' to 'LinkConnection_Get'. This will impact generated code.
    New: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L109:7
    Old: Microsoft.Synapse/preview/2022-08-01-preview/linkConnections.json#L109:7
    ⚠️ 1008 - ModifiedOperationId The operation id has been changed from 'LinkConnection_DeleteLinkConnection' to 'LinkConnection_Delete'. This will impact generated code.
    New: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L143:7
    Old: Microsoft.Synapse/preview/2022-08-01-preview/linkConnections.json#L143:7
    ⚠️ 1023 - TypeFormatChanged The new version has a different format than the previous one.
    New: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L1024:5
    Old: Microsoft.Synapse/preview/2022-08-01-preview/linkConnections.json#L957:5
    ️️✔️CredScan succeeded [Detail] [Expand]
    There is no credential detected.
    ️⚠️LintDiff: 92 Warnings warning [Detail]
    compared tags (via openapi-validator v2.0.0) new version base version
    package-artifacts-composite-v6 package-artifacts-composite-v6(b1df23e) default(main)

    [must fix]The following errors/warnings are introduced by current PR:

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

    Rule Message Related RPC [For API reviewers]
    ⚠️ 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.Synapse/preview/2022-12-01-preview/linkConnections.json#L6
    ⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'LinkConnectionModel'. Consider using the plural form of 'LinkConnection' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L34
    ⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L48
    ⚠️ ErrorResponse Error response schema should contain an object property named error.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L50
    ⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'LinkConnectionModel'. Consider using the plural form of 'LinkConnection' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L70
    ⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L73
    ⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L96
    ⚠️ ErrorResponse Error response schema should contain an object property named error.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L98
    ⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'LinkConnectionModel'. Consider using the plural form of 'LinkConnection' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L113
    ⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L116
    ⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L130
    ⚠️ ErrorResponse Error response schema should contain an object property named error.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L132
    ⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'LinkConnectionModel'. Consider using the plural form of 'LinkConnection' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L147
    ⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L150
    ⚠️ SuccessResponseBody All success responses except 202 & 204 should define a response body.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L158
    ⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L164
    ⚠️ ErrorResponse Error response schema should contain an object property named error.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L166
    ⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'LinkConnectionModel'. Consider using the plural form of 'LinkConnection' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L183
    ⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L186
    ⚠️ SuccessResponseBody All success responses except 202 & 204 should define a response body.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L203
    ⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L206
    ⚠️ ErrorResponse Error response schema should contain an object property named error.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L208
    ⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'LinkConnectionModel'. Consider using the plural form of 'LinkConnection' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L225
    ⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L228
    ⚠️ SuccessResponseBody All success responses except 202 & 204 should define a response body.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L236
    ⚠️ ErrorResponse Error response should contain a x-ms-error-code header.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L239
    ⚠️ ErrorResponse Error response schema should contain an object property named error.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L241
    ⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'LinkConnectionModel'. Consider using the plural form of 'LinkConnection' to avoid this. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L258
    ⚠️ PathParameterSchema Path parameter should specify a maximum length (maxLength) and characters allowed (pattern).
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L261
    ⚠️ SuccessResponseBody All success responses except 202 & 204 should define a response body.
    Location: Microsoft.Synapse/preview/2022-12-01-preview/linkConnections.json#L269
    ️️✔️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: 0 Errors, 0 Warnings failed [Detail]
    ️️✔️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 succeeded [Detail] [Expand]
    Validation passes for SpellCheck.
    ️️✔️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 Oct 24, 2022

    Swagger pipeline restarted successfully, please wait for status update in this comment.

    @ghost ghost added the Synapses label Oct 24, 2022
    @openapi-pipeline-app
    Copy link

    openapi-pipeline-app bot commented Oct 24, 2022

    Swagger pipeline restarted successfully. If there is ApiView generated, it will be updated in this comment.

    @AzureRestAPISpecReview AzureRestAPISpecReview added BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-MissingBaseCommit data-plane new-api-version labels Oct 24, 2022
    @openapi-workflow-bot
    Copy link

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

    @ZhichengYang-MS ZhichengYang-MS marked this pull request as ready for review October 31, 2022 02:23
    @ZhichengYang-MS ZhichengYang-MS force-pushed the dev/zhichengyang/synapselink-add-pause-resume-apis branch from 201f695 to a78bcde Compare November 2, 2022 02:36
    @ZhichengYang-MS ZhichengYang-MS force-pushed the dev/zhichengyang/synapselink-add-pause-resume-apis branch from a78bcde to 132a6e7 Compare November 2, 2022 02:39
    @AzureRestAPISpecReview AzureRestAPISpecReview added CI-FixRequiredOnFailure and removed BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required labels Nov 2, 2022
    @openapi-workflow-bot
    Copy link

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

    @ZhichengYang-MS ZhichengYang-MS force-pushed the dev/zhichengyang/synapselink-add-pause-resume-apis branch from 44d0ace to 821fe18 Compare November 21, 2022 06:18
    @AzureRestAPISpecReview AzureRestAPISpecReview removed the BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required label Nov 21, 2022
    @weidongxu-microsoft weidongxu-microsoft added the APIStewardshipBoard-SignedOff The Azure API Stewardship team has reviewed and approved the changes. label Nov 24, 2022
    @weidongxu-microsoft weidongxu-microsoft merged commit 2278f55 into Azure:main Nov 24, 2022
    anandanthony pushed a commit to anandMicro/azure-rest-api-specs that referenced this pull request Dec 16, 2022
    * add pause resume apis
    
    * fix examples
    
    * simplified changes
    
    * fix version
    
    * fix linDiff
    
    * remove location info in url
    kayousef-zz pushed a commit to kayousef-zz/azure-rest-api-specs that referenced this pull request Dec 21, 2022
    * add pause resume apis
    
    * fix examples
    
    * simplified changes
    
    * fix version
    
    * fix linDiff
    
    * remove location info in url
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Labels

    APIStewardshipBoard-SignedOff The Azure API Stewardship team has reviewed and approved the changes. CI-MissingBaseCommit data-plane new-api-version Synapses

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    [Azure Synapse Platform Service - Synapse Link] API Review

    5 participants