ebd8ddf05b
move to v4
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2023-04-11 22:21:25 +03:00
dbfcfcd288
router: improve coverage
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-05-03 16:05:12 +03:00
b075230ae5
global cleanup
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-05-03 14:38:44 +03:00
9640cdae1a
add more cover stuff
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-05-03 00:23:43 +03:00
8b1a579c9d
add context tests
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-04-17 16:25:42 +03:00
03410c4ab1
small improve
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2022-03-27 01:37:21 +03:00
5eb0e56373
move all imports to own domain
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-10-02 19:55:07 +03:00
3247d144a8
lint fixes
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-30 21:13:13 +03:00
7b2e3cc8aa
lint fixes
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-30 21:00:02 +03:00
ecb60e4dc5
fix lint
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-28 23:43:43 +03:00
ad58ab6943
fix codeql issue
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-09-06 10:51:13 +03:00
a45b672c98
drop uuid and use modified nanoid
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-08-20 22:40:48 +03:00
86626c5922
fieldalignment of all structs to save memory
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-27 08:32:47 +03:00
00a4785df3
fixup
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-04-27 00:03:18 +03:00
8db55d2e55
router: use dns as default router
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-26 17:43:39 +03:00
bbbcb22565
fieldalignment of all structs to save memory
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-03-06 19:45:13 +03:00
abb9937787
fix lint issues ( #16 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-02-13 01:46:16 +03:00
827d467077
micro: rewrite options to support multiple building blocks
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2021-01-29 13:17:32 +03:00
daffa9e548
use metadata.Metadata ( #8 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-11-18 16:50:41 +03:00
40b0870cf8
fix linting ( #4 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-11-03 01:08:23 +03:00
14c97d59c1
many improvements with options and noop stuff
...
* add many options helpers
* fix noop client to allow publish messages to topic in broker
* fix noop server to allow registering in registry
* fix noop server to allow subscribe to topic in broker
* fix new service initialization
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-10-16 09:38:57 +03:00
5787a1afb8
more useful router new options func
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-09-17 15:44:35 +03:00
53654185ba
add logger to options
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-08-29 17:44:49 +03:00
9c695ac343
split router implementations
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-08-28 12:19:47 +03:00
7cf42589b3
cleanup deps
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-08-28 11:52:51 +03:00
8076e410a9
fix repocard issues ( #20 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-08-25 14:33:36 +03:00
0f4b1435d9
move implementations to external repos ( #17 )
...
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-08-25 13:44:41 +03:00
c4a303190a
lint fixes ( #14 )
...
* lint fixes
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-08-21 14:53:21 +03:00
06136312bb
regen files with never protoc ( #6 )
...
* regen files with never protoc
* rewrite import path
Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
2020-08-19 17:47:17 +03:00
Asim Aslam
4413372a3f
Decruft the broker by removing Event interface ( #1940 )
2020-08-18 14:00:51 +01:00
Asim Aslam
e1248f90f4
update options
2020-08-17 23:09:41 +01:00
Asim Aslam
bb7fe21c46
unused variables
2020-08-17 23:00:27 +01:00
Asim Aslam
50ec6c748f
cleanup client/selector/lookup ( #1937 )
...
* cleanup client/selector/lookup
* add mdns router, remove registry from client
* fix roundtripper
* remove comment
* fix compile issue
* fix mucp test
* fix api router
2020-08-17 22:44:45 +01:00
Asim Aslam
870a1ebc07
dead code
2020-08-17 10:04:52 +01:00
Asim Aslam
55d62fc1a5
Strip Advertise/Process from router
2020-08-14 23:51:52 +01:00
ben-toogood
012ec6a998
router/registry: fix expiring routes bug ( #1927 )
2020-08-11 16:57:04 +01:00
ben-toogood
e162e6d505
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
2020-08-11 12:42:22 +01:00
Janos Dobronszki
96836f2e43
Decrease log levels in router/registry package to not appear for CLI users ( #1917 )
2020-08-10 13:57:45 +01:00
Asim Aslam
b2582c0992
fix deadlock bug
2020-08-09 19:39:21 +01:00
Asim Aslam
ed704640aa
getDomain should return the default domain
2020-08-09 19:08:25 +01:00
Asim Aslam
69a2032dd7
lower log level to debug
2020-08-08 14:04:18 +01:00
Asim Aslam
fc67593ee4
cleanup router watcher logic
2020-08-08 01:04:38 +01:00
Asim Aslam
712fe39a62
initChan is never evaluated because watchRegistry is a blocking call
2020-08-07 23:44:43 +01:00
Asim Aslam
324c4e6886
Router refresh ( #1912 )
...
* checkpoint
* Refresh and prune routes periodically in the registry router
* remove comment
2020-08-07 20:53:38 +01:00
Asim Aslam
aefd052dd7
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
2020-08-06 12:42:14 +01:00
Asim Aslam
2b79910ad9
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
2020-08-06 11:32:06 +01:00
Asim Aslam
8674dc8e62
Remove precache in favour of just pulling by default
2020-08-06 10:27:58 +01:00
ben-toogood
07fef9fd33
router/registry: fix initialization bug ( #1893 )
2020-08-04 11:43:01 +01:00
ben-toogood
83a64797fb
Fix proxy being overriden by default addresses ( #1886 )
2020-07-31 08:55:08 +01:00
ben-toogood
cb4a2864da
router/registry: fix not started bug ( #1877 )
2020-07-28 09:01:08 +01:00