Ccheers
8dec7cf5e8
feat(registry): zookeeper watch node changed ( #1986 )
...
* feat(registry): zookeeper watch node changed
* fix lint
* fix lint
* fix lint
* fix lint
* fix(stop): cancel context when stop
* fix(mod): add replace
2022-05-20 22:39:13 +08:00
houseme
0d9319b1ee
fix: Replace the docker image of Polaris ( #1999 )
...
* fix: Replace the docker image of Polaris
* up
2022-05-19 22:42:02 +08:00
Kagaya
bf9f4886e9
ignore polaris test & add eureka consul test ( #1998 )
2022-05-19 22:26:46 +08:00
witt
ddc82ce45e
fix: delete redundant type conversion ( #1977 )
2022-05-12 18:07:12 +08:00
包子
091ba2dae7
deps: upgrade kratos version to v2.2.2 ( #1944 )
2022-05-06 21:44:28 +08:00
林晓炜
9098e9dd39
feat(registry): contrib/registry/zookeeper add digest acl support ( #1964 )
...
* feat(registry): contrib/registry/zookeeper add digest acl support
* feat(registry): use WithDigestACL to put user and password together
2022-04-29 15:49:30 +08:00
Casper-Mars
d4e1942480
fix(contrib/opensergo): fix index error ( #1951 )
2022-04-25 15:20:28 +08:00
Tony Chen
ae230eb550
feat: add opensergo metadata ( #1947 )
...
* add opensergo metadata
2022-04-25 14:58:48 +08:00
Casper-Mars
19637d9b87
feat(registry): consul client add DeregisterCriticalServiceAfter option ( #1917 )
...
* feat(registry/consul):add DeregisterCriticalServiceAfter option
* fix(cmd/protoc-gen-go-errors):fix lint problem (#1919 )
use cases.Title instead of strings.Title
2022-04-10 16:14:33 +08:00
包子
99a0646acb
fix(log/aliyun): Improper Input Validation in GoGo Protobuf CVE-2021-3121 ( #1902 )
2022-03-30 10:09:30 +08:00
Cluas
d4c0c57681
feat(log): log load config only when Debug level ( #1899 )
2022-03-29 16:39:31 +08:00
weetime
69df1ab9a6
feat(contrib): add eureka registry ( #1792 ) ( #1793 )
...
* - feat(contrib): add eureka registry (#1792 )
Co-authored-by: fangyong <fangyong@haodf.com>
2022-03-29 14:25:05 +08:00
longxboy
e66a2905ab
feat: supprt non-kratos instance in consul registry ( #1892 )
2022-03-18 14:58:33 +08:00
包子
e98c0078cb
deps: upgrade kratos version to 2.2.1 ( #1890 )
2022-03-18 11:51:39 +08:00
YuanXin Hu
e739f1d282
Example for Polaris ( #1850 )
...
* fix (registry/polaris): fix get unhealthy service
* fix (example/polaris): add polaris example
2022-03-01 19:58:24 +08:00
Sasha Melentyev
48d407cc9b
perf: add prealloc ( #1846 )
2022-02-27 12:29:51 +08:00
Sasha Melentyev
da147b5763
feat: add zero prealloc ( #1847 )
2022-02-27 12:29:12 +08:00
YuanXin Hu
f3313476ac
Discovery For Tencent Polaris ( #1839 )
...
* feat (registry/polaris): discovery for polaris
1.add heartbeat report option
2.implements GetService function
3.implements Watch function
* test (registry/polaris): test for discovery
1.add GetService test
2.add Watch test
* test (registry/polaris): fix lint
* fix (registry/polaris): fix missing ServiceInstances
2022-02-25 17:15:53 +08:00
包子
d6896127b1
deps: upgrade kratos version to 2.2.0 ( #1834 )
2022-02-23 17:13:57 +08:00
haiyux
24393ee655
fix lint ( #1833 )
2022-02-23 14:40:39 +08:00
youn
a52b17c268
fix: add yaml / yml parser ( #1808 )
...
Co-authored-by: yang.liu14 <yang.liu14@weimob.com>
2022-02-23 14:30:21 +08:00
Jin Peng
85800cedb9
fix(contrib): get nacos service of customize group name ( #1798 )
2022-02-22 10:51:47 +08:00
YuanXin Hu
6446212258
feat(registry/polaris): add registry for Tencent Polaris ( #1816 )
...
* feat(registry): add polaris registry
2022-02-21 18:20:16 +08:00
Casper-Mars
c1e98e41de
fix(config/consul):Config from consul skip empty key ( #1830 )
...
* feat(config/consul):skip empty key
* feat(config/consul):delete empty blank
2022-02-21 18:16:56 +08:00
Jason C.H
471a2aab79
fix: k8s discovery interface ( #1820 )
2022-02-15 11:30:00 +08:00
haiyux
86b8b6c366
fix: fix ci tool ( #1803 )
...
* fix: fix ci tool
2022-01-31 08:50:31 +08:00
haiyux
18315303f0
deps:upgrade go mod version ( #1800 )
...
* deps:upgrade go mod version
2022-01-28 14:56:32 +08:00
zjx-ERROR
0f23c1c516
解决consul client以IPv6地址格式register consul server health check时报错:[Check socket connection failed ... too many colons in address] ( #1790 )
2022-01-27 10:42:23 +08:00
包子
9ea78f302d
deps: upgrade kratos version to v2.1.5 ( #1785 )
2022-01-24 15:26:45 +08:00
guihouchang
1c18228d61
feat: add logger sdk for aliyun ( #1748 )
...
* add logger sdk for aliyun
Co-authored-by: haiyux <haiyux@foxmail.com>
2022-01-24 13:47:40 +08:00
ArthurQ
92e4a83dbf
fix: change consul config docs ( #1784 )
...
Co-authored-by: ArthurQiu <arthurqiuy@outlook.com>
2022-01-24 13:44:12 +08:00
longxboy
a87abe223c
fix: consul heartbeat ttl not registered ( #1781 )
...
* fix: consul heartbeat ttl check not registered
2022-01-21 15:52:25 +08:00
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
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
kwame
8bb55663d9
zk 作为注册服务,异常端开,zk节点信息没有清理 ( #1758 )
2022-01-10 21:19:11 +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
wangcong
8172f9fff3
fix: k8s client logr incompatible update ( #1744 )
2022-01-04 16:27:25 +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
包子
1117350b9c
deps: update kratos version to 2.1.3 ( #1706 )
2021-12-22 14:15:09 +08:00
白玉堂
72f9cc3518
docs: some wrong err msg description
2021-12-22 09:08:29 +08:00
包子
32158bcef2
fix(nacos): call unsubscribe when watching is stopped ( #1697 )
2021-12-17 11:08:16 +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
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
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
leyou240
67161b62eb
feat(registry/nacos): add default kind option ( #1650 )
2021-12-02 11:38:01 +08:00
haiyux
27cfec93d6
optimize:chan bool to chan struct{} ( #1648 )
2021-11-24 17:21:01 +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
wuxingzhong
7d821541b3
fix doc ( #1636 )
2021-11-18 21:22:19 +08:00
haiyux
3607ce1b92
feat: upgrade grpc version to 1.42.0 ( #1626 )
2021-11-18 00:38:31 +08:00
haiyux
05ecd2ce2c
fix:add consul all health check ( #1620 )
...
* fix:add consul all health check
Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-11-16 14:23:23 +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
李鑫
780a6c0527
docs of etcd config ( #1622 )
2021-11-12 23:16:50 +08:00
yeqown
c392528e11
docs: replenish config/apollo and registry/discovery readme ( #1625 )
...
* docs(config/apollo): replenish config/apollo readme
* docs(registry/discovery): replenish registry/discovery readme
* docs: complete docs of config/apollo and registry/discovery
2021-11-12 23:16:12 +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
wangcong
c3d0bb66bb
fix: nacos registry test data race ( #1613 )
2021-11-06 15:15:56 +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
wangcong
cf385f6285
fix: k8s nacos and zookeeper registry lint ( #1599 )
2021-11-04 22:06:14 +08:00
Xiong Liu
ef686a1cc7
feat: Add consul kv config provider ( #1499 )
...
feat: Add consul kv for config
Co-authored-by: liuxiong <lx@webull.com>
2021-10-26 14:43:07 +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
leyou240
318cacd04d
feat: add msgpack Codec ( #1555 )
2021-10-19 14:57:56 +08:00
包子
979ec39c53
deps: update kratos version ( #1554 )
2021-10-15 17:15:02 +08:00
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
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
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
倒霉狐狸
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
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
海雨
953deaa363
fix:etcd prifex find error ( #1507 )
2021-09-23 21:10:42 +08:00
包子
25f448794d
deps: otel upgrade to v1.0.0 ( #1500 )
2021-09-22 17:31:28 +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
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
Casper-Mars
ab5152dbe1
feat(middleware/auth): add auth middleware ( #1274 )
...
* add auth middleware
2021-09-10 10:49:18 +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
杜晨昊
2024fa7cdb
feat: zap log ( #1424 )
...
* zap log impl
2021-09-08 13:31:44 +08:00
Casper-Mars
73ce2941bd
fix(contrib/registry/etcd):part of #1430,fix contrib/registry/etcd ( #1441 )
2021-09-07 14:25:42 +08:00
cachalots
cd35233d1d
fix: add context for kubernetes registry, implement the registrar interface ( #1436 )
2021-09-07 10:46:07 +08:00
Casper-Mars
3f51a15949
Fix lint of files in ./contrib/log/fluent ( #1432 )
...
* fix(transport/http):fix nil problem
* fix(contrib/log/fluent):part of #1430,fix ./contrib/log/fluent
2021-09-06 22:50:16 +08:00
Kagaya
29a5327291
ci: submodule ci check ( #1401 )
...
* add tool scripts
2021-09-06 21:37:34 +08:00
包子
fd9d324906
fix(config/apollo): rename func NewSouceWithConfig ( #1425 )
2021-09-06 21:32:05 +08:00
包子
7b3b1cf862
feat: move nacos config、datadog、 fluent to contrib and modify prom path ( #1405 )
...
* feat: move nacos config、datadog、 fluent to contrib and modify prometheus module path
2021-09-03 15:51:10 +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