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

148 Commits

Author SHA1 Message Date
包子
3642f5d0ba
feat(cmd/kratos): generating API documentation using Gnostic (#1716) 2021-12-27 16:39:28 +08:00
包子
1117350b9c
deps: update kratos version to 2.1.3 (#1706) 2021-12-22 14:15:09 +08:00
songzhibin97
8c9e70b47b
style: format (#1667)
* style: format

* fix:ci
2021-12-08 00:17:24 +08:00
longxboy
98fd40bcb4
revert to select filters (#1656) 2021-11-29 10:55:11 +08:00
包子
7e0045cd0f
fix: nacos a vulnerable dependency was referenced (#1639)
* fix: replace jsonparser version

* fix

* fix
2021-11-19 15:29:16 +08:00
包子
6b53d7d229
deps: upgrade 2.1.2 (#1638)
* deps: upgrade 2.1.2

* fix lint
2021-11-19 15:02:49 +08:00
lcsin
3231b35420
Update main.go (#1627) 2021-11-18 00:39:27 +08:00
haiyux
3607ce1b92
feat: upgrade grpc version to 1.42.0 (#1626) 2021-11-18 00:38:31 +08:00
Eng Zer Jun
77b16286f8
refactor: move from io/ioutil to io and os packages (#1633)
The io/ioutil package has been deprecated as of Go 1.16, see
https://golang.org/doc/go1.16#ioutil. This commit replaces the existing
io/ioutil functions with their new definitions in io and os packages.

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2021-11-16 13:22:35 +08:00
Windfarer
a8692e7dde
feat(contrib/config): use key file extension as format & config load log (#1619)
* add format
2021-11-10 20:10:28 +08:00
longxboy
988c2312b4
feat: add base fitler to improve performace (#1612)
* add node filter

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-11-08 15:22:04 +08:00
Windfarer
4f013de2ec
test: add nacos test (#1603)
* add test

* upgrade nacos sdk version

* upgrade nacos sdk version

* fix test

* github nacos instance

* config test

* fix lint

* fix test

* go mod

* fix lint

* lint
2021-11-05 16:45:46 +08:00
hoolio
9d2719f9f4
make the output of gin example right (#1598) 2021-11-04 22:07:01 +08:00
wangcong
cf385f6285
fix: k8s nacos and zookeeper registry lint (#1599) 2021-11-04 22:06:14 +08:00
Yeqllo
eec45a3d0a
fix(config/apollo): apollo namespace (#1516)
* fix(config/apollo): support multiple namespace

* fix(config/apollo): modify example and test

* fix(config/apollo): recoding watcher

* styl(config/apollo): package sort; use log instead of fmt

* styl(config/apollo): use kratos/log package instead of fmt

* styl(config/apollo): optimise code with reviewer advises; fix some edge cases on genKey function.

* styl(config/apollo): rename `convertProperties` as `resolve`
2021-10-21 12:48:53 +08:00
包子
979ec39c53
deps: update kratos version (#1554) 2021-10-15 17:15:02 +08:00
longxboy
0aace47d08
fix: fix registry go mod(#1521)
fix: fix registry go mod
2021-09-28 10:25:46 +08:00
Yeqllo
5786f61e13
feat(registry): support discovery registry center (#1480)
* feat(registry): support discovery registry center
2021-09-28 10:15:35 +08:00
longxboy
feeec630d7
feat: add selector and filters examples (#1485)
* add selector examples and filters
2021-09-23 17:42:21 +08:00
包子
25f448794d
deps: otel upgrade to v1.0.0 (#1500) 2021-09-22 17:31:28 +08:00
包子
73bba905b4
typo(examples/blog): change ”make run“ to ”kratos run“ (#1474) 2021-09-14 19:32:59 +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
longxboy
20f0a07d36
Feat: add load balancer (#1437)
* add balancer
* add p2c balancer
* add http client selector filter

Co-authored-by: yuemoxi <99347745@qq.com>
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-09-12 15:14:21 +08:00
Casper-Mars
ab5152dbe1
feat(middleware/auth): add auth middleware (#1274)
* add auth middleware
2021-09-10 10:49:18 +08:00
Kagaya
736fb38e79
fix: examples lint error (#1454)
* fix example lint error

* use latest version lint

* ignore zap Sync error
2021-09-09 20:45:08 +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
包子
fd9d324906
fix(config/apollo): rename func NewSouceWithConfig (#1425) 2021-09-06 21:32:05 +08:00
Tony Chen
1ac50be94c
fix: sra to aegis (#1420)
* fix: sra to aegis
2021-09-05 22:42:38 +08:00
包子
1517321dd8
chore(examples/event): add memory and rename Message to Event (#1282)
* chore(examples/event): add memory and rename Message to Event
2021-09-05 21:39:19 +08:00
Kagaya
de55281108
feat(middleware/ratelimit): add rate limiter middleware (#1271)
* add ratelimit middleware
2021-09-05 21:32:36 +08:00
Kagaya
47f039792b
feat(middleware/breaker): add circuit breaker middleware (#1299)
* add breaker middleware
2021-09-05 21:15:06 +08:00
塔塔开
a78f740bd5
fix change unit to seconds (#1408)
Co-authored-by: xuyong.zhang <xuyong.zhang@hiscene.com>
2021-09-02 15:20:36 +08:00
包子
8468cfdd45
feat: add apollo example and some problems of fix apollo config (#1411)
* feat: add apollo example and some problems of fix apollo config
2021-09-02 15:04:58 +08:00
Windfarer
0ec3ff0b46
refactor: move plugins to contrib dir (#1399)
* move to contrib dir


Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-09-01 13:40:14 +08:00
包子
7b6332ee75
deps: middleware add separate go.mod and removes framework deps (#1385)
* deps: middleware add separate go.mod and removes framework deps
2021-08-30 23:07:31 +08:00
包子
eaf0ceab0c
chore(registry): unified management of decentralized warehouses (#1368)
* chore(registry): unified management of decentralized warehouses
2021-08-24 11:35:26 +08:00
Harvey Li
050b14c1e0
fix: correct client code in the example of TLS connection (#1355)
* Create ca.crt
2021-08-17 23:07:06 +08:00
月墨夕
6ae2e8712d
fix:etcd<3.13 block question (#1317) 2021-08-11 18:51:00 +08:00
月墨夕
9bbf4696d4
upgrade examples mod dependent version (#1314) 2021-08-10 12:34:31 +08:00
longxboy
a17eaeeff4
upgrade: grpc to 1.39 (#1312) 2021-08-09 22:10:37 +08:00
月墨夕
e5ae8dc3f1
fix: upgrade etcd version (#1302) 2021-08-06 11:17:17 +08:00
月墨夕
c1b9ace84e
feat: kratos tool support generate stream service code (#1284)
* kratos tool support generate stream service code
2021-08-06 11:11:45 +08:00
longxboy
f65a0a9134
feat: enhance tracing (#1300)
* feat: enhance tracing

* fix go lint
2021-08-05 18:51:20 +08:00
杜晨昊
2fa9168bde
fix example blog makefile (#1296) 2021-08-05 09:24:39 +08:00
longxboy
2e17f18d66
feat: change grpc gateway import path (#1295)
change grpc gateway import path to kratos project
2021-08-04 17:47:48 +08:00
Windfarer
f93084ba9f
test: option tests (#1292)
* test options

* more tests
2021-08-02 18:56:22 +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
zwhyb
8f4e78b47d
grpc‘s secure discovery (#1270)
* add gprc secure discovery

* add http insecure filter
2021-07-28 23:10:02 +08:00
Tony Chen
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
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