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

115 Commits

Author SHA1 Message Date
包子
a7bae93ee0
deps: upgrade kratos version to v2.5.3 (#2500) 2022-11-10 23:00:34 +08:00
dependabot[bot]
3f698aa2c0
build(deps): bump go.etcd.io/etcd/client/v3 in /contrib/registry/etcd (#2384)
Bumps [go.etcd.io/etcd/client/v3](https://github.com/etcd-io/etcd) from 3.5.4 to 3.5.5.
- [Release notes](https://github.com/etcd-io/etcd/releases)
- [Changelog](https://github.com/etcd-io/etcd/blob/main/Dockerfile-release.amd64)
- [Commits](https://github.com/etcd-io/etcd/compare/v3.5.4...v3.5.5)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-10 11:28:15 +08:00
dependabot[bot]
818452dd53
build(deps): bump github.com/polarismesh/polaris-go (#2493)
Bumps [github.com/polarismesh/polaris-go](https://github.com/polarismesh/polaris-go) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/polarismesh/polaris-go/releases)
- [Changelog](https://github.com/polarismesh/polaris-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/polarismesh/polaris-go/compare/v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/polarismesh/polaris-go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 09:57:45 +08:00
dependabot[bot]
c888d50cc5
build(deps): bump google.golang.org/grpc in /contrib/registry/etcd (#2454)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.46.2 to 1.50.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.46.2...v1.50.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 09:14:06 +08:00
dependabot[bot]
03d9494b19
build(deps): bump github.com/hashicorp/consul/api (#2473)
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul) from 1.14.0 to 1.15.3.
- [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.14.0...api/v1.15.3)

---
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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-02 18:07:31 +08:00
包子
dcae38d656
deps: upgrade kratos version to v2.5.2 (#2464) 2022-10-19 22:37:16 +08:00
Jesse
54655e4b24
cleanup: use HTTP package methods replace GET POST DELETE... (#2412) 2022-10-18 21:40:16 +08:00
Jesse
6bb3ad6f27
fix: in for defer close (#2411)
Resource leakage may occur. Call 'defer' in the 'for' loop.
case: https://go.dev/doc/effective_go#defer
2022-10-18 20:21:56 +08:00
jesse.tang
b5cd1c693d
fix: contrib/registry/eureka/client.go serveice -> serivce (#2440) 2022-10-12 19:21:39 +08:00
jesse.tang
c5e86ca36d
style: kratos interface check (#2441)
* style: kratos interface check

* fix: kratos interface check
2022-10-12 19:21:03 +08:00
包子
8743f3e50c
deps: upgrade kratos version v2.5.1 (#2431)
* deps: upgrade kratos version v2.5.1

* fix goimport
2022-10-10 13:50:04 +08:00
jesse.tang
69fcd50c0a
feat: golangci add goimports local-prefixes (#2413)
* feat: golangci goimports local-prefixes

* fix lint

* fix lint
2022-10-10 11:27:01 +08:00
jesse.tang
0ecc2b422f
style: modify declaring empty slices (#2378)
* fix: modify declaring empty slices

declare an empty slice to var s []int replace s :=[]int{}, https://github.com/golang/go/wiki/CodeReviewComments#declaring-empty-slices

* fix lint
2022-09-27 23:14:29 +08:00
jesse.tang
0e698b248a
cleanup: remove fmt and errors new err (#2377)
* cleanup: remove fmt and errors new err

* fix lint

* fix style

* modify global variable
2022-09-27 14:12:09 +08:00
180909
2936b5ba80
cleanup: remove the repeated import (#2393) 2022-09-27 14:08:42 +08:00
jesse.tang
4d95050747
fix: fmt import (#2379) 2022-09-27 14:08:08 +08:00
包子
7866ff75fd
fix(registry/consul): use health check option to control custom checks (#2391) 2022-09-21 15:21:56 +08:00
jesse.tang
9737a3c5e4
fix: typo and grammatical errors (#2368)
* fix: grammar

* fix: grammar

* fix overrode

* translate to English

* translate to English
2022-09-19 10:39:54 +08:00
jesse.tang
b0b49be383
feat: remote assert libraries (#2372) 2022-09-15 20:13:08 +08:00
jesse.tang
f2a33929d0
fix: modify interface check way (#2375)
* fix: modify interface check way

* fix
2022-09-14 22:05:48 +08:00
黄仲辉
617ee1aa39
fix(lint): Using deprecated package io/ioutil cause lint interrupted, change to os or io package. (#2353)
Co-authored-by: 黄仲辉 <610195979@qq.com>
2022-09-02 15:08:26 +08:00
包子
b354f185c0
feat(registry): consul support user custom checks (#2317) 2022-08-26 10:54:02 +08:00
jesse.tang
73a8323ee7
fix: slice/map make init cap (#2300) 2022-08-24 18:19:07 +08:00
dependabot[bot]
b1bb0bd18f
build(deps): bump github.com/hashicorp/consul/api (#2278)
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul) from 1.13.1 to 1.14.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.13.1...api/v1.14.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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-20 14:51:58 +08:00
包子
563ad0d34a
deps: upgreade kratos version to v2.5.0 (#2286) 2022-08-17 14:23:48 +08:00
kkf1
d11c6892b4
feat: add servicecomb registry (#2114)
* add servicecomb registry
2022-08-15 22:09:48 +08:00
包子
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