Skip to content

In Network Fabric , fabricVersion is made read/write from readonly#25985

Merged
ms-zhenhua merged 1 commit intomainfrom
dev/v-mnali/Making-Fabric-Version-Optional
Oct 12, 2023
Merged

In Network Fabric , fabricVersion is made read/write from readonly#25985
ms-zhenhua merged 1 commit intomainfrom
dev/v-mnali/Making-Fabric-Version-Optional

Conversation

@Mohana-Krishna-Nali
Copy link
Copy Markdown
Contributor

ARM (Control Plane) API Specification Update Pull Request

PR review workflow diagram

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

diagram

[1] ARM review queue (for merge queues, see [4])
The PRs are processed by time opened, ascending. Your PR may show up on 2nd or later page.
If you addressed Step 1 from the diagram and your PR is not showing up in the queue, ensure the label ARMChangesRequested
is removed from your PR. This should cause the label WaitForARMFeedback to be added.
[2] https://aka.ms/azsdk/support/specreview-channel
[3] List of SDK breaking changes approvers in pinned Teams announcement
[4] public repo merge queue, private repo merge queue (for ARM review queue, [1])

If you need further help with anything, see Getting help section below.

Purpose of this PR

What's the purpose of this PR? Check all that apply. This is mandatory!

  • New API version. (Such PR should have been generated with OpenAPI Hub, per this wiki doc.)
  • 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 swagger 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:

Breaking changes review (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.

ARM API changes review (Step 2)

  • If this PR is in purview of ARM review then automation will add the ARMReview label.
  • If you want to force ARM review, add the label yourself.
  • Proceed according to the diagram at the top of this comment.

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
Swagger-Suppression-Process
to get approval.

Getting help

@openapi-pipeline-app
Copy link
Copy Markdown

openapi-pipeline-app bot commented Sep 27, 2023

Next Steps to Merge

✔️ All automated merging requirements have been met! Refer to step 4 in the PR workflow diagram (even if your PR is for data plane, not ARM).

@openapi-pipeline-app
Copy link
Copy Markdown

openapi-pipeline-app bot commented Sep 27, 2023

Swagger Validation Report

️❌BreakingChange: 2 Errors, 0 Warnings failed [Detail]
compared swaggers (via Oad v0.10.4)] new version base version
NetworkFabrics.json 2023-06-15(14298bf) 2023-06-15(main)
Rule Message
1029 - ReadonlyPropertyChanged The read only property has changed from 'true' to 'false'.
New: Microsoft.ManagedNetworkFabric/stable/2023-06-15/NetworkFabrics.json#L1514:9
Old: Microsoft.ManagedNetworkFabric/stable/2023-06-15/NetworkFabrics.json#L1514:9
1036 - ConstraintChanged The new version has a different 'minLength' value than the previous one.
New: Microsoft.ManagedNetworkFabric/stable/2023-06-15/NetworkFabrics.json#L1514:9
Old: Microsoft.ManagedNetworkFabric/stable/2023-06-15/NetworkFabrics.json#L1514:9
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️LintDiff succeeded [Detail] [Expand]
Validation passes for LintDiff.
compared tags (via openapi-validator v2.1.5) new version base version
package-2023-06-15 package-2023-06-15(14298bf) package-2023-06-15(main)
️️✔️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.
️️✔️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).
️️✔️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?

@openapi-pipeline-app
Copy link
Copy Markdown

openapi-pipeline-app bot commented Sep 27, 2023

Swagger Generation Artifacts

️️✔️ApiDocPreview succeeded [Detail] [Expand]
 Please click here to preview with your @microsoft account. 
️️✔️SDK Breaking Change Tracking succeeded [Detail] [Expand]

Breaking Changes Tracking


️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from 622891e. SDK Automation 14.0.0
    command	sh ./eng/scripts/automation_init.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
    command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
  • ️✔️sdk/resourcemanager/managednetworkfabric/armmanagednetworkfabric [View full logs]  [Release SDK Changes] Breaking Change Detected
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog] - Function `*NetworkFabricsClient.BeginUpgrade` parameter(s) have been changed from `(context.Context, string, string, UpdateVersion, *NetworkFabricsClientBeginUpgradeOptions)` to `(context.Context, string, string, UpgradeNetworkFabricProperties, *NetworkFabricsClientBeginUpgradeOptions)`
    info	[Changelog]
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog] - New value `ConfigurationStatePendingCommit`, `ConfigurationStateProvisioning` added to enum type `ConfigurationState`
    info	[Changelog] - New enum type `NetworkFabricUpgradeAction` with values `NetworkFabricUpgradeActionComplete`, `NetworkFabricUpgradeActionStart`
    info	[Changelog] - New struct `UpgradeNetworkFabricProperties`
    info	[Changelog] - New field `DefaultAction` in struct `AccessControlListPatchProperties`
    info	[Changelog] - New field `DefaultAction` in struct `AccessControlListProperties`
    info	[Changelog] - New field `DefaultAction` in struct `RoutePolicyPatchableProperties`
    info	[Changelog] - New field `DefaultAction` in struct `RoutePolicyProperties`
    info	[Changelog]
    info	[Changelog] Total 1 breaking change(s), 11 additive change(s).
