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 delete call portal api #3389

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

test delete call portal api #3389

wants to merge 8 commits into from

Conversation

JackTn
Copy link

@JackTn JackTn commented Jul 1, 2024

Choose a PR Template

Switch to "Preview" on this description then select one of the choices below.

Click here to open a PR for a Data Plane API.

Click here to open a PR for a Control Plane (ARM) API.

Copy link

openapi-pipeline-app-test bot commented Jul 1, 2024

Next Steps to Merge

Next steps that must be taken to merge this PR:
  • ❌ This PR is in purview of the ARM review (label: ARMReview). This PR must get ARMSignedOff label from an ARM reviewer.
    This PR is not ready for ARM review (label: NotReadyForARMReview). This PR will not be reviewed by ARM until relevant problems are fixed. Consult the rest of this Next Steps to Merge comment for details.
    Once the blocking problems are addressed, add to the PR a comment with contents /azp run. Automation will re-evaluate this PR and if everything looks good, it will add WaitForARMFeedback label which will put this PR on the ARM review queue.
    For details of the ARM review, see aka.ms/azsdk/pr-arm-review
  • ❌ This PR is NotReadyForARMReview because it has the BreakingChangeReviewRequired label.
  • ❌ This PR has at least one breaking change (label: BreakingChangeReviewRequired).
    To unblock this PR, follow the process at aka.ms/brch.
  • ❌ The required check named Swagger BreakingChange has failed. To unblock this PR, follow the process at aka.ms/brch.

Copy link

openapi-pipeline-app-test bot commented Jul 1, 2024

Swagger Generation Artifacts

