包子
50da181d69
fix: do not re register after service logout ( #2647 )
2 years ago
包子
a006328db6
fix: polaris temporarily delete the watch test ( #2652 )
2 years ago
longxboy
bebea0c103
feat: add subset alg for instances ( #2613 )
...
* add subset alg for instances
* fix go build
* update go sum
* fix lint
* fix gofmt
* fix lint
* fix polaris
Co-authored-by: caoguoliang01 <caoguoliang01@bilibili.com>
2 years ago
包子
7e896ae4c0
feat: support polaris service governance ( #2605 )
2 years ago
包子
33d51a84c3
feat(registry): consul support re-registry when service does not exist ( #2606 )
2 years ago
dependabot[bot]
f49ac647e8
build(deps): bump github.com/aliyun/aliyun-log-go-sdk ( #2598 )
...
Bumps [github.com/aliyun/aliyun-log-go-sdk](https://github.com/aliyun/aliyun-log-go-sdk ) from 0.1.42 to 0.1.43.
- [Release notes](https://github.com/aliyun/aliyun-log-go-sdk/releases )
- [Commits](https://github.com/aliyun/aliyun-log-go-sdk/compare/v0.1.42...v0.1.43 )
---
updated-dependencies:
- dependency-name: github.com/aliyun/aliyun-log-go-sdk
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>
2 years ago
baeNewJeans
65c51594f9
fix(contrib/registry/etcd): rewatch when error occur ( #2603 )
...
* fix(contrib/registry/etcd): rewatch when error occur
* fix(contrib/registry/etcd): close watcher before renew
* fix(contrib/registry/etcd): use w.ctx
Co-authored-by: zhangweili <zhangweili@bilibili.com>
2 years ago
dependabot[bot]
b26023888d
build(deps): bump github.com/hashicorp/consul/api ( #2561 )
...
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul ) from 1.15.3 to 1.18.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/api/v1.15.3...api/v1.18.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>
2 years ago
刘思圆
a3f24ee704
fix(contrib/log/tencent): tencentcloud-cls-sdk-go 为异步上传,需要显式调用"Start"方法开启才会生效 ( #2514 )
2 years ago
Remember
271b6c2924
fix(consul):return err if ctx is done ( #2550 )
2 years ago
soukengo
b0db594829
fix(registry): add zookeeper exists watcher when the node does not exist ( #2555 )
...
* fix(registry): add zookeeper exists watcher when the node does not exist
* fix(registry): add zookeeper exists watcher when the node does not exist
Co-authored-by: soukengo <soukengo@163.com>
2 years ago
dependabot[bot]
33fff02a62
build(deps): bump github.com/aliyun/aliyun-log-go-sdk ( #2577 )
...
Bumps [github.com/aliyun/aliyun-log-go-sdk](https://github.com/aliyun/aliyun-log-go-sdk ) from 0.1.41 to 0.1.42.
- [Release notes](https://github.com/aliyun/aliyun-log-go-sdk/releases )
- [Commits](https://github.com/aliyun/aliyun-log-go-sdk/compare/v0.1.41...v0.1.42 )
---
updated-dependencies:
- dependency-name: github.com/aliyun/aliyun-log-go-sdk
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>
2 years ago
dependabot[bot]
6f78ccacd9
build(deps): bump k8s.io/apimachinery in /contrib/config/kubernetes ( #2581 )
...
Bumps [k8s.io/apimachinery](https://github.com/kubernetes/apimachinery ) from 0.24.3 to 0.26.0.
- [Release notes](https://github.com/kubernetes/apimachinery/releases )
- [Commits](https://github.com/kubernetes/apimachinery/compare/v0.24.3...v0.26.0 )
---
updated-dependencies:
- dependency-name: k8s.io/apimachinery
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>
2 years ago
dependabot[bot]
2a9808df14
build(deps): bump github.com/polarismesh/polaris-go ( #2589 )
...
Bumps [github.com/polarismesh/polaris-go](https://github.com/polarismesh/polaris-go ) from 1.2.0 to 1.3.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.2.0...v1.3.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>
2 years ago
dependabot[bot]
89d8eeba62
build(deps): bump github.com/apolloconfig/agollo/v4 ( #2591 )
...
Bumps [github.com/apolloconfig/agollo/v4](https://github.com/apolloconfig/agollo ) from 4.2.1 to 4.3.0.
- [Release notes](https://github.com/apolloconfig/agollo/releases )
- [Commits](https://github.com/apolloconfig/agollo/compare/v4.2.1...v4.3.0 )
---
updated-dependencies:
- dependency-name: github.com/apolloconfig/agollo/v4
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>
2 years ago
dependabot[bot]
a017ab0957
build(deps): bump github.com/hashicorp/consul/api ( #2563 )
...
Bumps [github.com/hashicorp/consul/api](https://github.com/hashicorp/consul ) from 1.15.3 to 1.18.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/api/v1.15.3...api/v1.18.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>
2 years ago
baozhecheng
a45f3afdff
Revert "feat: support polaris service governance"
...
This reverts commit b67d514bfa
.
2 years ago
baozhecheng
b67d514bfa
feat: support polaris service governance
2 years ago
woniu317
2cf82fa4a7
feat: consul registry support get services from multiple datacenters ( #2536 )
...
* feat: consul支持多数据中心
* feat: fix comments
* refactor: param name
* fix: comments fix
* refactor: param name
* refactor: function name
2 years ago
dependabot[bot]
3c3829795c
build(deps): bump github.com/aliyun/aliyun-log-go-sdk ( #2548 )
...
Bumps [github.com/aliyun/aliyun-log-go-sdk](https://github.com/aliyun/aliyun-log-go-sdk ) from 0.1.40 to 0.1.41.
- [Release notes](https://github.com/aliyun/aliyun-log-go-sdk/releases )
- [Commits](https://github.com/aliyun/aliyun-log-go-sdk/compare/v0.1.40...v0.1.41 )
---
updated-dependencies:
- dependency-name: github.com/aliyun/aliyun-log-go-sdk
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>
2 years ago
qshuai
a82c82d49f
fix(config): fix codec NPE as parsing format wrongly, fix #2517 ( #2518 )
...
* fix[config]: fix codec NPE as parsing format wrongly, fix #2517
* feat: add unit testing for namespace parsing
2 years ago
包子
a7bae93ee0
deps: upgrade kratos version to v2.5.3 ( #2500 )
2 years ago
dependabot[bot]
b339ae8956
build(deps): bump github.com/apolloconfig/agollo/v4 ( #2421 )
...
Bumps [github.com/apolloconfig/agollo/v4](https://github.com/apolloconfig/agollo ) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/apolloconfig/agollo/releases )
- [Commits](https://github.com/apolloconfig/agollo/compare/v4.2.0...v4.2.1 )
---
updated-dependencies:
- dependency-name: github.com/apolloconfig/agollo/v4
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>
2 years ago
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>
2 years ago
dependabot[bot]
c5888ff464
build(deps): bump google.golang.org/grpc in /contrib/opensergo ( #2452 )
...
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>
2 years ago
dependabot[bot]
878eca54ab
build(deps): bump google.golang.org/grpc in /contrib/config/etcd ( #2453 )
...
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>
2 years ago
dependabot[bot]
e9ef3eea2d
build(deps): bump github.com/hashicorp/consul/api ( #2472 )
...
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>
2 years ago
dependabot[bot]
58d9e3be56
build(deps): bump github.com/prometheus/client_golang ( #2494 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.12.2 to 1.13.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/v1.13.1/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.2...v1.13.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
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>
2 years ago
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>
2 years ago
dependabot[bot]
699f0304ed
build(deps): bump github.com/aliyun/aliyun-log-go-sdk ( #2492 )
...
Bumps [github.com/aliyun/aliyun-log-go-sdk](https://github.com/aliyun/aliyun-log-go-sdk ) from 0.1.39 to 0.1.40.
- [Release notes](https://github.com/aliyun/aliyun-log-go-sdk/releases )
- [Commits](https://github.com/aliyun/aliyun-log-go-sdk/compare/v0.1.39...v0.1.40 )
---
updated-dependencies:
- dependency-name: github.com/aliyun/aliyun-log-go-sdk
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>
2 years ago
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>
2 years ago
jessetang
511f1917ce
fix(contrib/log): test case error ( #2487 )
...
* fix(contrib/log): test case error
* fix float32
* add nil case
2 years ago
jessetang
2a65502be2
style(config): code style tweaks and abstracts some methods ( #2465 )
...
* style(config): code specification tweaks and abstracts some methods
* optimize
* modify func location
2 years ago
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>
2 years ago
dependabot[bot]
c4c1ebab47
build(deps): bump github.com/aliyun/aliyun-log-go-sdk ( #2483 )
...
Bumps [github.com/aliyun/aliyun-log-go-sdk](https://github.com/aliyun/aliyun-log-go-sdk ) from 0.1.37 to 0.1.39.
- [Release notes](https://github.com/aliyun/aliyun-log-go-sdk/releases )
- [Commits](https://github.com/aliyun/aliyun-log-go-sdk/compare/v0.1.37...v0.1.39 )
---
updated-dependencies:
- dependency-name: github.com/aliyun/aliyun-log-go-sdk
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>
2 years ago
jessetang
3c65f16737
style(contrib/config): code style modify ( #2475 )
2 years ago
包子
dcae38d656
deps: upgrade kratos version to v2.5.2 ( #2464 )
2 years ago
Jesse
a911f8f9ee
fix(log): toString float32 precision loss and convert uint use `FormatUint` ( #2461 )
...
* fix(log): toString float32 precision loss
* convert uint to string
2 years ago
Jesse
54655e4b24
cleanup: use HTTP package methods replace GET POST DELETE... ( #2412 )
2 years ago
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
2 years ago
Guoqiang Ding
e3feea6eeb
docs(config/etcd): fix the missing step of Load ( #2450 )
...
Co-authored-by: Guoqiang Ding <guoqiang10@staff.sina.com.cn>
2 years ago
jesse.tang
b5cd1c693d
fix: contrib/registry/eureka/client.go serveice -> serivce ( #2440 )
2 years ago
jesse.tang
c5e86ca36d
style: kratos interface check ( #2441 )
...
* style: kratos interface check
* fix: kratos interface check
2 years ago
包子
8743f3e50c
deps: upgrade kratos version v2.5.1 ( #2431 )
...
* deps: upgrade kratos version v2.5.1
* fix goimport
2 years ago
jesse.tang
69fcd50c0a
feat: golangci add goimports local-prefixes ( #2413 )
...
* feat: golangci goimports local-prefixes
* fix lint
* fix lint
2 years ago
jesse.tang
9f65c1a03d
cleanup: remove redundancy type conversion and golangci add unconvert ( #2409 )
...
* cleanup: remove redundancy type conversion
* golangci add unconvert check
2 years ago
180909
9301bfa407
chore(log): let log toString same ( #2414 )
2 years ago
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
2 years ago
180909
b10e067fe9
test(log): add toString unit test ( #2373 )
...
* test(log): add toString unit test
* fix lint
* annotation
* fix build&test
2 years ago
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
2 years ago