Ruoxuan Wang
06f47f51e1
Ruowan/bug fix ( #714 )
...
* fix regex issue
* bump version
* revert package-lock
* Update ChangeLog.md
Co-authored-by: Ray Chen <raychen@microsoft.com>
2021-12-02 10:14:57 +08:00
Ruoxuan Wang
37bd15f5fe
Ruowan/bug fix ( #713 )
...
* add operationSearchTest
* fix regex
* add changelog
2021-12-01 13:57:51 +08:00
Ray Chen
45f515661e
Support spec traces in liveValidator ( #711 )
2021-12-01 10:41:12 +08:00
tianxchen-ms
f0b53e0937
add new step armDeploymentScript ( #712 )
...
* add new step armDeploymentScript
* update types
* update types
* add constants
* fix schema
* bump version
Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com>
2021-11-29 13:47:27 +08:00
Ruoxuan Wang
d1e42e9767
fix url encoding issue ( #706 )
...
* fix url encoding issue
* new URL add base host
* fix URL based
* fix unittest
* rename function
* renmae
* update changelog
* update test and remove unused readme
* fix data-plane regex
* update liveValidator
2021-11-23 11:13:34 +08:00
tianxchen-ms
73dfa760e1
add new rules of discriminator ( #707 )
...
* add new rules INVALID_XMS_DISCRIMINATOR_VALUE and DISCRIMINATOR_PROPERTY_NOT_FOUND
* fix error meta param
* continue when invalid discriminator type
* fix comments
Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com>
2021-11-22 14:54:51 +08:00
tianxchen-ms
0ac7ebb818
Fix false alarm for MISSING_PATH_PARAMETER_DEFINITION ( #708 )
...
* Fix false alarm for MISSING_PATH_PARAMETER_DEFINITION
* fix comments
Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com>
2021-11-22 09:47:45 +08:00
Ray Chen
f079ea65c5
Make response headers as optional ( #705 )
...
* Make response headers as optional
* adding test payloads
* Ignore LRO header check for livevalidator
* Support suppression on error code
2021-11-18 13:24:05 +08:00
Ligengxin
6a1a91ad46
Fix 'generate-examples' command failed to generate correct format for ‘uri’ format parameter ( #704 )
...
* Fix 'generate-examples' command failed to generate correct format for ‘uri’ format parameter
* add test case
* more test case
* add missing file
* update
* add test case
* update
Co-authored-by: Gengxin Li <v-wenbli@microsoft.com>
2021-11-15 13:22:49 +08:00
Ray Chen
3329c1669d
Upgrade autorest schema ( #701 )
...
* Upgrade autorest schema
* Fix content-type and unknown format issue.
* fix snapshots
2021-11-09 08:43:42 +08:00
KeYu(AnkhSpirit)
cf8c7c6c59
fix jsonPathToArray bug and update snapshot ( #702 )
...
* fix jsonPathToArray bug and update snapshot
* add change log
* update change log
2021-11-08 15:19:28 +08:00
Ruoxuan Wang
3104b4fa13
bug fix for api scenario generation ( #695 )
2021-11-05 16:39:33 +08:00
tianxchen-ms
58768ff1e1
check discriminator property type must be string ( #698 )
...
* check discriminator property type must be string
* add changelog and bump version
Co-authored-by: Tianxiang Chen <tianxchen@microsoft.com>
2021-11-04 16:50:39 +08:00
Ray Chen
ad2c485d5a
support dataplane traffic validation ( #696 )
...
* support dataplane traffic validation
* add operationInfo and extends format
* bump version
2021-11-04 16:20:24 +08:00
Ray Chen
9024ac5b59
Fix error conversion issue in MV ( #694 )
...
* Fix error conversion issue in MV
* refactor output info in mv/sv commands
* fix snapshot of regression test
2021-10-26 15:45:55 +08:00
Ruoxuan Wang
83fbc1eb64
Ruowan/gen api scenario ( #693 )
...
* generate api-scenario support pass swagger file as input
* support pass swaggers as input
* update changelog and bump version
2021-10-26 15:33:44 +08:00
Zhenglai Zhang
9a2b04e9c2
minor improvement for api scenario runner ( #692 )
...
* minor improvement for api scenario runner
* fix typo
* remove cloudName default value to support customized armEndpoint
* remove cloudName support to add its support in wrapper
* update snapshot
2021-10-21 17:43:52 +08:00
Ray Chen
15bc328187
User/raych1/new mv ( #680 )
...
* new version of model validation
* package info change
* Update some tests
* clean up some unused code
* support formData parameter
* fix lint issue
* update snapshot
* resolve external swagger error path
* fixed style issue
* fix error in semantic validator test while merging branch 'new-mv' (#691 )
* fix snapshots
Co-authored-by: KeYu(AnkhSpirit) <33389195+KeYu-AnkhSpirit@users.noreply.github.com>
2021-10-20 13:42:57 +08:00
Ray Chen
2cf07cb2ef
Export loader types ( #690 )
2021-10-19 15:55:16 +08:00
KeYu(AnkhSpirit)
36dfb6e868
update tests for semantic validator ( #689 )
...
* update tests for semantic validator
* fix suppress test
Co-authored-by: Ray Chen <raychen@microsoft.com>
2021-10-19 15:14:33 +08:00
KeYu(AnkhSpirit)
09211bd28d
update vmImage ( #688 )
2021-10-19 11:37:26 +08:00
Ruoxuan Wang
7f08b5cf98
example extractor support add url parameter ( #679 )
2021-09-30 16:01:12 +08:00
Lei Ni
561e55e3b0
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 273b05ef82
.
* Revert "Update validate-examples-regression-sample.yml for Azure Pipelines"
This reverts commit d758018bdb
.
* 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 11:27:59 +08:00
Ke Yu
5fb05951e6
Updating ansi-regex ( #676 )
...
* Updating ansi-regex in yasway
* Updating ansi-regex from 5.0.0 to 5.0.1 in copyfiles
* Updating ansi-regex from 5.0.0 to 5.0.1 in eslint
* Updating ansi-regex from 5.0.0 to 5.0.1 in jest
* Updating ansi-regex from 4.1.0 to 5.0.1 in types/jest
* dedupe ansi-regex 5.0.1
* Revert "dedupe ansi-regex 5.0.1"
This reverts commit 88dfd926ac
.
* fix ansi-regex from 2.1.1 to 5.0.1 by updating yargs from 7.1.2 to 15.4.1
2021-09-30 09:43:22 +08:00
Ruoxuan Wang
2140c9f99d
Fix cg 3 ( #675 )
...
* fix cg
* bump version
* reformat
* reformat
* fix no new line
2021-09-28 13:03:28 +08:00
Ke Yu
33c5260747
Fix alerts issues by updating libraries ( #669 )
...
* Fix alerts issues by updating libraries
@azure/openapi-markdown
@ts-common/commonmark-to-markdown
yargs
glob-parent
* Fix legal alerts caused by intel and utcstring
* Fix alert issue by updating set-value
* Refresh package-lock.json about set-value
Co-authored-by: Ray Chen <raychen@microsoft.com>
2021-09-24 13:03:43 +08:00
dependabot[bot]
8a2ea9846a
Bump tmpl from 1.0.4 to 1.0.5 ( #668 )
...
Bumps [tmpl](https://github.com/daaku/nodejs-tmpl ) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/daaku/nodejs-tmpl/releases )
- [Commits](https://github.com/daaku/nodejs-tmpl/commits/v1.0.5 )
---
updated-dependencies:
- dependency-name: tmpl
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ray Chen <raychen@microsoft.com>
2021-09-24 12:45:42 +08:00
dependabot[bot]
2094024c1b
Bump axios from 0.21.1 to 0.21.4 ( #664 )
...
Bumps [axios](https://github.com/axios/axios ) from 0.21.1 to 0.21.4.
- [Release notes](https://github.com/axios/axios/releases )
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md )
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.4 )
---
updated-dependencies:
- dependency-name: axios
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-24 09:31:41 +08:00
Ruoxuan Wang
1209c13802
fix vulerability issue ( #667 )
...
* fix vulerability issue
* add postman collection
2021-09-16 15:38:43 +08:00
dependabot[bot]
db2f99508f
Bump postcss from 7.0.35 to 7.0.36 ( #652 )
...
Bumps [postcss](https://github.com/postcss/postcss ) from 7.0.35 to 7.0.36.
- [Release notes](https://github.com/postcss/postcss/releases )
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md )
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.36 )
---
updated-dependencies:
- dependency-name: postcss
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ray Chen <raychen@microsoft.com>
2021-09-13 10:52:16 +08:00
dependabot[bot]
2650617cf7
Bump ws from 5.2.2 to 5.2.3 ( #651 )
...
Bumps [ws](https://github.com/websockets/ws ) from 5.2.2 to 5.2.3.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.3 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-13 10:44:56 +08:00
Ruoxuan Wang
d563232003
Ruowan/operation coverage ( #662 )
...
* calculate operation coverage
* bump version and update changelog
* fix operation coverage
* runner support step scope variables
* Fix runner armTemplate outpuyt as runtime variables. support different
scope level variables.
* update changelog
2021-09-08 14:40:42 +08:00
Ruoxuan Wang
c9ae46271a
Ruowan/small fix ( #657 )
...
* runner support resolve armTemplate and deploymentScripts
* update comments
* bump version and update changelog
2021-08-25 15:25:31 +08:00
Ligengxin
9d766e068f
Cli command bug fix ( #658 )
...
* fix validate-traffic command path bug
* Bug fix: generate-examples can't generate 4xx status code
* disable loadValidatorInBackground
* delete space
Co-authored-by: Gengxin Li <v-wenbli@microsoft.com>
2021-08-25 15:04:24 +08:00
Ray Chen
a91895fd04
Live validator update from rpaas feedback ( #656 )
...
* Live validator update from rpaas feedback
* Isolate RP when running transform in livevalidator
* Use template msg for livevalidation runtime error
2021-08-25 14:36:17 +08:00
Phoenix He
2e25ef5da2
Refactor Semantic Feature ( #649 )
...
* sync
* Add changelog
Co-authored-by: Phoenix He <tih@microsoft.com>
Co-authored-by: raychen <raychen@microsoft.com>
2021-08-12 17:36:27 +08:00
Ruoxuan Wang
fb33f9b16e
remove unused log ( #654 )
2021-08-11 14:12:43 +08:00
JianyeXi
066e989670
runner debug mode ramp up ( #650 )
...
* save after step env file
* fix lint error
* rename method
* fix merge conflict
* add change log
Co-authored-by: jianye xi <jianyxi@microsoft.com>
2021-08-11 13:09:27 +08:00
Lei Ni
60e9727dec
fix bug ( #653 )
...
* fix bug
* fix bug
2021-08-10 16:58:50 +08:00
Ruoxuan Wang
6c9aab3879
make runner run api sync ( #648 )
...
* runner run test scenario sequentially
* add runner architecture
* bump version and update changelog
* remove install gif update runApiTest.gif
2021-08-10 14:49:25 +08:00
Ligengxin
7320e528a0
Disable checkUnderFileRoot in `Validate Traffic` command ( #646 )
...
* Disable checkUnderFileRoot
* Disable checkUnderFileRoot
* bump version
* update
2021-08-03 15:08:25 +08:00
Ruoxuan Wang
5660d08093
Update readme and small bug fix ( #644 )
...
* fix lint
* add gif
* add installOav.gif
* update oav -h in readme
* update runApiTest doc
* small fix
* avoid conflict step name when generate postman collection item
* update changelog
* support verbose command update gif
* update doc
* refine doc
* poller do not output err
* update gif
* fix typo
* bug fix. setup subscriptionId as environment variables
* update changelog
2021-07-29 11:32:57 +08:00
JianyeXi
8e43493bf9
support load variables from env & debugging mode ( #643 )
...
* load env
* wip
* load env
* add debugging mode
* wip
* add
* small fix
* wip
* remove ci option
* default not clean up
* fix rebase issue
* add from to check
* fix desc
* fix linting error
* fix comments
* wip
* improve consolidating env logic
* fix linting error
* bump version
* add change log
Co-authored-by: jianye xi <jianyxi@microsoft.com>
2021-07-22 10:42:38 +08:00
Ligengxin
992502de36
Bug Fix: validate-traffic command doesn't support relative path input ( #642 )
...
* bug fix: validate-traffic command doesn't support relative path input
* Bump version and update changelog
2021-07-16 08:09:29 +08:00
Ruoxuan Wang
3008735de8
Ruowan/pass variables ( #638 )
...
* default resourceGroupPrefix apiTest
* run test scenario command support skip cleanup
* runner support predefined resourceGroup. and skip cleanup
* fix resourceUpdate bug
* oav test scenario runner support dryRun mode
* rename analyze-newman-report
* oav runner support pass variables
* support pass variables
* update outputVariables schema
* run-test-scenario add oav run alias
* postman runner support get object value by json pointer
* update changelog and bump version
* udpate jsonPointer unittest
* small fix
* update package-lock
* revert back oav
* revert back readme
* remove unused log
2021-07-15 10:10:47 +08:00
Ligengxin
51e2e4247b
support validate-traffic <traffic-path> <spec-path> command in OAV cli ( #633 )
...
* support validate-traffic <traffic-path> <spec-path> command
* fix format
* update command describe
* update
* update log type
* format
* update readme
* delete semicolon
* test ci
* check file path before validate
* resolve comment
* resovle comment
* Update
* add missing dependency files
* fix lint
* remove files
* resolve comment
* fix lint
* Bump version and update changelog
* update
Co-authored-by: Ray Chen <raychen@microsoft.com>
2021-07-13 11:36:21 +08:00
Phoenix He
56886b0e5e
Support request/response transform and output variable from response ( #640 )
2021-07-09 16:57:29 +08:00
Ray Chen
1234376d48
Ignore LRO header check in case of sync calls ( #637 )
...
* Ignore LRO header check in case of sync calls
* Update snapshots and test swagger
2021-07-06 15:39:47 +08:00
Ruoxuan Wang
375072f6b9
support extract output from armTemplate deployment ( #634 )
...
* support extract output from armTemplate
* update changelog and bump version
* remove unused log
* fix compitablity issue
* fix compatibility issue.
2021-06-29 13:51:20 +08:00
Ruoxuan Wang
8c9e084268
small fix ( #632 )
2021-06-24 16:33:49 +08:00