️🔄[ignore this check status; not blocking PR merge] ApiDocPreview inProgress [Detail]
️🔄 azure-sdk-for-net-track2 inProgress [Detail]
️🔄 azure-sdk-for-python inProgress [Detail]
️️✔️ azure-sdk-for-java succeeded [Detail] [Expand]
    For more instructions, please refer to the FAQ .
  • ️✔️Succeeded in generating from d4bf7269c772a65dfc6e53043152c6719b09f60e. 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
    cmdout	[init.sh] Installing collected packages: wheel
    cmdout	[init.sh] [notice] A new release of pip is available: 24.0 -> 24.1.1
    cmdout	[init.sh] [notice] To update, run: pip install --upgrade pip
    cmdout	[init.sh] Installing collected packages: urllib3, PyYAML, idna, charset-normalizer, certifi, requests
    cmdout	[init.sh] [notice] A new release of pip is available: 24.0 -> 24.1.1
    cmdout	[init.sh] [notice] To update, run: pip install --upgrade pip
    command	./eng/mgmt/automation/generate.py ../azure-sdk-for-java_tmp/generateInput.json ../azure-sdk-for-java_tmp/generateOutput.json
  • ️✔️azure-resourcemanager-datafactory [Preview SDK Changes] Breaking Change Detected
    Only showing 120 items here. Refer to log for details.
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog]
    info	[Changelog] #### `models.AzureMySqlSink` was modified
    info	[Changelog]
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog]
    info	[Changelog] #### `models.GetSsisObjectMetadataRequest` was modified
    info	[Changelog]
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog]
    info	[Changelog] #### `models.Office365LinkedService` was modified
    info	[Changelog]
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog]
    info	[Changelog] #### `models.XmlReadSettings` was modified
    info	[Changelog]
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog]
    info	[Changelog] #### `models.MapperTableSchema` was modified
    info	[Changelog]
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog]
    info	[Changelog] #### `models.EloquaSource` was modified
    info	[Changelog]
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog]
    info	[Changelog] #### `models.AzureDataLakeStoreSink` was modified
    info	[Changelog]
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog]
    info	[Changelog] #### `models.AvroWriteSettings` was modified
    info	[Changelog]
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog]
    info	[Changelog] #### `models.TriggerPipelineReference` was modified
    info	[Changelog]
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog]
    info	[Changelog] #### `models.ChainingTrigger` was modified
    info	[Changelog]
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog] * `runtimeState()` was added
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog]
    info	[Changelog] #### `models.AmazonRdsForSqlServerLinkedService` was modified
    info	[Changelog]
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog]
    info	[Changelog] #### `models.ActivityRun` was modified
    info	[Changelog]
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog]
    info	[Changelog] #### `models.WebLinkedService` was modified
    info	[Changelog]
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog]
    info	[Changelog] #### `models.MapperPolicyRecurrence` was modified
    info	[Changelog]
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog]
    info	[Changelog] #### `models.CredentialReference` was modified
    info	[Changelog]
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog]
    info	[Changelog] #### `models.ZendeskLinkedService` was modified
    info	[Changelog]
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog]
    info	[Changelog] #### `models.MarketoLinkedService` was modified
    info	[Changelog]
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog]
    info	[Changelog] #### `models.ShopifySource` was modified
    info	[Changelog]
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog]
    info	[Changelog] #### `models.CustomActivityReferenceObject` was modified
    info	[Changelog]
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog]
    info	[Changelog] #### `models.GoogleBigQueryV2ObjectDataset` was modified
    info	[Changelog]
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog]
    info	[Changelog] #### `models.DynamicsAXSource` was modified
    info	[Changelog]
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog]
    info	[Changelog] #### `models.RunFilterParameters` was modified
    info	[Changelog]
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog]
    info	[Changelog] #### `models.IntegrationRuntimeCustomSetupScriptProperties` was modified
    info	[Changelog]
    info	[Changelog] * `toJson(com.azure.json.JsonWriter)` was added
    info	[Changelog] * `fromJson(com.azure.json.JsonReader)` was added
    info	[Changelog]
    info	[Changelog]
    Please refer to the guidance for suppressing SDK breaking changes.
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
    For more instructions, please refer to the FAQ .
  • ️✔️Succeeded in generating from d4bf7269c772a65dfc6e53043152c6719b09f60e. 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/datafactory/armdatafactory [Preview SDK Changes] Breaking Change Detected
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog] - Function `*ClientFactory.NewOperationsClient` has been removed
    info	[Changelog] - Function `NewOperationsClient` has been removed
    info	[Changelog] - Function `*OperationsClient.NewListPager` has been removed
    info	[Changelog] - Struct `Operation` has been removed
    info	[Changelog] - Struct `OperationDisplay` has been removed
    info	[Changelog] - Struct `OperationListResponse` has been removed
    info	[Changelog] - Struct `OperationLogSpecification` has been removed
    info	[Changelog] - Struct `OperationMetricAvailability` has been removed
    info	[Changelog] - Struct `OperationMetricDimension` has been removed
    info	[Changelog] - Struct `OperationMetricSpecification` has been removed
    info	[Changelog] - Struct `OperationProperties` has been removed
    info	[Changelog] - Struct `OperationServiceSpecification` has been removed
    info	[Changelog]
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog] - New value `SQLServerAuthenticationTypeUserAssignedManagedIdentity` added to enum type `SQLServerAuthenticationType`
    info	[Changelog] - New struct `ContinuationSettingsReference`
    info	[Changelog] - New field `ContinuationSettings` in struct `ExecuteDataFlowActivityTypeProperties`
    info	[Changelog] - New field `ContinuationSettings` in struct `ExecutePowerQueryActivityTypeProperties`
    info	[Changelog] - New field `Credential` in struct `SQLServerLinkedServiceTypeProperties`
    info	[Changelog] - New field `StorageIntegration` in struct `SnowflakeExportCopyCommand`
    info	[Changelog] - New field `StorageIntegration` in struct `SnowflakeImportCopyCommand`
    info	[Changelog]
    info	[Changelog] Total 21 breaking change(s), 8 additive change(s).
    Present SDK breaking changes suppressions
    Enum `ScriptType` has been removed
    Field `Operator` of struct `ExpressionV2` has been removed
    Absent SDK breaking changes suppressions
    - Function `*ClientFactory.NewOperationsClient` has been removed
    - Function `*OperationsClient.NewListPager` has been removed
    - Function `NewOperationsClient` has been removed
    - Struct `OperationDisplay` has been removed
    - Struct `OperationListResponse` has been removed
    - Struct `OperationLogSpecification` has been removed
    - Struct `OperationMetricAvailability` has been removed
    - Struct `OperationMetricDimension` has been removed
    - Struct `OperationMetricSpecification` has been removed
    - Struct `OperationProperties` has been removed
    - Struct `OperationServiceSpecification` has been removed
    - Struct `Operation` has been removed
    Please refer to the guidance for suppressing SDK breaking changes.
