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

[test report links] Update ApplicationGroups.json #3266

Closed
wants to merge 13 commits into from
Closed

Conversation

JackTn
Copy link

@JackTn JackTn commented Apr 8, 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

If you are in purview of Step 1 of the diagram, follow the Breaking Changes review process.
IMPORTANT! This applies even if you believe your PR was mislabeled, for any reason, including tool failure.

Click here to see the details of Step 2, ARM review

See https://aka.ms/azsdk/pr-arm-review.

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-test bot commented Apr 8, 2024

Next Steps to merge

Next steps that must be taken to merge this PR:
  • ❌ Your PR has at least one breaking change (label: BreakingChangeReviewRequired). See the PR description for help.
  • ❌ The required check named Swagger BreakingChange has failed. Refer to the check in the PR's 'Checks' tab for details on how to fix it. In addition, refer to step 1 in the PR workflow diagram (even if your PR is for data plane, not ARM).

Copy link

openapi-pipeline-app-test bot commented Apr 8, 2024

Swagger Generation Artifacts

️🔄~[NotRequired_Staging] ApiDocPreview inProgress [Detail]
️❌ azure-sdk-for-net-track2 failed [Detail]
  • Failed in generating from acd0d3a8d2bf291789e4d7e1c6281c6753d0865a. 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
    cmdout	[Invoke-GenerateAndBuildV2.ps1] EXEC : error   | error : Plugin prechecker reported failure. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Azure.ResourceManager.EventHubs.csproj]
    cmdout	[Invoke-GenerateAndBuildV2.ps1] EXEC : error   | error : Plugin prechecker reported failure. [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/eventhub/Azure.ResourceManager.EventHubs/src/Azure.ResourceManager.EventHubs.csproj]
  • Azure.ResourceManager.EventHubs [Preview SDK Changes]
    info	[Changelog]
  • Azure.ResourceManager.ServiceLinker [Preview SDK Changes] Breaking Change Detected
    • Azure.ResourceManager.ServiceLinker.1.2.0-alpha.20240422.1.nupkg
    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.ServiceLinker/Debug/netstandard2.0/Azure.ResourceManager.ServiceLinker.dll' [/mnt/vss/_work/1/s/azure-sdk-for-net/sdk/servicelinker/Azure.ResourceManager.ServiceLinker/src/Azure.ResourceManager.ServiceLinker.csproj::TargetFramework=netstandard2.0]
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
️❌ azure-sdk-for-python failed [Detail]
  • Code Generator Failed in generating from acd0d3a8d2bf291789e4d7e1c6281c6753d0865a. 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
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
    error	Script return with result [failed] code [1] signal [null] cwd [azure-sdk-for-python]: sh scripts/automation_generate.sh
    warn	Skip package processing as generation is failed
