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

41 Commits

Author SHA1 Message Date
包子
84235462b7
feat(registry): consul get service support remote (#2275)
* feat(registry): consul get service support remote acces

* fix lint
2022-08-13 13:00:17 +08:00
包子
eff368621f
deps: upgrade kratos version to v2.4.1 (#2242) 2022-07-28 19:43:50 +08:00
dependabot[bot]
247a74e631
build(deps): bump github.com/hashicorp/consul/api (#2209)
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:14 +08:00
包子
1451b9e0c0
deps: upgrade kratos version to v2.4.0 (#2186) 2022-07-11 19:51:26 +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
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
包子
95dce00852
deps: upgrade kratos version to v.2.3.1 (#2075)
Co-authored-by: baozhecheng <>
2022-06-02 19:13:50 +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
Kagaya
bf9f4886e9
ignore polaris test & add eureka consul test (#1998) 2022-05-19 22:26:46 +08:00
包子
091ba2dae7
deps: upgrade kratos version to v2.2.2 (#1944) 2022-05-06 21:44:28 +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
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
Sasha Melentyev
da147b5763
feat: add zero prealloc (#1847) 2022-02-27 12:29:12 +08:00
包子
d6896127b1
deps: upgrade kratos version to 2.2.0 (#1834) 2022-02-23 17:13:57 +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
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
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
letian
d2f8b45603
feat(registry/consul): add WithHeartbeat option (#1738) 2022-01-01 11:51:22 +08:00
letian
1e749de5db
fix(registry/consul):fix can't get service instance in async mode (#1731)
* fix(registry/consul):fix can't get service instance in async mode

* fix(registry/consul): return error if find service failed
2022-01-01 11:48:38 +08:00
letian
17201cd284
fix(registry/consul): fix can not find service in 20s (#1728)
* fix(registry/consul): fix can not find service in 20s
2021-12-31 16:31:19 +08:00
包子
1117350b9c
deps: update kratos version to 2.1.3 (#1706) 2021-12-22 14:15:09 +08:00
Cluas
03f5ee015c
consul: support WithServiceResolver option (#1693)
* consul: add endpoints resolver option

* consul: resolver []*api.ServiceEntry -> []*registry.ServiceInstance

* consul: rename Resolver -> ServiceResolver
2021-12-16 22:24:43 +08:00
包子
6b53d7d229
deps: upgrade 2.1.2 (#1638)
* deps: upgrade 2.1.2

* fix lint
2021-11-19 15:02:49 +08:00
haiyux
3607ce1b92
feat: upgrade grpc version to 1.42.0 (#1626) 2021-11-18 00:38:31 +08:00
haiyux
05ecd2ce2c
fix:add consul all health check (#1620)
* fix:add consul all health check

Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-11-16 14:23:23 +08:00
包子
979ec39c53
deps: update kratos version (#1554) 2021-10-15 17:15:02 +08:00
aiscrm
9743ad8d32
fix registry TTL. (#1537)
* fix registry.
1. When etcd stops, the application cannot stop.
2. Stop consul first, then stop app. Then start consul, the registered service remains in consul registry as an unhealthy status.

Co-authored-by: corel <corelchen@qq.com>
2021-10-11 13:46:07 +08:00
Windfarer
f3e75bffca
feat: update go version to 1.16 (#1536) 2021-10-08 20:49:56 +08:00
Tt yo
3b477e7e52
fix: consul lint error (#1530)
* fix: consul lint error

* fix: services init eroor
2021-10-06 13:10:20 +08:00
包子
25f448794d
deps: otel upgrade to v1.0.0 (#1500) 2021-09-22 17:31:28 +08:00
Tony Chen
b92e8a9da8
deps: update otel to v1.0.0-rc3 (#1466)
* update otel to v1.0.0-rc3
2021-09-12 15:28:10 +08:00
Casper-Mars
ab5152dbe1
feat(middleware/auth): add auth middleware (#1274)
* add auth middleware
2021-09-10 10:49:18 +08:00
Tony Chen
b38c1145cf
fix(middleware/circuitbreaker): add breaker group (#1453)
* add breaker group

* update aegis to v0.1.1
2021-09-09 10:40:53 +08:00
Kagaya
29a5327291
ci: submodule ci check (#1401)
* add tool scripts
2021-09-06 21:37:34 +08:00
Windfarer
0ec3ff0b46
refactor: move plugins to contrib dir (#1399)
* move to contrib dir


Co-authored-by: chenzhihui <zhihui_chen@foxmail.com>
2021-09-01 13:40:14 +08:00