️❌ azure-sdk-for-js failed [Detail]
    For more instructions, please refer to the FAQ .
  • Failed in generating from d4bf7269c772a65dfc6e53043152c6719b09f60e. 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
    cmderr	[automation_init.sh] npm notice
    cmderr	[automation_init.sh] npm notice New minor version of npm available! 10.7.0 -> 10.8.1
    cmderr	[automation_init.sh] npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
    cmderr	[automation_init.sh] npm notice To update run: npm install -g npm@10.8.1
    cmderr	[automation_init.sh] npm notice
    warn	Warning: File azure-sdk-for-js_tmp/initOutput.json not found to read. Please re-run the pipeline if the error is transitient error or report this issue through https://aka.ms/azsdk/support/specreview-channel.
    command	sh .scripts/automation_generate.sh ../azure-sdk-for-js_tmp/generateInput.json ../azure-sdk-for-js_tmp/generateOutput.json
    cmdout	[automation_generate.sh] These operations completed successfully:
    cmdout	[automation_generate.sh] npm notice package: @azure-tools/vite-plugin-browser-test-map@1.0.0
    cmdout	[automation_generate.sh] npm notice package size:  2.0 kB
    cmdout	[automation_generate.sh] npm notice package: @azure/eslint-plugin-azure-sdk@3.0.0
    cmdout	[automation_generate.sh] npm notice package size:  42.3 kB
    cmdout	[automation_generate.sh] npm notice package: @azure/dev-tool@1.0.0
    cmdout	[automation_generate.sh] npm notice package size:  101.9 kB
    cmdout	[automation_generate.sh] npm notice package size:  6.4 kB
    cmdout	[automation_generate.sh] npm notice package: @azure/core-xml@1.4.3
    cmdout	[automation_generate.sh] npm notice package size:  14.7 kB
    cmdout	[automation_generate.sh] npm notice package: @azure/logger@1.1.3
    cmdout	[automation_generate.sh] npm notice package size:  15.4 kB
    cmdout	[automation_generate.sh] npm notice package: @azure/core-paging@1.6.3
    cmdout	[automation_generate.sh] npm notice package size:  9.4 kB
    cmdout	[automation_generate.sh] npm notice package: @azure/core-util@1.9.1
    cmdout	[automation_generate.sh] npm notice package size:  31.4 kB
    cmdout	[automation_generate.sh] npm notice package: @azure/core-auth@1.7.3
    cmdout	[automation_generate.sh] npm notice package size:  14.9 kB
    cmdout	[automation_generate.sh] npm notice package: @azure/core-tracing@1.1.3
    cmdout	[automation_generate.sh] npm notice package size:  21.5 kB
    cmdout	[automation_generate.sh] npm notice package: @azure/core-rest-pipeline@1.16.2
    cmdout	[automation_generate.sh] npm notice package size:  179.3 kB
    cmdout	[automation_generate.sh] npm notice package: @azure-tools/test-utils@1.0.3
    cmdout	[automation_generate.sh] npm notice package size:  64.4 kB
    cmdout	[automation_generate.sh] npm notice package size:  173.8 kB
    cmdout	[automation_generate.sh] npm notice package: @azure/identity@4.3.1
    cmdout	[automation_generate.sh] npm notice package size:  319.0 kB
    cmdout	[automation_generate.sh] npm notice package: @azure/arm-datafactory@17.0.0
    cmdout	[automation_generate.sh] npm notice package size:  797.1 kB
    cmdout	[automation_generate.sh] These operations completed successfully:
    warn	Warning: Package processing is skipped as the SDK generation fails. Please look into the above generation errors or report this issue through https://aka.ms/azsdk/support/specreview-channel.
