potato
2f8e2487f7
Merge branch 'master' into master
2020-05-27 09:32:27 +08:00
ben-toogood
be5a10a4d4
Merge pull request #1656 from micro/client-cache
...
Client Cache
2020-05-26 15:38:30 +01:00
johnson
cc79692d68
make caller filepath package/file style
...
this code is from zap
9a9fa7d4b5/zapcore/entry.go (L101)
2020-05-26 14:33:56 +08:00
potato
796a598b37
Merge pull request #7 from micro/master
...
go micro v2
2020-05-26 14:18:25 +08:00
Ben Toogood
73b4423682
Merge branch 'master' of https://github.com/micro/go-micro into client-cache
2020-05-24 20:36:22 +01:00
Ben Toogood
198e942889
Remove redundant test
2020-05-24 20:32:22 +01:00
Ben Toogood
95703e4565
Fixes and improved test coverage
2020-05-24 20:26:37 +01:00
Ben Toogood
2729569f66
Add Debug.Cache method
2020-05-24 18:45:57 +01:00
Ben Toogood
67146ecdc2
Client Cache tests
2020-05-24 18:05:23 +01:00
Asim Aslam
bd049a51e6
Update README.md
2020-05-23 16:47:23 +01:00
Asim Aslam
ffd89599a0
Update README.md
2020-05-23 16:46:50 +01:00
Ben Toogood
496293afa1
Use hash/fnv, add tests, fix request bug
2020-05-23 11:34:44 +01:00
Ben Toogood
7d7f4046e8
Client Cache
2020-05-22 16:52:24 +01:00
Janos Dobronszki
0615fe825f
Auth invalid token fix ( #1650 )
2020-05-20 16:18:05 +02:00
Asim Aslam
6a661fd08c
check if the db conn is nil before doing anything ( #1652 )
2020-05-20 14:03:38 +01:00
Asim Aslam
a29676b86a
Registration Retry / Interval ( #1651 )
...
* Change the default ttl to 90 seconds
* add retries to registration
* Add retry to web register
2020-05-20 11:49:09 +01:00
ben-toogood
e61edf6280
Merge pull request #1645 from micro/runtime-multitenancy
...
Runtime multi-tenancy
2020-05-19 17:06:11 +01:00
ben-toogood
3410a0949b
Merge branch 'master' into runtime-multitenancy
2020-05-19 17:00:51 +01:00
Jake Sanders
9216a47724
fix client race ( #1647 )
2020-05-19 14:44:46 +01:00
ben-toogood
cf37d64819
Merge branch 'master' into runtime-multitenancy
2020-05-19 13:24:35 +01:00
Patrik Lindahl
f0c0f3d4c4
Fixes for #1560 ( #1644 )
...
close #1560
This fixes one of the reported data races and also allows for
having a different name on the micro.Service and web.Service.
This makes it possible to discover the two service variants separately.
Co-authored-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-05-19 14:11:26 +03:00
Ben Toogood
c4e3f8c336
Merge branch 'master' of https://github.com/micro/go-micro into runtime-multitenancy
2020-05-19 11:02:40 +01:00
Ben Toogood
8875719619
Default Runtime multi-tenancy
2020-05-19 11:01:06 +01:00
Ben Toogood
c19b349e96
Update runtime.Event struct
2020-05-19 10:14:07 +01:00
Ben Toogood
14155c7e02
Add runtime ErrNotFound
2020-05-19 09:28:00 +01:00
Maarten Bezemer
3d36398818
Fix client RPC stream close mutex ( #1643 )
2020-05-18 17:22:33 +01:00
Asim Aslam
56a7897c91
update readme
2020-05-17 12:39:20 +01:00
ben-toogood
5efb386224
Merge pull request #1640 from micro/auth/public-rule
...
Auth: setup a public rule
2020-05-15 10:28:52 +01:00
Ben Toogood
4d2de923cd
Auth: setup a public rule
2020-05-15 10:24:30 +01:00
ben-toogood
f64b1468a5
Merge pull request #1639 from micro/registy-not-found
...
Registry service: return not found error
2020-05-14 19:43:19 +01:00
ben-toogood
56f281002b
Merge branch 'master' into registy-not-found
2020-05-14 19:39:43 +01:00
Ben Toogood
0d7250352f
Registry service: return not found error
2020-05-14 19:38:56 +01:00
ben-toogood
ef43f01da4
Merge pull request #1638 from micro/registry-addrs-fix
...
Fix registry address option unused
2020-05-14 18:07:14 +01:00
ben-toogood
c9e5ae6a2b
Merge branch 'master' into registry-addrs-fix
2020-05-14 18:03:46 +01:00
Ben Toogood
8a802d8f7a
Fix registry address option unused
2020-05-14 18:00:13 +01:00
ben-toogood
331ab3715c
Merge pull request #1636 from micro/auth-util
...
Refactor auth setup to util/auth
2020-05-14 16:15:47 +01:00
Ben Toogood
6b451a2197
Refactor auth setup to util/auth
2020-05-14 16:10:14 +01:00
ben-toogood
b4c0224746
Merge pull request #1635 from micro/auth-fixes
...
Auth: Move token generation logic out the client wrappers
2020-05-14 14:00:55 +01:00
Ben Toogood
500d793fc4
Merge branch 'auth-fixes' of https://github.com/micro/go-micro into auth-fixes
2020-05-14 13:57:00 +01:00
Ben Toogood
16af265e8b
Seperate JWT refresh / access tokens
2020-05-14 13:56:51 +01:00
ben-toogood
b222cf8e13
Merge branch 'master' into auth-fixes
2020-05-14 13:47:26 +01:00
Ben Toogood
f549e20fa2
tidy go mdo
2020-05-14 13:33:11 +01:00
Ben Toogood
83e9c1fad2
Remove unnecessary change
2020-05-14 13:32:42 +01:00
Ben Toogood
c220686c29
Fix token bug
2020-05-14 13:30:21 +01:00
Ben Toogood
1b18730d54
Custom micro client
2020-05-14 11:25:19 +01:00
Ben Toogood
5764519f5b
Refactor auth to load token outside wrappers
2020-05-14 11:06:22 +01:00
ben-toogood
957001f8ad
Merge pull request #1634 from micro/disable-clients
...
Disable Clients
2020-05-13 18:54:34 +01:00
Ben Toogood
0955671e45
Merge branch 'disable-clients' of https://github.com/micro/go-micro into disable-clients
2020-05-13 18:49:47 +01:00
Ben Toogood
57b060bac5
Disable Addresses
2020-05-13 18:49:36 +01:00
ben-toogood
3136e1409e
Merge branch 'master' into disable-clients
2020-05-13 18:48:24 +01:00