shifengbin
3e3e7cb1ad
Merge branch 'go-kratos:main' into main
2 years ago
Germiniku
fea863e783
feat(log): add tencent cls ( #2244 )
2 years ago
林晓炜
1f3ac4ea22
fix(registry): contrib/registry/zookeeper ephemeral nodes handling after restart ( #2245 )
2 years ago
dependabot[bot]
aae0339692
build(deps): bump github.com/prometheus/common ( #2210 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.36.0 to 0.37.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.36.0...v0.37.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
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>
2 years ago
包子
eff368621f
deps: upgrade kratos version to v2.4.1 ( #2242 )
2 years ago
kiripeng
a5eb913aa0
chore: go workspace contain go.work and go.work.sum ( #2241 )
...
* fix: map 其桶中只能存储 8 个键值对元素,超过后会储存到溢出桶或者扩容,影响性能,预先声明容量以免影响性能
* update ignore for go workspace
Co-authored-by: caizhipeng <caizhipeng@xmfunny.com>
2 years ago
180909
ffa1c2696c
update ignore for go workspace ( #2240 )
2 years ago
dependabot[bot]
86eba94646
build(deps): bump k8s.io/client-go in /contrib/config/kubernetes ( #2217 )
...
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>
2 years ago
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>
2 years ago
Tony Chen
f3b0da3f04
feat(middleware): add selector matcher ( #2239 )
...
* feat(middleware): add selector matcher
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
2 years ago
dependabot[bot]
377356d04d
build(deps): bump github.com/hashicorp/consul/api ( #2211 )
...
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>
2 years ago
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>
2 years ago
Tony Chen
3c54997dd8
fix default behavior for gRPC encoding ( #2187 )
...
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
2 years ago
dependabot[bot]
e6767bc612
build(deps): bump k8s.io/api in /contrib/config/kubernetes ( #2219 )
...
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>
2 years ago
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>
2 years ago
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>
2 years ago
hshe
b7422717cf
proto build client structName not match to server's structName ( #2200 )
...
* fix(proto/server): server .ServerName not Match to Client ServerName
* fix(proto/server): unit server_test
2 years ago
Haibo
59b758ceda
feat: support passing program args with run cmd ( #2207 )
2 years ago
林晓炜
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
2 years ago
Paul
92b3c8f94a
fix(contrib/config/polaris): Use injected client properly ( #2238 )
2 years ago
haiyux
14cfd65b62
fix: remove unuseful file when use nomod ( #2234 )
2 years ago
wangcong
82dfb955f5
fix(contrib): add logrus fatal level ( #2222 )
2 years ago
风雨雾凇
de0e4e2228
docs: update README_zh.md ( #2208 )
2 years ago
dependabot[bot]
1ab3d8f028
build(deps): bump github.com/prometheus/common ( #2188 )
...
Bumps [github.com/prometheus/common](https://github.com/prometheus/common ) from 0.32.1 to 0.36.0.
- [Release notes](https://github.com/prometheus/common/releases )
- [Commits](https://github.com/prometheus/common/compare/v0.32.1...v0.36.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/common
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>
2 years ago
dependabot[bot]
0ff80e42e7
build(deps): bump actions/setup-go from 3.2.0 to 3.2.1 ( #2189 )
...
Bumps [actions/setup-go](https://github.com/actions/setup-go ) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/actions/setup-go/releases )
- [Commits](https://github.com/actions/setup-go/compare/v3.2.0...v3.2.1 )
---
updated-dependencies:
- dependency-name: actions/setup-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>
2 years ago
Walrus Yu
d1da8aa1ae
Feature/improve app test ( #2190 )
...
* modify app_test.go
* merge NewContext and FromContext into one test
Co-authored-by: Yu Weifeng <yu.weifeng@bcrdteam.onmicrosoft.com>
2 years ago
shengzhou
ede5f889d4
test: increase endpoint,env, options and reader tests coverage. ( #2192 )
...
* test(config/file): add format test (#2147 )
* test(internal/endpoint): increase endpoint tests coverage.(#2147 )
* test(config/env): increase env tests coverage.(#2147 )
* test(config/options): increase options tests coverage.(#2147 )
* test(config/reader): increase reader tests coverage.(#2147 )
2 years ago
rogerogers
bcef2b8e3f
test(contrib): update unit test for contrib/registry/polaris ( #2196 )
...
Co-authored-by: rogerogers <rogers@rogerogers.com>
2 years ago
jakezhu9
85af73a84b
test(log): increase tests coverage ( #2197 )
2 years ago
包子
1451b9e0c0
deps: upgrade kratos version to v2.4.0 ( #2186 )
2 years ago
潘雄
96c8de9bc4
style(contrib/registry/*) annotation perfect ( #2185 )
...
Co-authored-by: xiongpan828@qq.com <panxiong@aithu.com>
2 years ago
Tony Chen
d0a0edf67b
feat(http): add http router walk ( #2181 )
...
* add http router walk
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
2 years ago
jakezhu9
afd108cdc7
test(options): increase tests coverage ( #2183 )
...
Co-authored-by: aythen <634222210@qq.com>
2 years ago
Ccheers
b3eff576ce
test(transport): add unit test for transport coverage: 91.7% of state… ( #2172 )
...
* test(transport): add unit test for transport coverage: 91.7% of statements
* lint & fix data race
* fix test
* fix lint
* fix lint
* remove http func wrapper
* remove error log when watcher context is canceled
* optimize code style
2 years ago
rogerogers
63827466a3
test(contrib): add unit test for contrib/metrics/prometheus ( #2182 )
...
Co-authored-by: rogerogers <rogers@rogerogers.com>
2 years ago
freezeChen
187c65bf8c
test(contrib/config/consul): add unit test for contrib/config/consul ( #2179 )
2 years ago
Tony Chen
6ac63e6439
fix(transport): http endpoint listening ( #2180 )
...
* fix http serve
* fix endpoint nil
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
2 years ago
Tony Chen
c90eab4577
fix transport early listening ( #2177 )
...
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
2 years ago
川桑
102391165e
test(errors): improve coverage ( #2178 )
...
Co-authored-by: dengxiaochuan <dengxc@yilan.tv>
2 years ago
Giovanny Gutiérrez
2209da5e24
feat(metadata): Ignore service if the dependencies are not found ( #2171 )
...
* feat(metadata): Ignore service if the dependencies are not found
* chore: Use errors.Is instead of equal operator
2 years ago
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>
2 years ago
川桑
d88052b7dd
fix(errors): panic when err of Clone is nil ( #2176 )
2 years ago
darkweak
c9fbb27b5b
tests(coverage): Increase middleware tests coverage ( #2165 )
...
* tests(coverage): Increase tests coverage
* Lint fix
2 years ago
shengzhou
dec323113f
test(config/file): add format test ( #2147 ) ( #2168 )
2 years ago
dependabot[bot]
8d0d7838ca
build(deps): bump github.com/hashicorp/consul/api ( #2082 )
...
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>
2 years ago
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>
2 years ago
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>
2 years ago
dependabot[bot]
8e9e15e04b
build(deps): bump k8s.io/client-go in /contrib/config/kubernetes ( #2122 )
...
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>
2 years ago
Betula-L
e09d294388
feat: add logrus to contrib log ( #2077 )
...
* add logrus to contrib log
* add readme
* fix test
* fix lint
* fix lint
* fix lint
2 years ago
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>
2 years ago