Asim Aslam
d1d6eada98
parse url encoded form in rpc handler ( #1183 )
...
* parse url encoded form in rpc handler
* Remove comment
2020-02-11 11:27:16 +00:00
ben-toogood
4a03183481
Return a 401 error on invalid auth tokens ( #1184 )
2020-02-11 11:22:22 +00:00
Asim Aslam
8ea84ac3eb
Fix router panic for nil watcher
2020-02-10 15:38:41 +00:00
ben-toogood
4401c12e6c
Auth Wrapper ( #1174 )
...
* Auth Wrapper
* Tweak cmd flag
* auth_excludes => auth_exclude
* Make Auth.Excludes variadic
* Use metadata.Get (passes through http and http2 it will go through various case formats)
* fix auth wrapper auth.Auth interface initialisation
Co-authored-by: Asim Aslam <asim@aslam.me>
2020-02-10 08:26:28 +00:00
c706afcf04
logger helper to pass down it via context ( #1180 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-09 21:26:46 +00:00
Lars Lehtonen
ca1d0b94c3
config/cmd: remove 8 unused variables ( #1175 )
2020-02-08 11:19:10 +00:00
67acd9288b
config/source/cli: fix tests ( #1179 )
...
* config/source/cli: fix tests
* skip mdns test in travis
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-08 02:45:32 +03:00
0bf6c9fc08
config/source/cli: fix default flag value loading ( #1178 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-08 02:14:34 +03:00
99807a680c
strip Micro-Topic header from incoming context in client.Call ( #1177 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-07 22:09:52 +00:00
f0f7f860d6
add some docs ( #1176 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-07 21:48:24 +00:00
Asim Aslam
ef537270ad
Don't store traces for Debug endpoints
2020-02-07 20:58:03 +00:00
Asim Aslam
c7f075d157
rename file
2020-02-07 14:00:27 +00:00
Asim Aslam
812ea78604
Fix runtime deadlock
2020-02-07 14:00:09 +00:00
Asim Aslam
0755084a59
fix deadlock
2020-02-07 13:55:55 +00:00
ben-toogood
fe7f5a4134
Runtime Retries Limit ( #1163 )
...
* Implement Runtime Retries
* Remove Debug
* Action Feedback
* Refactor Retries
* Fix WithRetires Typo
2020-02-07 12:02:41 +00:00
ben-toogood
19c454ec4b
Fix Local Runtime Default Command ( #1173 )
...
* Auth API Proto
* Fix local runtime bug
* Add Platform Proto
* Restructuring
2020-02-07 11:39:26 +00:00
Asim Aslam
0e9b4c26a4
import with braces
2020-02-06 21:39:08 +00:00
Asim Aslam
d40b13a045
mux to mtx
2020-02-06 21:37:17 +00:00
Asim Aslam
4079b22c1e
reorder logger methods
2020-02-06 21:36:33 +00:00
Shu xian
fdfb2bc4c1
[WIP] logger first ( #1161 )
...
* logger first
* log->logger
* update comment
* add context in Options
* add Fields
* remove logfi
* add field encode
* add common Field Types
* update logger field
2020-02-06 21:35:46 +00:00
Asim Aslam
dbeb7cfe9c
remove errors import
2020-02-06 18:45:12 +00:00
Asim Aslam
512df2628f
trim source url if its set to github.com/
2020-02-06 18:34:16 +00:00
Janos Dobronszki
92571db693
Tracing: traces now correctly form a tree ( #1170 )
...
* First cut of trace
* Dial it back yo
* Defensive programming
2020-02-06 17:22:16 +00:00
ben-toogood
16552620e0
Runtime Custom Source (Part 2) ( #1169 )
2020-02-06 16:16:01 +00:00
Ben Toogood
5414195dc3
Add Args
2020-02-06 12:31:54 +00:00
Ben Toogood
0591760932
Arg => Args
2020-02-06 12:17:16 +00:00
Ben Toogood
48b9f3f5e9
Fix
2020-02-06 11:28:34 +00:00
Ben Toogood
e46278a766
Test
2020-02-06 11:24:56 +00:00
Ben Toogood
2925b1615c
Fix
2020-02-06 11:15:30 +00:00
Ben Toogood
fc4191c647
Fix
2020-02-06 11:12:40 +00:00
Ben Toogood
111126c780
Debugging
2020-02-06 11:00:14 +00:00
Ben Toogood
54371bba6a
Debugging
2020-02-06 10:55:41 +00:00
Ben Toogood
c28737e88e
Debugging
2020-02-06 10:54:11 +00:00
Ben Toogood
c7d922fac2
Debugging
2020-02-06 10:49:01 +00:00
Ben Toogood
f8e696bd30
Debugging
2020-02-06 10:44:12 +00:00
Ben Toogood
6aef28dad2
Runtime set service source
2020-02-06 10:33:23 +00:00
7105e4099c
pass micro errors from grpc server to grpc client ( #1167 )
...
* pass micro errors from grpc server to grpc client
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
* wrap micro errors.Error to grpc status
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-06 10:18:33 +00:00
Ben Toogood
f0762bbb6b
Improve Logging
2020-02-06 10:16:32 +00:00
Ben Toogood
243c6a4246
Debug
2020-02-06 10:08:56 +00:00
Ben Toogood
9983aea928
Tidying Up
2020-02-06 09:29:27 +00:00
Ben Toogood
aa58a9749b
Action Asim's Feedback
2020-02-06 09:17:10 +00:00
ben-toogood
d8110b70a3
Runtime custom docker img ( #1168 )
...
* Add DeploymentOptions to K8s Client
* WithBaseImage for Runtime
* Revert Change
* Fix sequencing
2020-02-06 08:52:25 +00:00
a44dc90d45
fix ctx.Done issue #720 ( #1166 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-05 21:13:14 +00:00
Shu xian
12181bd441
fix LevelInfo > LevelWarn ( #1162 )
2020-02-05 18:16:57 +00:00
Ben Toogood
8d44f7226f
Merge branch 'master' of https://github.com/micro/go-micro
2020-02-05 13:59:51 +00:00
ben-toogood
bf747a86f4
Runtime ( #1160 )
...
* Add String to Runtime interface
* Setup Dynamic Runtime Configuration
2020-02-05 13:59:35 +00:00
Lars Lehtonen
4333f00a43
runtime/kubernetes: remove unused constants ( #1159 )
2020-02-04 21:02:05 +00:00
7ab3a31ac4
update micro/cli, tidy mod ( #1156 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-02-03 23:29:44 +00:00
Ben Toogood
a1d5d6831f
Add String to Runtime interface
2020-02-03 15:56:16 +00:00
ben-toogood
1b9cabd654
Update Micro Auth Protocol Buffer to use V2 ( #1155 )
2020-02-03 08:26:57 +00:00