1
0
mirror of https://github.com/go-kratos/kratos.git synced 2025-01-14 02:33:03 +02:00
Commit Graph

129 Commits

Author SHA1 Message Date
rogerogers
63827466a3
test(contrib): add unit test for contrib/metrics/prometheus (#2182)
Co-authored-by: rogerogers <rogers@rogerogers.com>
2022-07-10 18:54:50 +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]
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>
2022-07-10 00:44:11 +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
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>
2022-07-08 10:01:09 +08:00
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>
2022-07-08 10:00:44 +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
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
2022-07-07 23:07:03 +08:00
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>
2022-07-07 23:03:21 +08:00
Y.Horie
106bc07def
test(contrib): add unit test for aliyun.go (#2164) 2022-07-07 23:00:25 +08:00
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>
2022-07-06 21:05:25 +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
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
2022-07-04 15:53:14 +08:00
liuyi0618
52031f1381
feat(contrib):add etcd watcher withKeysOnly option (#2146)
Co-authored-by: 刘易 <liuyi08@bilibili.com>
2022-07-04 14:44:38 +08:00
Y.Horie
9015ffb920
test(contrib): add unit test for fluent.go (#2141) 2022-07-01 13:47:45 +08:00
zoujiejun
3905182e98
test(contrib): add unit test for opensergo.go (#2137) 2022-06-29 20:43:09 +08:00
Ccheers
13c33fc4d3
feat(contrib): add unit test for zap_test.go & register_test.go (#2136) 2022-06-28 11:51:28 +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
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