Tony Chen
|
f0878b0a78
|
fix ewma panic (#2480)
* fix ewma panic
|
2022-10-28 20:22:14 +08:00 |
|
Tony Chen
|
185aaa7184
|
fix net error (#2460)
|
2022-10-18 21:36:06 +08:00 |
|
Tony Chen
|
a680321309
|
add custom binding (#2428)
* add custom binding
* fix test
* fix empty value
|
2022-10-10 10:51:06 +08:00 |
|
Tony Chen
|
468630cc4b
|
expose request from transport (#2427)
|
2022-10-09 16:50:09 +08:00 |
|
Tony Chen
|
2d325fd386
|
fix(http/binding): fix http encode url (#2392)
* fix(http/binding): fix http encode url
|
2022-09-21 11:31:51 +08:00 |
|
Tony Chen
|
2d206076f8
|
fix logger caller depth (#2283)
|
2022-08-16 22:54:55 +08:00 |
|
 Tony Chenandchenzhihui
|
f3b0da3f04
|
feat(middleware): add selector matcher (#2239)
* feat(middleware): add selector matcher
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
|
2022-07-27 13:05:45 +08:00 |
|
 Tony Chenandchenzhihui
|
3c54997dd8
|
fix default behavior for gRPC encoding (#2187)
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
|
2022-07-27 10:56:36 +08:00 |
|
 Tony Chenandchenzhihui
|
d0a0edf67b
|
feat(http): add http router walk (#2181)
* add http router walk
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
|
2022-07-11 19:32:54 +08:00 |
|
 Tony Chenandchenzhihui
|
6ac63e6439
|
fix(transport): http endpoint listening (#2180)
* fix http serve
* fix endpoint nil
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
|
2022-07-10 16:33:52 +08:00 |
|
 Tony Chenandchenzhihui
|
c90eab4577
|
fix transport early listening (#2177)
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
|
2022-07-10 15:11:18 +08:00 |
|
 Tony Chenandchenzhihui
|
0bcdb8d59c
|
fix(encoding/form): encode optional value (#2155)
* fix form encode optional value
* fix test
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
|
2022-07-07 22:53:28 +08:00 |
|
 Tony Chenandchenzhihui
|
a0e624c0b8
|
fix(binding): fix bind field mask (#2112)
* fix bind field mask
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
|
2022-06-19 20:16:58 +08:00 |
|
 Tony Chenandchenzhihui
|
1b3529fd0b
|
transport/http(feat): add redirector to forward request (#2074)
* add redirector to forward request
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
|
2022-06-02 18:55:28 +08:00 |
|
Tony Chen
|
97c103a395
|
fix with logger (#2062)
* fix with logger
|
2022-05-28 19:45:37 +08:00 |
|
Tony Chen
|
dccee86141
|
log: remove component logger to use global logger (#2061)
* remove component logger to user global logger
|
2022-05-27 16:29:07 +08:00 |
|
Tony Chen
|
503ec03f37
|
app: fix instance nil when not registered (#2059)
* fix instance nil when not registered
* fix data race
|
2022-05-27 01:15:21 +08:00 |
|
Tony Chen
|
97fd33ece7
|
opensergo: fix http path & method (#2035)
|
2022-05-24 10:18:38 +08:00 |
|
Tony Chen
|
79497dd3a5
|
log: fix global logger (#2034)
* log: fix global logger
|
2022-05-24 00:40:45 +08:00 |
|
Tony Chen
|
6eae1745bd
|
http: handle default mux (#2033)
|
2022-05-23 23:52:25 +08:00 |
|
Tony Chen
|
ae230eb550
|
feat: add opensergo metadata (#1947)
* add opensergo metadata
|
2022-04-25 14:58:48 +08:00 |
|
Tony Chen
|
d0b704b8f3
|
feat(selector): add node scheme (#1932)
* add node scheme
|
2022-04-14 13:48:20 +08:00 |
|
Tony Chen
|
a72fc68ffd
|
feat: add error cause for statck trace (#1910)
* add error cause for statck trace
|
2022-04-10 16:15:34 +08:00 |
|
Tony Chen
|
fd2335ba38
|
add json codec for grpc (#1908)
|
2022-04-03 00:48:54 +08:00 |
|
Tony Chen
|
7a5c2207a1
|
fix: starter parent ctx (#1895)
* fix: starter parent ctx
* fix stop ctx
|
2022-03-18 23:05:29 +08:00 |
|
Tony Chen
|
51fb0e0440
|
fix(log): call depth (#1885)
* fix log caller
|
2022-03-18 00:03:33 +08:00 |
|
Tony Chen
|
c550a886e9
|
fix: decode empty body (#1882)
|
2022-03-17 10:04:48 +08:00 |
|
Tony Chen
|
03ad2b6636
|
fix: error code judgment (#1849)
* fix error code judgment
* fix errors test
|
2022-03-01 12:04:57 +08:00 |
|
Tony Chen
|
6ec695064b
|
move container group to internal (#1827)
|
2022-02-19 16:48:31 +08:00 |
|
Tony Chen
|
34d0cccefd
|
fix: allocates new objects each time (#1802)
|
2022-01-28 15:05:26 +08:00 |
|
Tony Chen
|
0965bf8e22
|
fix(cmd/kratos): specified version for upgrade (#1772)
|
2022-01-17 18:42:05 +08:00 |
|
Tony Chen
|
11a6120a2e
|
fix FieldMask are converted to/from lower-camel naming conventions. (#1724)
|
2021-12-28 20:31:23 +08:00 |
|
Tony Chen
|
b353ab91f1
|
add pprof handler (#1587)
|
2021-10-27 23:50:45 +08:00 |
|
Tony Chen
|
b92e8a9da8
|
deps: update otel to v1.0.0-rc3 (#1466)
* update otel to v1.0.0-rc3
|
2021-09-12 15:28:10 +08:00 |
|
Tony Chen
|
0184d217cf
|
fix(transport/grpc): default base ctx (#1465)
* fix grpc base ctx
|
2021-09-12 01:07:44 +08:00 |
|
Tony Chen
|
6e6526efd9
|
fix: middleware uses sentinel error (#1463)
|
2021-09-11 18:56:51 +08:00 |
|
Tony Chen
|
aed6af7acc
|
fix http server handler (#1456)
|
2021-09-09 23:12:48 +08:00 |
|
Tony Chen
|
b38c1145cf
|
fix(middleware/circuitbreaker): add breaker group (#1453)
* add breaker group
* update aegis to v0.1.1
|
2021-09-09 10:40:53 +08:00 |
|
Tony Chen
|
009cf68312
|
feat: add container group (#1452)
* add container group
|
2021-09-08 23:23:05 +08:00 |
|
Tony Chen
|
1ac50be94c
|
fix: sra to aegis (#1420)
* fix: sra to aegis
|
2021-09-05 22:42:38 +08:00 |
|
Tony Chen
|
bc35f20228
|
feat(endpoint): add endpoint parser (#1273)
* feat(endpoint): add endpoint parser
* fix parseTarget ut
* fix insecure testing
|
2021-07-29 10:11:38 +08:00 |
|
 
|
5ca42fe921
|
feat(transport): add transport tls config (#1267)
* add http tls config
* add grpc tls config
* add examples tls
* fix resolver parseTarget
* support https for discovery
* add isSecure
* clean code
Co-authored-by: longXboy <longxboyhi@gmail.com>
Co-authored-by: 包子 <baozhecheng@foxmail.com>
|
2021-07-28 13:36:15 +08:00 |
|
Tony Chen
|
e7d2f4966a
|
upgrade kratos to v2.0.3 (#1264)
|
2021-07-27 15:59:34 +08:00 |
|
Tony Chen
|
b3594c25d3
|
update release version (#1262)
|
2021-07-27 15:47:27 +08:00 |
|
 Tony Chenand包子
|
97694b19ad
|
test: add registry tests (#1260)
* add registry tests
* add registrar timeout
Co-authored-by: 包子 <baozhecheng@foxmail.com>
|
2021-07-27 15:35:47 +08:00 |
|
Tony Chen
|
7773d15256
|
fix(grpc/resolver): fix builder context (#1258)
* fix grpc resovler ctx
* fix client close
* upgrade etcd to v3.5.0
* clean code
|
2021-07-26 23:44:41 +08:00 |
|
Tony Chen
|
623fc5cb3f
|
update version to v2.1.0-dev (#1249)
* update version to v2.1.0-dev
* fix pkg ordering
* upgrade kratos version
|
2021-07-25 22:29:16 +08:00 |
|
Tony Chen
|
f872ec4685
|
mod: clean cmd mod (#1240)
|
2021-07-25 00:29:09 +08:00 |
|
Tony Chen
|
77a39d3bb6
|
mod: upgrade uuid & form (#1239)
* mod: upgrade uuid & form
* add release version
|
2021-07-25 00:07:51 +08:00 |
|
Tony Chen
|
cb7fc2d72a
|
Revert "replace env underscore to dot (#1229)" (#1235)
This reverts commit 38c9def445.
|
2021-07-24 00:30:58 +08:00 |
|
Tony Chen
|
3795eddcf5
|
fix config decoder (#1142)
|
2021-07-03 15:30:19 +08:00 |
|
Tony Chen
|
81f96ee74d
|
fix(http): fix error encoder (#1141)
* fix error encoder
|
2021-07-03 15:22:13 +08:00 |
|
 Tony ChenandlongXboy
|
d4d6925cd0
|
cmd/protoc-gen-go-http: fix http protoc to bind query_string (#1126)
* fix http protoc to bind query_string
Co-authored-by: longXboy <longxboyhi@gmail.com>
|
2021-06-30 14:13:28 +08:00 |
|
 Tony ChenandlongXboy
|
59f54b2661
|
Revert/root ctx v2 (#1088)
* Revert "remove app info (#1081)"
This reverts commit 1dab58616b.
* add http base ctx
Co-authored-by: longXboy <longxboyhi@gmail.com>
|
2021-06-20 23:00:27 +08:00 |
|
Tony Chen
|
30334dc47c
|
transport/http: rename route to router (#1082)
* rename route to router
|
2021-06-19 16:02:07 +08:00 |
|
Tony Chen
|
1dab58616b
|
remove app info (#1081)
|
2021-06-19 15:40:28 +08:00 |
|
Tony Chen
|
e5e7832306
|
fix cors filter (#1080)
|
2021-06-19 09:53:34 +08:00 |
|
Tony Chen
|
16b1da04e0
|
transport/http: fix content type (#1070)
* fix content type
|
2021-06-17 10:26:31 +08:00 |
|
Tony Chen
|
51a3a32502
|
middleware/metadata: add md test (#1064)
* add metadata test
|
2021-06-15 21:41:55 +08:00 |
|
Tony Chen
|
7f72b72ddb
|
fix endpoint extract (#1061)
|
2021-06-15 11:39:28 +08:00 |
|
Tony Chen
|
6ee0607f03
|
transport: add transport kind (#1059)
* add transport kind
|
2021-06-15 11:05:13 +08:00 |
|
chenzhihui
|
dc476c3b57
|
fix
|
2021-06-14 11:21:56 +08:00 |
|
chenzhihui
|
b378f993c4
|
fix
|
2021-06-14 11:19:39 +08:00 |
|
chenzhihui
|
91a01798f4
|
fix
|
2021-06-14 11:18:44 +08:00 |
|
chenzhihui
|
f92d4742bb
|
fix
|
2021-06-14 11:12:58 +08:00 |
|
chenzhihui
|
51725f1912
|
fix
|
2021-06-14 10:50:22 +08:00 |
|
chenzhihui
|
0e6c53fda9
|
fix
|
2021-06-14 10:25:59 +08:00 |
|
chenzhihui
|
7340fecf27
|
fix
|
2021-06-14 10:14:23 +08:00 |
|
 Tony ChenandlongXboy
|
8d8cd8c8a8
|
Middleware/metadata v2 (#1050)
* add middleware metadata
* add transport header
* add transport carrier
Co-authored-by: longXboy <longxboy@gmail.com>
|
2021-06-14 00:59:07 +08:00 |
|
Tony Chen
|
7f2e3becbe
|
clean metrics (#1049)
* clean metrics
* remove recovery middleware
|
2021-06-13 15:38:33 +08:00 |
|
Tony Chen
|
8c26c8c328
|
examples: add cors example (#1048)
* add cors example
|
2021-06-13 15:21:29 +08:00 |
|
Tony Chen
|
40e34b32f1
|
clean examples (#1041)
* clean examples
|
2021-06-13 08:42:26 +08:00 |
|
Tony Chen
|
99719dd667
|
cmd: update cmd version (#1040)
* update cmd version
* update app info
|
2021-06-13 01:07:43 +08:00 |
|
Tony Chen
|
2729caeecf
|
http/binding: rename encode url (#1039)
* rename binding url
|
2021-06-13 00:56:01 +08:00 |
|
Tony Chen
|
eca0f35cb5
|
transport/http: add vars to http context (#1037)
* add vars to http context
* add query to http context
* remove http deps
* clean request decoder
|
2021-06-12 22:21:54 +08:00 |
|
Tony Chen
|
00088f644a
|
examples: clean examples (#1036)
* clean examples
* update yaml to v3
|
2021-06-12 20:20:18 +08:00 |
|
 Tony ChenandlongXboy
|
1b13abd136
|
transport/http: add http route (#1029)
* add http route
* fix http context
* add HTTP middleware
Co-authored-by: longXboy <longxboyhi@gmail.com>
|
2021-06-12 18:30:17 +08:00 |
|
Tony Chen
|
4a257c1a34
|
Revert "add json test (#1031)" (#1033)
This reverts commit 6ca3c788dd.
|
2021-06-12 11:52:48 +08:00 |
|
Tony Chen
|
6ca3c788dd
|
add json test (#1031)
|
2021-06-12 11:19:43 +08:00 |
|
Tony Chen
|
828a7c5219
|
copy errors proto (#1030)
|
2021-06-11 17:49:29 +08:00 |
|
Tony Chen
|
05c2e16b9e
|
fix http rules empty (#1023)
|
2021-06-09 13:44:34 +08:00 |
|
Tony Chen
|
d23a91650a
|
fix log print (#1021)
|
2021-06-09 11:14:44 +08:00 |
|
Tony Chen
|
50e3dea2ee
|
fix errors proto (#1020)
|
2021-06-09 10:48:29 +08:00 |
|
Tony Chen
|
5cbda8ebd7
|
remove proto names (#1006)
|
2021-06-04 22:15:53 +08:00 |
|
Tony Chen
|
5ed0c006a0
|
clean access logging (#996)
|
2021-06-03 13:49:13 +08:00 |
|
Tony Chen
|
92b6bf54eb
|
add grpc interceptor option (#990)
|
2021-06-01 21:19:18 +08:00 |
|
Tony Chen
|
29e387a39c
|
add grpc interceptor option (#987)
|
2021-06-01 19:59:35 +08:00 |
|
Tony Chen
|
42b60381c9
|
transport: clean endpoint listen (#989)
* fix endpoint listen
|
2021-06-01 19:56:46 +08:00 |
|
Tony Chen
|
bef6d8d818
|
transport/http: clean http client (#981)
* clean http client
|
2021-06-01 14:43:31 +08:00 |
|
Tony Chen
|
079f11fb50
|
add endpoint context (#979)
|
2021-06-01 12:02:22 +08:00 |
|
Tony Chen
|
f83438b693
|
http/health: remove health handler (#978)
* remove health handler & example
|
2021-06-01 11:26:27 +08:00 |
|
Tony Chen
|
149fc0195e
|
kratos: add application info (#968)
* add application info
* add base context
* add client target
|
2021-05-29 23:52:05 +08:00 |
|
Tony Chen
|
e7ddc1ba1e
|
Change the default func to public (#966)
|
2021-05-28 19:47:24 +08:00 |
|
Tony Chen
|
4cb3fd62e3
|
rename Registry to Endpointer (#964)
|
2021-05-28 15:30:55 +08:00 |
|
Tony Chen
|
41ea1fbc76
|
fix data race (#963)
* fix data race
|
2021-05-28 15:08:25 +08:00 |
|
Tony Chen
|
9b31e6293b
|
app: fix app ready (#961)
* fix app ready
|
2021-05-27 22:16:43 +08:00 |
|
Tony Chen
|
7dec80ccfd
|
fix error code and regenerate proto (#954)
* fix error code and regenerate proto
|
2021-05-26 20:05:34 +08:00 |
|
Tony Chen
|
66412031fd
|
errors: refactor status code (#948)
* refactor status code
|
2021-05-25 15:01:53 +08:00 |
|
Tony Chen
|
cc0221b5ce
|
errors: add errors coder (#946)
* add errors coder
* rename internal http to httputil
* add errors proto
|
2021-05-25 00:56:31 +08:00 |
|
Tony Chen
|
15d0f22fb7
|
fix handler options (#941)
|
2021-05-22 13:46:30 +08:00 |
|