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

109 Commits

Author SHA1 Message Date
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
Tony Chen
97c103a395
fix with logger (#2062)
* fix with logger
2022-05-28 19:45:37 +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]
7d425b898e
build(deps): bump k8s.io/client-go in /contrib/registry/kubernetes (#2057)
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:37 +08:00
dependabot[bot]
8ad8578c40
build(deps): bump github.com/aliyun/aliyun-log-go-sdk (#2053)
Bumps [github.com/aliyun/aliyun-log-go-sdk](https://github.com/aliyun/aliyun-log-go-sdk) from 0.1.35 to 0.1.36.
- [Release notes](https://github.com/aliyun/aliyun-log-go-sdk/releases)
- [Commits](https://github.com/aliyun/aliyun-log-go-sdk/compare/v0.1.35...v0.1.36)

---
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>
2022-05-28 00:57:23 +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
dependabot[bot]
925a0b725e
build(deps): bump k8s.io/api in /contrib/registry/kubernetes (#2058)
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-27 10:32:15 +08:00
包子
70317d05a0
deps: upgrade kratos version to v2.3.0 (#2036) 2022-05-24 11:53:07 +08:00
Tony Chen
97fd33ece7
opensergo: fix http path & method (#2035) 2022-05-24 10:18:38 +08:00
Kagaya
643caa6df9
feat(contrib/opensergo): add opensergo reportMetadata fields (#1996)
* add fields descriptor
2022-05-24 10:04:36 +08:00
haiyux
71ea97fd93
deps: upgrade go mod version (#2028)
* deps:upgrade go mod version
2022-05-22 21:18:46 +08:00
Ccheers
8dec7cf5e8
feat(registry): zookeeper watch node changed (#1986)
* feat(registry): zookeeper watch node changed

* fix lint

* fix lint

* fix lint

* fix lint

* fix(stop): cancel context when stop

* fix(mod): add replace
2022-05-20 22:39:13 +08:00
houseme
0d9319b1ee
fix: Replace the docker image of Polaris (#1999)
* fix: Replace the docker image of Polaris

* up
2022-05-19 22:42:02 +08:00
Kagaya
bf9f4886e9
ignore polaris test & add eureka consul test (#1998) 2022-05-19 22:26: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
林晓炜
9098e9dd39
feat(registry): contrib/registry/zookeeper add digest acl support (#1964)
* feat(registry): contrib/registry/zookeeper add digest acl support

* feat(registry): use WithDigestACL to put user and password together
2022-04-29 15:49:30 +08:00
Casper-Mars
d4e1942480
fix(contrib/opensergo): fix index error (#1951) 2022-04-25 15:20:28 +08:00
Tony Chen
ae230eb550
feat: add opensergo metadata (#1947)
* add opensergo metadata
2022-04-25 14:58:48 +08:00
Casper-Mars
19637d9b87
feat(registry): consul client add DeregisterCriticalServiceAfter option (#1917)
* feat(registry/consul):add DeregisterCriticalServiceAfter option

* fix(cmd/protoc-gen-go-errors):fix lint problem (#1919)

use cases.Title instead of strings.Title
2022-04-10 16:14:33 +08:00
包子
99a0646acb
fix(log/aliyun): Improper Input Validation in GoGo Protobuf CVE-2021-3121 (#1902) 2022-03-30 10:09:30 +08:00
Cluas
d4c0c57681
feat(log): log load config only when Debug level (#1899) 2022-03-29 16:39:31 +08:00
weetime
69df1ab9a6
feat(contrib): add eureka registry (#1792) (#1793)
* - feat(contrib): add eureka registry (#1792)


Co-authored-by: fangyong <fangyong@haodf.com>
2022-03-29 14:25:05 +08:00
longxboy
e66a2905ab
feat: supprt non-kratos instance in consul registry (#1892) 2022-03-18 14:58:33 +08:00
包子
e98c0078cb
deps: upgrade kratos version to 2.2.1 (#1890) 2022-03-18 11:51:39 +08:00
YuanXin Hu
e739f1d282
Example for Polaris (#1850)
* fix (registry/polaris): fix get unhealthy service

* fix (example/polaris): add polaris example
2022-03-01 19:58:24 +08:00
Sasha Melentyev
48d407cc9b
perf: add prealloc (#1846) 2022-02-27 12:29:51 +08:00
Sasha Melentyev
da147b5763
feat: add zero prealloc (#1847) 2022-02-27 12:29:12 +08:00
YuanXin Hu
f3313476ac
Discovery For Tencent Polaris (#1839)
* feat (registry/polaris): discovery for polaris

1.add heartbeat report option
2.implements GetService function
3.implements Watch function

* test (registry/polaris): test for discovery

1.add GetService test
2.add Watch test

* test (registry/polaris): fix lint

* fix (registry/polaris): fix missing ServiceInstances
2022-02-25 17:15:53 +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
Jin Peng
85800cedb9
fix(contrib): get nacos service of customize group name (#1798) 2022-02-22 10:51:47 +08:00
YuanXin Hu
6446212258
feat(registry/polaris): add registry for Tencent Polaris (#1816)
* feat(registry): add polaris registry
2022-02-21 18:20:16 +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
Jason C.H
471a2aab79
fix: k8s discovery interface (#1820) 2022-02-15 11:30:00 +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
zjx-ERROR
0f23c1c516
解决consul client以IPv6地址格式register consul server health check时报错:[Check socket connection failed ... too many colons in address] (#1790) 2022-01-27 10:42:23 +08:00
包子
9ea78f302d
deps: upgrade kratos version to v2.1.5 (#1785) 2022-01-24 15:26:45 +08:00
guihouchang
1c18228d61
feat: add logger sdk for aliyun (#1748)
* add logger sdk for aliyun

Co-authored-by: haiyux <haiyux@foxmail.com>
2022-01-24 13:47:40 +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
longxboy
a87abe223c
fix: consul heartbeat ttl not registered (#1781)
* fix: consul heartbeat ttl check not registered
2022-01-21 15:52:25 +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