Commit Graph

25 Commits

Author SHA1 Message Date
dace8213c8 update import paths
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-27 01:09:40 +03:00
e47ffb3fdd update for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-01 01:31:35 +03:00
7e3e1152a5 update for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-29 15:08:17 +03:00
3251b6312a use own fork
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-16 01:12:18 +03:00
Asim Aslam
900e782c4b Router table.Read replaces List/Query (#1966)
* Table.REad insted of list and query

* fmt
2021-01-16 01:06:32 +03:00
Asim Aslam
1d61a1788f Remove quic transport, move route into router 2021-01-16 01:06:32 +03:00
Asim Aslam
ad5959318c Registry router fixes (#1961)
* only cache routes if told to do so

* Use roundrobin selector and retry in proxy

* Update lookup to require service

* Fix compile

* Fix compile

* Update

* Update

* rename query to lookup

* Update router.go

* Update
2021-01-16 01:06:32 +03:00
Asim Aslam
a86a52cb7c Decruft the broker by removing Event interface (#1940) 2021-01-16 01:06:32 +03:00
Asim Aslam
97aca6bd55 Strip Advertise/Process from router 2021-01-16 01:06:32 +03:00
ben-toogood
49a8d05e46 router/registry: fix expiring routes bug (#1927) 2021-01-16 01:06:32 +03:00
ben-toogood
b2ebc36dda router/registry: fix bug which impacts service registered in multiple domains (#1925)
* router/registry: fix bug which impacts service registered in multiple domains

* router/registry: bugfix
2021-01-16 01:06:32 +03:00
Janos Dobronszki
ed5729a842 Decrease log levels in router/registry package to not appear for CLI users (#1917) 2021-01-16 01:06:32 +03:00
Asim Aslam
04a2e966fa getDomain should return the default domain 2021-01-16 01:06:32 +03:00
Asim Aslam
9c7ae6bb53 lower log level to debug 2021-01-16 01:06:32 +03:00
Asim Aslam
3761461d15 cleanup router watcher logic 2021-01-16 01:06:32 +03:00
Asim Aslam
1519dcb3e1 initChan is never evaluated because watchRegistry is a blocking call 2021-01-16 01:06:32 +03:00
Asim Aslam
92870d5d32 Router refresh (#1912)
* checkpoint

* Refresh and prune routes periodically in the registry router

* remove comment
2021-01-16 01:06:32 +03:00
Asim Aslam
54fbb14f18 Etcd router bug fixing etcd path prefix matching name (#1899)
* add logging and don't get nodes where they exist in router

* add more logging

* Fix the etcd bug for name matching of keys and prefixes matching names
2021-01-16 01:06:32 +03:00
Asim Aslam
bb40377f76 add logging and don't get nodes where they exist in router (#1898)
* add logging and don't get nodes where they exist in router

* add more logging
2021-01-16 01:06:32 +03:00
Asim Aslam
f48a785d53 Remove precache in favour of just pulling by default 2021-01-16 01:06:32 +03:00
ben-toogood
cf0dc1bcd2 router/registry: fix initialization bug (#1893) 2021-01-16 01:06:32 +03:00
ben-toogood
75a4a1c7aa Fix proxy being overriden by default addresses (#1886) 2021-01-16 01:06:32 +03:00
ben-toogood
bba26ae81d router/registry: fix not started bug (#1877) 2021-01-16 01:06:32 +03:00
Asim Aslam
83c234f21a v3 refactor (#1868)
* Move to v3

Co-authored-by: Ben Toogood <bentoogood@gmail.com>
2021-01-16 01:06:32 +03:00
ben-toogood
a370675252 router: add to service options; add dns and static implementations (#1733)
* config/cmd: add router to service options

* router/service: use micro client
2021-01-16 01:06:32 +03:00