️⚠️ azure-sdk-for-java warning [Detail]
  • ⚠️Warning in generating from acd0d3a8d2bf291789e4d7e1c6281c6753d0865a. 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
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
  • ️✔️azure-resourcemanager-eventhubs-generated [Preview SDK Changes]
    • pom.xml
    • azure-resourcemanager-eventhubs-generated-1.0.0-beta.1-sources.jar
    • azure-resourcemanager-eventhubs-generated-1.0.0-beta.1.jar
  • ️✔️azure-resourcemanager-servicelinker [Preview SDK Changes]
    • pom.xml
    • azure-resourcemanager-servicelinker-1.0.0-beta.3.jar
    • azure-resourcemanager-servicelinker-1.0.0-beta.3-sources.jar
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from acd0d3a8d2bf291789e4d7e1c6281c6753d0865a. 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/eventhub/armeventhub [Preview SDK Changes]
  • ️✔️sdk/resourcemanager/servicelinker/armservicelinker [Preview SDK Changes] Breaking Change Detected
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog] - Type of `ErrorAdditionalInfo.Info` has been changed from `any` to `interface{}`
    info	[Changelog] - Function `NewClientFactory` has been removed
    info	[Changelog] - Function `*ClientFactory.NewLinkerClient` has been removed
    info	[Changelog] - Function `*ClientFactory.NewOperationsClient` has been removed
    info	[Changelog] - Function `*LinkerClient.BeginDelete` has been removed
    info	[Changelog] - Function `dateTimeRFC3339.MarshalText` has been removed
    info	[Changelog] - Function `*dateTimeRFC3339.Parse` has been removed
    info	[Changelog] - Function `*dateTimeRFC3339.UnmarshalText` has been removed
    info	[Changelog] - Struct `ClientFactory` has been removed
    info	[Changelog] - Struct `LinkerClientDeleteResponse` has been removed
    info	[Changelog]
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog] - New value `ClientTypeKafkaSpringBoot` added to type alias `ClientType`
    info	[Changelog] - New function `timeRFC3339.MarshalText() ([]byte, error)`
    info	[Changelog] - New function `*timeRFC3339.Parse(string) error`
    info	[Changelog] - New function `*timeRFC3339.UnmarshalText([]byte) error`
    info	[Changelog]
    info	[Changelog] Total 12 breaking change(s), 4 additive change(s).
    Present SDK breaking changes suppressions
    Function `*LinkerClient.BeginDelete` has been removed
    Absent SDK breaking changes suppressions
    - Function `*ClientFactory.NewLinkerClient` has been removed
    - Function `*ClientFactory.NewOperationsClient` has been removed
    - Function `*dateTimeRFC3339.Parse` has been removed
    - Function `*dateTimeRFC3339.UnmarshalText` has been removed
    - Function `NewClientFactory` has been removed
    - Function `dateTimeRFC3339.MarshalText` has been removed
    - Struct `ClientFactory` has been removed
    - Struct `LinkerClientDeleteResponse` has been removed
    - Type of `ErrorAdditionalInfo.Info` has been changed from `any` to `interface{}`
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
️❌ azure-sdk-for-js failed [Detail]
  • Failed in generating from acd0d3a8d2bf291789e4d7e1c6281c6753d0865a. 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-eventhub [Preview SDK Changes]
    info	[Changelog]
    error	breakingChangeTracking is enabled, but version or changelogItem is not found in output.
  • ️✔️@azure/arm-servicelinker [Preview SDK Changes] Breaking Change Detected
    • azure-arm-servicelinker-3.0.0.tgz
    info	[Changelog] **Features**
    info	[Changelog]
    info	[Changelog]   - Enum KnownClientType has a new value KafkaSpringBoot
    info	[Changelog]
    info	[Changelog] **Breaking Changes**
    info	[Changelog]
    info	[Changelog]   - Removed operation Linker.beginDelete
    info	[Changelog]   - Removed operation Linker.beginDeleteAndWait
    Present SDK breaking changes suppressions
    Removed operation Linker.beginDelete
    Removed operation Linker.beginDeleteAndWait
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
️⚠️ azure-resource-manager-schemas warning [Detail]
  • ⚠️Warning in generating from acd0d3a8d2bf291789e4d7e1c6281c6753d0865a. Schema Automation 14.0.0
    command	.sdkauto/initScript.sh ../azure-resource-manager-schemas_tmp/initInput.json ../azure-resource-manager-schemas_tmp/initOutput.json
    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
  • ️✔️eventhub [Preview Schema Changes]
  • ️✔️servicelinker
️️✔️ azure-powershell succeeded [Detail] [Expand]
  • ️✔️Succeeded in generating from acd0d3a8d2bf291789e4d7e1c6281c6753d0865a. 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.eventhub.DefaultTag [Preview SDK Changes]
    • Az.EventHub.0.1.0.nupkg
  • ️✔️Az.servicelinker.DefaultTag [Preview SDK Changes]
    • Az.ServiceLinker.0.1.0.nupkg
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app-test bot commented Apr 8, 2024

Generated ApiView