️❌ azure-resource-manager-schemas failed [Detail]
    For more instructions, please refer to the FAQ .
  • Code Generator Failed in generating from d4bf7269c772a65dfc6e53043152c6719b09f60e. 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] Submodule 'bicep-types-az' (https://github.com/Azure/bicep-types-az) registered for path 'bicep-types-az'
    cmderr	[initScript.sh] Cloning into '/mnt/vss/_work/1/s/azure-resource-manager-schemas/bicep-types-az'...
    cmderr	[initScript.sh] Submodule 'bicep-types' (https://github.com/Azure/bicep-types) registered for path 'bicep-types-az/bicep-types'
    cmderr	[initScript.sh] Cloning into '/mnt/vss/_work/1/s/azure-resource-manager-schemas/bicep-types-az/bicep-types'...
    cmderr	[initScript.sh] npm notice
    cmderr	[initScript.sh] npm notice New minor version of npm available! 10.7.0 -> 10.8.1
    cmderr	[initScript.sh] npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.8.1
    cmderr	[initScript.sh] npm notice To update run: npm install -g npm@10.8.1
    cmderr	[initScript.sh] npm notice
    error	Script return with result [failed] code [1] signal [null] cwd [azure-resource-manager-schemas]: .sdkauto/initScript.sh
    warn	Warning: File azure-resource-manager-schemas_tmp/initOutput.json not found to read. Please re-run the pipeline if the error is transitient error or report this issue through https://aka.ms/azsdk/support/specreview-channel.
    command	.sdkauto/generateScript.sh ../azure-resource-manager-schemas_tmp/generateInput.json ../azure-resource-manager-schemas_tmp/generateOutput.json
    cmderr	[generateScript.sh] /mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:500
    cmderr	[generateScript.sh]     return new TSError(diagnosticText, diagnosticCodes)
    cmderr	[generateScript.sh]            ^
    cmderr	[generateScript.sh] TSError: ⨯ Unable to compile TypeScript:
    cmderr	[generateScript.sh] cmd/generateall.ts(6,20): error TS2307: Cannot find module 'colors' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(10,19): error TS2307: Cannot find module 'yargs' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(11,18): error TS2307: Cannot find module 'path' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(13,35): error TS2307: Cannot find module 'fs' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(14,23): error TS2307: Cannot find module 'strip-ansi' or its corresponding type declarations.
    cmderr	[generateScript.sh] cmd/generateall.ts(42,9): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(53,9): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(69,67): error TS7006: Parameter 'x' implicitly has an 'any' type.
    cmderr	[generateScript.sh] cmd/generateall.ts(70,49): error TS7006: Parameter 'f' implicitly has an 'any' type.
    cmderr	[generateScript.sh] cmd/generateall.ts(94,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(105,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(106,21): error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'.
    cmderr	[generateScript.sh] cmd/generateall.ts(157,13): error TS2591: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig.
    cmderr	[generateScript.sh]     at createTSError (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:500:12)
    cmderr	[generateScript.sh]     at reportTSError (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:504:19)
    cmderr	[generateScript.sh]     at getOutput (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:739:36)
    cmderr	[generateScript.sh]     at Object.compile (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:955:32)
    cmderr	[generateScript.sh]     at Module.m._compile (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:1043:43)
    cmderr	[generateScript.sh]     at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
    cmderr	[generateScript.sh]     at Object.require.extensions.<computed> [as .ts] (/mnt/vss/_work/1/a/unified-pipeline-runtime/common/temp/node_modules/.pnpm/ts-node@9.0.0_typescript@5.3.3/node_modules/ts-node/src/index.ts:1046:12)
    cmderr	[generateScript.sh]     at Module.load (node:internal/modules/cjs/loader:1203:32)
    cmderr	[generateScript.sh]     at Function.Module._load (node:internal/modules/cjs/loader:1019:12)
    cmderr	[generateScript.sh]     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
    error	Script return with result [failed] code [1] signal [null] cwd [azure-resource-manager-schemas]: .sdkauto/generateScript.sh
    warn	Warning: Package processing is skipped as the SDK generation fails. Please look into the above generation errors or report this issue through https://aka.ms/azsdk/support/specreview-channel.
️⚠️ azure-powershell warning [Detail]
    For more instructions, please refer to the FAQ .
  • ⚠️Warning in generating from d4bf7269c772a65dfc6e53043152c6719b09f60e. 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.datafactory.DefaultTag [Preview SDK Changes]
Posted by Swagger Pipeline | How to fix these errors?

Copy link

openapi-pipeline-app-test bot commented Jul 1, 2024

Generated ApiView

Language Package Name ApiView Link
Go sdk/resourcemanager/datafactory/armdatafactory Create ApiView failed. To get help, please see [aka.ms/azsdk/pr-getting-help](https://aka.ms/azsdk/pr-getting-help).
Java azure-resourcemanager-datafactory Create ApiView failed. To get help, please see [aka.ms/azsdk/pr-getting-help](https://aka.ms/azsdk/pr-getting-help).
Swagger Microsoft.DataFactory https://apiviewstagingtest.com/Assemblies/Review/5df2d21745354afaabd4faab78e3eda2?revisionId=f12d1507684e46b8b798d375373e6ebe

Copy link

openapi-pipeline-app-test bot commented Jul 1, 2024

Swagger Validation Report

️❌BreakingChange: 1 Errors, 0 Warnings failed [Detail]
Compared specs (v0.10.12) new version base version
datafactory.json 2018-06-01(937013f) 2018-06-01(main)
Rule Message
1005 - RemovedPath The new version is missing a path that was found in the old version. Was path '/providers/Microsoft.DataFactory/operations' removed or restructured?
Old: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L36:5
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️❌LintDiff: 1 Errors, 0 Warnings failed [Detail]
Compared specs (v2.2.2) new version base version
package-2018-06 package-2018-06(937013f) package-2018-06(main)

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

Rule Message Related RPC [For API reviewers]
OperationsAPIImplementation Operations API must be implemented for 'Microsoft.DataFactory'.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1


The following errors/warnings exist before current PR submission:

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

Rule Message
PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L316
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:type.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L401
GetResponseCodes GET operation must have response codes 200 and default. In addition, can have 202 if the GET represents the location header polling url.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L421
NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L460
PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L660
GetResponseCodes GET operation must have response codes 200 and default. In addition, can have 202 if the GET represents the location header polling url.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L719
NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L761
ConsistentPatchProperties The property 'autoUpdate' in the request body either not apppear in the resource model or has the wrong level.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L804
ConsistentPatchProperties The property 'updateDelayOffset' in the request body either not apppear in the resource model or has the wrong level.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L804
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L914
GetCollectionOnlyHasValueAndNextLink Get endpoints for collections of resources must only have the value and nextLink properties in their model.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L945
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1139
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1145
PostResponseCodes 200 return code does not have a schema specified. LRO POST must have a 200 return code if only if the final response is intended to have a schema, if not the 200 return code must not be specified.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1152
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1185
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1191
OperationIdNounVerb Per the Noun_Verb convention for Operation Ids, the noun 'IntegrationRuntimes' should not appear after the underscore. Note: If you have already shipped an SDK on top of this spec, fixing this warning may introduce a breaking change.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1382
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1468
LroErrorContent Error response content of long running operations must follow the error schema provided in the common types v2 and above.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1474
PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1777
GetResponseCodes GET operation must have response codes 200 and default. In addition, can have 202 if the GET represents the location header polling url.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1839
NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1881
PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1982
GetResponseCodes GET operation must have response codes 200 and default. In addition, can have 202 if the GET represents the location header polling url.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L2044
NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L2086
PutResponseCodes Synchronous and long-running PUT operations must have responses with 200, 201 and default return codes. They also must not have other response codes.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L2187
GetResponseCodes GET operation must have response codes 200 and default. In addition, can have 202 if the GET represents the location header polling url.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L2249
NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L2291
ParametersInPost referencePipelineRunId is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L2358
ParametersInPost isRecovery is a query parameter. Post operation must not contain any query parameter other than api-version.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L2358
️️✔️[ignore this check status; not blocking PR merge] Lint(RPaaS) succeeded [Detail] [Expand]
Validation passes for Lint(RPaaS).
️️✔️SwaggerAPIView succeeded [Detail] [Expand]
️️✔️TypeSpecAPIView succeeded [Detail] [Expand]
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
️️✔️PoliCheck succeeded [Detail] [Expand]
Validation passed for PoliCheck.
️❌Avocado: 1 Errors, 0 Warnings failed [Detail]
Rule Message
UNREFERENCED_JSON_FILE The example JSON file is not referenced from the swagger file.
readme: specification/datafactory/resource-manager/readme.md
json: stable/2018-06-01/examples/Operations_List.json
️❌ModelValidation: 83 Errors, 0 Warnings failed [Detail]

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

Rule Message
LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1132:22
ExampleUrl: stable/2018-06-01/examples/IntegrationRuntimes_Start.json
LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1181:22
ExampleUrl: stable/2018-06-01/examples/IntegrationRuntimes_Stop.json
LRO_RESPONSE_HEADER Long running operation should return location or azure-AsyncOperation in header but not provided
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1461:22
ExampleUrl: stable/2018-06-01/examples/IntegrationRuntimeObjectMetadata_Refresh.json
INVALID_TYPE Expected type object but found type array
Url: stable/2018-06-01/entityTypes/Pipeline.json#L163:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_ListByFactory.json#L46:35
INVALID_TYPE Expected type object but found type array
Url: stable/2018-06-01/entityTypes/Pipeline.json#L163:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_ListByFactory.json#L56:36
INVALID_TYPE Expected type object but found type string
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L5693:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_ListByFactory.json#L50:47
INVALID_TYPE Expected type object but found type string
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L5693:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_ListByFactory.json#L51:45
INVALID_TYPE Expected type object but found type string
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L5693:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_ListByFactory.json#L60:47
INVALID_TYPE Expected type object but found type array
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L163:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Create.json#L8:17
INVALID_TYPE Expected type object but found type string
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L5693:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Create.json#L8:17
INVALID_TYPE Expected type object but found type array
Url: stable/2018-06-01/entityTypes/Pipeline.json#L163:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Create.json#L124:31
INVALID_TYPE Expected type object but found type array
Url: stable/2018-06-01/entityTypes/Pipeline.json#L163:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Create.json#L134:32
INVALID_TYPE Expected type object but found type string
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L5693:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Create.json#L128:43
INVALID_TYPE Expected type object but found type string
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L5693:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Create.json#L129:41
INVALID_TYPE Expected type object but found type string
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L5693:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Create.json#L138:43
INVALID_TYPE Expected type object but found type array
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L163:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Update.json#L8:17
INVALID_TYPE Expected type object but found type string
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L5693:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Update.json#L8:17
INVALID_TYPE Expected type object but found type array
Url: stable/2018-06-01/entityTypes/Pipeline.json#L163:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Update.json#L112:31
INVALID_TYPE Expected type object but found type array
Url: stable/2018-06-01/entityTypes/Pipeline.json#L163:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Update.json#L122:32
INVALID_TYPE Expected type object but found type string
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L5693:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Update.json#L116:43
INVALID_TYPE Expected type object but found type string
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L5693:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Update.json#L117:41
INVALID_TYPE Expected type object but found type string
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L5693:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Update.json#L126:43
INVALID_TYPE Expected type object but found type array
Url: stable/2018-06-01/entityTypes/Pipeline.json#L163:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Get.json#L47:31
INVALID_TYPE Expected type object but found type array
Url: stable/2018-06-01/entityTypes/Pipeline.json#L163:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Get.json#L57:32
INVALID_TYPE Expected type object but found type string
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L5693:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Get.json#L51:43
INVALID_TYPE Expected type object but found type string
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L5693:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Get.json#L52:41
INVALID_TYPE Expected type object but found type string
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L5693:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_Get.json#L61:43
INVALID_TYPE Expected type object but found type array
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L5693:31
ExampleUrl: stable/2018-06-01/examples/Pipelines_CreateRun.json#L8:19
INVALID_TYPE Expected type object but found type array
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L6618:31
ExampleUrl: stable/2018-06-01/examples/PipelineRuns_QueryByFactory.json#L48:28
INVALID_TYPE Expected type object but found type array
Url: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L6618:31
ExampleUrl: stable/2018-06-01/examples/PipelineRuns_QueryByFactory.json#L69:28
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️[ignore this check status; not blocking PR merge] 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?

@raych1
Copy link

raych1 commented Jul 2, 2024

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@JackTn
Copy link
Author

JackTn commented Jul 3, 2024

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

6 participants