1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-02-11 13:38:46 +02:00

1189 Commits

Author SHA1 Message Date
aiscrm
9743ad8d32
fix registry TTL. (#1537)
* fix registry.
1. When etcd stops, the application cannot stop.
2. Stop consul first, then stop app. Then start consul, the registered service remains in consul registry as an unhealthy status.

Co-authored-by: corel <corelchen@qq.com>
2021-10-11 13:46:07 +08:00
longxboy
69fc5cca87
feat: add config slice map support (#1538)
feat: add config slice map support
2021-10-10 14:52:12 +08:00
Windfarer
f3e75bffca
feat: update go version to 1.16 (#1536) 2021-10-08 20:49:56 +08:00
longxboy
d0c65fbd75
feat: change to v2.1.0 (#1535)
* change to v2.0.5

* fix go lint
2021-10-08 14:14:52 +08:00
longxboy
056812e4b2
feat: add http transport interface (#1533)
feat: add http transport interface
2021-10-08 11:10:21 +08:00
ONG-YA
a99659052a
feat: add backupConfigPath method (#1511)
* add backupConfigPath method

Co-authored-by: yangfw <yangfw@corp.21cn.com>
2021-10-06 13:11:24 +08:00
Tt yo
3b477e7e52
fix: consul lint error (#1530)
* fix: consul lint error

* fix: services init eroor
2021-10-06 13:10:20 +08:00
Bear
5e88a20cd4
fix: 'tokenInfo' might have 'nil' or bad value (#1534)
* fix: 'tokenInfo' might have 'nil' or bad value

* fix: return the origin err
2021-10-06 13:06:31 +08:00
倒霉狐狸
0597883e70
fix: contrib config kubernetes lint err (#1523)
* fix: contrib metrics datadog lint err

* fix: contrib config nacos lint err

* fix: contrib config kubernetes lint err

* remove unwanted docs
2021-09-30 14:31:25 +08:00
海雨
23a96a3d63
feat:add warning when http path filed use map or list (#1526)
* feat:add warning when http path filed use map or list
2021-09-30 14:12:27 +08:00
Yeqllo
a2f53128cf
fix(registry/discovery): watch quit while context cancel; supplement metadata (#1524)
* fix(registry/discovery): watch quit with context cancel; lose metadata while translating ServiceInstance.
2021-09-30 14:11:28 +08:00
倒霉狐狸
74e630c21a
fix: contrib config nacos lint err (#1522)
* fix: contrib metrics datadog lint err

* fix: contrib config nacos lint err
2021-09-28 11:29:04 +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
倒霉狐狸
bae20ba735
fix: contrib metrics datadog lint err (#1517) 2021-09-27 19:58:50 +08:00
hotcha
7cc6565d01
fix typo (#1509) 2021-09-24 14:21:35 +08:00
海雨
953deaa363
fix:etcd prifex find error (#1507) 2021-09-23 21:10:42 +08:00
包子
c180cd4ab0
chore: fix readme typo (#1505) 2021-09-23 18:17:55 +08:00
海雨
6f45cb0dfb
feat:edit readme and roadmap (#1504) 2021-09-23 18:10:59 +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
404_K
aba30889c9
chrone: fix doc error (#1498) 2021-09-22 09:38:33 +08:00
longxboy
3cbe4755ed
fix http resvoler test case (#1496) 2021-09-20 10:33:26 +08:00
seasrain
423b60b330
fix:http server start panic when use Endpoint (#1492) 2021-09-18 11:24:02 +08:00
seasrain
55e00ce9f3
fix:server start panic when use Endpoint (#1491)
* fix:server start panic when use Endpoint

* fix test

* fix lint
2021-09-17 10:13:50 +08:00
SparkLee
09969457e2
fix typo (#1490) 2021-09-17 04:27:34 +08:00
Kagaya
04bc0e63ba
test(middleware/tracing): tracing unit test enhancement (#1484)
* use t.Setenv

* add tracing test

* lint fix

* update go test env to go@1.17

* remove grep

* rename Transport
2021-09-17 04:20:42 +08:00
letian
db2122860d
add endpoint option in grpc server (#1488) 2021-09-17 04:19:49 +08:00
longXboy
039ce62778 remove http client call option:selectFilter 2021-09-16 10:35:48 +08:00
letian
53563ab498
fix error in file test (#1483) 2021-09-15 21:05:17 +08:00
letian
894fc1a058
fix defer leak (#1477) 2021-09-15 18:06:21 +08:00
letian
2ce8f22fac
fix bug of host.Extract (#1481) 2021-09-15 18:02:26 +08:00
seasrain
24ec23f0e4
deps: remove x/net package (#1476) 2021-09-14 20:40:13 +08:00
包子
73bba905b4
typo(examples/blog): change ”make run“ to ”kratos run“ (#1474) 2021-09-14 19:32:59 +08:00
祈緒ちゃん - Kiochan
32c41f47d5
docs: fix typo (#1473) 2021-09-14 18:20:45 +08:00
seasrain
1dd8786ed9
fix:move test proto file to internal (#1471)
* fix:move test proto file to internal
2021-09-14 15:54:43 +08:00
letian
754d83ea9d
add test for HandleHeader (#1467) 2021-09-13 10:57:08 +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
Tony Chen
0184d217cf
fix(transport/grpc): default base ctx (#1465)
* fix grpc base ctx
2021-09-12 01:07:44 +08:00
seasrain
798adbff5e
fix:http rehister url lack / (#1464)
* fix: set strictSlash true
2021-09-12 00:45:22 +08:00
Tony Chen
6e6526efd9
fix: middleware uses sentinel error (#1463) 2021-09-11 18:56:51 +08:00
seasrain
558070f4d9
fix:edit the config's readmes (#1462) 2021-09-11 00:29:46 +08:00
Windfarer
1148bbd968
refactor(contrib/config): move etcd config (#1457)
* move etcd config

* add with prefix to options
2021-09-10 21:46:16 +08:00
seasrain
8b1086ad56
fix: optimizate with context (#1460)
* fix: optimizate with context
2021-09-10 21:44:41 +08:00
letian
4bdafa6393
feat: add http header handler (#1461) 2021-09-10 17:57:07 +08:00
Casper-Mars
ab5152dbe1
feat(middleware/auth): add auth middleware (#1274)
* add auth middleware
2021-09-10 10:49:18 +08:00
Tony Chen
aed6af7acc
fix http server handler (#1456) 2021-09-09 23:12:48 +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