Commit Graph

82 Commits

Author SHA1 Message Date
383c83b7a9
Merge pull request #7 from unistack-org/renovate/major-all
Update all deps to v2 (major)
2021-02-10 20:10:06 +03:00
Renovate Bot
01c1d5a235
Update all deps to v2 2021-02-10 10:19:10 +00:00
Renovate Bot
870b00c19b
Update all deps 2021-02-10 10:19:04 +00:00
73434c1f3c move renovate.json
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-10 13:18:08 +03:00
616cadf637
Merge pull request #1 from unistack-org/renovate/configure
Configure Renovate
2021-02-10 00:26:06 +03:00
Renovate Bot
0732715396
Add renovate.json 2021-02-08 23:16:23 +00:00
b43aaf5a93 fix module name
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-29 15:09:45 +03:00
7e3e1152a5 update for latest micro
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-29 15:08:17 +03:00
5e4ca41774 add LICENSE
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-19 22:10:25 +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
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