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

Oracle DB@Azure-2023-09-01-preview version #28090

Merged
merged 15 commits into from
Apr 26, 2024

Conversation

acaicici
Copy link
Contributor

@acaicici acaicici commented Mar 5, 2024

ARM (Control Plane) API Specification Update Pull Request

Tip

Overwhelmed by all this guidance? See the Getting help section at the bottom of this PR description.

Note

As of January 2024 there is no PR assignee. This is expected. See https://aka.ms/azsdk/pr-arm-review.

PR review workflow diagram

Please understand this diagram before proceeding. It explains how to get your PR approved & merged.

diagram

Click here to see the details of Step 1

Breaking changes review (Diagram Step 1)

If the automation determines you have breaking changes, i.e. Step 1 from the diagram applies to you,
you must follow the breaking changes process.
IMPORTANT This applies even if:

  • The tool fails while it shouldn't, e.g. due to runtime exception, or incorrect detection of breaking changes.
  • You believe there is no need for you to request breaking change approval, for any reason.
    Such claims must be reviewed, and the process is the same.
Click here to see the details of Step 2

ARM API changes review (Diagram Step 2)

Click here to see the diagram footnotes

Diagram footnotes

[1] See ARM review queue (for PR merge queues, see [2]).
[2] public repo merge queue, private repo merge queue (for ARM review queue, [1])
The ARM reviewer on-call engineer visits the merge queue twice a day, so the approximate ETA for merges is 12 - 24 hours.

Purpose of this PR

What's the purpose of this PR? Check the specific option that applies. This is mandatory!

  • New resource provider.
  • New API version for an existing resource provider. (If API spec is not defined in TypeSpec, the PR should have been generated using OpenAPI Hub).
  • Update existing version for a new feature. (This is applicable only when you are revising a private preview API version.)
  • Update existing version to fix OpenAPI spec quality issues in S360.
  • Other, please clarify:
    • edit this with your clarification

Due diligence checklist

To merge this PR, you must go through the following checklist and confirm you understood
and followed the instructions by checking all the boxes:

  • I confirm this PR is modifying Azure Resource Manager (ARM) related specifications, and not data plane related specifications.
  • I have reviewed following Resource Provider guidelines, including
    ARM resource provider contract and
    REST guidelines (estimated time: 4 hours).
    I understand this is required before I can proceed to the diagram Step 2, "ARM API changes review", for this PR.

Additional information

Viewing API changes

For convenient view of the API changes made by this PR, refer to the URLs provided in the table
in the Generated ApiView comment added to this PR. You can use ApiView to show API versions diff.

Suppressing failures

If one or multiple validation error/warning suppression(s) is detected in your PR, please follow the
suppressions guide to get approval.

Getting help

  • First, please carefully read through this PR description, from top to bottom. Please fill out the Purpose of this PR and Due diligence checklist.
  • To understand what you must do next to merge this PR, see the Next Steps to Merge comment. It will appear within few minutes of submitting this PR and will continue to be up-to-date with current PR state.
  • For guidance on fixing this PR CI check failures, see the hyperlinks provided in given failure
    and https://aka.ms/ci-fix.
  • For help with PR workflow diagram Step 2 (ARM review), see https://aka.ms/azsdk/pr-arm-review.
  • If the PR CI checks appear to be stuck in queued state, please add a comment with contents /azp run.
    This should result in a new comment denoting a PR validation pipeline has started and the checks should be updated after few minutes.
  • If the help provided by the previous points is not enough, post to https://aka.ms/azsdk/support/specreview-channel and link to this PR.

Copy link

openapi-pipeline-app bot commented Mar 5, 2024

Next Steps to Merge

✅ All automated merging requirements have been met! To get your PR merged, see aka.ms/azsdk/specreview/merge.

Copy link

openapi-pipeline-app bot commented Mar 5, 2024

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️❌CredScan: 0 Errors, 0 Warnings failed [Detail]
️❌LintDiff: 2 Errors, 33 Warnings failed [Detail]
Compared specs (v2.2.0) new version base version
package-2023-09-01-preview package-2023-09-01-preview(61d48b9) 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]
EvenSegmentedPathForPutOperation API path with PUT operation defined MUST have even number of segments (i.e. end in {resourceType}/{resourceName} segments).
Location: Oracle.Database/preview/2023-09-01-preview/openapi.json#L896
RPC-Put-V1-02
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Oracle.Database/preview/2023-09-01-preview/openapi.json#L897
RPC-Get-V1-13
⚠️ PageableOperation Based on the response model schema, operation 'CloudExadataInfrastructures_Get' might be pageable. Consider adding the x-ms-pageable extension.
Location: Oracle.Database/preview/2023-09-01-preview/openapi.json#L2146
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L3671
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L3676
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L3914
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L3923
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L3949
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L3958
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L3979
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L3988
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L4156
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L4413
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L4418
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L4834
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L4843
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L4861
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L4870
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L5036
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L5041
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L5046
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L5051
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L5849
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L5866
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L6367
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L6372
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L6377
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L7419
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L7547
⚠️ 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: Oracle.Database/preview/2023-09-01-preview/openapi.json#L7719
️️✔️Avocado succeeded [Detail] [Expand]
Validation passes for Avocado.
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView 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.
️️✔️SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️PR Summary succeeded [Detail] [Expand]
Validation passes for Summary.
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app bot commented Mar 5, 2024

