Граф коммитов

65 Коммитов

Автор SHA1 Сообщение Дата
JianyeXi c366e859b7
Breaking change configurable (#77)
* Add breaking change filter

* send labels if message type is error

* adding change log
2020-11-02 15:26:39 +08:00
Ray Chen ef4aedacb9
Upgrade oav to 0.9.22 (#76)
* Upgrade OAV to latest version.

* Upgrade octokit version to fix CI failues.

* Upgrade oav to 0.22.9.

- Ignore required validation rule in response when x-ms-secret is true
- Output model detail in log when resolve it with failure
- Report error when the example reference is not defined or is not correct
2020-10-19 11:53:06 +08:00
JianyeXi 3d8ad18b02
Bug fix for breaking change (#75)
* fix issue

* add changelog

* update

Co-authored-by: jianyexi <jianyxi@microsoft.com>
2020-10-12 10:59:35 +08:00
Wenhao Zhang a08657ebff
Add message for catched error (#74)
* Tune message for catched error

* add change log
2020-09-24 17:56:02 +08:00
Ray Chen d0b95c706e
Upgrade oav with fix in dump yaml error object (#73)
* Upgrade oav@0.22.7 for a fix on yaml dump error.
2020-09-24 11:01:14 +08:00
JianyeXi 9d1463f90d
Add cross api version breaking change detector (#65)
* mask rpaas violation for lintdiff

* refactor lint code

* cross api breaking change

* bump version

Co-authored-by: jianyexi <jianyxi@microsoft.com>
2020-09-22 14:44:09 +08:00
Wenhao Zhang fb962a6934
Improve the error message shows on unified pipeline for semantic validation (#66)
Co-authored-by: t-zhangw <codespace@72c482c53b75>
2020-09-09 09:34:17 +08:00
JianyeXi e6d7038bcd
support rpsaas (#64)
Co-authored-by: jianyexi <jianyxi@microsoft.com>
2020-09-02 19:51:41 +08:00
JianyeXi 3eb8be7619
Fix Lint RPaaS issue (#63)
* add debug message

* fix display of lint RPaaS

* update change log

* fix test case


Co-authored-by: jianyexi <jianyxi@microsoft.com>
2020-09-02 10:19:55 +08:00
JianyeXi 30d1c69e38
Add script of RpaaS lint (#61)
* update version

* add lintingRpaas to index

Co-authored-by: jianyexi <jianyxi@microsoft.com>
2020-09-01 13:33:38 +08:00
Wenhao Zhang 6822c4f1e5
Onboard model validation and semantic validation to unified pipeline. (#62)
* Add ModelValidation and SemanticValidation

* Upgrade version and add change log

* fix issues according to code review

Co-authored-by: t-zhangw <codespace@72c482c53b75>
Co-authored-by: Zhenglai Zhang <darinzh@microsoft.com>
2020-08-17 13:49:10 +08:00
JianyeXi 6cc02cbb5a
Lint diff bug fix & error improve (#59)
* fix lint failure when no swagger changing

* increase package version

Co-authored-by: jianyexi <jianyxi@microsoft.com>
2020-08-12 14:56:17 +08:00
JianyeXi e31db9e927
Lint improve error handling & choosing tags (#56)
* improve lint error handling

* improve lint diff

* default tag high prior

* do not throw exception

* update change log

Co-authored-by: jianyexi <jianyxi@microsoft.com>
2020-08-10 14:47:34 +08:00
JianyeXi e0a5d2a9cd
Lint hot fix (#58)
* fix bug

* update change log

Co-authored-by: jianyexi <jianyxi@microsoft.com>
2020-07-21 13:50:48 +08:00
xiaoxu qi c804c9a302
Remote old tag in path for lint diff (#55)
* remove old tag in path

* remove old tag in path
2020-06-18 09:26:38 +08:00
xiaoxu qi 19ad2edd34
Support lint diff in unified pipeline. (#54)
* support lint diff in unified pipeline

* support lint diff in unified pipeline

* support lint diff in unified pipeline

* support lint diff in unified line

* support lint diff in unified line

* support lint diff in unified pipeline

* support lint diff in unified pipeline

* support lint diff in unified pipeline

Co-authored-by: Xiaoxu Qi <xiaoxuqi@microsoft.com>
2020-06-15 09:42:37 +08:00
Ruoxuan Wang d3fb86f495
breaking change print error log (#53)
* breaking change print error log

* fix regex in specification.

* changelog and bump version
2020-06-05 16:28:44 +08:00
Ruoxuan Wang d3d9c995f2
whitelist RPSaaSMaster branch (#52)
* whitelist RPSaaSMaster branch

* fix logic

* bump version and changelog

* fix logic
2020-06-02 11:35:02 +08:00
Ray Chen a2a7a2965a
Update exit code (#51)
* Set exitcode when calling semantic test.
2020-05-28 16:01:16 +08:00
Ruoxuan Wang 832f8cccd2
unified pipeline output (#49)
bump beta version

add trimSwaggerPath

bump version

append to log file

one json log one line.

fix env

github style path

upgrade oad to 0.7.1

collect error log

update package, small update about format

bump version and update changelog

rename function name.Breaking change remove resolve swagger since oad
already do it.
i# Please enter the commit message for your changes. Lines starting

bump version
2020-05-27 13:00:58 +08:00
Ray Chen 62b82fa5bc
Upgrade oav (#50)
* Upgrade oav version.

Avoid adding nullable value for parameter when its' type isn't string;
Output exception infomation for semantic validation.

* Upgrade oad version.
2020-05-27 11:16:11 +08:00
JianyeXi 4e2db16eb3
Fix lintdiff bug (#48)
* fix lintDiff bug

* update changelog

* update oad

* update test case

* remove unused function

Co-authored-by: Jianye Xi <jianyxi@microsoft.com>
2020-05-18 14:27:17 +08:00
JianyeXi 4f0085a4c0
support lint checking for changed input files which are not in default tags (#47)
* support lint checking for  changing of input files which are not  in default tags

Co-authored-by: Jianye Xi <jianyxi@microsoft.com>
2020-05-09 17:16:01 +08:00
JianyeXi 6e704fb98c
breaking change compare against master (#45)
* breaking change compare against master

* update

* update package version

Co-authored-by: Jianye Xi <jianyxi@microsoft.com>
2020-04-22 13:01:10 +08:00
Ray Chen 7c159337cb
Upgrade oav version 0.21.5 (#46)
* Upgrade oav version with pipeline output fix.

Output the exception information when pretty switch is on.
2020-04-22 10:12:53 +08:00
JianyeXi 4ae3aaa288
update oav version to 0.21.4 (#44)
Co-authored-by: Jianye Xi <jianyxi@microsoft.com>
2020-04-14 13:27:04 +08:00
Ray Chen ad45687e98
Update oav (#41)
* Upgrade OAV to latest version.

* Lock typescript version.

* Add package.lock
2020-03-30 19:58:11 +08:00
JianyeXi 375a8dfbd8
Enable pass version of lint tool via environment varaible & upgrade oav versoin (#40)
* enable specify lint versino through env var

* update oav version & changelog

* update package version

* add test

* improve code quaility
2020-03-26 13:45:45 +08:00
Ruoxuan Wang 6e941a216e
breaking change output formatted json message (#39) 2020-03-13 15:39:14 +08:00
Ruoxuan Wang a91b2302b0
fix breaking change can't find file bug (#38)
* fix breaking change can't find file bug

* add unit-test

* add comments for test

* update changelog

* add root cause

* add cleanUp function

* ignore rm error
2020-03-06 15:10:56 +08:00
JianyeXi 715eb20911
fix octokit.issues undefined issue (#37)
* fix octokit.issues undefined issue

* add test for postToGitHub & bump version
2020-03-04 13:54:50 +08:00
JianyeXi 7471a5fc58
move tests to src (#36)
* move tests to src

* update changelog
2020-03-02 13:16:49 +08:00
JianyeXi f2956018e1
code compatible with typescript 3.5.3 (#34)
* code compatible with typescript 3.5.3

* bump up version
2020-02-28 14:11:12 +08:00
Ruoxuan Wang 20ec3d52f4
breaking change expose result (#32) 2020-02-28 10:09:32 +08:00
JianyeXi bce4854295
Update Lint tool invoke script : separate rules to data-plane and arm (#29)
* Update Lint tool invoke script : separate rules to data-plane and arm

* improve npm test script

* add npm test to pipeline
2020-02-27 14:13:19 +08:00
Ruoxuan Wang 6f1b458146
fix breaking-change always pass bug (#30)
* fix breaking-change always pass bug

* update Changelog
2020-02-27 10:33:32 +08:00
Ray Chen aba64aabb7
Upgrade OAV to latest version. (#28)
* Upgrade OAV to latest version.

* Upgrade octokit version to fix CI failues.
2020-02-21 17:57:21 +08:00
Ray Chen 77e2a4f14a
Revert oav version to latest release version. (#25) 2019-09-20 16:02:01 +08:00
Ray Chen 04eff643f6
Use uploadfile vso task for logging testing. (#24) 2019-09-20 15:08:07 +08:00
Ray Chen d64330057d
use latest oav beta version. (#23) 2019-09-19 17:25:17 +08:00
Ray Chen 0fe5ef4c1b
use latest version of oav for testing logging. (#22) 2019-09-19 16:30:59 +08:00
Ray Chen 694127db1e
Use latest oav beta version for testing. (#21) 2019-09-19 10:06:09 +08:00
Ray Chen ed4bb3acad
Use beta oav version. (#20) 2019-09-18 16:18:41 +08:00
Ray Chen 337ec50965
Upgrade oav version. (#19) 2019-09-09 10:07:13 +08:00
Zhiqing Qiu 6efc42c427
Update openapi-diff to fix deserialization issue (#18) 2019-08-28 11:03:42 +08:00
Ray Chen 4b8565fc5b
Revert OAV to earlier version. (#16)
There is side effect for validation on discriminator as requried which
may introduce SDK breaking change.
2019-08-16 16:12:44 +08:00
Nick Schonning 59e86492de chore: Bump OAV version to 0.19.0 (#12)
* chore: Bump OAV version to 0.19.0

* chore: Bump version to 0.4.2
2019-08-15 11:32:52 +08:00
Phoenix He f5e82e30b1
Run semantic validation only on specification files (#14) 2019-07-31 19:27:32 +08:00
ruowan 3da86fe62e Replace diff function in `getFilesChangedInPR` and small fix (#11)
* `structuralDiff` in `getFilesChangedInPR` instead of `diff`

* fix '@types/jsonpath' and result for exec function

* bump version small fix
2019-07-10 17:11:23 -07:00
Sergey Shandar b273baf1be
Move scripts from specs repo (#7)
* modelValidation

* changelog

* breaking changes: no global variables.

* Remove global variables.

* postToGitHub

* 0.3.1

* postToGitHub

* momentOfTruthPostProcessing

* 0.3.3 scripts

* semanticValidation

* 0.3.5

* minor

* GetSwaggers()

* getExamples()

* bug fix.

* getLogDir()
2019-04-24 10:29:07 -07:00