1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-11-06 08:59:18 +02:00
Commit Graph

86 Commits

Author SHA1 Message Date
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>
2023-01-01 20:00:05 +08:00
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>
2023-01-01 19:58:42 +08:00
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
2022-11-26 18:44:01 +08:00
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>
2022-11-10 11:29:33 +08:00
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>
2022-11-10 11:26:23 +08:00
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>
2022-11-08 09:59:07 +08:00
jessetang
3c65f16737 style(contrib/config): code style modify (#2475) 2022-10-26 14:24:14 +08:00
Guoqiang Ding
e3feea6eeb docs(config/etcd): fix the missing step of Load (#2450)
Co-authored-by: Guoqiang Ding <guoqiang10@staff.sina.com.cn>
2022-10-18 20:05:37 +08:00
jesse.tang
9f65c1a03d cleanup: remove redundancy type conversion and golangci add unconvert (#2409)
* cleanup: remove redundancy type conversion

* golangci add unconvert check
2022-10-10 11:19:39 +08:00
jesse.tang
4d95050747 fix: fmt import (#2379) 2022-09-27 14:08:08 +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
0ed01efdfd revise err logic or null pointer exception (#2376) 2022-09-15 20:10:39 +08:00
包子
ae505063fe fix(apollo): config return nil when watch err 2022-09-14 19:44:04 +08:00
GongGuoWei
cb69bf3714 test(config): add etcd config method test (#2349)
Added test cases for the about etcd method
- WithPath(path string)
- WithPrefix(prefix bool)

Update #2135
2022-09-06 13:46:14 +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
dependabot[bot]
e820b392e9 build(deps): bump github.com/hashicorp/consul/api (#2279)
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-09-01 21:14:50 +08:00
包子
3f31b4d734 bc: apollo unable to get and watch to the properties file (#2269) 2022-08-17 13:04:56 +08:00
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>
2022-07-27 13:07:15 +08:00
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>
2022-07-27 10:57:56 +08:00
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>
2022-07-27 10:56:17 +08:00
Paul
92b3c8f94a fix(contrib/config/polaris): Use injected client properly (#2238) 2022-07-27 10:44:48 +08:00
包子
1451b9e0c0 deps: upgrade kratos version to v2.4.0 (#2186) 2022-07-11 19:51:26 +08:00
freezeChen
187c65bf8c test(contrib/config/consul): add unit test for contrib/config/consul (#2179) 2022-07-10 17:13:15 +08:00
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>
2022-07-08 10:01:30 +08:00
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>
2022-07-08 09:58:55 +08:00
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>
2022-07-06 21:04:32 +08:00
wangcong
20b7c9f4d7 test(nacos): add nacos unit test and remove unused function (#2145) 2022-07-05 08:43:36 +08:00
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>
2022-07-04 15:53:40 +08:00
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
2022-06-17 23:42:32 +08:00
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
2022-06-15 10:53:33 +08:00
包子
4b7afe52af fix(config): apollo get the original configuration file directly (#2100) 2022-06-14 14:18:52 +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]
5de1f081f6 build(deps): bump gopkg.in/yaml.v3 in /contrib/config/nacos (#2067)
Bumps [gopkg.in/yaml.v3](https://github.com/go-yaml/yaml) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: gopkg.in/yaml.v3
  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-31 10:01:31 +08:00
dependabot[bot]
b5e7b8d61b build(deps): bump gopkg.in/yaml.v3 in /contrib/config/apollo (#2068)
Bumps [gopkg.in/yaml.v3](https://github.com/go-yaml/yaml) from 3.0.0 to 3.0.1.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v3.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: gopkg.in/yaml.v3
  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-31 10:01:02 +08:00
dependabot[bot]
b74e330289 build(deps): bump k8s.io/client-go in /contrib/config/kubernetes (#2056)
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:54 +08:00
dependabot[bot]
a926195f66 build(deps): bump k8s.io/api in /contrib/config/kubernetes (#2052)
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-28 00:57:04 +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
包子
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
witt
ddc82ce45e fix: delete redundant type conversion (#1977) 2022-05-12 18:07:12 +08:00
包子
091ba2dae7 deps: upgrade kratos version to v2.2.2 (#1944) 2022-05-06 21:44:28 +08:00
包子
e98c0078cb deps: upgrade kratos version to 2.2.1 (#1890) 2022-03-18 11:51:39 +08:00
Sasha Melentyev
48d407cc9b perf: add prealloc (#1846) 2022-02-27 12:29:51 +08:00
包子
d6896127b1 deps: upgrade kratos version to 2.2.0 (#1834) 2022-02-23 17:13:57 +08:00
haiyux
24393ee655 fix lint (#1833) 2022-02-23 14:40:39 +08:00
youn
a52b17c268 fix: add yaml / yml parser (#1808)
Co-authored-by: yang.liu14 <yang.liu14@weimob.com>
2022-02-23 14:30:21 +08:00
Casper-Mars
c1e98e41de fix(config/consul):Config from consul skip empty key (#1830)
* feat(config/consul):skip empty key

* feat(config/consul):delete empty blank
2022-02-21 18:16:56 +08:00
haiyux
86b8b6c366 fix: fix ci tool (#1803)
* fix: fix ci tool
2022-01-31 08:50:31 +08:00
haiyux
18315303f0 deps:upgrade go mod version (#1800)
* deps:upgrade go mod version
2022-01-28 14:56:32 +08:00
包子
9ea78f302d deps: upgrade kratos version to v2.1.5 (#1785) 2022-01-24 15:26:45 +08:00