Commit Graph

1821 Commits (8c31525378c1c32103d1f14d6dd8fecfa0094745)
 

Author SHA1 Message Date
zhoumingji 8c31525378 Fix bug in dartgen: Increase the processing logic when route.RequestType is empty 2 years ago
cui fliter 2cf09f3c36 fix functiom name
Signed-off-by: cui fliter <imcusg@gmail.com>
2 years ago
Kevin Wan d41e542c92 feat: support grpc client keepalive config (#2950) 2 years ago
tanglihao 265a24ac6d fix code format style use const config.DefaultFormat 2 years ago
tanglihao 7d88fc39dc fix log name conflict 2 years ago
anqiansong 6957b6a344 format code 2 years ago
anqiansong bca6a230c8 remove unused code 2 years ago
anqiansong cc8413d683 remove unused code 2 years ago
anqiansong 3842283fa8 Fix #2879 2 years ago
qiying.wang fe13a533f5 chore: remove redundant prefix of "error: " in error creation 2 years ago
qiying.wang 7a327ccda4 chore: add tests for logc debug 2 years ago
qiying.wang 06e4507406 feat: add debug log for logc 2 years ago
kevin 8794d5b753 chore: add comments 2 years ago
kevin 9bfa63d995 chore: add more tests 2 years ago
kevin a432b121fb chore: add more tests 2 years ago
kevin b61c94bb66 feat: check key overwritten 2 years ago
Kevin Wan 93fcf899dc fix: config map cannot handle case-insensitive keys. (#2932)
* fix: #2922

* chore: rename const

* feat: support anonymous map field

* feat: support anonymous map field
2 years ago
Kevin Wan 9f4b3bae92 fix: #2899, using autoscaling/v2beta2 instead of v2beta1 (#2900)
* fix: #2899, using autoscaling/v2 instead of v2beta1

* chore: change hpa definition

---------

Co-authored-by: kevin.wan <kevin.wan@yijinin.com>
2 years ago
Kevin Wan 805cb87d98 chore: refine rest validator (#2928)
* chore: refine rest validator

* chore: add more tests

* chore: reformat code

* chore: add comments
2 years ago
Qiying Wang 366131640e feat: add configurable validator for httpx.Parse (#2923)
Co-authored-by: qiying.wang <qiying.wang@highlight.mobi>
2 years ago
Kevin Wan 956884a3ff fix: timeout not working if greater than global rest timeout (#2926) 2 years ago
raymonder jin f571cb8af2 del unnecessary blank 2 years ago
Kevin Wan cc5acf3b90 chore: reformat code (#2925) 2 years ago
chenquan e1aa665443 fix: fixed the bug that old trace instances may be fetched 2 years ago
xiandong cd357d9484 rm parseErr when kindJaeger 2 years ago
xiandong 6d4d7cbd6b rm kindJaegerUdp 2 years ago
xiandong c593b5b531 add parseEndpoint 2 years ago
xiandong fd5b38b07c add parseEndpoint 2 years ago
xiandong 41efb48f55 add test for Endpoint of kindJaegerUdp 2 years ago
xiandong 0ef3626839 add test for Endpoint of kindJaegerUdp 2 years ago
xiandong 77a72b16e9 add kindJaegerUdp 2 years ago
Kevin Wan 21566f1b7a chore: reformat code (#2903) 2 years ago
anqiansong b2646e228b feat: Add request.ts (#2901)
* Add request.ts

* Update comments

* Refactor request filename
2 years ago
cong 588b883710 refactor: simplify sqlx fail fast ping and simplify miniredis setup in test (#2897)
* chore(redistest): simplify miniredis setup in test

* refactor(sqlx): simplify sqlx fail fast ping

* chore: close connection if not available
2 years ago
Kevin Wan 033910bbd8 Update readme-cn.md 2 years ago
fondoger 530dd79e3f Fix bug in dart api gen: path parameter is not replaced 2 years ago
Kevin Wan cd5263ac75 Update readme-cn.md 2 years ago
Kevin Wan ea3302a468 fix: test failures (#2892)
Co-authored-by: kevin.wan <kevin.wan@yijinin.com>
2 years ago
fondoger abf15b373c Fix Dart API generation bugs; Add ability to generate API for path parameters (#2887)
* Fix bug in dartgen: Import path should match the generated api filename

* Use Route.HandlerName as generated dart API function name

Reasons:
- There is bug when using url path name as function name, because it may have invalid characters such as ":"
- Switching to HandlerName aligns with other languages such as typescript generation

* [DartGen] Add ability to generate api for url path parameters such as /path/:param
2 years ago
Kevin Wan a865e9ee29 refactor: simplify stringx.Replacer, and avoid potential infinite loops (#2877)
* simplify replace

* backup

* refactor: simplify stringx.Replacer

* chore: add comments and const

* chore: add more tests

* chore: rename variable
2 years ago
Kevin Wan f8292198cf Update readme-cn.md 2 years ago
Kevin Wan 016d965f56 chore: refactor (#2875) 2 years ago
dahaihu 95d7c73409 fix Replacer suffix match, and add test case (#2867)
* fix: replace shoud replace the longest match

* feat: revert bytes.Buffer to strings.Builder

* fix: loop reset nextStart

* feat: add node longest match test

* feat: add replacer suffix match test case

* feat: multiple match

* fix: partial match ends

* fix: replace look back upon error

* feat: rm unnecessary branch

---------

Co-authored-by: hudahai <hscxrzs@gmail.com>
Co-authored-by: hushichang <hushichang@sensetime.com>
2 years ago
Kevin Wan 939ef2a181 chore: add more tests (#2873) 2 years ago
Kevin Wan f0b8dd45fe fix: test failure (#2874) 2 years ago
Mikael 0ba9335b04 only unmashal public variables (#2872)
* only unmashal public variables

* only unmashal public variables

* only unmashal public variables

* only unmashal public variables
2 years ago
Kevin Wan 04f181f0b4 chore: add more tests (#2866)
* chore: add more tests

* chore: add more tests

* chore: fix test failure
2 years ago
hudahai 89f841c126 fix: loop reset nextStart 2 years ago
hudahai d785c8c377 feat: revert bytes.Buffer to strings.Builder 2 years ago
hudahai 687a1d15da fix: replace shoud replace the longest match 2 years ago