oav/package.json

162 строки
5.1 KiB
JSON
Исходник Обычный вид История

2016-11-09 03:38:30 +03:00
{
2017-03-16 06:19:14 +03:00
"name": "oav",
"version": "3.0.5",
2016-11-09 03:38:30 +03:00
"author": {
"name": "Microsoft Corporation",
"email": "azsdkteam@microsoft.com",
"url": "https://github.com/azure/oav"
2016-11-09 03:38:30 +03:00
},
"description": "Validate Azure REST API Specifications",
"license": "MIT",
"dependencies": {
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"@autorest/schemas": "^1.3.4",
"@azure-tools/openapi-tools-common": "^1.2.2",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"@azure/arm-resources": "^4.2.2",
"@azure/core-lro": "^1.0.5",
"@azure/identity": "^2.0.4",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"@azure/ms-rest-azure-js": "^2.1.0",
"@azure/ms-rest-js": "^2.6.1",
"@azure/openapi-markdown": "^0.9.4",
"@microsoft.azure/autorest-extension-base": "1.0.13",
"@ts-common/commonmark-to-markdown": "^2.0.2",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"ajv": "^6.12.6",
"ajv-keywords": "^3.5.2",
2020-11-24 06:07:36 +03:00
"ajv-pack": "^0.3.1",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"commonmark": "^0.29.3",
"deepdash": "^5.3.2",
"difflib": "^0.2.4",
"fast-json-stable-stringify": "^2.1.0",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"fs-extra": "^10.1.0",
"glob": "^7.2.3",
"humanize-duration": "^3.27.2",
"inversify": "^5.1.1",
"js-yaml": "^4.1.0",
V2 (#655) * fix bug * fix bug * separate schema def * fix types * remove type & add scenario * fix testResourceLoader * fix jsonpatch * fix schemas * fix schema * fix types * fix schema * fix raw types * save * fix loader * simplify VariableScope in memory * fix * fix testScenarioGenerator * fix * fix runner * fix tslint * restore shareScope * fix bug * requiredVariables * variable type * fix resolve variables * bump js-yaml version * define patternProperties * restore plain structure * implement apiScenaroYamlLoader * expectedResponse & use Example operationId * fix variableEnv bug * support patch * fix bug * implement Patch per ARM RPC * log step name * templateGenerator * update export types * add armTemplate parameters convension * fix bug * fix request schema * cleanUpSteps * error handling when execution * revert * revert cliSuppressExceptions * Update validate-examples-regression-sample.yml for Azure Pipelines * Update azure-pipelines.yml for Azure Pipelines * Revert "Update azure-pipelines.yml for Azure Pipelines" This reverts commit 273b05ef82f9d38327af572a63721464df15b936. * Revert "Update validate-examples-regression-sample.yml for Azure Pipelines" This reverts commit d758018bdbfdab2598743237062ff0dce48e1dbd. * npm install with v6 * Refactor VariableEnv * fix bug * variableEnv * fix outputVariables * revert placeholder * add resolveVariables option and turn off in postmanCollectionRunner * fix pathVariable * use output method to make output variable global * update * fix prettier * rename to apiScenario * rename command * restore folder name * restore fixture * remove fixture from .gitignore * fix * fix test * resove armTemplate * systemData is readOnly * Fix bug * fix VariableEnv * fix resolveString * fix convention for cleanUp steps * apply patch * fix xmsExampleExtract bug * fix xMsExampleExtractor * rename folder and add Changelog Co-authored-by: ruowan <ruowan@microsoft.com>
2021-09-30 06:27:59 +03:00
"json-merge-patch": "^1.0.2",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"json-pointer": "^0.6.2",
"json-refs": "^3.0.15",
2020-11-24 06:07:36 +03:00
"json-schema-traverse": "^0.4.1",
"jsonpath-plus": "^4.0.0",
"junit-report-builder": "^3.0.0",
"kind-of": "^6.0.3",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"linq": "^3.2.4",
"lodash": "^4.17.21",
"md5-file": "^5.0.0",
"mkdirp": "^1.0.4",
2020-11-24 06:07:36 +03:00
"mockjs": "^1.1.0",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"moment": "^2.29.3",
"ms-rest": "^2.5.6",
"mustache": "^4.2.0",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"newman": "^5.3.2",
"node-abort-controller": "^1.2.1",
"path-to-regexp": "^6.2.1",
"postman-collection": "^4.1.4",
"reflect-metadata": "^0.1.13",
"swagger-parser": "^10.0.3",
2020-11-24 06:07:36 +03:00
"toposort": "^2.0.2",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"uuid": "^3.4.0",
"vscode-jsonrpc": "^3.6.2",
"winston": "^3.3.4",
"yargs": "^15.4.1",
"yasway": "^1.10.7",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"yuml2svg": "^4.2.2",
"z-schema": "^5.0.3"
2016-11-09 03:38:30 +03:00
},
"devDependencies": {
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"@types/ajv-keywords": "^3.5.0",
"@types/ajv-merge-patch": "^4.1.2",
"@types/commonmark": "^0.27.3",
"@types/difflib": "^0.2.0",
"@types/fs-extra": "^9.0.11",
"@types/glob": "^7.1.1",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"@types/heap": "^0.2.29",
"@types/humanize-duration": "^3.25.0",
"@types/jest": "^27.0.2",
V2 (#655) * fix bug * fix bug * separate schema def * fix types * remove type & add scenario * fix testResourceLoader * fix jsonpatch * fix schemas * fix schema * fix types * fix schema * fix raw types * save * fix loader * simplify VariableScope in memory * fix * fix testScenarioGenerator * fix * fix runner * fix tslint * restore shareScope * fix bug * requiredVariables * variable type * fix resolve variables * bump js-yaml version * define patternProperties * restore plain structure * implement apiScenaroYamlLoader * expectedResponse & use Example operationId * fix variableEnv bug * support patch * fix bug * implement Patch per ARM RPC * log step name * templateGenerator * update export types * add armTemplate parameters convension * fix bug * fix request schema * cleanUpSteps * error handling when execution * revert * revert cliSuppressExceptions * Update validate-examples-regression-sample.yml for Azure Pipelines * Update azure-pipelines.yml for Azure Pipelines * Revert "Update azure-pipelines.yml for Azure Pipelines" This reverts commit 273b05ef82f9d38327af572a63721464df15b936. * Revert "Update validate-examples-regression-sample.yml for Azure Pipelines" This reverts commit d758018bdbfdab2598743237062ff0dce48e1dbd. * npm install with v6 * Refactor VariableEnv * fix bug * variableEnv * fix outputVariables * revert placeholder * add resolveVariables option and turn off in postmanCollectionRunner * fix pathVariable * use output method to make output variable global * update * fix prettier * rename to apiScenario * rename command * restore folder name * restore fixture * remove fixture from .gitignore * fix * fix test * resove armTemplate * systemData is readOnly * Fix bug * fix VariableEnv * fix resolveString * fix convention for cleanUp steps * apply patch * fix xmsExampleExtract bug * fix xMsExampleExtractor * rename folder and add Changelog Co-authored-by: ruowan <ruowan@microsoft.com>
2021-09-30 06:27:59 +03:00
"@types/js-yaml": "^4.0.3",
"@types/json-merge-patch": "^0.0.5",
2018-05-30 01:38:27 +03:00
"@types/json-pointer": "^1.0.30",
2020-11-24 06:07:36 +03:00
"@types/json-schema-traverse": "^0.4.0",
"@types/lodash": "^4.14.149",
"@types/md5-file": "^4.0.0",
"@types/mkdirp": "^1.0.1",
"@types/mustache": "^4.1.2",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"@types/newman": "^5.3.0",
"@types/node": "^10.12.18",
"@types/postman-collection": "^3.5.5",
"@types/request": "^2.48.1",
"@types/swagger-parser": "^4.0.3",
2020-11-24 06:07:36 +03:00
"@types/toposort": "^2.0.3",
"@types/uuid": "^3.4.4",
"@types/yargs": "^11.1.2",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"@typescript-eslint/eslint-plugin": "~5.27.1",
"@typescript-eslint/parser": "~5.27.1",
"copyfiles": "^2.4.1",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"eslint": "^8.17.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"glob-parent": "^5.1.2",
"handlebars": "^4.7.7",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"jest": "^26.6.3",
"jest-junit": "^13.2.0",
"kind-of": "^6.0.3",
2020-11-24 06:07:36 +03:00
"npm-run-all": "^4.1.5",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"prettier": "^2.6.2",
"set-value": ">=4.1.0",
2019-01-15 21:16:13 +03:00
"should": "^13.2.3",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"ts-jest": "^26.5.6",
"tslib": "^2.4.0",
"typescript": "^3.9.10"
},
"homepage": "https://github.com/azure/oav",
2016-11-09 03:38:30 +03:00
"repository": {
"type": "git",
"url": "https://github.com/azure/oav.git"
2016-11-09 03:38:30 +03:00
},
"bugs": {
"url": "http://github.com/azure/oav/issues"
2016-11-09 03:38:30 +03:00
},
2018-06-01 01:01:32 +03:00
"main": "./dist/index.js",
"bin": {
"oav": "./dist/cli.js"
},
2018-06-01 01:01:32 +03:00
"files": [
"dist/*.js",
"dist/*.d.ts",
2018-09-26 03:18:31 +03:00
"dist/*.js.map",
2018-09-27 00:20:05 +03:00
"dist/*.d.ts.map",
2018-06-01 01:01:32 +03:00
"dist/lib/**/*.js",
2018-06-01 02:50:45 +03:00
"dist/lib/**/*.d.ts",
2018-09-26 03:18:31 +03:00
"dist/lib/**/*.js.map",
2018-09-27 00:20:05 +03:00
"dist/lib/**/*.d.ts.map",
"dist/lib/**/*.handlebars",
"dist/lib/**/*.mustache",
"dist/lib/swaggerValidator/*.json",
2018-09-26 03:18:31 +03:00
"types/**/*.d.ts",
"*.ts",
"lib/**/*.ts"
2018-06-01 01:01:32 +03:00
],
2020-11-24 06:07:36 +03:00
"types": "./dist/index.d.ts",
2017-04-13 07:07:58 +03:00
"scripts": {
"copy-templates": "copyfiles -V -E -u 1 lib/apiScenario/templates/* lib/templates/base*.mustache dist/lib",
Apiscenario (#747) * change types * commit * fix loader * fix variableEnv * apiVersion * add arm deployment script arguments * fix * fix compile error * add setBatchEnv * fix error * fix error * generate api scenario from swagger * success run basic generated api scenario * fix bugs * fix deps * request and response validate (#760) * request and response validate * fix markdown format and remove code * remove unused code Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * use pre-request script for auth * set environment variables * use location variable * default step name * fix * use mocker to generate api scenario * fix step name * fix bug * Fit example based scenario to new syntax (#763) * Fit example based scenario to new syntax * update snapshot Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * add readme params * [ApiScenario] support readme (#768) * support readme * add generate log * use 3.0 autorest * update schema Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * fix schemaType * fix requestUpdate and exampleResponseDiff (#775) * fix requestUpdate and exampleResponseDiff * fix response diff * fix example diff Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.0 * fix copyfiles * 2.12.0-beta.1 * fix package.json * 2.12.0-beta.2 * fix autorest version * 2.12.0-beta.3 * remove autorest (#780) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 2.12.0-beta.4 * armtemplate variable convention (#781) Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * 3.0.0-beta.0 * test proxy recording loader * util * regex * _testLoad * Support remote uri (#784) * remote cdn scenario * fix local * 3.0.0-beta.1 * fix analyze-report * fix bug * fix bug * response assertion * load readmeTag * load readme tag * load cross-rp swagger * use cross-RP operation * 3.0.0-beta.2 * test proxy recording * fix example based template generate (#795) * fix example based template generate * fix commit Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> * start/stop testProxy * polling through test proxy * 3.0.0-beta.3 * add test for apiScenarioLoader (coverage: 79%) (#758) * add test for apiScenarioLoader (coverage: 56%) * add test for apiScenarioLoader (coverage: 79%) * Apiscenario test (#800) * remove log * refactor pathEnv * rename requestParameters & responseExpected * add ApiScenarioLoader test * test load from uri * test load Spring.yaml * skip test from uri * test load appplatform basic.yaml * load compute scenario * remove compute/network/appplatform test * postmanCollectionGenerator test (#801) * fix eslint * Apiscenario test (#803) * ouput uncovered operations in verbose * testProxy test case * refactor * update snaptshot * tiny change * use clientRequest * fix loader test * Apiscenario test (#806) * add more scenario and generate base snapshot * fix arm url * remove uploadBlob option * updateSnapshot * fix bug * prefix x_ * improve pseudo random * fix variable scope * Refactor runner client (#807) * refactor postmanCollectionRunnerClient * fix bug & update snapshot * Remove shareScope (#808) * fix bug * remove shareScope * support variable prefix (#809) * Revert "remove shareScope" This reverts commit 1ad06dd59ad8e59df2ec8cabfb7eadb1fd719ecb. * fix variable scopes * skipCleanUp if scopes are shared * 3.0.0-beta.4 * skip test generate example * remove obsolete snapshot * fix comments * fix fileLoader * revert exampleGenerator specs * add comment * 3.0.0 * fix bug of fileLoader preloadCache * fix fileRoot in run-api-scenario * fix package-lock not in sync & fix eslint * fix npm scripts & update CHANGELOG Co-authored-by: Lei Ni <leni@microsoft.com> Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com> Co-authored-by: Lei Ni <7233663+leni-msft@users.noreply.github.com> Co-authored-by: Ke Yu <33389195+keryul@users.noreply.github.com>
2022-06-10 10:01:39 +03:00
"build": "run-p tsc lint copy-templates",
"tsc": "tsc",
2020-11-24 06:07:36 +03:00
"lint": "eslint ./lib/**/*.ts ./test/**/*.ts ./*.ts",
"lint-fix": "eslint ./lib/**/*.ts ./test/**/*.ts ./*.ts --fix",
"test": "npm run tsc && jest --ci --reporters=default --reporters=jest-junit",
"fast-test": "jest --ci --reporters=default --reporters=jest-junit --config ./jest.config.js ",
"slow-test": "node --max-old-space-size=10192 ./node_modules/.bin/jest -u --runInBand --ci --reporters=default --reporters=jest-junit --config ./regression/jest.regression.config.js ",
"slow-test-sample": "node --max-old-space-size=10192 ./node_modules/.bin/jest -u --runInBand --ci --reporters=default --reporters=jest-junit --config ./regression/jest.regression-sample.config.js ",
"jest": "jest",
2018-06-01 03:36:35 +03:00
"start": "node ./dist/lib/autorestPlugin/pluginHost.js",
2020-11-24 06:07:36 +03:00
"prepack": "npm run build",
"cli": "npm run tsc && node dist/cli.js",
"li": "npm install @ts-common/local-install --no-save && local-install"
},
"engines": {
"node": ">=10.11.0"
},
"jest-junit": {
"output": "test-results.xml"
2017-04-13 07:07:58 +03:00
}
}