1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-28 03:57:02 +02:00

89 Commits

Author SHA1 Message Date
包子
84235462b7
feat(registry): consul get service support remote (#2275)
* feat(registry): consul get service support remote acces

* fix lint
2022-08-13 13:00:17 +08:00
Kagaya
e4d73db523
fix lint error (#2266) 2022-08-10 17:04:07 +08:00
林晓炜
1f3ac4ea22
fix(registry): contrib/registry/zookeeper ephemeral nodes handling after restart (#2245) 2022-08-01 23:42:45 +08:00
包子
eff368621f
deps: upgrade kratos version to v2.4.1 (#2242) 2022-07-28 19:43:50 +08:00
dependabot[bot]
2951b420f1
build(deps): bump k8s.io/client-go in /contrib/registry/kubernetes (#2218)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.24.2 to 0.24.3.
- [Release notes](https://github.com/kubernetes/client-go/releases)
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.24.2...v0.24.3)

---
updated-dependencies:
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-27 13:06:58 +08:00
dependabot[bot]
247a74e631
build(deps): bump github.com/hashicorp/consul/api (#2209)
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul) from 1.13.0 to 1.13.1.
- [Release notes](https://github.com/hashicorp/consul/releases)
- [Changelog](https://github.com/hashicorp/consul/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/consul/compare/api/v1.13.0...api/v1.13.1)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/consul/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-27 10:57:14 +08:00
dependabot[bot]
9d24dac487
build(deps): bump k8s.io/api in /contrib/registry/kubernetes (#2220)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.24.2 to 0.24.3.
- [Release notes](https://github.com/kubernetes/api/releases)
- [Commits](https://github.com/kubernetes/api/compare/v0.24.2...v0.24.3)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-27 10:55:55 +08:00
dependabot[bot]
e2c1fd7489
build(deps): bump github.com/go-zookeeper/zk (#2236)
Bumps [github.com/go-zookeeper/zk](https://github.com/go-zookeeper/zk) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/go-zookeeper/zk/releases)
- [Commits](https://github.com/go-zookeeper/zk/compare/v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: github.com/go-zookeeper/zk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-27 10:52:57 +08:00
林晓炜
246d8d9c28
fix: zookeeper add auto re-register (#2235)
* feat(registry): contrib/registry/zookeeper add re-register support

* feat(registry): contrib/registry/zookeeper add re-register support fix with lint
2022-07-27 10:50:12 +08:00
rogerogers
bcef2b8e3f
test(contrib): update unit test for contrib/registry/polaris (#2196)
Co-authored-by: rogerogers <rogers@rogerogers.com>
2022-07-14 20:20:59 +08:00
包子
1451b9e0c0
deps: upgrade kratos version to v2.4.0 (#2186) 2022-07-11 19:51:26 +08:00
潘雄
96c8de9bc4
style(contrib/registry/*) annotation perfect (#2185)
Co-authored-by: xiongpan828@qq.com <panxiong@aithu.com>
2022-07-11 19:40:35 +08:00
dependabot[bot]
1ea4ef7412
build(deps): bump k8s.io/client-go in /contrib/registry/kubernetes (#2120)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.24.1 to 0.24.2.
- [Release notes](https://github.com/kubernetes/client-go/releases)
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.24.1...v0.24.2)

---
updated-dependencies:
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-10 00:44:11 +08:00
rogerogers
2525e81e55
test(contrib): add unit test for contrib/registry/k8s (#2166)
* test(contrib): add unit test for contrib/registry/k8s

* test(contrib): add unit test for contrib/registry/k8s

Co-authored-by: rogerogers <rogers@rogerogers.com>
2022-07-08 10:01:09 +08:00
dependabot[bot]
08fccfcb66
build(deps): bump github.com/hashicorp/consul/api (#2081)
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul) from 1.12.0 to 1.13.0.
- [Release notes](https://github.com/hashicorp/consul/releases)
- [Changelog](https://github.com/hashicorp/consul/blob/main/CHANGELOG.md)
- [Commits](https://github.com/hashicorp/consul/compare/v1.12.0...api/v1.13.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/consul/api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-08 10:00:44 +08:00
dependabot[bot]
39bfeeb2f7
build(deps): bump k8s.io/api in /contrib/registry/kubernetes (#2124)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.24.1 to 0.24.2.
- [Release notes](https://github.com/kubernetes/api/releases)
- [Commits](https://github.com/kubernetes/api/compare/v0.24.1...v0.24.2)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-07 23:03:21 +08:00
wangcong
20b7c9f4d7
test(nacos): add nacos unit test and remove unused function (#2145) 2022-07-05 08:43:36 +08:00
freezeChen
ed8b2352b7
test(contrib): add unit test for contrib/registry/consul (#2148)
* test(contrib): add unit test for contrib/registry/consul

* fix(contrib/registry/consul): fix lint
2022-07-04 15:53:14 +08:00
liuyi0618
52031f1381
feat(contrib):add etcd watcher withKeysOnly option (#2146)
Co-authored-by: 刘易 <liuyi08@bilibili.com>
2022-07-04 14:44:38 +08:00
Ccheers
13c33fc4d3
feat(contrib): add unit test for zap_test.go & register_test.go (#2136) 2022-06-28 11:51:28 +08:00
包子
95dce00852
deps: upgrade kratos version to v.2.3.1 (#2075)
Co-authored-by: baozhecheng <>
2022-06-02 19:13:50 +08:00
dependabot[bot]
7d425b898e
build(deps): bump k8s.io/client-go in /contrib/registry/kubernetes (#2057)
Bumps [k8s.io/client-go](https://github.com/kubernetes/client-go) from 0.24.0 to 0.24.1.
- [Release notes](https://github.com/kubernetes/client-go/releases)
- [Changelog](https://github.com/kubernetes/client-go/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kubernetes/client-go/compare/v0.24.0...v0.24.1)

---
updated-dependencies:
- dependency-name: k8s.io/client-go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-28 17:33: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
dependabot[bot]
925a0b725e
build(deps): bump k8s.io/api in /contrib/registry/kubernetes (#2058)
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.24.0 to 0.24.1.
- [Release notes](https://github.com/kubernetes/api/releases)
- [Commits](https://github.com/kubernetes/api/compare/v0.24.0...v0.24.1)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-27 10:32:15 +08:00
包子
70317d05a0
deps: upgrade kratos version to v2.3.0 (#2036) 2022-05-24 11:53:07 +08:00
haiyux
71ea97fd93
deps: upgrade go mod version (#2028)
* deps:upgrade go mod version
2022-05-22 21:18:46 +08:00
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
包子
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
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
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
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
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
Jason C.H
471a2aab79
fix: k8s discovery interface (#1820) 2022-02-15 11:30:00 +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
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
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