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 )
3 years ago
rogerogers
bcef2b8e3f
test(contrib): update unit test for contrib/registry/polaris ( #2196 )
...
Co-authored-by: rogerogers <rogers@rogerogers.com>
3 years ago
jakezhu9
85af73a84b
test(log): increase tests coverage ( #2197 )
3 years ago
包子
1451b9e0c0
deps: upgrade kratos version to v2.4.0 ( #2186 )
3 years ago
潘雄
96c8de9bc4
style(contrib/registry/*) annotation perfect ( #2185 )
...
Co-authored-by: xiongpan828@qq.com <panxiong@aithu.com>
3 years ago
Tony Chen
d0a0edf67b
feat(http): add http router walk ( #2181 )
...
* add http router walk
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
3 years ago
jakezhu9
afd108cdc7
test(options): increase tests coverage ( #2183 )
...
Co-authored-by: aythen <634222210@qq.com>
3 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
3 years ago
rogerogers
63827466a3
test(contrib): add unit test for contrib/metrics/prometheus ( #2182 )
...
Co-authored-by: rogerogers <rogers@rogerogers.com>
3 years ago
freezeChen
187c65bf8c
test(contrib/config/consul): add unit test for contrib/config/consul ( #2179 )
3 years ago
Tony Chen
6ac63e6439
fix(transport): http endpoint listening ( #2180 )
...
* fix http serve
* fix endpoint nil
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
3 years ago
Tony Chen
c90eab4577
fix transport early listening ( #2177 )
...
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
3 years ago
川桑
102391165e
test(errors): improve coverage ( #2178 )
...
Co-authored-by: dengxiaochuan <dengxc@yilan.tv>
3 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
3 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>
3 years ago
川桑
d88052b7dd
fix(errors): panic when err of Clone is nil ( #2176 )
3 years ago
darkweak
c9fbb27b5b
tests(coverage): Increase middleware tests coverage ( #2165 )
...
* tests(coverage): Increase tests coverage
* Lint fix
3 years ago
shengzhou
dec323113f
test(config/file): add format test ( #2147 ) ( #2168 )
3 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>
3 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>
3 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>
3 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>
3 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
3 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>
3 years ago
Y.Horie
106bc07def
test(contrib): add unit test for aliyun.go ( #2164 )
3 years ago
Tony Chen
0bcdb8d59c
fix(encoding/form): encode optional value ( #2155 )
...
* fix form encode optional value
* fix test
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
3 years ago
shengzhou
5df19c47d8
test(encoding/form): well konw types test ( #2147 ) ( #2160 )
3 years ago
Loner1024
62b58848d6
test: supplement the unit testing of metadata ( #2161 )
...
* test:supplement metadata set test
* test:supplement metadata range test
* test:supplement metadata append to client context test
* test:fix linter error
* text:fix metadate range test
3 years ago
dependabot[bot]
b6954d1aeb
build(deps): bump github.com/aliyun/aliyun-log-go-sdk ( #2152 )
...
Bumps [github.com/aliyun/aliyun-log-go-sdk](https://github.com/aliyun/aliyun-log-go-sdk ) from 0.1.36 to 0.1.37.
- [Release notes](https://github.com/aliyun/aliyun-log-go-sdk/releases )
- [Commits](https://github.com/aliyun/aliyun-log-go-sdk/compare/v0.1.36...v0.1.37 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
3 years ago
rogerogers
6c36cc9544
feat: add contrib/config/polaris polaris as configcenter ( #2158 )
...
* feat(contrib): add contrib/config/polaris polaris as configcenter
* style(contrib): import style change
Co-authored-by: sense <rogers@hibobi.com>
3 years ago
wangcong
20b7c9f4d7
test(nacos): add nacos unit test and remove unused function ( #2145 )
3 years ago
haiyux
addcbba66e
feat: add protoc-gen-go-http annotations synchronization with protoc-gen-go-grpc ( #2151 )
3 years ago
Guoqiang Ding
035c2f5387
fix: typo on emptypb.Empty ( #2150 )
...
Co-authored-by: Guoqiang Ding <guoqiang10@staff.sina.com.cn>
3 years ago
rogerogers
8c0a354797
test(contrib): add unit test for contrib/config/k8s ( #2140 )
...
* test(contrib): add unit test for contrib/config/k8s
* style(contrib): import style change
Co-authored-by: rogerogers <rogers@rogerogers.com>
3 years ago
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
3 years ago
liuyi0618
52031f1381
feat(contrib):add etcd watcher withKeysOnly option ( #2146 )
...
Co-authored-by: 刘易 <liuyi08@bilibili.com>
3 years ago
Y.Horie
9015ffb920
test(contrib): add unit test for fluent.go ( #2141 )
3 years ago
ThereWeGo
4ca25e4679
fix: show git output ( #2143 )
...
Co-authored-by: yz <yz@mercedes.com>
3 years ago
shifengbin
2ad7ffdd7e
fix: remove the output of the proto command
3 years ago
zoujiejun
3905182e98
test(contrib): add unit test for opensergo.go ( #2137 )
3 years ago
Ccheers
13c33fc4d3
feat(contrib): add unit test for zap_test.go & register_test.go ( #2136 )
3 years ago
haiyux
25c5996360
fix:fix url ptr not encode ( #2117 )
3 years ago
Guoqiang Ding
2f8703bff2
fix: allow the case of proto not found, such like gogo.proto ( #2132 )
...
Co-authored-by: Guoqiang Ding <guoqiang10@staff.sina.com.cn>
3 years ago
charviki
a3439c9713
fix: catch server stop error ( #2125 )
...
Co-authored-by: chenwq <chenwq@mvalley.io>
3 years ago
Tony Chen
a0e624c0b8
fix(binding): fix bind field mask ( #2112 )
...
* fix bind field mask
Co-authored-by: chenzhihui <chenzhihui@bilibili.com>
3 years ago
Cluas
6fa5700c3c
chore(contrib/config): uniformly canceled by CancelFunc ( #2111 )
...
* chore: remove sentinel error for compatibility
* chore: core use lssentinel error
* chore: uniformly canceled by CancelFunc
* chore: remove error
3 years ago
包子
3aaac45e3d
fix: regenerate the proto file ( #2108 )
...
* fix: regenerate the proto file
* fix
Co-authored-by: baozhecheng <>
3 years ago
longxboy
2a989ea0fe
fix dup gen const for http ( #2102 )
...
Co-authored-by: caoguoliang01 <caoguoliang01@bilibili.com>
3 years ago
YuanXin Hu
e3c37b936f
use offical image ( #2105 )
3 years ago
Cluas
4f8d8ef8da
feat(config): add ErrorWatcherStopped and return on watcher.Next() after Watcher.Stop() ( #2092 )
...
* feat(config): add ErrorWatcherStopped and return watcher.Next() after watcher.Stop()
* fix: remove unreachable code
* fix: return err when etcd WatcheResponse hold error
3 years ago