Commit Graph

12 Commits

Author SHA1 Message Date
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