Language Package Name ApiView Link
Go sdk/resourcemanager/eventhub/armeventhub https://apiviewstagingtest.com/Assemblies/Review/b041e775ab5445e68d90ecb7b7e25d06?revisionId=4b5ccc59ffd248d78e32311db5281b4c
Go sdk/resourcemanager/servicelinker/armservicelinker https://apiviewstagingtest.com/Assemblies/Review/fb7daf166c4d4eb3a68a5c1d173914f0?revisionId=225195c9a6b84126a4dc572cf9e019b6
Java azure-resourcemanager-eventhubs-generated Create ApiView failed. To get help, please see [aka.ms/azsdk/pr-getting-help](https://aka.ms/azsdk/pr-getting-help).
.Net Azure.ResourceManager.ServiceLinker Create ApiView failed. To get help, please see [aka.ms/azsdk/pr-getting-help](https://aka.ms/azsdk/pr-getting-help).
JavaScript @azure/arm-servicelinker Create ApiView failed. To get help, please see [aka.ms/azsdk/pr-getting-help](https://aka.ms/azsdk/pr-getting-help).
Java azure-resourcemanager-servicelinker https://apiviewstagingtest.com/Assemblies/Review/2770deb6f6fe4cbca725afdef003328d?revisionId=5b1a237beb3f45c0803f426f9fe6f10d
Swagger Microsoft.EventHub Create ApiView failed. To get help, please see [aka.ms/azsdk/pr-getting-help](https://aka.ms/azsdk/pr-getting-help).
Swagger Microsoft.ServiceLinker https://apiviewstagingtest.com/Assemblies/Review/0f22d5ccf4be40f9abfc7c0cc2e1bbea?revisionId=c97db50e8d024f6d82618532e3a08fa4

Copy link

openapi-pipeline-app-test bot commented Apr 8, 2024

Swagger Validation Report

️⌛ArmstrongValidation pending [Detail]
️❌BreakingChange: 3 Errors, 0 Warnings failed [Detail]
Compared specs (v0.10.7) new version base version
ApplicationGroups.json 2024-01-01(122cdbd) 2024-01-01(main)
servicelinker.json 2022-05-01(122cdbd) 2022-05-01(main)
Rule Message
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventHub/namespaces/{namespaceName}/applicationGroups' removed or restructured?
Old: Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json#L37:5
1035 - RemovedOperation The new version is missing an operation that was found in the old version. Was operationId 'Linker_Delete' removed or restructured?
New: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L74:5
Old: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L74:5
Runtime Exception "new":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/122cdbd77c4d5987f7938674a60b03a5f66212e0/specificationRepositoryConfiguration.json",
"old":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/main/specificationRepositoryConfiguration.json",
"details":"Breaking change detector (OAD) invoked AutoRest. AutoRest threw a runtime error. First 20 lines of stack trace follow,
indexed. First line should contain AutoRest command line invocation details. Remaining lines should contain the main message reported by AutoRest.
====================
1: Command failed: node "/mnt/vss/_work/_tasks/AzureApiValidationTest_1a18ed4f-f3bf-4f34-9fed-13cb57bd2410/0.0.427/common/temp/node_modules/.pnpm/@Azure[email protected]/node_modules/autorest/dist/app.js" --v2 --input-file=/mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specificationRepositoryConfiguration.json --output-artifact=swagger-document.json --output-artifact=swagger-document.map --output-file=old --output-folder=/tmp/oad-gk69pC
2: FATAL: swagger-document/loader - FAILED
3: FATAL: Error: File 'file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specificationRepositoryConfiguration.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')
4: Error: File 'file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specificationRepositoryConfiguration.json' is not a valid OpenAPI 2.0 definition (expected 'swagger: 2.0')"
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️❌LintDiff: 1 Errors, 2 Warnings failed [Detail]
Compared specs (v2.2.0) new version base version
package-2022-05-01 package-2022-05-01(122cdbd) package-2022-05-01(main)
package-2024-01 package-2024-01(122cdbd) package-2024-01(main)

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

Rule Message Related RPC [For API reviewers]
NestedResourcesMustHaveListOperation The nested resource 'ApplicationGroup' does not have list operation, please add it.
Location: Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json#L198
⚠️ MissingSegmentsInNestedResourceListOperation A nested resource type's List operation must include all the parent segments in its api path.
Location: Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json#L37
RPC-Get-V1-11
⚠️ AllProxyResourcesShouldHaveDelete The resource LinkerResource does not have a corresponding delete operation.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L693
RPC-Delete-V1-05


The following errors/warnings exist before current PR submission:

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

Rule Message
ResourceNameRestriction The resource name parameter 'linkerName' should be defined with a 'pattern' restriction.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L74
PatchResponseCodes Long-running PATCH operations must have responses with 200, 202 and default return codes. They also must not have other response codes.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L168
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:type.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L198
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:authType.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L198
LroPatch202 The async patch operation should return 202.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L203
ResourceNameRestriction The resource name parameter 'linkerName' should be defined with a 'pattern' restriction.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L225
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L259
ResourceNameRestriction The resource name parameter 'linkerName' should be defined with a 'pattern' restriction.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L271
⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ApplicationGroupModel'. Consider using the plural form of 'ApplicationGroup' 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.EventHub/stable/2024-01-01/ApplicationGroups.json#L42
⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.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 'ApplicationGroupModel'. Consider using the plural form of 'ApplicationGroup' 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.EventHub/stable/2024-01-01/ApplicationGroups.json#L95
⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json#L102
⚠️ OperationIdNounConflictingModelNames OperationId has a noun that conflicts with one of the model names in definitions section. The model name will be disambiguated to 'ApplicationGroupModel'. Consider using the plural form of 'ApplicationGroup' 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.EventHub/stable/2024-01-01/ApplicationGroups.json#L138
⚠️ ParameterNotDefinedInGlobalParameters Parameter 'api-version' is referenced but not defined in the global parameters section of Service Definition
Location: Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json#L145
⚠️ 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: Microsoft.EventHub/stable/2024-01-01/ApplicationGroups.json#L205
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L52
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L65
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L88
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L104
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L132
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L163
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L188
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L219
⚠️ PostOperationIdContainsUrlVerb OperationId should contain the verb: 'validatelinker' in:'Linker_Validate'. Consider updating the operationId
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L230
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L246
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L265
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L288
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L304
⚠️ UniqueXmsExample Do not have duplicate name of x-ms-example, make sure every x-ms-example name unique. Duplicate x-ms-example: GetConfiguration
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L317
⚠️ LatestVersionOfCommonTypesMustBeUsed Use the latest version v5 of types.json.
Location: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L324
️️✔️~[NotRequired_Staging] Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️❌SwaggerAPIView: 0 Errors, 0 Warnings failed [Detail]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️❌Avocado: 2 Errors, 0 Warnings failed [Detail]
Rule Message
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/eventhub/resource-manager/readme.md
json: 2024-01-01/examples/ApplicationGroup/ApplicationGroupListByNamespace.json
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/servicelinker/resource-manager/readme.md
json: stable/2022-05-01/examples/DeleteLink.json
️❌ModelValidation: 4 Errors, 0 Warnings failed [Detail]
Rule Message
MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
Url: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L693:23
ExampleUrl: stable/2022-05-01/examples/PutLink.json#L25:15
MISSING_RESOURCE_ID id is required to return in response of GET/PUT resource calls but not being provided
Url: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L693:23
ExampleUrl: stable/2022-05-01/examples/PutLink.json#L41:15
LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
Url: Microsoft.ServiceLinker/stable/2022-05-01/servicelinker.json#L252:22
ExampleUrl: stable/2022-05-01/examples/ValidateLinkSuccess.json
unacceptable kind of an object to dump [object Error] "role":"Model Validation",
"url":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/122cdbd77c4d5987f7938674a60b03a5f66212e0/specificationRepositoryConfiguration.json"
️❌SemanticValidation: 8 Errors, 0 Warnings failed [Detail]
Rule Message
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: swagger
JsonUrl: azure-rest-api-specs/blob/122cdbd77c4d5987f7938674a60b03a5f66212e0/specificationRepositoryConfiguration.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: info
JsonUrl: azure-rest-api-specs/blob/122cdbd77c4d5987f7938674a60b03a5f66212e0/specificationRepositoryConfiguration.json
OBJECT_MISSING_REQUIRED_PROPERTY Missing required property: paths
JsonUrl: azure-rest-api-specs/blob/122cdbd77c4d5987f7938674a60b03a5f66212e0/specificationRepositoryConfiguration.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: $schema
JsonUrl: azure-rest-api-specs/blob/122cdbd77c4d5987f7938674a60b03a5f66212e0/specificationRepositoryConfiguration.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: pipelineName
JsonUrl: azure-rest-api-specs/blob/122cdbd77c4d5987f7938674a60b03a5f66212e0/specificationRepositoryConfiguration.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: sdkRepositoryMappings
JsonUrl: azure-rest-api-specs/blob/122cdbd77c4d5987f7938674a60b03a5f66212e0/specificationRepositoryConfiguration.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: overrides
JsonUrl: azure-rest-api-specs/blob/122cdbd77c4d5987f7938674a60b03a5f66212e0/specificationRepositoryConfiguration.json
OBJECT_ADDITIONAL_PROPERTIES Additional properties not allowed: typespecEmitterToSdkRepositoryMapping
JsonUrl: azure-rest-api-specs/blob/122cdbd77c4d5987f7938674a60b03a5f66212e0/specificationRepositoryConfiguration.json
️️✔️~[NotRequired_Staging] SpellCheck succeeded [Detail] [Expand]
Validation passes for SpellCheck.
️️✔️PR Summary succeeded [Detail] [Expand]
️️✔️Automated merging requirements met succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

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.

@JackTn
Copy link
Author

JackTn commented Apr 22, 2024

/azp run

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

Pull request contains merge conflicts.

@JackTn JackTn closed this Oct 25, 2024
@JackTn JackTn deleted the JackTn-patch-13 branch October 25, 2024 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants