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 render ]Update datafactory.json #3330

Closed
wants to merge 7 commits into from
Closed

[test render ]Update datafactory.json #3330

wants to merge 7 commits into from

Conversation

JackTn
Copy link

@JackTn JackTn commented Apr 26, 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 created in adherence to OpenAPI specs PR creation guidance).
  • 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 26, 2024

Next Steps to merge

Next steps that must be taken to merge this PR:
  • ❌ Your PR is in purview of ARM review (label: ARMReview). Please ensure your PR is on the ARM PR review queue - see instructions in steps 1 and 2 in the PR description diagram.
  • ❌ 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 26, 2024

Swagger Generation Artifacts

️🔄[ignore this check status; not blocking PR merge] ApiDocPreview inProgress [Detail]
️❌ azure-sdk-for-net-track2 failed [Detail]
  • Failed in generating from c2c4de6f0be3da0c86ab76190cffd1d421677ed1. 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 generate 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.DataFactory [Preview SDK Changes]
    info	[Changelog]
️⚠️ azure-sdk-for-python warning [Detail]
  • ⚠️Warning in generating from c2c4de6f0be3da0c86ab76190cffd1d421677ed1. 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.
    cmderr	[automation_init.sh]  notice
    cmderr	[automation_init.sh] npm notice New minor version of npm available! 10.5.0 -> 10.6.0
    cmderr	[automation_init.sh] npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.6.0>
    cmderr	[automation_init.sh] npm notice Run `npm install -g npm@10.6.0` to update!
    cmderr	[automation_init.sh] npm notice
    command	sh scripts/automation_generate.sh ../azure-sdk-for-python_tmp/generateInput.json ../azure-sdk-for-python_tmp/generateOutput.json
  • ️✔️azure-mgmt-datafactory [Preview SDK Changes] Breaking Change Detected
    • azure-mgmt-datafactory-1.0.0.zip
    • azure_mgmt_datafactory-1.0.0-py3-none-any.whl
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog]   - Model ManagedIdentityCredential has a new parameter resource_id
    info	[Changelog]
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog]   - Removed operation FactoriesOperations.list
    Present SDK breaking changes suppressions
    Model ManagedIdentityCredential no longer has parameter resource_id
    Absent SDK breaking changes suppressions
    - Removed operation FactoriesOperations.list
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
️⚠️ azure-sdk-for-java warning [Detail]
  • ⚠️Warning in generating from c2c4de6f0be3da0c86ab76190cffd1d421677ed1. 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]  notice
    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 npm@10.6.0` 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-datafactory [Preview SDK Changes]
    • pom.xml
    • azure-resourcemanager-datafactory-1.0.0-beta.29.jar
    • azure-resourcemanager-datafactory-1.0.0-beta.29-sources.jar
️⚠️ azure-sdk-for-go warning [Detail]
  • ⚠️Warning in generating from c2c4de6f0be3da0c86ab76190cffd1d421677ed1. SDK Automation 14.0.0
    Only showing 120 items here. Refer to log for details.
    cmderr	[automation_init.sh]  64150K .......... .......... .......... .......... .......... 95% 73.0M 0s
    cmderr	[automation_init.sh]  64200K .......... .......... .......... .......... .......... 95%  221M 0s
    cmderr	[automation_init.sh]  64250K .......... .......... .......... .......... .......... 95%  180M 0s
    cmderr	[automation_init.sh]  64300K .......... .......... .......... .......... .......... 95%  201M 0s
    cmderr	[automation_init.sh]  64350K .......... .......... .......... .......... .......... 95%  172M 0s
    cmderr	[automation_init.sh]  64400K .......... .......... .......... .......... .......... 95% 70.8M 0s
    cmderr	[automation_init.sh]  64450K .......... .......... .......... .......... .......... 95%  191M 0s
    cmderr	[automation_init.sh]  64500K .......... .......... .......... .......... .......... 95%  197M 0s
    cmderr	[automation_init.sh]  64550K .......... .......... ..
    cmderr	[automation_init.sh]  64600K ......  164M 0s
    cmderr	[automation_init.sh]  64650K ..... 96%  172M 0s
    cmderr	[automation_init.sh]  64700K ... 96%  168M 0s
    cmderr	[automation_init.sh]  64750K .
    cmderr	[automation_init.sh]  64800K .......
    cmderr	[automation_init.sh]  64850K .....  157M 0s
    cmderr	[automation_init.sh]  64900K ... 96%  159M 0s
    cmderr	[automation_init.sh]  64950K ... 96%  147M 0s
    cmderr	[automation_init.sh]  65000K .......... .......... .......... .......... .......... 96%  190M 0s
    cmderr	[automation_init.sh]  65050K .......... .......... .......... .......... .......... 96%  195M 0s
    cmderr	[automation_init.sh]  65100K .......... .......... .......... .......... .......... 96%  193M 0s
    cmderr	[automation_init.sh]  65150K .......... .......... .......... .......... .......... 96%  177M 0s
    cmderr	[automation_init.sh]  65200K .......... .......... .......... .......... .......... 96% 61.0M 0s
    cmderr	[automation_init.sh]  65250K .......... .......... .......... .......... .......... 96%  210M 0s
    cmderr	[automation_init.sh]  65300K .......... .......... .......... .......... .......... 96%  212M 0s
    cmderr	[automation_init.sh]  65350K .......... .......... .......... .......... .......... 97%  192M 0s
    cmderr	[automation_init.sh]  65400K .......... .......... .......... .......... .......... 97%  222M 0s
    cmderr	[automation_init.sh]  65450K .......... .......... .......... .......... .......... 97% 64.3M 0s
    cmderr	[automation_init.sh]  65500K .......... .......... .......... .......... .......... 97%  218M 0s
    cmderr	[automation_init.sh]  65550K .......... .......... .......... .......... .......... 97%  283M 0s
    cmderr	[automation_init.sh]  65600K .......... .......... .......... .......... .......... 97%  369M 0s
    cmderr	[automation_init.sh]  65650K .......... .......... .......... .......... .......... 97%  367M 0s
    cmderr	[automation_init.sh]  65700K .......... .......... .......... .......... .......... 97% 79.7M 0s
    cmderr	[automation_init.sh]  65750K .......... .......... .......... .......... .......... 97%  328M 0s
    cmderr	[automation_init.sh]  65800K .......... .......... .......... .......... .......... 97%  370M 0s
    cmderr	[automation_init.sh]  65850K .......... .......... .......... .......... .......... 97%  370M 0s
    cmderr	[automation_init.sh]  65900K .......... .......... .......... .......... .......... 97%  110M 0s
    cmderr	[automation_init.sh]  65950K .......... .......... .......... .......... .......... 97%  287M 0s
    cmderr	[automation_init.sh]  66000K .......... .......... .......... .......... .......... 98%  380M 0s
    cmderr	[automation_init.sh]  66050K .......... .......... .......... .......... .......... 98%  375M 0s
    cmderr	[automation_init.sh]  66100K .......... .......... .......... .......... .......... 98%  375M 0s
    cmderr	[automation_init.sh]  66150K .......... .......... .......... .......... .......... 98% 96.8M 0s
    cmderr	[automation_init.sh]  66200K .......... .......... .......... .......... .......... 98%  364M 0s
    cmderr	[automation_init.sh]  66250K .......... .......... .......... .......... .......... 98%  358M 0s
    cmderr	[automation_init.sh]  66300K .......... .......... .......... .......... .......... 98%  364M 0s
    cmderr	[automation_init.sh]  66350K .......... .......... .......... .......... .......... 98%  311M 0s
    cmderr	[automation_init.sh]  66400K .......... .......... .......... .......... .......... 98%  100M 0s
    cmderr	[automation_init.sh]  66450K .......... .......... .......... .......... .......... 98%  363M 0s
    cmderr	[automation_init.sh]  66500K .......... .......... .......... .......... .......... 98%  364M 0s
    cmderr	[automation_init.sh]  66550K .......... .......... .......... .......... .......... 98%  332M 0s
    cmderr	[automation_init.sh]  66600K .......... .......... .......... .......... .......... 98%  370M 0s
    cmderr	[automation_init.sh]  66650K .......... .......... .......... .......... .......... 99%  118M 0s
    cmderr	[automation_init.sh]  66700K .......... .......... .......... .......... .......... 99%  376M 0s
    cmderr	[automation_init.sh]  66750K .......... .......... .......... .......... .......... 99%  310M 0s
    cmderr	[automation_init.sh]  66800K .......... .......... .......... .......... .......... 99%  369M 0s
    cmderr	[automation_init.sh]  66850K .......... .......... .......... .......... .......... 99%  105M 0s
    cmderr	[automation_init.sh]  66900K .......... .......... .......... .......... .......... 99%  361M 0s
    cmderr	[automation_init.sh]  66950K .......... .......... .......... .......... .......... 99%  336M 0s
    cmderr	[automation_init.sh]  67000K .......... .......... .......... .......... .......... 99%  366M 0s
    cmderr	[automation_init.sh]  67050K .......... .......... .......... .......... .......... 99%  350M 0s
    cmderr	[automation_init.sh]  67100K .......... .......... .......... .......... .......... 99%  105M 0s
    cmderr	[automation_init.sh]  67150K .......... .......... .......... .......... .......... 99%  313M 0s
    cmderr	[automation_init.sh]  67200K .......... .......... .......... .......... .......... 99%  371M 0s
    cmderr	[automation_init.sh]  67250K .......... .......... .......... .......... .......... 99%  368M 0s
    cmderr	[automation_init.sh]  67300K .......... .......... .......... .......... .......... 99%  345M 0s
    cmderr	[automation_init.sh]  67350K .......... .......... .                               100% 86.3M=0.5s
    cmderr	[automation_init.sh] 2024-04-29 03:37:46 (123 MB/s) - 'go1.22.0.linux-amd64.tar.gz' saved [68988925/68988925]
    cmderr	[automation_init.sh] + tar -C /tmp -xzf go1.22.0.linux-amd64.tar.gz
    cmderr	[automation_init.sh] + export GOROOT=/tmp/go
    cmderr	[automation_init.sh] + export PATH=/tmp/go/bin:/mnt/vss/_work/1/a/unified-pipeline-runtime/private/azure-rest-api-specs-pipeline/node_modules/.bin:/opt/hostedtoolcache/Python/3.10.14/x64/bin:/opt/hostedtoolcache/Python/3.10.14/x64:/opt/hostedtoolcache/node/18.20.2/x64/bin:/snap/bin:/home/cloudtest/.local/bin:/opt/pipx_bin:/home/cloudtest/.cargo/bin:/home/cloudtest/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/cloudtest/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
    cmderr	[automation_init.sh] + dirname ./eng/scripts/automation_init.sh
    cmderr	[automation_init.sh]  ./eng/scripts
    cmderr	[automation_init.sh] + pwd
    cmderr	[automation_init.sh] + DIRECTORY=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/eng/scripts
    cmderr	[automation_init.sh] + [  =  ]
    cmderr	[automation_init.sh] + realpath /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/eng/scripts/../../../
    cmderr	[automation_init.sh] + WORKFOLDER=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure
    cmderr	[automation_init.sh] + echo /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure
    cmderr	[automation_init.sh] + export GOPATH=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/gofolder
    cmderr	[automation_init.sh] + [ ! -d /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/gofolder/bin ]
    cmderr	[automation_init.sh] + echo create gopath folder
    cmderr	[automation_init.sh] + mkdir -p /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/gofolder/bin
    cmderr	[automation_init.sh] + echo /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/gofolder
    cmderr	[automation_init.sh] + export GO111MODULE=on
    cmderr	[automation_init.sh] + realpath /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/eng/scripts/../tools/generator
    cmderr	[automation_init.sh] + generatorDirectory=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/eng/tools/generator
    cmderr	[automation_init.sh] + cd /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/eng/tools/generator
    cmderr	[automation_init.sh] + go build
    cmderr	[automation_init.sh] go: downloading github.com/spf13/cobra v1.8.0
    cmderr	[automation_init.sh] go: downloading github.com/google/go-github/v53 v53.2.0
    cmderr	[automation_init.sh] go: downloading github.com/spf13/pflag v1.0.5
    cmderr	[automation_init.sh] go: downloading github.com/Azure/azure-sdk-for-go/eng/tools/internal v0.0.0-20240319034639-2647d4f75389
    cmderr	[automation_init.sh] go: downloading github.com/ahmetb/go-linq/v3 v3.2.0
    cmderr	[automation_init.sh] go: downloading github.com/go-git/go-git/v5 v5.11.0
    cmderr	[automation_init.sh] go: downloading golang.org/x/oauth2 v0.18.0
    cmderr	[automation_init.sh] go: downloading github.com/Masterminds/semver v1.5.0
    cmderr	[automation_init.sh] go: downloading github.com/ProtonMail/go-crypto v1.0.0
    cmderr	[automation_init.sh] go: downloading github.com/google/go-querystring v1.1.0
    cmderr	[automation_init.sh] go: downloading github.com/go-git/go-billy/v5 v5.5.0
    cmderr	[automation_init.sh] go: downloading dario.cat/mergo v1.0.0
    cmderr	[automation_init.sh] go: downloading github.com/sergi/go-diff v1.3.1
    cmderr	[automation_init.sh] go: downloading github.com/pjbgf/sha1cd v0.3.0
    cmderr	[automation_init.sh] go: downloading github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376
    cmderr	[automation_init.sh] go: downloading github.com/cyphar/filepath-securejoin v0.2.4
    cmderr	[automation_init.sh] go: downloading golang.org/x/sys v0.18.0
    cmderr	[automation_init.sh] go: downloading github.com/emirpasic/gods v1.18.1
    cmderr	[automation_init.sh] go: downloading github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99
    cmderr	[automation_init.sh] go: downloading gopkg.in/warnings.v0 v0.1.2
    cmderr	[automation_init.sh] go: downloading golang.org/x/crypto v0.21.0
    cmderr	[automation_init.sh] go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
    cmderr	[automation_init.sh] go: downloading github.com/kevinburke/ssh_config v1.2.0
    cmderr	[automation_init.sh] go: downloading github.com/skeema/knownhosts v1.2.2
    cmderr	[automation_init.sh] go: downloading github.com/xanzy/ssh-agent v0.3.3
    cmderr	[automation_init.sh] go: downloading golang.org/x/net v0.22.0
    cmderr	[automation_init.sh] go: downloading github.com/cloudflare/circl v1.3.7
    cmderr	[automation_init.sh] + cp generator /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/gofolder/bin/
    cmderr	[automation_init.sh] + export PATH=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/gofolder/bin:/tmp/go/bin:/mnt/vss/_work/1/a/unified-pipeline-runtime/private/azure-rest-api-specs-pipeline/node_modules/.bin:/opt/hostedtoolcache/Python/3.10.14/x64/bin:/opt/hostedtoolcache/Python/3.10.14/x64:/opt/hostedtoolcache/node/18.20.2/x64/bin:/snap/bin:/home/cloudtest/.local/bin:/opt/pipx_bin:/home/cloudtest/.cargo/bin:/home/cloudtest/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/cloudtest/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
    cmderr	[automation_init.sh] + cd /mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/eng/scripts
    cmderr	[automation_init.sh] + cat
    command	generator automation-v2 ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
    cmderr	[generator automation-v2] autorest --use=@autorest/go@4.0.0-preview.63 --go --track2 --output-folder=/mnt/vss/_work/1/s/azure-sdk-for-go/src/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/datafactory/armdatafactory --clear-output-folder=false --go.clear-output-folder=false --honor-body-placement=true --remove-unreferenced-types=true ./autorest.md
  • ️✔️sdk/resourcemanager/datafactory/armdatafactory [Preview SDK Changes] Breaking Change Detected
    info	[Changelog] ### Breaking Changes
    info	[Changelog]
    info	[Changelog] - Enum `ScriptType` has been removed
    info	[Changelog] - Function `*FactoriesClient.NewListPager` has been removed
    info	[Changelog]
    info	[Changelog] ### Features Added
    info	[Changelog]
    info	[Changelog] - Type of `ScriptActivityScriptBlock.Type` has been changed from `*ScriptType` to `any`
    info	[Changelog] - New struct `ManagedIdentityTypeProperties`
    info	[Changelog] - New field `TypeProperties` in struct `ManagedIdentityCredential`
    info	[Changelog]
    info	[Changelog] Total 3 breaking change(s), 3 additive change(s).
    Present SDK breaking changes suppressions
    Enum `ScriptType` has been removed
    Field `ManagedIdentityCredentialResource` of struct `CredentialOperationsClientCreateOrUpdateResponse` has been removed
    Field `ManagedIdentityCredentialResource` of struct `CredentialOperationsClientGetResponse` has been removed
    Field `TypeProperties` of struct `ManagedIdentityCredential` has been removed
    Function `*CredentialOperationsClient.CreateOrUpdate` parameter(s) have been changed from `(context.Context, string, string, string, ManagedIdentityCredentialResource, *CredentialOperationsClientCreateOrUpdateOptions)` to `(context.Context, string, string, string, CredentialResource, *CredentialOperationsClientCreateOrUpdateOptions)`
    Struct `ManagedIdentityCredentialResource` has been removed
    Struct `ManagedIdentityTypeProperties` has been removed
    Type of `AzureFunctionActivityTypeProperties.Headers` has been changed from `map[string]*string` to `map[string]any`
    Type of `CredentialListResponse.Value` has been changed from `[]*ManagedIdentityCredentialResource` to `[]*CredentialResource`
    Type of `WebActivityTypeProperties.Headers` has been changed from `map[string]*string` to `map[string]any`
    Type of `WebHookActivityTypeProperties.Headers` has been changed from `map[string]*string` to `map[string]any`
    Absent SDK breaking changes suppressions
    - Function `*FactoriesClient.NewListPager` has been removed
    Please refer to https://aka.ms/azsdk/sdk-suppression for more information.
️❌ azure-sdk-for-js failed [Detail]
  • Failed in generating from c2c4de6f0be3da0c86ab76190cffd1d421677ed1. 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
    cmdout	[automation_generate.sh] Executing command:
    warn	Skip package processing as generation is failed
    error	ERROR: The 'breakingChangesLabel' configuration is missing or incorrect from the 'swagger_to_sdk_config.json file.
️❌ azure-resource-manager-schemas failed [Detail]
  • Failed in generating from c2c4de6f0be3da0c86ab76190cffd1d421677ed1. 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 npm@10.6.0` 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
  • datafactory/resource-manager [Preview Schema Changes]
️⚠️ azure-powershell warning [Detail]
  • ⚠️Warning in generating from c2c4de6f0be3da0c86ab76190cffd1d421677ed1. 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 Apr 26, 2024

Generated ApiView

Language Package Name ApiView Link
Go sdk/resourcemanager/datafactory/armdatafactory https://apiviewstagingtest.com/Assemblies/Review/c4c74c825c3f447ca01a2f6a281af28b?revisionId=b9da743a288649c1bb027f3b045aed51
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=d25841d354e0491cb171fd3173758010

Copy link

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

Swagger Validation Report

️❌BreakingChange: 1 Errors, 0 Warnings failed [Detail]
Rule Message
Runtime Exception "new":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/39b325bd644dd489b69b1b889e9e5312dfb999a4/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json",
"old":"https://github.com/test-repo-billy/azure-rest-api-specs/blob/main/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json",
"details":"incompatible properties : properties\n definitions/ManagedIdentityCredentialResource/properties/properties\n at file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L7683:8\n definitions/CredentialResource/properties/properties\n at file:///mnt/vss/_work/1/same-version-c93b354fd9c14905bb574a8834c4d69b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L7983:8"
️️✔️Breaking Change(Cross-Version) succeeded [Detail] [Expand]
There are no breaking changes.
️❌LintDiff: 1 Errors, 0 Warnings failed [Detail]
Compared specs (v2.2.0) new version base version
package-2018-06 package-2018-06(39b325b) package-2018-06(main)

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

