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

105 Commits

Author SHA1 Message Date
包子
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
包子
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