Dominic Wong
58845d7012
only prewarm the route table if requested ( #1765 )
2020-07-01 10:05:21 +01:00
ben-toogood
dcf01ebbf0
router/registry: fix concurrent map iteration and map write ( #1762 )
2020-06-30 17:40:38 +01:00
Dominic Wong
355ad2a1af
push tags to docker hub ( #1766 )
2020-06-30 17:26:59 +01:00
ben-toogood
b882ff3df9
selector: update selector.Select to accept a slice of structs ( #1764 )
2020-06-30 15:51:26 +01:00
ben-toogood
6337c92cd0
selector: new selector interface with random & roundrobin implementation ( #1761 )
...
* selector: implement new selector interface plus random & roundrobin implementations
* selector/roundrobin: remove unused consts
* router: add close method to interface
* selector/roundrobin: fix concurrent map iteration and map write
* selector: replace variadic argument on Select
2020-06-30 14:54:38 +01:00
ben-toogood
a95accad56
router: add metadata to routes ( #1763 )
...
* router: add metadata to route
* router/registry: set node metadata in route
* router/service: pass metadata to/from router service
2020-06-30 14:10:13 +01:00
Dominic Wong
6532b6208b
MDNS registry fix for users on VPNs ( #1759 )
...
* filter out unsolicited responses
* send to local ip in case
* allow ip func to be passed in. add option for sending to 0.0.0.0
2020-06-30 11:12:52 +01:00
ben-toogood
0f5c53b6e4
selector: use custom domain ( #1760 )
...
* util/wrapper: improve auth errors
* client: add network call option
* client/selector: add domain select option
* client/grpc: pass network option to selector
2020-06-30 10:07:52 +01:00
ben-toogood
deea8fecf4
router/registry: add fallback if routes aren't found in the cache ( #1758 )
...
* router/registry: add fallback if routes aren't found in the cache
* router: fix rlock bug
* router/registry: pass fetchRoutes into the table, not the router
2020-06-30 09:53:49 +01:00
ben-toogood
df3e5364ca
api/resolver: add resolve options ( #1756 )
...
* api/resolver: Resolve options
* router/registry: fix init bug
* router/registry: fix wildcard query bug
* web: fix registation domain bug
* registry/etcd: pass domain in service metadata
* api/resolver/subdomain: expose domain func
* Update api/resolver/subdomain/subdomain.go
Co-authored-by: Dominic Wong <domwongemail@googlemail.com>
Co-authored-by: Dominic Wong <domwongemail@googlemail.com>
2020-06-29 16:37:45 +01:00
Di Wu
132c1e35fe
Fix invalid usage for sync.WaitGroup ( #1752 )
...
* Custom private blocks
* Fix invalid usage for sync.WaitGroup
Co-authored-by: Asim Aslam <asim@aslam.me>
2020-06-27 20:07:04 +01:00
Dominic Wong
5967a68e78
cached file store ( #1739 )
...
* cached file store
2020-06-26 16:13:53 +01:00
ben-toogood
104b7d8f8d
api/resolver: update resolver to enable subdomain routing ( #1747 )
...
* api/resolver: update domain / service prefix usage
* api/resolver/subdomain: implement subdomain resolver for domain resolution
* api/handler: fix tests
2020-06-26 14:28:18 +01:00
ben-toogood
4f0f4326df
router: improve router configuration ( #1745 )
...
* router: update default address to :8084
* service: add router to service options
* config/cmd: improve router setup
2020-06-26 10:38:11 +01:00
ben-toogood
ee02511658
proxy/mucp: add support for multi-tenancy ( #1746 )
2020-06-26 10:31:06 +01:00
ben-toogood
a8fc5590a8
client/selector: query across multiple domains ( #1725 )
...
* client/selector: query across multiple domains
* client/selector: check for nil services
* config/cmd: fix merge bug
2020-06-25 15:40:23 +01:00
ben-toogood
bc60f23ff6
config/cmd: setup registry before router ( #1743 )
2020-06-25 15:24:31 +01:00
ben-toogood
2000da6fd8
router/registry: add support for registry domains ( #1744 )
2020-06-25 12:35:00 +01:00
ben-toogood
5ab475636a
server/{grpc,rpc}: fix deregister domain bug ( #1742 )
...
* server/{grpc,rpc}: fix deregister domain bug
* server/grpc: remove unnecessary slice
2020-06-25 11:25:43 +01:00
ben-toogood
51b4ab0abc
registry/memory: watcher bug fixes ( #1740 )
...
* registry/memory: watcher bugfixes
* registry/memory: fix nil watcher bug
* registry/memory: fix watcher test
2020-06-25 11:02:35 +01:00
ben-toogood
687a5e2e58
util/wrapper: fix 401 error when requesting the default namespace ( #1741 )
2020-06-25 10:19:03 +01:00
Dominic Wong
fcd307d902
Build and test forked PRs properly ( #1738 )
...
* build forks on PRs properly
2020-06-24 23:41:27 +01:00
ben-toogood
00cd07a3a6
util/wrapper: set auth credentials on streams ( #1735 )
2020-06-24 16:45:34 +01:00
Dominic Wong
a2a1f4dfbd
support mono repo deps ( #1736 )
...
* support mono repo deps
* add protoc
2020-06-24 16:27:22 +01:00
ben-toogood
2b506b1a2a
auth/service: use address option since router may not be configured ( #1734 )
2020-06-24 13:47:43 +01:00
ben-toogood
a2550820d3
router: add to service options; add dns and static implementations ( #1733 )
...
* config/cmd: add router to service options
* router/service: use micro client
2020-06-24 11:46:51 +01:00
ben-toogood
c940961574
router: update interface ( #1732 )
...
* router: replace Start and Stop with Close
* router: update default network to micro
* router: update tests
2020-06-24 11:09:16 +01:00
Dominic Wong
695cc9d526
Build against micro and examples on pull requests ( #1724 )
...
* Build against micro and examples on pull requests
2020-06-19 17:19:58 +01:00
ben-toogood
87543b2c8a
registry/etcd: add support for domain options ( #1714 )
2020-06-19 14:58:16 +01:00
ben-toogood
5f9c3a6efd
registry/cache: add support for the domain option ( #1722 )
2020-06-19 13:16:44 +01:00
ben-toogood
2b889087bd
config/cmd: fix selector setup bug ( #1723 )
2020-06-19 13:11:48 +01:00
ben-toogood
ece02a6d21
util/wrapper: fix noop auth nil account bug ( #1721 )
...
* util/wrapper: fix noop nil account
* util/wrapper: improve comments
* util/wrapper: update tests
2020-06-19 12:16:39 +01:00
ben-toogood
58c6bbbf6b
registry/service: pass domain options via rpc ( #1719 )
...
* registry/service: regenerate proto
* registry/service: pass domain in proto request options
* registry/service: stop defaulting metadata
* registry: add default domain const; remove from implementations
* registry/memory: fix typo
2020-06-19 10:34:12 +01:00
ben-toogood
c16f4b741c
server: register in the services namespace ( #1718 )
2020-06-19 09:24:32 +01:00
Colin Hoglund
83cecdb294
config: use configured reader by default ( #1717 )
2020-06-19 08:49:30 +01:00
ben-toogood
8c7c27c573
registry/memory: add support for domain options ( #1713 )
...
* registry/memory: add support for the domain options
* registry/memory: swap Fatal test cases with Error
* registry/memory: fix wildcard not found bug
* registry/memory: replace locks with rlocks
* registry/memory: fix deregistration bug
2020-06-18 12:39:19 +01:00
ben-toogood
5fd36d6cc0
config/cmd: remove package duplicate initialization ( #1711 )
2020-06-18 10:14:04 +01:00
ben-toogood
3b40fde68b
registry/mdns: add domain support ( #1708 )
...
* registry: add domain options
* registry/mdns: implement domain options
* registry/mdns: return node domain in metadata when querying using wildcard
* Fix nil pointer exception
* registry/mdns: return error from deregister
* registy/mdns: rename tld => domain
2020-06-17 13:23:41 +01:00
ben-toogood
9d3365c4be
auth: rename auth.Namespace to auth.Issuer ( #1710 )
2020-06-17 12:26:27 +01:00
sunfuze
2efb459c66
Fix config watch ( #1670 )
...
* add dirty overrite test case
* need version to figure out if config need update or not
* using nanosecond as version for two goroutine can run in same second
* config should check snapshot version when update
* set checksum of ChangeSet
Co-authored-by: Asim Aslam <asim@aslam.me>
2020-06-16 17:10:52 +01:00
Di Wu
6add74b4f6
Custom private blocks ( #1705 )
...
Co-authored-by: Asim Aslam <asim@aslam.me>
2020-06-16 17:05:42 +01:00
Dominic Wong
c67d78f1ef
update PR template, not using gitflow anymore
2020-06-16 17:00:15 +01:00
Dominic Wong
a89610ffea
Merge pull request #1706 from micro/develop
...
Develop -> Master. Abandoning gitflow model
2020-06-16 16:57:40 +01:00
Dominic Wong
da9bb11240
Merge branch 'master' into develop
2020-06-16 16:52:24 +01:00
Dmitry Kozlov
a3a1a84172
Split long discord output message into the chunks by 2000 characters ( #1704 )
...
Signed-off-by: Dmitry Kozlov <dmitry.f.kozlov@gmail.com>
2020-06-15 22:22:00 +01:00
ben-toogood
1179d7e89a
registry/mdns: fix nil host bug ( #1703 )
2020-06-15 16:13:45 +01:00
Asim Aslam
a5df913926
Update README.md ( #1695 )
2020-06-12 15:07:19 +01:00
Asim Aslam
9ce706191b
Update FUNDING.yml ( #1692 )
2020-06-12 15:07:19 +01:00
Dominic Wong
0327f30e3c
Fix regex detection. Fixes #1663 ( #1696 )
2020-06-12 10:42:52 +01:00
Dominic Wong
0ce132eb8f
Fix race condition when updating process being waited on ( #1694 )
2020-06-12 10:42:52 +01:00