1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-28 03:57:02 +02:00

61 Commits

Author SHA1 Message Date
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
ArthurQ
92e4a83dbf
fix: change consul config docs (#1784)
Co-authored-by: ArthurQiu <arthurqiuy@outlook.com>
2022-01-24 13:44:12 +08:00
haiyux
00c05e82a3
test:remove testify go mod (#1766)
* test:remove testify go mod

* tidy go mdo

* fix test
2022-01-14 10:02:42 +08:00
realityone
0ed2e0f379
feat(log): add global logger appliance, as process level default logger (#1761)
* add global logger appliance, as process level default logger

* replace DefaultLogger as global logger
2022-01-12 15:34:49 +08:00
haiyux
da70e22201
upgrade:upgrade grpc and opentelemetry version (#1751)
* upgrade:upgrade grpc and opentelemetry version

* upgrade jaeger

* fix lint
2022-01-06 20:29:18 +08:00
包子
7fe194ead4
deps: uprade kratos version to v2.1.4 (#1749) 2022-01-05 16:30:08 +08:00
wangcong
8172f9fff3
fix: k8s client logr incompatible update (#1744) 2022-01-04 16:27:25 +08:00
包子
1117350b9c
deps: update kratos version to 2.1.3 (#1706) 2021-12-22 14:15:09 +08:00
xiaoxiaodek
413cc77f7d
fix(config): apollo close function: useless infinite loop causes high cpu usage (#1674)
Co-authored-by: wangshaosen <wangshaosen@videopls.com>
2021-12-09 23:27:17 +08:00
haiyux
27cfec93d6
optimize:chan bool to chan struct{} (#1648) 2021-11-24 17:21:01 +08:00
包子
7e0045cd0f
fix: nacos a vulnerable dependency was referenced (#1639)
* fix: replace jsonparser version

* fix

* fix
2021-11-19 15:29:16 +08:00
包子
6b53d7d229
deps: upgrade 2.1.2 (#1638)
* deps: upgrade 2.1.2

* fix lint
2021-11-19 15:02:49 +08:00
wuxingzhong
7d821541b3
fix doc (#1636) 2021-11-18 21:22:19 +08:00
haiyux
3607ce1b92
feat: upgrade grpc version to 1.42.0 (#1626) 2021-11-18 00:38:31 +08:00
李鑫
780a6c0527
docs of etcd config (#1622) 2021-11-12 23:16:50 +08:00
yeqown
c392528e11
docs: replenish config/apollo and registry/discovery readme (#1625)
* docs(config/apollo): replenish config/apollo readme

* docs(registry/discovery): replenish registry/discovery readme

* docs: complete docs of config/apollo and registry/discovery
2021-11-12 23:16:12 +08:00
Windfarer
a8692e7dde
feat(contrib/config): use key file extension as format & config load log (#1619)
* add format
2021-11-10 20:10:28 +08:00
wangcong
c3d0bb66bb
fix: nacos registry test data race (#1613) 2021-11-06 15:15:56 +08:00
Windfarer
4f013de2ec
test: add nacos test (#1603)
* add test

* upgrade nacos sdk version

* upgrade nacos sdk version

* fix test

* github nacos instance

* config test

* fix lint

* fix test

* go mod

* fix lint

* lint
2021-11-05 16:45:46 +08:00
Xiong Liu
ef686a1cc7
feat: Add consul kv config provider (#1499)
feat: Add consul kv for config
Co-authored-by: liuxiong <lx@webull.com>
2021-10-26 14:43:07 +08:00
Yeqllo
eec45a3d0a
fix(config/apollo): apollo namespace (#1516)
* fix(config/apollo): support multiple namespace

* fix(config/apollo): modify example and test

* fix(config/apollo): recoding watcher

* styl(config/apollo): package sort; use log instead of fmt

* styl(config/apollo): use kratos/log package instead of fmt

* styl(config/apollo): optimise code with reviewer advises; fix some edge cases on genKey function.

* styl(config/apollo): rename `convertProperties` as `resolve`
2021-10-21 12:48:53 +08:00
包子
979ec39c53
deps: update kratos version (#1554) 2021-10-15 17:15:02 +08:00
Windfarer
f3e75bffca
feat: update go version to 1.16 (#1536) 2021-10-08 20:49:56 +08:00
longxboy
d0c65fbd75
feat: change to v2.1.0 (#1535)
* change to v2.0.5

* fix go lint
2021-10-08 14:14:52 +08:00
ONG-YA
a99659052a
feat: add backupConfigPath method (#1511)
* add backupConfigPath method

Co-authored-by: yangfw <yangfw@corp.21cn.com>
2021-10-06 13:11:24 +08:00
倒霉狐狸
0597883e70
fix: contrib config kubernetes lint err (#1523)
* fix: contrib metrics datadog lint err

* fix: contrib config nacos lint err

* fix: contrib config kubernetes lint err

* remove unwanted docs
2021-09-30 14:31:25 +08:00