️⚠️ azure-sdk-for-java warning [Detail]
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from 622891e. 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-managednetworkfabric [View full logs]  [Release SDK Changes] Breaking Change Detected
    info	[Changelog] **Features**
    info	[Changelog]
    info	[Changelog]   - Added Interface UpgradeNetworkFabricProperties
    info	[Changelog]   - Added Type Alias NetworkFabricUpgradeAction
    info	[Changelog]   - Interface AccessControlList has a new optional parameter defaultAction
    info	[Changelog]   - Interface AccessControlListPatch has a new optional parameter defaultAction
    info	[Changelog]   - Interface AccessControlListPatchableProperties has a new optional parameter defaultAction
    info	[Changelog]   - Interface RoutePolicy has a new optional parameter defaultAction
    info	[Changelog]   - Interface RoutePolicyPatch has a new optional parameter defaultAction
    info	[Changelog]   - Interface RoutePolicyPatchableProperties has a new optional parameter defaultAction
    info	[Changelog]   - Added Enum KnownNetworkFabricUpgradeAction
    info	[Changelog]   - Enum KnownConfigurationState has a new value PendingCommit
    info	[Changelog]   - Enum KnownConfigurationState has a new value Provisioning
    info	[Changelog]
    info	[Changelog] **Breaking Changes**
    info	[Changelog]
    info	[Changelog]   - Operation NetworkFabrics.beginUpgrade has a new signature
    info	[Changelog]   - Operation NetworkFabrics.beginUpgradeAndWait has a new signature
️️✔️ azure-sdk-for-net-track2 succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from 622891e. 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
  • ️✔️Azure.ResourceManager.ManagedNetworkFabric [View full logs]  [Release SDK Changes] Breaking Change Detected
    info	[Changelog] Breaking Changes: /home/cloudtest/.nuget/packages/microsoft.dotnet.apicompat/5.0.0-beta.20467.1/build/Microsoft.DotNet.ApiCompat.targets(96,5): error : ApiCompat failed for '/mnt/vss/_work/1/s/azure-sdk-for-net/artifacts/bin/Azure.ResourceManager.ManagedNetworkFabric/Debug/netstandard2.0/Azure.ResourceManager.ManagedNetworkFabric.dll' [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/managednetworkfabric/Azure.ResourceManager.ManagedNetworkFabric/src/Azure.ResourceManager.ManagedNetworkFabric.csproj::TargetFramework=netstandard2.0]
️⚠️ azure-sdk-for-python-track2 warning [Detail]
  • ⚠️Warning [Logs]Release - Generate from 622891e. 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]
    cmderr	[automation_generate.sh]  New major version of npm available! 9.8.1 -> 10.2.0
    cmderr	[automation_generate.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.0>
    cmderr	[automation_generate.sh] npm notice Run `npm install -g npm@10.2.0` to update!
    cmderr	[automation_generate.sh] npm notice
  • ️✔️track2_azure-mgmt-managednetworkfabric [View full logs]  [Release SDK Changes]
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog]   - Model AccessControlList has a new parameter default_action
    info	[Changelog]   - Model AccessControlListPatch has a new parameter default_action
    info	[Changelog]   - Model AccessControlListPatchProperties has a new parameter default_action
    info	[Changelog]   - Model AccessControlListPatchableProperties has a new parameter default_action
    info	[Changelog]   - Model AccessControlListProperties has a new parameter default_action
    info	[Changelog]   - Model RoutePolicy has a new parameter default_action
    info	[Changelog]   - Model RoutePolicyPatch has a new parameter default_action
    info	[Changelog]   - Model RoutePolicyPatchableProperties has a new parameter default_action
    info	[Changelog]   - Model RoutePolicyProperties has a new parameter default_action
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link
Copy Markdown

openapi-pipeline-app bot commented Sep 27, 2023

Generated ApiView

Language Package Name ApiView Link
Go sdk/resourcemanager/managednetworkfabric/armmanagednetworkfabric https://apiview.dev/Assemblies/Review/13a8471034a34359abd63fb88026a59b
Java azure-resourcemanager-managednetworkfabric https://apiview.dev/Assemblies/Review/7bbe166bfa554517874accbdeeedbd97
.Net Azure.ResourceManager.ManagedNetworkFabric https://apiview.dev/Assemblies/Review/e991929902114aaba33669a8a31afde7
JavaScript @azure/arm-managednetworkfabric https://apiview.dev/Assemblies/Review/1f23a158e83a40f2879ac2ac298f348b

@AzureRestAPISpecReview AzureRestAPISpecReview added ARMChangesRequested ARMReview BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager RPaaS labels Sep 27, 2023
@openapi-workflow-bot
Copy link
Copy Markdown

Please address or respond to feedback from the ARM API reviewer.
When you are ready to continue the ARM API review, please remove the ARMChangesRequested label.
This will notify the reviewer to have another look.
If the feedback provided needs further discussion, please use this Teams channel to post your questions - aka.ms/azsdk/support/specreview-channel.
Please include [ARM Query] in the title of your question to indicate that it is ARM-related.

@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 Oct 3, 2023
@sjanamma sjanamma added the ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review label Oct 6, 2023
@openapi-workflow-bot openapi-workflow-bot bot removed the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Oct 6, 2023
@rsmalipatil
Copy link
Copy Markdown
Member

@rkmanda Could you please approve and merge changes

@rsmalipatil
Copy link
Copy Markdown
Member

/pr RequestMerge

@ms-zhenhua ms-zhenhua merged commit 622891e into main Oct 12, 2023
@ms-zhenhua ms-zhenhua deleted the dev/v-mnali/Making-Fabric-Version-Optional branch October 12, 2023 08:07
@openapi-pipeline-app
Copy link
Copy Markdown

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approved-BreakingChange DO NOT USE! OBSOLETE label. See https://github.com/Azure/azure-sdk-tools/issues/6374 ARMReview ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review BreakingChangeReviewRequired <valid label in PR review process>add this label when breaking change review is required CI-BreakingChange-Go CI-BreakingChange-JavaScript ReadyForApiTest <valid label in PR review process>add this label when swagger and service APIs are ready for test resource-manager RPaaS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants