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

add subscription track2 config #12140

Merged
merged 1 commit into from
Dec 17, 2020

Conversation

00Kai0
Copy link
Contributor

@00Kai0 00Kai0 commented Dec 16, 2020

No description provided.

@00Kai0 00Kai0 requested review from jsntcy and msyyc December 16, 2020 06:18
@00Kai0 00Kai0 requested a review from lirenhe as a code owner December 16, 2020 06:18
@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Dec 16, 2020

Swagger Validation Report

️️✔️BreakingChange succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️LintDiff succeeded [Detail] [Expand]
Validation passes for LintDiff.
️⚠️Avocado: 1 Warnings warning [Detail]
Rule Message
⚠️ MULTIPLE_API_VERSION The default tag contains multiple API versions swaggers.
readme: specification/subscription/resource-manager/readme.md
tag: specification/subscription/resource-manager/readme.md#tag-package-2020-09
️️✔️ModelValidation succeeded [Detail] [Expand]
Validation passes for ModelValidation.
️️✔️SemanticValidation succeeded [Detail] [Expand]
Validation passes for SemanticValidation.
️️✔️[Staging] Cross Version BreakingChange (Base on preview version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️[Staging] Cross Version BreakingChange (Base on stable version) succeeded [Detail] [Expand]
There are no breaking changes.
️️✔️CredScan succeeded [Detail] [Expand]
There is no credential detected.
Posted by Swagger Pipeline | How to fix these errors?

@openapi-pipeline-app
Copy link

openapi-pipeline-app bot commented Dec 16, 2020

Swagger Generation Artifacts

️⚠️ azure-cli-extensions warning [Detail]
  • ⚠️Warning [Logs]Release - Generate from 28ca3f2. Azure CLI Automation 14.0.0
    warn	Skip initScript due to not configured
    command	npx n 12
    command	python3 -m venv venv
    command	pip install --upgrade setuptools wheel pip
    command	pip install pathlib jinja2 msrestazure
    command	autorest --az --use=@autorest/az@latest --version=3.0.6271 --clear-output-folder=true --azure-cli-extension-folder=/home/vsts/work/1/s/azure-cli-extensions ../azure-rest-api-specs/specification/subscription/resource-manager/readme.md
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'Location' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'LocationListResult' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'Subscription' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'SubscriptionPolicies' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'SubscriptionListResult' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'TenantIdDescription' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'TenantListResult' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'CanceledSubscriptionId' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'RenamedSubscriptionId' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'EnabledSubscriptionId' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'OperationListResult' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'Operation-display' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'PutAliasRequestProperties' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'PutAliasResponse' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'PutAliasResponseProperties' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/SchemaMissingType): The schema 'PutAliasListResult' with an undefined type and decalared properties is a bit ambigious. This has been auto-corrected to 'type:object'
    cmdout	[Autorest] WARNING (PreCheck/CheckDuplicateSchemas): Checking for duplicate schemas, this could take a (long) while.  Run with --verbose for more detail.
    cmdout	[Autorest] WARNING (): cli.auto-parameter-hidden is not true, skip visibility cleaner
    cmderr	[Autorest] NO TEST SCENARIO PROVIDED - DEFAULT WILL BE USED
    cmderr	[Autorest] ADD FOLLOWING SECTION TO readme.cli.md FILE TO MODIFY IT
    cmderr	[Autorest] --------------------------------------------------------
    cmderr	[Autorest]   test-scenario:
    cmderr	[Autorest]     - name: /Alias/put/CreateAlias
    cmderr	[Autorest]     - name: /Alias/get/GetAlias
    cmderr	[Autorest]     - name: /Alias/get/GetAlias
    cmderr	[Autorest]     - name: /Alias/delete/DeleteAlias
    cmderr	[Autorest]     - name: /Subscriptions/get/getSubscription
    cmderr	[Autorest]     - name: /Subscriptions/get/listLocations
    cmderr	[Autorest]     - name: /Subscriptions/get/listSubscriptions
    cmderr	[Autorest]     - name: /Subscription/post/cancelSubscription
    cmderr	[Autorest]     - name: /Subscription/post/enableSubscription
    cmderr	[Autorest]     - name: /Subscription/post/renameSubscription
    cmderr	[Autorest]     - name: /Tenants/get/listTenants
    cmderr	[Autorest] --------------------------------------------------------
️⚠️ azure-sdk-for-net warning [Detail]
  • ⚠️Warning [Logs]Release - Generate from 28ca3f2. SDK Automation 14.0.0
    warn	Skip initScript due to not configured
    command	sudo apt-get install -y dotnet-sdk-5.0
    command	autorest --version=V2 --csharp --reflect-api-versions --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --csharp-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-net/sdk ../azure-rest-api-specs/specification/subscription/resource-manager/readme.md
    cmderr	[Autorest] realpath(): Permission denied
    cmderr	[Autorest] realpath(): Permission denied
    cmderr	[Autorest] realpath(): Permission denied
    cmderr	[Autorest] realpath(): Permission denied
    cmderr	[Autorest] realpath(): Permission denied
    cmderr	[Autorest] realpath(): Permission denied
  • ️✔️Microsoft.Azure.Management.Subscription [View full logs]  [Release SDK Changes]
️️✔️ azure-resource-manager-schemas succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from 28ca3f2. Schema Automation 14.0.0
    warn	Skip initScript due to not configured
    command	npx n 12
    command	autorest --use=@autorest/[email protected] --version=3.0.6320 --azureresourceschema --multiapi --title=none --pass-thru:subset-reducer --azureresourceschema-folder=/home/vsts/work/1/s/azure-resource-manager-schemas/azure-resource-manager-schemas ../../azure-rest-api-specs/specification/subscription/resource-manager/readme.md
  • ️✔️subscription [View full logs]  [Release Schema Changes]
    cmderr	[resource-manager] node-pre-gyp
    cmderr	[resource-manager] WARN Using request for node-pre-gyp https download
    cmderr	[resource-manager] npm WARN [email protected] No repository field.
    cmderr	[resource-manager] npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
    cmderr	[resource-manager] npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
    cmderr	[resource-manager] npm ERR! code ELIFECYCLE
    cmderr	[resource-manager] npm ERR! errno 20
    cmderr	[resource-manager] npm ERR! [email protected] test: `mocha -r ts-node/register tests.ts`
    cmderr	[resource-manager] npm ERR! Exit status 20
    cmderr	[resource-manager] npm ERR!
    cmderr	[resource-manager] npm ERR! Failed at the [email protected] test script.
    cmderr	[resource-manager] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    cmderr	[resource-manager]  A complete log of this run can be found in:
    cmderr	[resource-manager] npm ERR!     /home/vsts/.npm/_logs/2020-12-17T05_33_34_519Z-debug.log
    cmderr	[resource-manager] Error: Command failed: npm run test --prefix tools
    cmderr	[resource-manager]     at checkExecSyncError (child_process.js:635:11)
    cmderr	[resource-manager]     at Object.execSync (child_process.js:671:15)
    cmderr	[resource-manager]     at Object.<anonymous> (/home/vsts/work/1/s/azure-resource-manager-schemas/azure-resource-manager-schemas/sdkauto_afterscript.js:13:28)
    cmderr	[resource-manager]     at Module._compile (internal/modules/cjs/loader.js:999:30)
    cmderr	[resource-manager]     at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    cmderr	[resource-manager]     at Module.load (internal/modules/cjs/loader.js:863:32)
    cmderr	[resource-manager]     at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    cmderr	[resource-manager]     at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
    cmderr	[resource-manager]     at internal/main/run_main_module.js:17:47 {
    cmderr	[resource-manager]   status: 20,
    cmderr	[resource-manager]   signal: null,
    cmderr	[resource-manager]   output: [ null, null, null ],
    cmderr	[resource-manager]   pid: 2980,
    cmderr	[resource-manager]   stdout: null,
    cmderr	[resource-manager]   stderr: null
    cmderr	[resource-manager] }
️️✔️ azure-sdk-for-go succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from 28ca3f2. SDK Automation 14.0.0
    command	sh ./initScript.sh ../../../../../azure-sdk-for-go_tmp/initInput.json ../../../../../azure-sdk-for-go_tmp/initOutput.json
    command	go run ./tools/generator/main.go ../../../../../azure-sdk-for-go_tmp/generateInput.json ../../../../../azure-sdk-for-go_tmp/generateOutput.json
  • ️✔️subscription/mgmt/2020-09-01/subscription [View full logs]  [Release SDK Changes]
    info	[Changelog] No exported changes
  • ️✔️preview/subscription/mgmt/2019-10-01-preview/subscription [View full logs]  [Release SDK Changes]
    info	[Changelog] No exported changes
  • ️✔️preview/subscription/mgmt/2018-03-01-preview/subscription [View full logs]  [Release SDK Changes]
    info	[Changelog] No exported changes
  • ️✔️preview/subscription/mgmt/2017-11-01-preview/subscription [View full logs]  [Release SDK Changes]
    info	[Changelog] No exported changes
️️✔️ azure-sdk-for-js succeeded [Detail] [Expand]
  • ️✔️Succeeded [Logs]Release - Generate from 28ca3f2. SDK Automation 14.0.0
    warn	Skip initScript due to not configured
    command	autorest --version=V2 --typescript --license-header=MICROSOFT_MIT_NO_VERSION [email protected]/[email protected] --typescript-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-js/azure-sdk-for-js ../../azure-rest-api-specs/specification/subscription/resource-manager/readme.md
  • ️✔️@azure/arm-subscriptions [View full logs]  [Release SDK Changes]
    cmderr	[npmPack] loaded rollup.config.js with warnings
    cmderr	[npmPack] (!) Unused external imports
    cmderr	[npmPack] default imported from external module 'rollup' but never used
    cmderr	[npmPack] ./esm/subscriptionClient.js → ./dist/arm-subscriptions.js...
    cmderr	[npmPack] created ./dist/arm-subscriptions.js in 248ms
️⚠️ azure-sdk-for-python warning [Detail]
  • ⚠️Warning [Logs]Release - Generate from 28ca3f2. SDK Automation 14.0.0
    warn	Skip initScript due to not configured
    command	npx n 12
    command	python3 -m venv venv
    command	pip install --upgrade setuptools wheel pip
    command	pip install pathlib jinja2 msrestazure
    command	autorest --version=V2 [email protected]/autorest.python@~4.0.71 --python --python-mode=update --multiapi --keep-version-file --no-async --python-sdks-folder=/home/vsts/work/1/s/azure-sdk-for-python/sdk ../azure-rest-api-specs/specification/subscription/resource-manager/readme.md
    warn	No file changes detected after generation
    warn	No package detected after generation
️️✔️[Staging] ApiDocPreview succeeded [Detail] [Expand]
Posted by Swagger Pipeline | How to fix these errors?

@ChenTanyi ChenTanyi merged commit 28ca3f2 into Azure:master Dec 17, 2020
giromm2ms pushed a commit to giromm2ms/azure-rest-api-specs that referenced this pull request Dec 20, 2020
josuhazure pushed a commit to josuhazure/azure-rest-api-specs that referenced this pull request Jan 6, 2021
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.

2 participants