Swagger Generation Artifacts

️❌ApiDocPreview: 1 Errors, 0 Warnings failed [Detail]
Rule Message
RestBuild error "logUrl":"https://apidrop.visualstudio.com/Content%20CI/_build/results?buildId=426343&view=logs&j=fd490c07-0b22-5182-fac9-6d67fe1e939b",
"detail":"Run.ps1 failed with exit code 1 "
️❌ azure-sdk-for-net-track2 failed [Detail]
  • Failed in generating from c07b44ffb2b6fcc7e183369eed1f21543c1e527b. 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
    command	pwsh ./eng/scripts/Invoke-GenerateAndBuildV2.ps1 ../azure-sdk-for-net_tmp/generateInput.json ../azure-sdk-for-net_tmp/generateOutput.json
    cmderr	[Invoke-GenerateAndBuildV2.ps1] GeneratePackage: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  714 |          GeneratePackage -projectFolder $projectFolder -sdkRootPath $s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Failed to build sdk. exit code: False
    cmderr	[Invoke-GenerateAndBuildV2.ps1] GeneratePackage: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  714 |          GeneratePackage -projectFolder $projectFolder -sdkRootPath $s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Failed to packe sdk. exit code: False
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Get-ChildItem: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:807
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  807 |  … rtifacts += Get-ChildItem $artifactsPath -Filter *.nupkg -exclude *.s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Cannot find path
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | '/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/packages/Debug/' because
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | it does not exist.
    cmderr	[Invoke-GenerateAndBuildV2.ps1] GeneratePackage: /mnt/vss/_work/1/s/azure-sdk-for-net/eng/scripts/automation/GenerateAndBuildLib.ps1:714
    cmderr	[Invoke-GenerateAndBuildV2.ps1] Line |
    cmderr	[Invoke-GenerateAndBuildV2.ps1]  714 |          GeneratePackage -projectFolder $projectFolder -sdkRootPath $s …
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    cmderr	[Invoke-GenerateAndBuildV2.ps1]      | Failed to generate sdk artifact
  • Azure.ResourceManager.Oracle [Preview SDK Changes]
    info	[Changelog]
️⚠️ azure-sdk-for-python-track2 warning [Detail]
  • ⚠️Warning in generating from c07b44ffb2b6fcc7e183369eed1f21543c1e527b. 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
    cmderr	[automation_generate.sh] npm notice
    cmderr	[automation_generate.sh] npm notice New minor version of npm available! 10.5.0 -> 10.6.0
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.6.0>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[automation_generate.sh] npm notice
  • ️✔️azure-mgmt-oracledatabase [Preview SDK Changes]
    • azure-mgmt-oracledatabase-1.0.0b1.zip
    • azure_mgmt_oracledatabase-1.0.0b1-py3-none-any.whl
    info	[Changelog]   - Initial Release
