Commit Graph

66 Commits

Author SHA1 Message Date
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
1b2be244fa fix deadlock bug 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