1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-06-12 22:07:47 +02:00
Commit Graph

73 Commits

Author SHA1 Message Date
4929a7c16e update etcd version (#2186)
Remove missing gRPC example from README.md (#2112)

Delete docker.yml

Delete Dockerfile

update plugins version & remove replace (#2118)

* update memory registry plugins version & remove replace

* update plugins version & remove replace

Co-authored-by: 申法宽 <shenfakuan@163.com>

update client/grpc plugins version & remove replace (#2119)

* update memory registry plugins version & remove replace

* update plugins version & remove replace

* update plugins/client/grpc/v3 version

Co-authored-by: 申法宽 <shenfakuan@163.com>

update etcd version (#2120)

update mod version

update

update pulgin registry mod version (#2121)

* update etcd version

* update mod version

* update

fix store delete

support for tls on http plugin (#2126)

improve code quality (#2128)

* Fix inefficient string comparison

* Fix unnecessary calls to Printf

* Canonicalize header key

* Replace `t.Sub(time.Now())` with `time.Until`

* Remove unnecessary blank (_) identifier

* Remove unnecessary use of slice

* Remove unnecessary comparison with bool

Update README.md

Update README.md

remove network package

update quic go mod

remove indirects

update etcd mod version

Update registry plugins mod version (#2130)

* update etcd version

* update mod version

* update

* update etcd mod version

Update README.md

Update README.md

Update README.md

fixing etcd stack in getToken (#2145)

when provide username and password, etcd will try to get auth token from server
if server is unavailble, etcd client will stack in
when dial timeout is set, it will return err instead of stack in

Update README.md

add http demo; http client can call http server; http client can call rpc server (#2149)

Add etcd to default registries when plugin is loaded (#2150)

Co-authored-by: Andrew Jones <andrew@gotoblink.com>

Update README.md

make rpcClient compatible with 32bit arm systems (#2156)

On ARM, 386, and 32-bit MIPS, it is the caller's responsibility to
arrange for 64-bit alignment of 64-bit words accessed
atomically. Only the first word in an allocated struct can
be relied upon to be 64-bit aligned.

optimize the process of switching grpc error to micro error (#2158)

Fix util/log/log.Infof format didn't work (#2160)

Co-authored-by: Cui Gang <cuigang@yunpbx.com>

fixing string field contains invalid UTF-8 issue (#2164)

fix k8s api memory leak (#2166)

fix http No release Broker (#2167)

* Update http.go

Exit before deregister is executed

* Create http.go

Exit before deregister is executed

fix: "Solve the problem that the resources have not been fully released due to early exit" (#2168)

* Update http.go

Exit before deregister is executed

* Create http.go

Exit before deregister is executed

* Solve the problem that the resources have not been fully released due to early exit

* Optimize some code

* Optimize some code

fix service default logger (#2171)

* Update http.go

Exit before deregister is executed

* Create http.go

Exit before deregister is executed

* Solve the problem that the resources have not been fully released due to early exit

* Optimize some code

* Optimize some code

* Optimize some code

* fix service default logger

Update README.md

get k8s pod (#2173)

Update README.md

fix:field (#2176)

* get k8s pod

* fix: filed

* field

Update README.md

add rmq message properties (#2177)

Co-authored-by: dtitov <dtitov@might24.ru>

Update README.md

grpc server add RegisterCheck (#2178)

fix 404 bug (#2179)

fix undefined: err (#2181)

Add registry and config/source plugins based on nacos/v2 (#2182)

* Add registry plugins implement by nacos/v2

* Add config/source plugins implement by nacos/v2

support hystrix fallback (#2183)

Windows event log plugin (#2180)

* add rmq message properties

* eventlog start

* start eventlog

* windows event logger

* readme

* readme

Co-authored-by: dtitov <dtitov@might24.ru>

support etcd auth with env args (#2184)

* support etcd auth with env args
set default registry address with env arg instead of 127.0.0.1

* fixing MICRO_REGISTRY_ADDRESS may empty issue

update mod version
2021-06-29 13:40:54 +01:00
d94936f6c9 v3 (#2104)
* v3

* revert plugins

* fixup some issues
2021-01-20 13:54:31 +00:00
18fb7a5d62 move certmagic 2020-12-29 20:12:10 +00:00
b68af8ab63 run go fmt 2020-05-30 11:00:43 +01:00
af2db0a0d9 fix: update dependency certmagic (#1625)
module github.com/mholt/certmagic has been renamed github.com/caddyserver/certmagic,
so upgrade on this module will fail.

fix: micro/micro#835

caddyserver/certmagic@v0.10.6 is Maximum upgradeable version with go version 1.13

Higher version use *tls.ClientHelloInfo.SupportsCertificate which only supported in go 1.14
2020-05-13 15:00:13 +01:00
226d6ad22b log whats happening in http handler 2020-04-19 00:41:03 +01:00
0f2006ac50 fix compilation issues 2020-04-11 11:02:06 +01:00
d4b2c948dd Remove cloudflare store 2020-04-10 19:50:57 +01:00
1063b954de dont display t.Log/t.Logf as errors in github actions (#1508)
* fix tests and github action annotations

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-04-09 14:05:46 +03:00
e907d24e3b API Wrappers 2020-04-07 19:29:26 +01:00
4362a885eb Refactor Namespace Resolver 2020-04-07 16:24:51 +01:00
9d598836c3 Fix Tests 2020-04-07 11:37:04 +01:00
05ac3ff274 Tweak 2020-04-07 11:24:13 +01:00
76f6f80318 Default to Hostname 2020-04-07 11:23:21 +01:00
cb96949551 Merge branch 'master' of https://github.com/micro/go-micro into namespace 2020-04-07 10:58:54 +01:00
f0980e9b30 Change cross namespace request err level 2020-04-07 10:54:27 +01:00
977934f8fd ServiceNamespace => ServicePrefix in api server 2020-04-07 10:39:27 +01:00
9e116731b1 ServiceNamespace => ServicePrefix in api server 2020-04-07 10:38:27 +01:00
316424f0f7 Fix comments typo 2020-04-07 10:35:57 +01:00
bd23dc1f18 Improve micro.mu check 2020-04-07 10:34:26 +01:00
501fc5c059 Refactor to use publicsuffix 2020-04-07 10:28:39 +01:00
11e1e9120a Remove debugging 2020-04-07 10:10:37 +01:00
a81d86ed08 Merge Asim's Fixes 2020-04-07 10:08:06 +01:00
7206d5f964 Add Namespace to CombinedAuthHandler 2020-04-07 09:40:40 +01:00
e8a86585da contains missing host port 2020-04-07 00:54:27 +01:00
5374896ed0 clone request 2020-04-07 00:29:35 +01:00
b6348ba59a Fix cruft 2020-04-07 00:25:11 +01:00
ca11c4a672 Few nitpicks 2020-04-07 00:19:49 +01:00
574bf5ac69 Set value in context, not metadata 2020-04-06 16:10:08 +01:00
774c0d30a7 Encode Endpoint in API auth wrapper 2020-04-06 16:01:42 +01:00
7f07e1a642 Merge branch 'master' into auth-resolver 2020-04-06 14:43:22 +01:00
a82ce4d1ae Add Debug 2020-04-03 15:03:18 +01:00
4a850ff8a0 Auth host fix 2020-04-03 14:40:24 +01:00
350dd41732 Merge branch 'master' into auth-resolver 2020-04-03 14:19:03 +01:00
b864b3e350 Fix auth hosts bug 2020-04-03 14:09:25 +01:00
906263291b Hotfix 2020-04-03 13:37:02 +01:00
d0e47206cc Fix 2020-04-03 13:29:48 +01:00
91b9c3f92e Add defaults 2020-04-03 10:08:39 +01:00
183c8bfb81 Apply fix for apis 2020-04-03 09:45:39 +01:00
fdcb013f24 Fix web registry compatability bugs 2020-04-03 09:18:30 +01:00
cfde3ec3d9 Remove resolver logic 2020-04-02 18:03:57 +01:00
4a4c666528 Remove resolver logic 2020-04-02 18:03:21 +01:00
8b35c264eb Pass resolver to api auth handler 2020-04-02 17:44:48 +01:00
4999f6dfd4 Namespace requests coming via api & web 2020-04-02 17:01:06 +01:00
1057ef6acb Add ContextWithToken (#1407)
* Add ContextWithToken

* Tidying up BearerScheme

Co-authored-by: Ben Toogood <ben@micro.mu>
2020-03-25 11:20:53 +00:00
8100d26430 api/router/registry: use logger (#1402)
* api/router/registry: use logger

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>

* api/server/acme: use logger

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-03-24 20:45:11 +00:00
e0e77f3983 Updated auth interface (#1384)
* Updated  auth interface

* Add Rule

* Remove Rule

* Return token from Renew

* Renew => Refresh

* Implement Tokens & Default Auth Implementation

* Change default auth to noop

* Change default auth to noop

* Move token.Token to auth.Token

* Remove Token from Account

* Auth service implementation

* Decode JWT locally

* Cookie for secret

* Move string to bottom of interface definition

* Depricate auth_exclude

* Update auth wrappers

* Update go.sum

Co-authored-by: Ben Toogood <ben@micro.mu>
2020-03-23 16:19:30 +00:00
cd04111e3d Pass redirect_to param on auth (#1361)
Co-authored-by: Ben Toogood <ben@micro.mu>
2020-03-17 20:04:16 +00:00
00cd2448a4 Fix bug where auth token is not set from cookie when excluded endpoint (#1360)
Co-authored-by: Ben Toogood <ben@micro.mu>
2020-03-17 19:24:10 +00:00
b3c631dd38 Support Wildcard Auth Excludes (#1357)
Co-authored-by: Ben Toogood <ben@micro.mu>
2020-03-17 16:03:49 +00:00