️⚠️ azure-sdk-for-java warning [Detail]
  • ⚠️Warning in generating from c07b44ffb2b6fcc7e183369eed1f21543c1e527b. SDK Automation 14.0.0
    command	./eng/mgmt/automation/init.sh ../azure-sdk-for-java_tmp/initInput.json ../azure-sdk-for-java_tmp/initOutput.json
    cmderr	[init.sh]
    cmderr	[init.sh] npm notice New minor version of npm available! 10.5.0 -> 10.6.0
    cmderr	[init.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.6.0>
    cmderr	[init.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[init.sh] npm notice
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
  • ️✔️azure-resourcemanager-oracle [Preview SDK Changes]
    • pom.xml
    • azure-resourcemanager-oracle-1.0.0-beta.1.jar
    • azure-resourcemanager-oracle-1.0.0-beta.1-sources.jar
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from c07b44ffb2b6fcc7e183369eed1f21543c1e527b. 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-Oracle.Database [Preview SDK Changes]
    • azure-arm-Oracle.Database-1.0.0-beta.1.tgz
️❌ azure-resource-manager-schemas failed [Detail]
  • Failed in generating from c07b44ffb2b6fcc7e183369eed1f21543c1e527b. 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]  notice
    cmderr	[initScript.sh] npm notice New minor version of npm available! 10.5.0 -> 10.6.0
    cmderr	[initScript.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.6.0>
    cmderr	[initScript.sh] npm notice Run `npm install -g [email protected]` to update!
    cmderr	[initScript.sh] npm notice
    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
    warn	No file changes detected after generation
  • oracle/resource-manager
️⚠️ azure-powershell warning [Detail]
  • ⚠️Warning in generating from c07b44ffb2b6fcc7e183369eed1f21543c1e527b. 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.oracle.DefaultTag [Preview SDK Changes]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

Hi, @acaicici, our workflow has detected that there is no management SDK ever released for your RP, to further process SDK onboard for your RP, you should have the SDK client library name of your RP reviewed and approved.
Action Required:

  • Follow this guidance Naming for new initial management or client libraries (new SDKs) - Overview (azure.com) to create an issue for management client library name arch board review.
  • Paste the issue link that you created in step 1 in this PR

  • Impact: SDK release owner will take the approved management client library name to release SDK. No client library name approval will leads to SDK release delayed.

    @acaicici acaicici force-pushed the oracle.database/2023-09-01-preview branch from 7aa63ff to 93840b5 Compare March 6, 2024 19:06
    @korser1
    Copy link

    korser1 commented Mar 7, 2024

    you need to fix spell check errors
    use custom-words.txt , not cspell.json

    @tjprescott
    Copy link
    Member

    /azp run Swagger LintDiff

    @v-mmu
    Copy link
    Contributor

    v-mmu commented Apr 24, 2024

    cloudvmclustername

    Unfortunately, I can't rename this. API is already in use.

    @v-mmu
    Copy link
    Contributor

    v-mmu commented Apr 24, 2024

    I see lots of lintdiff warnings about booleans. Please reconsider whether you want to really want to use each boolean property as boolean. Just as a default guidance, Booleans are not something we recommend in Azure APIs unless there's obviously no sensible alternative - because they are less future proof hard to extend in the future

    Those are booleans and we don't anticipate any extension.

    Copy link

    PR validation pipeline can not start as the pull request is not merged or mergeable - most likely it has merge conflicts.

    Copy link

    PR validation pipeline can not start as the pull request is not merged or mergeable - most likely it has merge conflicts.

    @v-mmu
    Copy link
    Contributor

    v-mmu commented Apr 25, 2024

    Context :
    Roopesh Manda ( @rkmanda ) and Sergey @korser1 were previously involved and aggreged the failing LintDiff Errors can be overridden. The API is currently in production and customers are using it. Fixing the LintDiff errors are breaking change.

    Ask to @TimLovellSmith :
    Can you please provide an override for LintDiff failure checks?. If you can’t provide an override, Can you point us to someone who can?.

    API Details:
    URL : /subscriptions/{subscriptionId}/providers/Oracle.Database/oracleSubscriptions/default
    HTTP method affected : PUT, GET(list), and Patch.

    @mikeharder
    Copy link
    Member

    LintDiff failures are due to this tool bug:

    Azure/azure-openapi-validator#646

    @mikeharder
    Copy link
    Member

    @v-mmu: Is your swagger hand-written or generated from TypeSpec? It doesn't contain x-typespec-generated, but I've only seen failures caused by Azure/azure-openapi-validator#646 in TypeSpec-generated swagger.

    @v-mmu
    Copy link
    Contributor

    v-mmu commented Apr 25, 2024

    @v-mmu: Is your swagger hand-written or generated from TypeSpec? It doesn't contain x-typespec-generated, but I've only seen failures caused by Azure/azure-openapi-validator#646 in TypeSpec-generated swagger.

    This is generated from the TypeSpec. But - We are told to suppress it for this release.

    @v-mmu
    Copy link
    Contributor

    v-mmu commented Apr 25, 2024

    @v-mmu: Is your swagger hand-written or generated from TypeSpec? It doesn't contain x-typespec-generated, but I've only seen failures caused by Azure/azure-openapi-validator#646 in TypeSpec-generated swagger.

    Does that mean Lint Check failures can be ignored and ready for merge?.

    @v-mmu
    Copy link
    Contributor

    v-mmu commented Apr 25, 2024

    /pr RequestMerge

    @mikeharder
    Copy link
    Member

    @v-mmu: Is your swagger hand-written or generated from TypeSpec? It doesn't contain x-typespec-generated, but I've only seen failures caused by Azure/azure-openapi-validator#646 in TypeSpec-generated swagger.

    This is generated from the TypeSpec. But - We are told to suppress it for this release.

    I think it would be easier to just add your TypeSpec sources to this PR, but if you have been granted an exception, OK.

    @AzureRestAPISpecReview AzureRestAPISpecReview removed the TypeSpec Authored with TypeSpec label Apr 26, 2024
    @v-mmu
    Copy link
    Contributor

    v-mmu commented Apr 26, 2024

    @TimLovellSmith @ramoka178 - The next step is add "ARMSignedOff" from you/reviewers.

    Please let me know if there is anything else I should do - I requested for a merge.

    @ramoka178 ramoka178 added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Apr 26, 2024
    @openapi-workflow-bot openapi-workflow-bot bot removed the ARMChangesRequested <valid label in PR review process>add this label when require changes after ARM review label Apr 26, 2024
    Copy link
    Contributor

    @ramoka178 ramoka178 left a comment

    Choose a reason for hiding this comment

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

    Approving to merge

    @ramoka178 ramoka178 merged commit 23a5e38 into Azure:main Apr 26, 2024
    28 of 32 checks passed
    @v-mmu
    Copy link
    Contributor

    v-mmu commented Apr 26, 2024

    Thanks @ramoka178 @TimLovellSmith for the help.

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    Approved-LintDiff ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review new-api-version new-rp-namespace resource-manager RPaaS
    Projects
    None yet
    Development

    Successfully merging this pull request may close these issues.

    None yet

    8 participants