1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-14 02:33:03 +02:00
Commit Graph

1298 Commits

Author SHA1 Message Date
haiyux
00c05e82a3
test:remove testify go mod (#1766)
* test:remove testify go mod

* tidy go mdo

* fix test
2022-01-14 10:02:42 +08:00
MARATRIX Li
c6c5e4595c
optimization: optimize global logger (#1763) 2022-01-13 10:11:23 +08:00
包子
a0006677e9
fix(cmd/kratos): filepath walk nil pointer reference problem (#1762)
* fix(cmd/kratos): filepath walk nil pointer reference problem

* Update path.go
2022-01-12 21:13:42 +08:00
realityone
0ed2e0f379
feat(log): add global logger appliance, as process level default logger (#1761)
* add global logger appliance, as process level default logger

* replace DefaultLogger as global logger
2022-01-12 15:34:49 +08:00
Heelie
d082075676
fix: change installation package path for protoc-gen-openapi (#1759)
* fix: change installation package path for protoc-gen-openapi


Co-authored-by: haiyux <haiyux@foxmail.com>
2022-01-10 21:27:53 +08:00
kwame
8bb55663d9
zk 作为注册服务,异常端开,zk节点信息没有清理 (#1758) 2022-01-10 21:19:11 +08:00
haiyux
cd4aa7f412
feat:sync to gitee where release a version (#1755) 2022-01-08 20:14:54 +08:00
Casper-Mars
76ab0baa56
feat(middleware/auth/jwt): add customer header (#1752) 2022-01-07 22:15:47 +08:00
haiyux
1c3185f9e5
readme:add log third party log library readme (#1753) 2022-01-07 17:54:40 +08:00
haiyux
da70e22201
upgrade:upgrade grpc and opentelemetry version (#1751)
* upgrade:upgrade grpc and opentelemetry version

* upgrade jaeger

* fix lint
2022-01-06 20:29:18 +08:00
包子
7fe194ead4
deps: uprade kratos version to v2.1.4 (#1749) 2022-01-05 16:30:08 +08:00
Windfarer
0bbda71794
sync to gitee (#1746) 2022-01-04 19:50:32 +08:00
haiyux
25774fd3cf
upgrade(examples):upgrade go mod version (#1745) 2022-01-04 18:34:12 +08:00
wangcong
8172f9fff3
fix: k8s client logr incompatible update (#1744) 2022-01-04 16:27:25 +08:00
haiyux
4d3092b7aa
test(errors): add errors test (#1739)
* test(errors): add errors test

* fix lint
2022-01-01 23:01:51 +08:00
haiyux
f38cd9875f
optimization: optimize error (#1740) 2022-01-01 23:01:24 +08:00
letian
d2f8b45603
feat(registry/consul): add WithHeartbeat option (#1738) 2022-01-01 11:51:22 +08:00
letian
1e749de5db
fix(registry/consul):fix can't get service instance in async mode (#1731)
* fix(registry/consul):fix can't get service instance in async mode

* fix(registry/consul): return error if find service failed
2022-01-01 11:48:38 +08:00
letian
17201cd284
fix(registry/consul): fix can not find service in 20s (#1728)
* fix(registry/consul): fix can not find service in 20s
2021-12-31 16:31:19 +08:00
haiyux
ed86f36476
feat(examples/):add etcd registry cmux example (#1734) 2021-12-31 14:11:08 +08:00
haiyux
7f003a8742
test(transport): add transport Listener test (#1735)
* test(tansport): add transport Listener test
2021-12-31 11:15:39 +08:00
haiyux
3625634d3c
feat(transport):add grpc and http with listen (#1729)
* feat(transport):add grpc and http with listen
2021-12-30 20:38:22 +08:00
Jason Song
b421389227
fix: remove the use of client timeout as discovery time (#1715) 2021-12-29 20:33:16 +08:00
haiyux
d9530ed54b
fix(cmd/kratos): add look protoc-gen-openapi when use kratos proto client (#1726) 2021-12-28 22:20:36 +08:00
Tony Chen
11a6120a2e
fix FieldMask are converted to/from lower-camel naming conventions. (#1724) 2021-12-28 20:31:23 +08:00
Giovanny Gutiérrez
b6b95089c4
fix(cmd/protoc-gen-go-http): Fix when replacement rule is not ending (#1721) 2021-12-28 15:41:38 +08:00
aldslvda
c1ab0cce3c
fix: fix typo in cmd/protoc-gen-go-http/http.go(is does not -> does not) (#1718) 2021-12-28 10:53:30 +08:00
包子
3642f5d0ba
feat(cmd/kratos): generating API documentation using Gnostic (#1716) 2021-12-27 16:39:28 +08:00
Giovanny Gutiérrez
ccb649a201
fix(protoc-gen-go-http): Update http rule when path mappings (#1704)
* fix(cmd/protoc-gen-go-http): Follow the http rule to use the query string
2021-12-26 21:13:38 +08:00
Xudong Cai
e95452276f
fix(cmd): fixed a camel word enum error 2021-12-24 14:10:50 +08:00
包子
0e72cc2dcb
fix(cmd/proto-gen-http-go): remove go.mod replace (#1707) 2021-12-22 16:24:35 +08:00
包子
1117350b9c
deps: update kratos version to 2.1.3 (#1706) 2021-12-22 14:15:09 +08:00
包子
5aeb14d381
feat(transport/grpc): gRPC client discovery supports incoming logger and timeout (#1702) 2021-12-22 09:08:46 +08:00
白玉堂
72f9cc3518
docs: some wrong err msg description 2021-12-22 09:08:29 +08:00
JerryZhou
94d674fd4c
fix(cmd/proto-gen-errors): non nil assertion for error (#1700) 2021-12-20 11:10:01 +08:00
包子
32158bcef2
fix(nacos): call unsubscribe when watching is stopped (#1697) 2021-12-17 11:08:16 +08:00
hshe
7aa9f352f8
fix:internal/host:选择ip未判断ip是否可用&&返回序号最小的ip(#1686) (#1687) 2021-12-16 22:41:44 +08:00
Cluas
03f5ee015c
consul: support WithServiceResolver option (#1693)
* consul: add endpoints resolver option

* consul: resolver []*api.ServiceEntry -> []*registry.ServiceInstance

* consul: rename Resolver -> ServiceResolver
2021-12-16 22:24:43 +08:00
haiyux
2e045c3e42
feat: middleware seletor add ctx match (#1652)
* feat: middleware seletor add headers match

* fix

* add some annotation

* add ctx seletor

* fix match function

* update match
2021-12-13 21:31:01 +08:00
Cluas
e1e8184768
transport/http: delay pass context.Context (#1684)
* transport/http: fix http request do not with ctx from user
2021-12-13 14:30:34 +08:00
Cluas
5df28f4fdc
registry/nacos: reduce twice string copies (#1681)
* registry/nacos: reduce two string copies

* registry/nacos: update example
2021-12-10 00:14:35 +08:00
kiripeng
041ffffb15
fix: map 其桶中只能存储 8 个键值对元素,超过后会储存到溢出桶或者扩容,影响性能,预先声明容量以免影响性能 (#1671) 2021-12-09 23:29:47 +08:00
xiaoxiaodek
413cc77f7d
fix(config): apollo close function: useless infinite loop causes high cpu usage (#1674)
Co-authored-by: wangshaosen <wangshaosen@videopls.com>
2021-12-09 23:27:17 +08:00
Richard
c9e19f1d98
chore: completion command in the comment (#1680) 2021-12-09 23:24:39 +08:00
china小宇
83ebf53b93
fix: circuitbreaker use client context (#1679) 2021-12-09 23:20:46 +08:00
songzhibin97
8c9e70b47b
style: format (#1667)
* style: format

* fix:ci
2021-12-08 00:17:24 +08:00
sxpsxp12
63a7ffae04
fix: fix nacos.Register many endpoint metadata kind error (#1664)
* fix: fix nacos.Register metadata map type reference bug --user=sxpsxp12

* fix: fix golangci-link error

Co-authored-by: songxiaopeng <xiaopeng.song@infwaves.com>
2021-12-05 02:33:55 +08:00
Giovanny Gutiérrez
2471f1d955
fix(grpc): Block the RCP unil a new picker is available (#1660)
* fix(config): Support colon as default value in config.yaml

* fix(cmd/protoc-gen-go-http): Follow the http rule to use the query string

* fix: Block the RPC until new picker is available

* fix: lints for balancer
2021-12-03 17:21:56 +08:00
leyou240
67161b62eb
feat(registry/nacos): add default kind option (#1650) 2021-12-02 11:38:01 +08:00
longxboy
98fd40bcb4
revert to select filters (#1656) 2021-11-29 10:55:11 +08:00