Rule Message Related RPC [For API reviewers]
TopLevelResourcesListBySubscription The top-level resource 'Factory' does not have list by subscription operation, please add it.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L6128
RPC-Get-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
OperationsApiResponseSchema The response schema of operations API '/providers/Microsoft.DataFactory/operations' does not match the ARM specification. Please standardize the schema.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L56
OperationsApiSchemaUsesCommonTypes Operations API path must follow the schema provided in the common types.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L57
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#L313
PatchBodyParametersSchema Properties of a PATCH request body must not be required, property:type.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L398
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#L418
NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L457
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#L657
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#L716
NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L758
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#L801
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#L801
XmsPageableForListCalls x-ms-pageable extension must be specified for LIST APIs.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L911
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#L942
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1136
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#L1142
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#L1149
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1182
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#L1188
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#L1379
LroLocationHeader A 202 response should include an Location response header.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1465
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#L1471
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#L1774
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#L1836
NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L1878
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#L1979
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#L2041
NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L2083
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#L2184
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#L2246
NoErrorCodeResponses Invalid status code specified. Please refer to the documentation for the allowed set.
Location: Microsoft.DataFactory/stable/2018-06-01/datafactory.json#L2288
️️✔️[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/Factories_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#L1129: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#L1178: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#L1458: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#L5690: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#L5690: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#L5690: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#L5690: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#L5690: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#L5690: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#L5690: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#L5690: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#L5690: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#L5690: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#L5690: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#L5690: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#L5690: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#L5690: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#L5690: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#L6615: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#L6615: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?

@JackTn
Copy link
Author

JackTn commented Apr 26, 2024

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@JackTn
Copy link
Author

JackTn commented Apr 26, 2024

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@JackTn
Copy link
Author

JackTn commented Apr 29, 2024

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@JackTn
Copy link
Author

JackTn commented Apr 29, 2024

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@JackTn
Copy link
Author

JackTn commented Apr 29, 2024

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@JackTn
Copy link
Author

JackTn commented Apr 29, 2024

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@JackTn
Copy link
Author

JackTn commented Apr 29, 2024

/azp run

Copy link

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

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